279 Commits

Author SHA1 Message Date
Alexander Makarov
2193366f3f Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Kochetov
be792fd146 Application templates refactoring 2014-06-16 18:57:09 +04:00
Qiang Xue
01429aba17 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
Alexander Kochetov
27998d9e1b Fix .gitignore for basic and advanced application templates 2014-06-10 02:19:11 +04:00
Mark
66a9e874ca basic application template fixtures added 2014-06-09 16:33:36 +04:00
Mark
7a467ed501 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
Carsten Brandt
2dedb6aa2c added explicit comment about file transport to mail config
fixes #3694
2014-06-04 17:43:09 +02:00
Klimov Paul
91454779c2 Missing $message var reference removed from mail layouts 2014-05-29 17:41:10 +03:00
Klimov Paul
e6888d16d0 Mail layout charset specification fixed 2014-05-29 17:11:45 +03:00
Alexander Makarov
b946b9906d Fixes #3542: Removed requirement to specify extensions in application config 2014-05-24 18:11:59 +04:00
Carsten Brandt
fff7565b05 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
Qiang Xue
914a6f76fe finished quick start about database [skip ci] 2014-05-10 14:07:34 -04:00
Qiang Xue
c964a753d8 Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
Qiang Xue
cbedf7ad96 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
Qiang Xue
fedb41fcc3 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
c1472697e2 prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Qiang Xue
abcc78cd8f Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Alexander Makarov
5e2d934270 Merge pull request #2977 from PaulVanSchayck/fix-webdriver-test
Add wait() to login test with wrong credentials to fix WebDriver test
2014-04-10 05:00:32 -07:00
Qiang Xue
7c55b9a8cc updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
Qiang Xue
52eea89f09 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
Qiang Xue
4f00e23565 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Paul van Schayck
bcf51a1156 Add wait() to login test with wrong credentials to fix WebDriver test 2014-04-04 12:16:17 +02:00
Alexander Makarov
923744d333 #2936: New favicon for applications 2014-04-02 00:43:23 +04:00
Alexander Makarov
1b8ef667f7 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Qiang Xue
d4b6fc0171 more gitignores. 2014-03-25 08:37:48 -04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Luciano Baraglia
a85ef65aba Code style fixes 2014-03-08 20:47:04 -03:00
Carsten Brandt
0055e1ab31 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
Qiang Xue
4742d4e0b3 Fixes #2629: Module::controllerPath is now read only, and all controller classes must be namespaced under Module::controllerNamespace 2014-03-07 10:35:15 -05:00
Qiang Xue
4fa285a4db Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Alexander Makarov
d8763496cc Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
2014-03-06 01:56:51 +04:00
Alexander Makarov
13bef84dfb Removed unused "use" statements 2014-03-04 22:40:04 +04:00
Alexander Makarov
3ffc027302 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
Alexander Mohorev
d78c7a7d21 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Qiang Xue
b61e6d214a Support for other auth types. 2014-03-03 10:18:39 -05:00
Qiang Xue
e9148837ee rest api WIP 2014-03-01 23:14:16 -05:00
Tobias Munk
23c3420af0 replaced keyword "yii" with "yii2" in composer.json files (fixes #2557) 2014-02-27 17:37:08 +01:00
Mark
be3c8c5e80 added server name, for creating url rules 2014-02-27 18:37:34 +04:00
maximal
4e188239cf Closing and opening braces in Yii2 coding standards. 2014-02-24 20:32:15 +04:00
maximal
c2c3c22ff5 Further coding standards fixes. 2014-02-24 20:17:38 +04:00
MaximAL
94c6095df3 Coding standards fixes. 2014-02-24 18:45:35 +03:00
Alexander Makarov
dca062e4e2 Validate login data only of there are no other errors 2014-02-21 00:57:29 +04:00
Alexander Makarov
1d58a83d8e Merge pull request #2446 from Theill11/update-apps
Minor updates to apps
2014-02-16 13:42:13 +03:00
Johnny Theill
7227889464 Fix newlines and missing parameter description 2014-02-16 03:14:28 +01:00
Alexander Makarov
fe5df96616 Fixes #2295: basic app description now doesn't insist it is for websites containing mainly informational pages since it was misleading 2014-02-15 20:57:11 +04:00
Johnny Theill
a6c43f5eb7 Update doc-blocks and small fixes according to coding standards 2014-02-15 17:53:57 +01:00
Qiang Xue
24151471d5 Merge pull request #2383 from Ragazzo/add_yii_command_to_tests
added yii console command to tests
2014-02-15 11:32:07 -05:00
Johnny Theill
0eff9fb382 Fixed minor consistency bugs in apps * Added 'return' to goHome() calls in actions * Changed $_POST to Yii::$app->request->post() 2014-02-15 16:32:24 +01:00
Mark
2fe23bc740 visibility changed 2014-02-14 18:08:07 +04:00
Mark
d4b50fcf06 forcing user component to logout 2014-02-14 18:05:56 +04:00