659 Commits

Author SHA1 Message Date
Jan Behrens
df7e97a941 No header deletion for forms with files
Fixes #453
2014-08-01 14:38:00 +02:00
William Durand
7a364db571 Merge pull request #444 from bezhermoso/caching
Added caching layer
2014-07-31 09:44:46 +02:00
Bez Hermoso
cc0d445601 Added caching layer with the controllers and routing files as resources. 2014-07-31 00:43:59 -07:00
William Durand
310a1f8cfd Merge pull request #438 from nikita2206/patch-1
Add abstract="true" to abstract_formatter
2014-07-30 11:25:40 +02:00
William Durand
75eb7ca356 Merge pull request #418 from bezhermoso/swagger
Swagger support
2014-07-30 11:23:46 +02:00
William DURAND
fb35704d5f Add poser badges 2014-07-30 11:17:22 +02:00
William DURAND
3fdb2d4a81 Prepare 2.7.0 release 2.7.0 2014-07-30 11:11:08 +02:00
William DURAND
9ad7e68703 update config reference 2014-07-30 11:10:39 +02:00
William DURAND
6c7c53e78d Fix CS & file permissions 2014-07-30 10:50:23 +02:00
Bez Hermoso
07c6557fc5 Test fixes. 2014-07-29 10:25:06 -07:00
Bez Hermoso
a8221d4515 Post-parser support for response map models. 2014-07-29 10:25:06 -07:00
Bez Hermoso
9824a6ba3c Added default value handling. 2014-07-29 10:25:06 -07:00
Bez Hermoso
abaeb374e8 Added 'type' to API item if applicable. 2014-07-29 10:25:06 -07:00
Bez Hermoso
9d3c0a8c29 Swagger support:
Unified data types [actualType and subType]
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Logical and CS fixes.
Swagger support: created formatter.
Configuration and resourcePath logic update.
ApiDoc annotation update. Updated formatter and added tests.
Parameter formatting.
Added tests for SwaggerFormatter.
Added  option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter.
Routing update.
Updated tests.
Removed unused dependency and updated doc comments.
Renamed 'responseModels' to 'responseMap'
Update the resource filtering and formatting of response messages.
Updated check for 200 response model.
Ignore data_class and always use form-type to avoid conflicts.
Fix: add 'type' even if '' is specified.
Refactored responseMap; added parsedResponseMap. Added tests and updated some.
Fix: add 'type' even if '' is specified.
Initial commit of command.
Finished logic for dumping files.
Updated doc comment; added license and added more meaningful class comment.
Array of models support.
2014-07-29 10:25:06 -07:00
Bez Hermoso
bb723bdb40 Added new tests for Swagger doc controllers. Also some CS fixes. 2014-07-29 10:25:06 -07:00
Bez Hermoso
ee0496af65 Update swagger-support.md 2014-07-29 10:25:05 -07:00
Bez Hermoso
af5cb3dd76 Removed ambiguity 2014-07-29 10:25:05 -07:00
Bez Hermoso
04818b00e5 Added configuration reference. 2014-07-29 10:25:05 -07:00
Bez Hermoso
cfe6cbc134 Create swagger-support.md 2014-07-29 10:25:05 -07:00
Bez Hermoso
6f85aed33c Swagger support:
Unified data types [actualType and subType]
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Logical and CS fixes.
Swagger support: created formatter.
Configuration and resourcePath logic update.
ApiDoc annotation update. Updated formatter and added tests.
Parameter formatting.
Added tests for SwaggerFormatter.
Added  option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter.
Routing update.
Updated tests.
Removed unused dependency and updated doc comments.
Renamed 'responseModels' to 'responseMap'
Update the resource filtering and formatting of response messages.
Updated check for 200 response model.
Ignore data_class and always use form-type to avoid conflicts.
Fix: add 'type' even if '' is specified.
Refactored responseMap; added parsedResponseMap. Added tests and updated some.
Fix: add 'type' even if '' is specified.
Initial commit of command.
Finished logic for dumping files.
Updated doc comment; added license and added more meaningful class comment.

