Carsten Brandt
ced7ee1b8a
dataprovider: reset orderBy when counting
...
strict sql dbms like postgres would fail otherwise
11 years ago
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
Qiang Xue
6fd0f0da19
Merge pull request #1197 from slavcodev/asset-dir
...
Move AppAsset from config to assets directory
11 years ago
slavcodev
4c4f7bd708
Move AppAsset from config to assets directory
11 years ago
Carsten Brandt
c8c7f59d69
Merge branch 'master' into db-traits
...
Updated AR classes with the latest changes from master to go on with
separation of AR query classes in traits.
Conflicts:
framework/yii/db/ActiveQuery.php
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
11 years ago
Carsten Brandt
b8e31d50bb
renamed AR trait classes
11 years ago
Qiang Xue
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
11 years ago
Qiang Xue
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
11 years ago
Qiang Xue
75dc290a24
Fixes #1193
11 years ago
Qiang Xue
36c28bee4f
Fixes #1191
11 years ago
Qiang Xue
da93d9b4ba
Fixes #1195 .
11 years ago
Qiang Xue
2d86618644
Merge branch 'master' of github.com:yiisoft/yii2
11 years ago
Qiang Xue
2f8ee2a8b0
typo fix.
11 years ago
slavcodev
f57b3536a2
Fixed apps rules
11 years ago
Carsten Brandt
0eaafd74ba
updated composer.json to be less restrictive
...
also removed superflous minimum-stability definition
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
slavcodev
2adcd16e0d
Update phpDoc
11 years ago
slavcodev
3ff8f10d11
Add array conversion on creating validator
11 years ago
slavcodev
9bf7f791b8
Fix test
11 years ago
slavcodev
cbca145e97
Add type hinting
11 years ago
slavcodev
35681c618b
Fix test
11 years ago
slavcodev
ecc557ef92
Refactor all models to new rules format
11 years ago
slavcodev
3cdd78cafe
Fix rules generator
11 years ago
Qiang Xue
aeda7fb1df
Merge pull request #1188 from egorpromo/little-description-for-cookiePram
...
Little helpful description for Session::cookieParam
11 years ago
egorpromo
b6424946e4
Little helpful description for Session::cookieParam
11 years ago
Carsten Brandt
8a4dffed9d
fixed ActiveRelation::__clone() to work with via relation
11 years ago
Carsten Brandt
5b489aaa49
let base mailer store files as .eml instead of .txt
...
allows opening email for view in mail program directly
11 years ago
Carsten Brandt
016d796e95
advanced app: go back after login, not home
11 years ago
slavcodev
1c2489a3dc
Using only arrays in rules instead comma-separated string
11 years ago
Qiang Xue
6066c29a3c
Merge pull request #1180 from slavcodev/code-style
...
Code style
11 years ago
slavcodev
93dd629411
Fix apps phpDoc and short tags
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Qiang Xue
5f76ee0149
Merge pull request #1178 from slavcodev/patch-1
...
Update main.php
11 years ago
Qiang Xue
2939938ccb
Merge pull request #1177 from nukkumatti/master
...
Fixed phpDocs [skip ci]
11 years ago
Veaceslav Medvedev
03d70b6e7e
Update main.php
11 years ago
Taras Gudz
2617dfbaf3
Removed links to non-existent things phpDocs [skip ci]
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Taras Gudz
f9db4fecb9
Fixed phpDocs [skip ci]
11 years ago
Qiang Xue
a7175bae31
Refactored Session as suggested in #1172
11 years ago
Qiang Xue
202664f3a4
Fixes #1176 .
11 years ago
Qiang Xue
342a9a2e1a
Added log messages to user login and logout actions.
11 years ago
Qiang Xue
23573968a6
Changed important log messages to info level
11 years ago
Qiang Xue
20018b3fd3
Merge pull request #1172 from egorpromo/descript-for-sessionParam2
...
More precise descripton fo Session::cookieParam
11 years ago
egorpromo
7565dec37d
More precise descripton fo Session::cookieParam
11 years ago
Qiang Xue
158ea21ea8
Merge pull request #1171 from mcd-php/fix-relation-strtolower
...
FIX: Relation names not mangled in ActiveQuery::normalizeRelation
11 years ago
mcd-php
365bdcf68a
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
11 years ago
Qiang Xue
baaab4e09f
Fixes #1170
11 years ago
Qiang Xue
a408b75318
Fixes #1169 : anchor doesn't work when enablePrettyUrl is false.
11 years ago
Carsten Brandt
faed08e620
fixed crud to work with table that has no PK but AR defines one
11 years ago