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
Alexander Makarov
c68e5f1fdb
Adjusted naming
10 years ago
Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
10 years ago
Qiang Xue
399b6b18e3
Fixes #4103
10 years ago
Alexander Makarov
3eee7b8e4b
Fixes #4072 : `\yii\rbac\PhpManager` adjustments
...
- Data is now stored in three separate files for items, assignments and rules. File format is simpler.
- Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
- `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
- `save()` and `load()` are now protected instead of public.
- Added unit test for saving and loading data.
10 years ago
Qiang Xue
09b00c5cd0
Reverted #4098 .
10 years ago
Qiang Xue
dfadb6a917
Fixes #4098 : `yii\db\Query::addSelect()` should include `*` when it is called the first time
10 years ago
Paul Klimov
052ae83340
Option `Security::autoGenerateSecretKey` added
10 years ago
Paul Klimov
5a42985750
Option `Security::useDeriveKeyUniqueSalt` added
10 years ago
Paul Klimov
4ce4707a3a
Option `Security::passwordHashStrategy` added
10 years ago
Paul Klimov
4063502439
Option `Security::deriveKeyStrategy` added
10 years ago
Paul Klimov
4768dcdbc2
Method `Security::compareString()` extracted
10 years ago
Klimov Paul
e6f7d9b625
Security helper files removed
10 years ago
Klimov Paul
db0beb6b6b
'yii\base\Security' component created.
10 years ago
Carsten Brandt
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
10 years ago
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
10 years ago
Carsten Brandt
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
10 years ago
Alexander Makarov
0ff0f9d32e
Missing files for #4071
10 years ago
Alexander Makarov
2457e24795
Fixes #4071 : `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer`
10 years ago
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets `asArray`, it is not respected by the `via` relational query
10 years ago
Carsten Brandt
df6a9a08fe
fixed typo
10 years ago
Carsten Brandt
d4738b03a5
fixed test break
10 years ago
Carsten Brandt
574f67feff
fixed test break
10 years ago
Carsten Brandt
cd5bdd90d2
fixed postgres tests
10 years ago
Carsten Brandt
f46cffb4e4
Implement console color ansi2html
...
issue #746
10 years ago
Carsten Brandt
1391253a58
fixed postgres default value parsing
10 years ago
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Carsten Brandt
b0fb04efd4
fixed test break and wrong parameter
10 years ago
Carsten Brandt
0899b8d474
changed updateAttributes to be more simple update
...
fixes #3233
10 years ago
Klimov Paul
3c5b98f7fe
Unit test for issue #4018 added
10 years ago
Carsten Brandt
cb87d7be84
fixed typo and test break
10 years ago
Carsten Brandt
7a87a13f37
unit test for postgres transaction
10 years ago
Carsten Brandt
cc8a8360cb
added unit test and notes about dbms specific settings
10 years ago
Alexander Makarov
dde695cda4
Added GridView message check to FallbackMessageFormatterTest
10 years ago
Alexander Makarov
02e3746013
Fixed Inflector::slug to work properly with numbers
10 years ago
njasm
6974e84f18
added more unit tests to widgets\Breadcrumbs and 100% coverage.
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
njasm
517cf3df43
added widget Breadcrumbs unit tests.
10 years ago
Alexander Makarov
22884e7384
Fixes #3535 : Syntax changes
...
- Removed `form_begin`, `form_end`
- Added `use()` and `ViewRenderer::uses` that are importing classes and namespaces
- Added widget dynamic functions `*_begin`, `*_end`, `*_widget`, `widget_end`
- Added more tests
10 years ago
Alexander Makarov
c3de3450a7
Fixes #3939 : `\yii\Inflector::slug()` improvements:
...
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
10 years ago
Alexander Makarov
a8423bbaed
Removed commented code
10 years ago
Qiang Xue
24257e76c8
Fixes #3909 : `Html::to()` should not prefix base URL to URLs that already contain scheme
10 years ago
Carsten Brandt
639e52c199
skip tests on HHVM
10 years ago
Carsten Brandt
36fe23dac3
use different file names in different tests to run on HHVM
10 years ago
Carsten Brandt
106a078ab7
use different file names in tests to ensure they can run on HHVM
10 years ago
patrick
48f941dac7
Fixes Twig lexerOptions throwing exception ( #3877 ) and adds test for lexerOptions
10 years ago
patrick
394ca05b72
Adds twig lexerOptions to ViewRendererTest to demonstrate error
10 years ago
Mark
a89d574a20
updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed
10 years ago