Alexander Makarov
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
Anton Andersen
dfffea9af3
Use config variables instead constants. Cleanup redundant constants
2014-08-11 12:46:28 +04:00
Anton Andersen
71adca60ee
Add namespaces to all tests
2014-08-11 12:43:50 +04:00
Qiang Xue
066989f0b0
Fixes #4425 : generate cookie validation keys in local config files.
2014-08-01 15:00:15 -04:00
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
2014-07-19 15:39:03 -04:00
Qiang Xue
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
Alexander Makarov
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
Alexander Makarov
98d3a8c050
Fixes #4252 , Fixes #3171 Fixed Codeception
2014-07-11 01:27:28 +04:00
Alexander Makarov
a8df859bbf
Fixes #4177
2014-07-02 17:26:33 +03:00
Alexander Makarov
0ff0f9d32e
Missing files for #4071
2014-06-26 18:28:57 +04:00
Alexander Makarov
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
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Alexander Makarov
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
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