Commit Graph

47 Commits

Author SHA1 Message Date
Qiang Xue
6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
Carsten Brandt
75b1f4818c improved HTML guide navigation 2014-06-10 00:09:40 +02:00
Carsten Brandt
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Carsten Brandt
e1b4777021 fixes Yii source path
fixes #3551
2014-05-23 13:18:29 +02:00
Carsten Brandt
39a2e1efd7 adjusted guide renderer to new guide structure 2014-05-04 07:04:43 +02:00
Carsten Brandt
6c4046da49 defer loading of search index in api doc
fixes #3289
2014-04-30 23:18:36 +02:00
Carsten Brandt
23866f67a0 improved usability for the apidoc search 2014-04-26 14:30:31 +02:00
Carsten Brandt
97e13d82e7 renamed jssearch 2014-04-25 04:41:07 +02:00
Carsten Brandt
5f77cb97c5 added search form to api docs 2014-04-25 04:06:07 +02:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
Carsten Brandt
f93d871cd6 fixed wrong method calls in elasticsearch Command 2014-03-26 16:18:28 +01:00
Tobias Munk
7499c19878 use all 12 columns, left sidebar is now span-3 2014-03-21 11:49:22 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
5ad0efe36a APIDOC beautification 2014-03-11 06:51:37 +01:00
Alexander Makarov
348dfa78eb Merge pull request #2676 from yiisoft/url-helper
#2630: `yii\heplers\Html::url` moved to new `yii\helpers\Url::create`
2014-03-11 01:36:05 +03:00
Alexander Makarov
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
Alexander Makarov
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
Carsten Brandt
f7a5c29e20 apidoc cleanup 2014-03-09 15:22:17 +01:00
Alexander Makarov
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
Carsten Brandt
595f55c504 api doc improvements 2014-03-08 14:20:19 +01:00
Carsten Brandt
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Carsten Brandt
668dacbab6 Merge pull request #2622 branch 'ext-codestyle-fix' of https://github.com/AlexGx/yii2 into code-style
* 'ext-codestyle-fix' of https://github.com/AlexGx/yii2:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/Renderer.php
	extensions/apidoc/templates/offline/assets/AssetBundle.php
	extensions/apidoc/templates/offline/views/index.php
2014-03-07 21:34:23 +01:00
Carsten Brandt
31a1eca556 add source code links to api docs 2014-03-07 17:52:12 +01:00
Carsten Brandt
ca6bfdbbb5 final changes for apidoc refactoring 2014-03-07 14:40:52 +01:00
Carsten Brandt
acde64c88b finished guide command refactoring 2014-03-07 13:37:58 +01:00
Carsten Brandt
62378c3b4a Merge branch 'master' into apidoc-refactoring
* master: (153 commits)
  rest doc.
  CS fix
  Add size attribute to Modal
  major features and documentation finished for REST API.
  rest WIP
  Removed U+FEFF character from pt-PT language file to fixe #2631
  Revert "Used ternary operator instead of "or" for constant definition"
  `User` here
  REST wip.
  Changelog
  reset access cache when user identity is set
  Keyboard shortcut for previous, next and refresh buttons
  reset batch query result when rewinding.
  fixed loading namespaceless controller classes.
  Fixes #1467: Added support for organizing controllers in subdirectories
  replace pjax with external resouce via composer
  fixed > 100 typos introduced by me :-)
  fixed condition for HHVM test
  fixed phpdoc
  updated phpdoc references of BaseAR to the interface
  ...

Conflicts:
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/html/views/constSummary.php
	extensions/apidoc/templates/html/views/propertyDetails.php
2014-03-06 22:09:58 +01:00
AlexGx
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Carsten Brandt
e99d5dba7b fixed apidoc table style 2014-02-28 18:51:28 +01:00
Carsten Brandt
8c7eb97175 apidoc style and typo 2014-02-28 18:36:27 +01:00
Carsten Brandt
023f4d0ab6 refactored apidoc extensions completely.
separated guide and apidoc, better maintainability
2014-02-25 19:52:15 +01:00
Carsten Brandt
6b603c060b added anchors to ApiMarkdown
fixes #2220
2014-02-25 14:38:06 +01:00
Carsten Brandt
26717e3e76 allow referencing the guide from API docs 2014-02-22 13:43:57 +01:00
Carsten Brandt
c9c7db9ae5 fixed several issues with apidoc generator 2014-02-18 05:01:49 +01:00
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
Carsten Brandt
5b3830080c fixed bootstrap renderer guide links
fixes #2254
2014-02-04 03:25:11 +01:00
Carsten Brandt
adfbba170c fixed link adjustment in guide renderer
fixes #2220
2014-01-30 12:10:54 +01:00
Carsten Brandt
29753b3e59 apidocs: use erusev/parsedown for markdown parsing
added quick and dirty code highlighing and got much faster
2014-01-29 19:20:39 +01:00
Carsten Brandt
4f68b8a4bb added README to main framework docs 2014-01-29 02:29:09 +01:00
Carsten Brandt
7fa619feb3 added extensions to API docs 2014-01-29 02:17:17 +01:00
Carsten Brandt
bff6e67f9a added timestamp to apidocs template 2014-01-29 00:57:38 +01:00
Carsten Brandt
0f7732e80b fixed apidoc link parsing 2014-01-28 15:15:37 +01:00
Carsten Brandt
c239afbf1e added guide to apidoc bootstrap template 2014-01-24 16:17:40 +01:00
Carsten Brandt
33b53fa55d added apidoc template based on twitter bootstrap
issue #1797
2014-01-23 15:27:35 +01:00