180 Commits

Author SHA1 Message Date
08b53fb349 Fixes #5088: new password reset token is now generated only if previous one was already used or expired 2014-09-30 02:26:24 +04:00
066680f0b6 Issue 5160: Update advanced app to use bootstrap ActiveForm 2014-09-29 13:43:54 +02:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
5190fbfe37 aliases.php renamed to bootstrap.php (introduced to specific applications too) 2014-09-12 11:29:48 +04:00
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00
2f526521ce new asset WIP 2014-08-30 21:34:35 -04:00
d184fbb8ed new asset WIP [skip ci] 2014-08-29 14:54:49 -04:00
7eb403bf45 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
dfffea9af3 Use config variables instead constants. Cleanup redundant constants 2014-08-11 12:46:28 +04:00
71adca60ee Add namespaces to all tests 2014-08-11 12:43:50 +04:00
066989f0b0 Fixes #4425: generate cookie validation keys in local config files. 2014-08-01 15:00:15 -04:00
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
8633d0f91c 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
10747196a2 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
98d3a8c050 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
a8df859bbf Fixes #4177 2014-07-02 17:26:33 +03:00
0ff0f9d32e Missing files for #4071 2014-06-26 18:28:57 +04:00
2457e24795 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
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
cca349512e Fixes #3979: Alert widget in advanced app is now able to display multiple flash messages of the same type 2014-06-20 14:43:36 +04:00
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
3c8cdd997b fixed reset password token test 2014-06-09 16:59:26 +04:00
f17982683b application advanced template tests fixed 2014-06-09 16:31:49 +04:00
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
0b7f649148 Fixed setting defaults in User model of advanced app, see bb145f50672d35d62edede906255a8fe9a9c1f5f 2014-05-04 19:42:35 +04:00
bb145f5067 Fixes #3179: removed duplicate validation rules from User model in advanced app, removed User::create() 2014-04-30 02:16:28 +04:00
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
c3cf72d443 #2936: New favicon for applications 2014-04-02 00:43:23 +04:00
abeea6351a Renamed fixtures 2014-03-31 01:19:11 +04:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
53e65b23d7 more gitignores. 2014-03-25 08:37:48 -04:00
b25f1f65d7 added more ignores. 2014-03-24 22:33:50 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
6a193f3846 Merge branch 'master' of https://github.com/yiisoft/yii2 into travis-advanced-app 2014-03-08 22:21:35 +01:00
34db2d2082 Merge pull request #2652 from Theill11/fix-test-breaks
Update advanced app tests
2014-03-08 12:41:06 +03:00
af8f1e254e Added advanced app tests to travis 2014-03-08 07:09:04 +01:00
a5e6e2d43b username should be unique 2014-03-07 21:50:04 +01:00
95e01899c7 Changed assertions 2014-03-07 21:26:01 +01:00
70463d538c fix tests 2014-03-07 00:13:28 +01:00
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
2014-03-06 01:56:51 +04:00
9c4c8ffbcc apps code style fixes 2014-03-04 23:04:20 +02:00
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
d669209334 Fixed advanced application to use POST for logout 2014-03-03 23:01:40 +04:00
8a2903de03 Added verb filter to advanced app logout 2014-02-28 21:13:30 +04:00
168fb19fe7 Added status condition to PasswordResetRequestForm email validator 2014-02-21 01:43:39 +04:00
036a811ea4 Fixes #2458: Added missing validaton to advanced app forms, separated validation from email sending errors for contact form 2014-02-20 17:50:53 +04:00
f780bb6752 test typo fix 2014-02-18 18:50:08 +04:00
468f804293 added test-case to frontend unit tests 2014-02-18 18:31:14 +04:00