Commit Graph

941 Commits

Author SHA1 Message Date
Alexander Makarov
c55a791237 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00
mickgeek
f77cd8b411 Fix signature validation 2014-07-31 10:11:55 +04:00
Qiang Xue
48d2ced997 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
Qiang Xue
fb1d9fa32a yii\web\Request::cookieValidationKey is now automatically generated by the installation script for the basic and advanced application templates 2014-07-19 14:56:31 -04:00
Alexander Makarov
539a6f0c59 Codeceoption adjustments
- Removed hacks since these are no longer required: 71db233985
- Removed unused helper classes
- Added 2.0 style "actor" to config

Thanks to @Ragazzo and @DavertMik for helping with it.
2014-07-11 19:30:45 +04:00
Alexander Makarov
8e1d70c4d4 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
Carsten Brandt
d24f93b717 typo 2014-07-02 17:08:18 +02:00
Alexander Makarov
0c8c520cbb Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
Qiang Xue
d9385653f5 Fixes #3992 Fixes #4147 2014-07-01 14:45:44 -04:00
Carsten Brandt
1c14872c4a made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00
Alexander Makarov
aa6c41046e Missing files for #4071 2014-06-26 18:28:57 +04:00
Alexander Makarov
91f05a2891 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
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