Klimov Paul
d362af6ede
`yii\behaviors\Sluggable` optimized
10 years ago
Carsten Brandt
c6274acf6c
ensure postgres boolean values are handled correctly
...
also fixed an issue with default value loading of bool columns.
fixes #3489 , fixes #4085 , fixes #3920
related to #4672
10 years ago
Carsten Brandt
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
10 years ago
Nikitin Vitaly
f1dd83e2a9
Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
...
close #4655
10 years ago
Carsten Brandt
a2e8083beb
Created ArrayCache class
...
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
10 years ago
Klimov Paul
b062a6601d
Default event for `yii\behaviors\Sluggable` with `unique` enabled changed to 'insert'.
10 years ago
Klimov Paul
327914e452
Added automatic generating of unique slug value to `yii\behaviors\Sluggable`
10 years ago
Carsten Brandt
689fc137da
added some tests for Url helper
10 years ago
Qiang Xue
cd2eeced76
Fixed test break.
10 years ago
Qiang Xue
5046e687e1
fixed random rbac testing failure.
10 years ago
Qiang Xue
1c3e61ec26
Fixes #4591 : `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL
10 years ago
Alexander Makarov
b656137541
Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension
10 years ago
Carsten Brandt
0ed6355ee1
test and docs to be clear about #4558
10 years ago
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with `yii\db\Query::->where()` operand format
10 years ago
Alexander Makarov
5903f6ec38
Fixed tests to take deferred validation signature change into account
10 years ago
Alexander Makarov
cadbbd813f
Reduced gap between setting and checking mtime
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
1dad82a0f6
avoid random test break
10 years ago
Carsten Brandt
7af92173b1
length arg of byteSubstr is now optional
10 years ago
Alexander Makarov
c6569b1abe
Removed unnecessary code
10 years ago
Carsten Brandt
74c99dc959
code style + test groups
10 years ago
Carsten Brandt
9e62d5589a
added unit test for #4489
10 years ago
Alexander Makarov
d1ccb92a34
Fixes #4489 : RBAC PhpManager wasn't saving multiple assignmentsFixes #4489 : RBAC PhpManager wasn't saving multiple assignments properly
10 years ago
tom--
c6a8b418ef
compareString(): timing depends only on length of `$actual` input, unit test
10 years ago
Alexander Makarov
c5a3cd511e
Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public
10 years ago
tom--
2c5c2c101b
Fixes #4131 : Security adjustments
10 years ago
Alexander Makarov
8f81e231da
Fixes #4453 : `yii message/extract` wasn't properly writing to po files in case of multiple categories
10 years ago
Kai Mindermann
46b553f012
fixes formatter doing one division too much, fixes #4427
10 years ago
Kai Mindermann
f3520187d6
formatter: adds unit tests for base 1000, fixes #4412
10 years ago
Alexander Makarov
5c767e5d34
Better Windows detection
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
10 years ago
Qiang Xue
6d64d62c8e
Fixed test break.
10 years ago
Qiang Xue
86556ac842
Fixed test break.
10 years ago
Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Alexander Makarov
bc3200cef1
Fixes #4295 : reworked message extraction for PO files
10 years ago
Qiang Xue
61b627a6fc
Fixes #4318 : `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given
10 years ago
Qiang Xue
fe2611186e
Fixes #4051 : Renamed `yii\caching\GroupDependency` to `TagDependency` and added support for associating multiple tags to a single cached data item
10 years ago
Qiang Xue
a082fd9140
Added test.
10 years ago
Qiang Xue
65987f62ae
test WIP
10 years ago
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
10 years ago
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
10 years ago
Alexander Makarov
a0051820a7
Fixed tests
10 years ago
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
10 years ago
Klimov Paul
f6ef4aacd0
Unit test for `MigrateController` added
10 years ago
Carsten Brandt
4e8e22da3c
fixed issue with elasticsearch >=1.2.0
...
do not use scripting as it is disabled by default and will cause edge
case queries to fail
fixes #4187
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
njasm
bc65dda4d3
Added unit tests for Widget\ActiveField
10 years ago
Alexander Makarov
481db35512
Fixes #4114 : Added Security::generateRandomHexKey(), used it for various tokens and default key generation
10 years ago
Paul Klimov
90a625013c
Result check at `Security::generateRandomKey()` added
10 years ago