822 Commits

Author SHA1 Message Date
William DURAND
c3097c7439 cs 2013-12-11 01:59:59 +01:00
William Durand
cb8b0c6f90 Merge pull request #294 from marcj/outsource-classic-phpdoc
Outsourced the parsing of the classic phpDoc into a extra handler.
2013-12-10 16:58:18 -08:00
Marc J. Schmidt
ead8174192 Outsourced the parsing of the classic phpDoc into a extra handler.
This makes it possible to overwrite route-requirements/description through a own handler.
Otherwise it's impossible e.g. to overwrite a `@param string $page` annotation via a own handler.
2013-12-11 01:40:16 +01:00
William Durand
7380f95fa5 Merge pull request #293 from marcj/patch-1
Remove the annoying scroll-jumping on method-click.
2013-12-10 04:18:30 -08: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
rajasaur
9eee2e263f Fix DumpCommand to generate html with/out sandbox
api:doc:dump --format=html always disables the Sandbox since the check in
DumpCommand seems to be wrong. Fixed that as well as introduce a dummy
Request Object as the layout.html.twig expects an app.request object.
2013-12-06 15:28:19 +05:30
William DURAND
21a0774265 Fix travis-ci config 2.4.3 2013-12-05 21:36:37 +01:00
William DURAND
3166640c5a Rework documentation, add reference config 2013-12-05 17:10:38 +01:00
Samuel ROZE
95e8c9d200 Fix typo
$route parameter of ApiDocExtractor::get is a string. Passing a Route object throw an error.
2013-11-21 15:05:45 +01:00
William Durand
2ceea4871a Merge pull request #274 from sroze/patch-2
Add support of `All` constraint
2013-11-18 02:06:15 -08:00
Samuel ROZE
1112cca784 Add support of All constraint 2013-11-18 10:24:56 +01:00
William Durand
6c01424a95 Merge pull request #272 from sroze/patch-1
Merge output parameters
2013-11-17 09:28:45 -08:00
Samuel ROZE
184a364fa4 Merge output parameters 2013-11-16 17:29:23 +01:00
William Durand
eaee55e44a Merge pull request #279 from nord-ua/patch-1
Typo fix
2013-11-15 02:31:53 -08:00
Сергей Рябенко
aae9af23c2 Typo fix 2013-11-15 13:29:32 +03:00
William DURAND
4ff018b111 Fix composer again 2.4.2 2013-11-14 17:01:56 +01:00
William DURAND
fb75ceb318 update branch-alias 2.4.1 2013-11-14 16:28:08 +01:00
William DURAND
28e192290c Fix composer 2.4.0 2013-11-14 16:25:39 +01:00
William DURAND
e59ae1e1ef Fix tests for Symfony2 2.1 2013-11-14 14:20:51 +01:00
William DURAND
a2d8629f68 Composer minimum stability is not 'dev' anymore 2013-11-14 13:31:38 +01:00
William DURAND
3ce5dca429 Fix a failing test 2013-11-14 13:26:10 +01:00
William DURAND
88d56cb445 Fix travis-ci config 2013-11-14 12:09:06 +01:00
William DURAND
4edc91ea46 Add a note about PR desc in CONTRIBUTING file 2013-11-14 12:07:19 +01:00
William DURAND
e9439de94e Move doc to its own folder 2013-11-14 11:43:09 +01:00
William DURAND
e7b7c87113 Update README, move LICENSE to meta folder 2013-11-14 11:39:29 +01:00
William DURAND
291f2e8efc Add CONTRIBUTING file 2013-11-14 11:35:51 +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
7fdcd65286 Add not blank format validation
All credits go to @spolischook

See: https://github.com/nelmio/NelmioApiDocBundle/pull/234

Closes #234
2013-11-14 11:12:58 +01:00
William DURAND
32183f2618 Better travis-ci config 2013-11-14 11:09:27 +01:00
William DURAND
46275a51be Merge PR #235 2013-11-14 11:05:12 +01:00
Martin Westergaard Lassen
83315fcc80 Set format according to Date, DateTime and Time annotations 2013-11-14 11:05:05 +01:00
William DURAND
be130a2d10 Fix incompatibility with Symfony2 2.1
All credits go to @restyler

See: https://github.com/nelmio/NelmioApiDocBundle/pull/237

Closes: #231
Replaces: #237
2013-11-14 11:00:44 +01:00
William Durand
f91a0868a8 Merge pull request #247 from domnikl/xsd
add XML namespace and XSD
2013-11-14 01:51:01 -08: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
357d1ff967 Merge pull request #262 from skler/issue-259-2
[FIX] Issue 259
2013-11-14 01:47:29 -08:00
William Durand
29965ec7bb Merge pull request #264 from driebit/embedded-forms
Add support for embedded forms
2013-11-14 01:42:43 -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
William DURAND
d7fd929379 Fix CS 2.3.2 2013-11-14 10:33:57 +01:00
William Durand
f94d6403f5 Merge pull request #277 from adriensamson/sandbox-host
Add support for host in sandbox
2013-11-14 00:25:50 -08:00
Adrien SAMSON
f71ba12d48 Add support for host in sandbox 2013-11-13 17:04:49 +01:00
William Durand
8728e825ea Merge pull request #270 from sroze/patch-1
Support "callback" on Choice Validator
2013-11-06 17:53:53 -08:00
Samuel ROZE
f02a6729eb Support "callback" on Choice Validator 2013-11-06 15:25:10 +01:00
Konrad Podgórski
4a831c3a20 Requirements fields: requirement, dataType and description can be optional 2013-10-30 16:38:32 +01:00
Jordi Boggiano
769b435cf3 Test suite cleanups 2013-10-29 14:41:13 +01:00
Jordi Boggiano
ecc4fb9897 Keep order of loaders, fixes #265 build 2013-10-29 14:41:03 +01:00
Jordi Boggiano
6c2fd53edc Update travis config 2013-10-29 14:40:30 +01:00
Jordi Boggiano
7336197536 Merge remote-tracking branch 'Tobion/optional_form' 2013-10-29 14:02:30 +01:00
Tobias Schultze
deaf69dc87 add missing dependencies 2013-10-29 09:54:57 +01:00
Tobias Schultze
09e82fa6d3 make form and validation extractors optional 2013-10-28 19:12:43 +01:00
David de Boer
fbe9488963 Add support for embedded forms 2013-10-23 15:45:30 +02:00