Markus Thielen
b6f7179b59
Impossible to access an attribute (\"custom_endpoint\") on a NULL variable
...
My setup obviously does not have a authentication property set. This change fixes the error.
2014-08-18 11:55:01 +02:00
Yosh de Vos
d53028098f
Fixed endpoint is undefined in sandbox when custom_endpoint is disabled
2014-08-08 17:55:36 +02:00
Bruce HELLER
5d43f463cf
Fixed the wrong endpoint value check when no endpoint is set in config.
2014-08-07 16:45:46 +02:00
Lucas Almeida
b4ca14618a
fix enpoint bug
2014-08-04 09:58:02 -03:00
Jan Behrens
df7e97a941
No header deletion for forms with files
...
Fixes #453
2014-08-01 14:38:00 +02:00
William Durand
6b18d88517
Merge pull request #446 from EmmanuelVella/bearer
...
Add Bearer authentication
2014-07-29 16:18:39 +02:00
Emmanuel Vella
6bc971c50a
Refactored authentication config
2014-07-25 13:40:26 +02:00
Emmanuel Vella
abaf38adc3
Fix toggler click event
2014-07-23 13:21:33 +02:00
Frank Stelzer
54e5fae3de
added fix for doubled parameters
2014-07-07 09:08:21 +00:00
Simon Schick
4fa50ebe53
Added workaround for Firefox not sending LINK in uppercase what then is denied by nginx.
...
More info: http://stackoverflow.com/questions/9645037/nginx-rejects-custom-http-methods-if-not-all-upper-case
2014-06-27 10:32:32 +02:00
William Durand
c6741d5710
Merge pull request #369 from emmanuelballery/fixes_for_ff36
...
Fixes HTML structures for FF36 (and maybe other old browsers)
2014-06-27 10:24:27 +02:00
Jonathan Chan
ba5e2d1454
Fixed small bug introduced when adding 'new parameter'
2014-06-25 13:29:59 -04:00
William Durand
ea2201762d
Merge pull request #345 from AlexeyKupershtokh/web-profiler
...
Symfony web profiler integration
2014-06-25 10:56:43 +02:00
William DURAND
39dd41e285
Merge pull request #388 from yoshz/feature/body_format
...
Added configuration to disable body formats
2014-06-25 10:30:56 +02:00
Jonathan Chan
1cd77e2f14
added support to properly handle file upload POST
2014-06-25 10:25:45 +02:00
Jonathan Chan
210596eae9
adding support for different parameter types
2014-06-25 10:25:45 +02:00
Sandro Meier
dfd094371d
Implement Tags for functions.
2014-05-27 13:33:50 +02:00
Marco Jantke
d7c70720b0
Pressing enter in the sandbox mode will now lead to submit the form.
2014-05-23 15:30:21 +02:00
Yosh de Vos
624802b57a
Added configuration to disable body formats
2014-05-21 15:59:55 +02:00
William Durand
221f109ad6
Merge pull request #386 from marco-jantke/window-location-hash-fix
...
Remove hash when closing a method container again. Added small hash help...
2014-05-19 12:03:46 +02:00
Yosh de Vos
8402c748ee
Added request formats configuration
2014-05-18 21:25:30 +02:00
Marco Jantke
df7be182cd
Remove hash when closing a method container again. Added small hash helper functions.
2014-05-18 01:24:52 +02:00
Matthijs van den Bos
86d9c31340
Only show sandbox config if enabled
2014-05-14 22:05:03 +02:00
Emmanuel BALLERY
0a42d1773c
Fix wrong HTML structure a>div
2014-04-24 23:02:56 +02:00
Emmanuel BALLERY
7150ac17de
Remove duplicate HTML ID
2014-04-24 23:00:13 +02:00
Emmanuel BALLERY
f2b606fc23
Fix wrong HTML structure ul>li
2014-04-24 22:59:12 +02:00
Emmanuel BALLERY
c78466bbb9
Fix wrong HTML tag
2014-04-24 22:58:34 +02:00
Toni Van de Voorde
04c03e3e06
Sandbox should not be disabled in https whenever a method is not marked as
...
https explictly
2014-03-11 10:24:56 +01:00
Alexey Kupershtokh
11f163d589
Show web profiler link in sandbox
2014-03-11 07:07:35 +07:00
Loick Piera
b198e240ce
Fix null host value in layout.html.twig
2014-02-06 15:12:26 +01:00
Loick Piera
414e87b58b
Fix null secure value in method.html.twig
2014-02-06 15:06:43 +01:00
Simon Schick
912178dc88
Hide “_scheme” in the list of requirements per URL
...
+ disable sandbox if the scheme of the URL doesn’t match the scheme, the
documentation is opened in
2013-12-28 18:52:32 +01:00
Marc J. Schmidt
d7ef725613
Suppressed the auto-scrolling on click and fixed initial-jump issues.
...
For the initial auto-scrolling to the selected route in location.hash:
- Fixed typo in the calculation of the offset-top position.
- Fixed requesting the selected route that has special chars (e.g. "/content/{page}")
- Fixed for refreshes with F5. It needs a setTimeout workaround to get that working in Webkit.
It needs also in Firefox a other dom element to fire scrollTop at.
Fixed also some old .delegation calls, which are deprecated in jQuery 1.7.
Why suppressing auto-scrolling on click:
When clicking through all methods it's very annoying when the browser always jumps to the clicked method,
especially when you go through all methods from bottom to up. This jump is unexpected and disturbing.
2013-12-10 03:35:06 +01:00
William DURAND
87328e27f5
Merge pull request #206 from dothiv/master
...
Show authorized roles in key icon tooltip
2013-11-14 11:17:06 +01:00
William Durand
7ac9c1c1b6
Merge pull request #251 from Peekmo/patch-1
...
Showing default values in sandbox
2013-11-14 01:50:29 -08:00
William Durand
8e41122ca7
Merge pull request #268 from konradpodgorski/feature/optionalRequirementsFields
...
Optional requirements fields: requirement, dataType and description
2013-11-14 01:41:14 -08:00
Adrien SAMSON
f71ba12d48
Add support for host in sandbox
2013-11-13 17:04:49 +01:00
Konrad Podgórski
4a831c3a20
Requirements fields: requirement, dataType and description can be optional
2013-10-30 16:38:32 +01:00
Konrad Podgórski
74d30d9e39
Option to set requirements and parameters directly from ApiDoc annotation
...
Sometimes required parameters are not used through routing but still they are mandatory. I wanted to have API with
resource.json?foo=bar&something=else
format, that was possible through QueryParam annotation or requirements in routing BUT!
There was no way to set dataType or description
This PR solves problem for me.
Side note: if you want to declare e.g. _format requirement through Annotation or any other param that is used in url ({foo} format) then it won't work. Because Bundle still overrides requirements and parameters after the constuctor in ApiDoc is called. This might be solved in separate PR by adding check if given requirements or parameters was already defined.
2013-10-15 15:28:54 +02:00
Axel Anceau
ebbbebfab6
Showing default values in sandbox
...
When a parameter "default" is set for a filter, or a parameter, the field will be fill with this value.
2013-10-03 14:17:48 +02:00
Kevin Saliou
23bc2b6f47
make api method headers anchor links so a speicif method can be refered to through its unique id
2013-09-06 13:42:19 +02:00
Vincent CHALAMON
a1517543e8
Enable PHPDoc @link feature
2013-08-16 19:18:05 +02:00
William Durand
96b40b8a8c
Merge pull request #210 from jhallbachner/validation2
...
Added Support for Validation Component (refactored)
2013-08-13 03:28:09 -07:00
Jordi Boggiano
475ecf349b
Speed up toggling
2013-08-07 12:56:32 +02:00
jsampedro
7f2cff2ac5
Adds custom header Authentication method
2013-07-19 10:05:57 +02:00
Josh Hall-Bachner
0913157399
Added the initial structure for a Symfony Validation handler that is injected into the parsers.
2013-06-30 23:46:41 -07:00
Nils Wisiol
f764773c89
authenticationRoles
can be set to appear in the tooltip of the key icon for API calls that require authentication.
2013-06-24 14:27:22 +02:00
François Terrier
9236e9471d
using a simpler version
2013-06-20 15:05:02 +02:00
François Terrier
b4bb454518
html encode the url when it is written to the page
2013-06-20 14:29:58 +02:00
William Durand
01044bb7ac
Merge pull request #198 from jhallbachner/json
...
Add BodyFormat Selector and Support Json-Encoded Api Requests In Sandbox
2013-06-18 06:46:45 -07:00