Array of models support.
2014-07-29 10:25:05 -07:00
William Durand
6b18d88517 Merge pull request #446 from EmmanuelVella/bearer
Add Bearer authentication
2014-07-29 16:18:39 +02:00
William Durand
79e84c9867 Merge pull request #439 from thenetexperts/tags-fix
fixed css for tags output
2014-07-29 16:06:14 +02:00
William Durand
c30197f63f Merge pull request #445 from ogizanagi/patch-1
Fix embedded collection of custom FormType Error
2014-07-29 15:59:33 +02:00
William Durand
dcf8cdfe72 Merge pull request #447 from EmmanuelVella/toggler
Fix toggler click event
2014-07-29 15:56:48 +02:00
William Durand
f6df97b9d7 Merge pull request #449 from dbu/patch-1
Update branch-alias
2014-07-29 15:54:22 +02:00
David Buchmann
67a1b380ae Update composer.json 2014-07-28 11:08:21 +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
ogizanagi
4939d116e0 Fix embedded collection of custom FormType Error
Fix an error when trying to use embedded form collections.

Referenced issue: #442
2014-07-21 22:27:09 +02:00
thenetexperts
492bb230a8 fixed css for tags output 2014-07-18 11:12:58 +02:00
Nikita Nefedov
afb8536b41 Add abstract="true" to abstract_formatter
Add abstract="true" to abstract_formatter in container definition
2014-07-16 12:20:49 +04:00
William Durand
c03d35bee4 Merge pull request #434 from ahilles107/patch-2
Don't parse custom properties as classes.
2014-07-14 21:24:21 +02:00
Paweł Mikołajczuk
55f26508ab Don't parse custom properties as classes.
Sometimes instead real class name we can use custom handler name. Then this class can't be initialized and we will get this exception ```ReflectionException: Class custom_handler_name does not exist```
2014-07-10 11:46:30 +02:00
William Durand
b9b453c857 Merge pull request #432 from Prezent/jms-inline
Parse JSM\Inline, fixes #372
2014-07-09 10:29:17 +02:00
Sander Marechal
b66e5c4449 Parse JSM\Inline, fixes #372 2014-07-08 13:20:13 +02:00
William Durand
ae877d74a0 Merge pull request #390 from frastel/params-fix
Added fix for doubled parameters
2014-07-07 11:38:47 +02:00
Frank Stelzer
54e5fae3de added fix for doubled parameters 2014-07-07 09:08:21 +00:00
William Durand
94243f0a3e Merge pull request #428 from gnat42/patch-1
If a description is not provided use form label
2014-07-04 09:38:41 +02:00
gnat42
48e7bd2616 If a description is not provided use form label
It would be nice if there was no description the form label was used instead. In the future I think it would be even better to have the label as an header, and the description as 'additional' instructions.
2014-07-03 13:34:07 -06:00
William Durand
54819590f2 Merge pull request #425 from dmishh/patch-1
Added more clearance to docs
2014-07-02 14:37:52 +02:00
Dmitriy
1c05399261 Added more clearance to docs
Specifying form inputs' names prefix in the Form Types Features documentation section
2014-07-01 12:29:58 +03:00
William DURAND
c92789e00f remove php 5.3 from travis-ci 2014-06-27 14:43:22 +02:00
William DURAND
0151624773 update config reference 2014-06-27 14:13:36 +02:00
William DURAND
94ec568237 Merge pull request #387 from giosh94mhz/form_type_parser_should_use_type_constructor 2014-06-27 10:59:06 +02:00
Giorgio Premi
e2c2d00075 FormTypeParser: FormType constructor should be called when possible 2014-06-27 10:58:53 +02: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
William DURAND
0030ce6825 Merge pull request #358 from pborreli/typos 2014-06-27 10:22:56 +02:00
Pascal Borreli
dbc3fcbb73 Fixed typos 2014-06-27 10:22:36 +02:00
Bez Hermoso
882f658599 Added 'default' parameters in {JmsMetadata,Validator}Parser, and FOSRestHandler. 2014-06-27 10:19:28 +02:00