Commit Graph

1727 Commits

Author SHA1 Message Date
Alexander Makarov
a4c644d3a3 Fixes #3325: fixed generated markup for conditional comments
No changelog line since feature was introduced after beta
2014-05-02 15:29:26 +04:00
Qiang Xue
9cdfb35fa3 Fixes #3312. 2014-05-01 22:16:40 -04:00
Alexander Makarov
a620342315 Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords 2014-04-29 18:23:48 +04:00
Alexander Makarov
8d18d722b2 Merge branch 'stringhelper-truncate' of github.com:Alex-Code/yii2 into Alex-Code-stringhelper-truncate
Conflicts:
	framework/CHANGELOG.md
2014-04-29 18:03:44 +04:00
Carsten Brandt
5c748ddb42 added case insensitve LIKE to PostgresQueryBuilder
fixes #3252

also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
Qiang Xue
4fcd5003de Fixes #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper 2014-04-26 20:25:48 -04:00
Carsten Brandt
78a8694eb5 file helper did not preserve relative paths 2014-04-25 04:06:07 +02:00
Carsten Brandt
83a63f2346 fixed wrong client validation issue in numbervalidator
fixes #3118
2014-04-23 01:29:53 +02:00
Qiang Xue
ab218addda Fixes #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths 2014-04-18 15:13:50 -04:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
Alexander Makarov
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +04:00
Klimov Paul
7f636fc525 yii\console\controllers\AssetController::actionTemplate() advanced to include jsCompressor and cssCompressor to the template. 2014-04-17 12:57:35 +03:00
Klimov Paul
72aba34210 yii\console\controllers\AssetController fixed to respect data URL resources 2014-04-17 12:11:34 +03:00
Qiang Xue
14b782cf01 Added $user as the first parameter of yii\rbac\Rule::execute() 2014-04-16 21:52:46 -04:00
tof06
22596ca248 Implement new RBAC PhpManager 2014-04-15 16:10:04 +02:00
Qiang Xue
8fbe10acfd removed PhpManagerTest 2014-04-12 17:08:49 -04:00
Qiang Xue
7bc52f32a4 Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped yii\rbac\PhpManager. 2014-04-12 16:55:50 -04:00
Alex-Code
80067204c8 test for addSelect method. 2014-04-08 12:11:55 +01:00
Qiang Xue
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
Qiang Xue
b7d6f6141a Added isAssociative() and isIndexed() to yii\helpers\ArrayHelper 2014-04-07 16:02:55 -04:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Carsten Brandt
9cf3e141b0 Merge pull request #2980 from lubosdz/master
removed redundant whitespace, related to issue #2978
2014-04-06 16:14:42 +02:00
Qiang Xue
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
Qiang Xue
48e67e8b89 renamed PrefixUrlRule to GroupUrlRule 2014-04-05 12:07:38 -04:00
Qiang Xue
50e338127d Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels 2014-04-04 23:30:59 -04:00
Alexander Makarov
69786b018e Merge pull request #2974 from yiisoft/decouple-bizrules-from-auth-items
RBAC: decoupled rules from assignments and items, implemented php manager
2014-04-04 23:42:29 +04:00
Alexander Makarov
40eb116640 Splitted saveRule into insertRule and updateRule 2014-04-04 23:09:34 +04:00
Alexander Makarov
f3dd74ff97 Removed custom Rule constructor 2014-04-04 22:43:11 +04:00
Alexander Makarov
5e278025b1 Removed test entries for MSSQL, Oracle 2014-04-04 20:54:16 +04:00
Alexander Makarov
2c28198cd2 Fixes #499: Decoupled Rule from RBAC Item 2014-04-04 20:13:26 +04:00
Carsten Brandt
c5ad45c771 fixed test break 2014-04-04 17:12:26 +02:00
Qiang Xue
581aad8e22 Fixed test break. 2014-04-04 10:25:08 -04:00
Carsten Brandt
1a3accb6cb removed duplicated joins when using joinWith and via relations
fixes #2650
2014-04-04 15:34:19 +02:00
lubosdz
612d3ed27d removed redundant whitespace 2014-04-04 15:18:58 +02:00
lubosdz
164459f90a Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:54:04 +02:00
Alexander Makarov
0e6cbda43e RBAC: decoupled rules from assignments and items, implemented php manager 2014-04-04 04:40:06 +04:00
Qiang Xue
a6aaafd3e6 Fixed test break. 2014-04-03 13:55:34 -04:00
Qiang Xue
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
Qiang Xue
8b4dfcc876 Fixes #2955: Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes 2014-04-03 10:36:52 -04:00
Qiang Xue
3ba9dcbedc Fixed test break. 2014-04-02 20:26:55 -04:00
Qiang Xue
0fa19291f1 refactored filterWhere(). 2014-04-02 20:03:42 -04:00
Carsten Brandt
03e208e59d removed wrong test 2014-04-02 21:39:53 +02:00
Carsten Brandt
745c20538c Merge pull request #2885 branch 'query-filter'
* query-filter:
  added CHANGELOG lines
  added tests for redis
  added proper tests for elasticsearch
  removed unnecessary code duplication
  adjusted tests
  typo
  renamed Query::filter() to Query::filterWhere()
  reverted elasticsearch rename of filter
  Adjusted search model code generated by Gii CRUD generator
  Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
  Gii CRUD generator now uses new addFilter method
  Query::filter() adjustments
  fixes #2002
  Added tests for Query::filter()

Conflicts:
	framework/db/QueryTrait.php
2014-04-02 19:33:40 +02:00
Carsten Brandt
d97996c354 added tests for redis 2014-04-02 19:21:26 +02:00
Carsten Brandt
e9c364d2f2 added proper tests for elasticsearch 2014-04-02 19:15:21 +02:00
Carsten Brandt
c572c23c2f adjusted tests 2014-04-02 18:56:49 +02:00
Carsten Brandt
96f1c4c10b renamed Query::filter() to Query::filterWhere() 2014-04-02 18:48:14 +02:00
Alex-Code
1c80b9d2cc Test case for new truncate methods.
Test case for new truncate methods.
2014-04-02 08:51:02 +01:00
Alexander Makarov
06fdb79730 Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query 2014-03-31 15:09:33 +04:00
Qiang Xue
f7a6cb9f7a Refactored AR tests. 2014-03-30 20:46:25 -04:00