Commit Graph

160 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
Mark
3c8cdd997b fixed reset password token test 2014-06-09 16:59:26 +04:00
Mark
f17982683b application advanced template tests fixed 2014-06-09 16:31:49 +04: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
Alexander Makarov
0b7f649148 Fixed setting defaults in User model of advanced app, see bb145f5067 2014-05-04 19:42:35 +04:00
Alexander Makarov
bb145f5067 Fixes #3179: removed duplicate validation rules from User model in advanced app, removed User::create() 2014-04-30 02:16:28 +04:00
Qiang Xue
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Qiang Xue
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Alexander Makarov
c3cf72d443 #2936: New favicon for applications 2014-04-02 00:43:23 +04:00
Alexander Makarov
abeea6351a Renamed fixtures 2014-03-31 01:19:11 +04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Qiang Xue
53e65b23d7 more gitignores. 2014-03-25 08:37:48 -04:00
Qiang Xue
b25f1f65d7 added more ignores. 2014-03-24 22:33:50 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Johnny Theill
6a193f3846 Merge branch 'master' of https://github.com/yiisoft/yii2 into travis-advanced-app 2014-03-08 22:21:35 +01:00
Alexander Makarov
34db2d2082 Merge pull request #2652 from Theill11/fix-test-breaks
Update advanced app tests
2014-03-08 12:41:06 +03:00
Johnny Theill
af8f1e254e Added advanced app tests to travis 2014-03-08 07:09:04 +01:00
Johnny Theill
a5e6e2d43b username should be unique 2014-03-07 21:50:04 +01:00
Johnny Theill
95e01899c7 Changed assertions 2014-03-07 21:26:01 +01:00
Johnny Theill
70463d538c fix tests 2014-03-07 00:13:28 +01:00
Alexander Makarov
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505.
2014-03-06 01:56:51 +04:00
AlexGx
9c4c8ffbcc apps code style fixes 2014-03-04 23:04:20 +02:00
Alexander Makarov
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
Alexander Makarov
d669209334 Fixed advanced application to use POST for logout 2014-03-03 23:01:40 +04:00
Alexander Makarov
8a2903de03 Added verb filter to advanced app logout 2014-02-28 21:13:30 +04:00
Alexander Makarov
168fb19fe7 Added status condition to PasswordResetRequestForm email validator 2014-02-21 01:43:39 +04:00
Alexander Makarov
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
Mark
f780bb6752 test typo fix 2014-02-18 18:50:08 +04:00
Mark
468f804293 added test-case to frontend unit tests 2014-02-18 18:31:14 +04:00
Qiang Xue
7797e89d0d Merge branch 'yii2_advanced_app_codeception' of github.com:Ragazzo/yii2 into Ragazzo-yii2_advanced_app_codeception
Conflicts:
	apps/advanced/README.md
2014-02-17 17:45:40 -05:00
Mark
bf35e19da8 newlines fixed, code-guy deleted 2014-02-16 19:42:30 +04:00
Mark
a7506039a7 modified buttons attributes to skip sf-crawler bug 2014-02-16 19:12:04 +04:00
Mark
1406ab78f2 added codeception tests to frontend 2014-02-16 19:10:03 +04:00
Johnny Theill
f42af951e1 Fix newlines and missing parameter description 2014-02-16 03:14:28 +01:00
Johnny Theill
63272f4166 Update doc-blocks and small fixes according to coding standards 2014-02-15 17:53:57 +01:00
Johnny Theill
ca12241811 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
Jason Ragsdale
06c3086d0a Fixed where we remove invalid items 2014-02-11 15:20:53 -06:00
Jason Ragsdale
2ee8f89482 one more change 2014-02-11 15:11:22 -06:00
Jason Ragsdale
b906121e31 Maybe better formatting? 2014-02-11 15:10:28 -06:00
Jason Ragsdale
bc394198e2 Reformatting code with tabs 2014-02-11 14:47:42 -06:00
Jason Ragsdale
2a282c64be Added in an isset check because if you set a flash type that is not in our expected index it will throw a undefined index error 2014-02-11 14:39:36 -06:00
Bohdan Shulha
03c3775865 Fix typo 2014-02-06 19:55:58 +02:00
Alexander Makarov
d13ed43212 Fixed signup/restore password flow 2014-02-06 00:14:23 +04:00
Alexander Makarov
6cac7c61e5 Removed Yii::$app->getParam usage 2014-02-05 23:21:57 +04:00
Alexander Makarov
b8235c717d Added password reset token expiration 2014-02-05 18:23:59 +04:00
Alexander Makarov
a1497ca01c Removed extra \models\forms namespace, moved all models to just \models 2014-02-05 17:41:47 +04:00
Alexander Makarov
5d7e7f4d91 Moved creating user to static method of the model 2014-02-04 13:31:26 +04:00
Alexander Makarov
c2e0b5beb5 Optimized forms code a bit 2014-02-01 23:08:39 +04:00
Alexander Makarov
a43be083e8 Moved forms used in frontend only to frontend 2014-02-01 22:23:29 +04:00