755 Commits

Author SHA1 Message Date
Julius Beckmann
56f8c43849 Added PHP 5.6 and HHVM to Travis.
Modified RequestListenerTest so it does not use the Crawler, that currently does not work with HHVM.
2014-03-03 18:44:37 +01:00
William Durand
eca9d25ca7 Merge pull request #339 from mvrhov/michelfMarkdown
Replace deprecated fork of dflydev's mardown library with the original o...
2014-02-19 22:34:43 +01:00
Miha Vrhovnik
457df811e2 Replace deprecated fork of dflydev's mardown library with the original one provided by Michel Fortin 2014-02-19 12:55:16 +01:00
William DURAND
ee68eabe0c Prepare 2.5.0 release 2.5.0 2014-02-11 16:44:12 +01:00
William Durand
5bd455f955 Merge pull request #333 from richardfullmer/https
Fix and properly document the https option
2014-02-07 01:05:59 +01:00
Richard Fullmer
dc8494bbdf Fix an properly document https option 2014-02-06 09:27:30 -08:00
William Durand
14571944b4 Merge pull request #332 from Pyrech/master
Fix twig errors when generating html doc
2014-02-06 15:20:37 +01: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
William Durand
e8a1e639ef Merge pull request #331 from ahilles107/patch-1
Don't try to call class with custom handlers.
2014-02-05 16:39:04 +01:00
Paweł Mikołajczuk
32e37dbd8a Don't try to call class with custom handlers.
With JMS Serializer you can set up own type and use it later with custom handler for this property - Parser allways try to call that custom property type like a class. This fix that.
2014-02-03 16:57:46 +01:00
William Durand
d177862b4d Merge pull request #321 from Ninir/patch-1
Fixed typo in index.md documentation
2014-01-21 08:15:19 -08:00
Ninir
4a9e99bddd Fixed typo in index.md documentation 2014-01-21 10:41:55 +01:00
William DURAND
667044863c Fix HTTPS detection
Fix #281
2014-01-20 14:18:02 +01:00
William Durand
347ac74648 Merge pull request #318 from antwebes/master
Added exclude_envs to ApiDoc annotation to exclude the documentation from the specified environments
2014-01-20 04:50:49 -08:00
jdeveloper
dea78901a0 Added exclude_envs to ApiDoc annotation to exclude the documentation from the specified environments 2014-01-20 13:24:41 +01:00
William Durand
f45cc2565e Merge pull request #316 from maxromanovsky/patch-cg-proxy
Fixed ApiDoc for controllers enhanced with JMS CG
2.4.5
2014-01-13 13:35:37 -08:00
Max Romanovsky
e4ec8e79f3 Fixed ApiDoc for controllers enhanced with JMS CG with Doctrine Common 2014-01-13 19:10:07 +03:00
William Durand
f2a80511a7 Merge pull request #313 from maxromanovsky/patch-1
Misspelled authentication config parameter in docs
2014-01-13 06:26:52 -08:00
Max Romanovsky
dc4b4066a7 Misspelled authentication config parameter in docs 2014-01-13 14:53:28 +03:00
William DURAND
5e1bf1fbda [doc] fix sandbox doc 2014-01-10 11:29:52 +01:00
William DURAND
eca2eb6d80 Improve documentation (authentication/sandbox) 2014-01-10 11:20:22 +01:00
William DURAND
6038fe842f Merge PR #299 from SimonSimCity/https-fixes
Fix #266
Close #283
Close #299
2013-12-28 18:55:06 +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
William Durand
393dbaf6ed Merge pull request #282 from sroze/patch-1
Fix PHPDoc
2013-12-28 09:43:50 -08:00
William DURAND
627130637d Merge PR #288 from piotrantosik/feature/selectparsers 2013-12-28 18:42:51 +01:00
Piotr Antosik
3fdbfbed1c select used parsers 2013-12-28 18:41:59 +01:00
William DURAND
af7c04cdfc Merge PR #298 from 'skler/extended_class 2013-12-28 18:28:07 +01:00
William DURAND
dc9c706b51 [Test] Extended Class test case 2013-12-28 18:27:48 +01:00
William Durand
f65a9c9965 Merge pull request #304 from h4cc/patch-2-squashed
Use only JMS/GroupExclusion if groups are there
2013-12-28 02:30:51 -08:00
Julius Beckmann
0845377300 Use only JMS/GroupExclusion if groups are there
When no groups are given in the ApiDoc, there should be no GroupExclusion and the Entity should be parsed wihtout exclusions.

Otherwise only the "Default" group of the Entity would be parsed, which may not be used.

The ApiDoc should not enforce the Entity to be grouped with "Default", to generate a "full-view" of it.
2013-12-20 15:08:26 +01:00
William DURAND
4b6efc6631 Fix undefined index in AbstractFormatter 2.4.4 2013-12-16 16:47:21 +01:00
William Durand
d21833daea Merge pull request #290 from rajasaur/dumpcommand_bugfix
Fix DumpCommand to generate html with/out sandbox
2013-12-16 06:30:50 -08:00
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