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
fps01
039909a846
Fixed a call of function "generateRandomKey()" in app\base\Security
10 years ago
Qiang Xue
399b6b18e3
Fixes #4103
10 years ago
Paul Klimov
84cbf19bfe
Doc comments at `Security::generateRandomKey()` adjusted
10 years ago
Paul Klimov
69abbc7ff3
Fallback at `Security::generateRandomKey()` removed
10 years ago
Paul Klimov
052ae83340
Option `Security::autoGenerateSecretKey` added
10 years ago
Paul Klimov
25a3637709
Upgrade note about `Security` updated
10 years ago
Paul Klimov
5a42985750
Option `Security::useDeriveKeyUniqueSalt` added
10 years ago
Paul Klimov
772667fa1c
Doc comments at `Security` updated
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
846596294d
Fallback for `Security::generateRandomKey()` added
10 years ago
Paul Klimov
4768dcdbc2
Method `Security::compareString()` extracted
10 years ago
Qiang Xue
06f27758b3
Fixed typo. [skip ci]
10 years ago
Klimov Paul
47f8eafb6d
Doc comments at `yii\base\Security` fixed
10 years ago
Klimov Paul
54ac875e21
Component 'security' added tp the base application
10 years ago
Klimov Paul
db0beb6b6b
'yii\base\Security' component created.
10 years ago
Carsten Brandt
910151d787
typo
...
[ci skip]
10 years ago
Qiang Xue
8e96623a56
Fixes #1452 : Added `Module::getInstance()` to allow accessing the module instance from anywhere within the module
10 years ago
Alexander Makarov
0ff0f9d32e
Missing files for #4071
10 years ago
Carsten Brandt
775141ab96
move mail event class
...
fixes #3899
10 years ago
Carsten Brandt
edb95052e8
use an AfterSaveEvent class to be consistent
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Qiang Xue
46041d0c65
Fixes #3280 : Support dynamically attaching anonymous behaviors
10 years ago
Qiang Xue
0087339a42
log fatal errors to yii logs.
10 years ago
Qiang Xue
8c8a389844
Fixes #3772 : Behaviors adding validation rules do not work as expected
10 years ago
Carsten Brandt
d7b4ea859b
refactored date formatting functions
...
- removed unformat methods, they do not belong here
- removed db format, which is also not purpose of this class
- refactored the whole set of methods to be simpler and better
maintainable
More unit tests needed.
10 years ago
Klimov Paul
7ddca60099
Unnecessary full class name usage removed
10 years ago
Qiang Xue
c8cb40cb50
Finished view tutorial [skip ci]
10 years ago
Erik_r
a8ad3b83bd
#2359 Bugfix in normalizeDatetimeValue after regression test
10 years ago
Erik_r
0a10e92f92
#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
10 years ago
Qiang Xue
b489cada30
guide WIP [skip ci]
10 years ago
Erik_r
299d991a2e
#2359 testcases adapted and compatibility to old tests improved
10 years ago
Erik_r
d80d9dcd1d
remove comment lines in asRelativeTime
10 years ago
Erik_r
4dbf1fe7b2
Typo in function call #2359
10 years ago
Erik_r
cf960e891f
Namespace corrected #2359
10 years ago
Erik_r
0995a740c8
Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
10 years ago
Alexander Kochetov
7bce33f1da
Excess \yii\base\Model::resolveFields() method removed
10 years ago
Kartik Visweswaran
7f788e7427
Fix #3756 : Convert values to float for number formatting
...
Convert string values to floating point, so that `number_format` method can properly format values.
10 years ago
Alexander Makarov
c7d8439072
Fixes #3687 : Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly
10 years ago
Alexander Kochetov
a034fc2659
Additional `Application` property for `$formatter`
10 years ago
Qiang Xue
4d2cf38376
Fixes #3716 : `DynamicModel::validateData()` does not call `validate()` if the `$rules` parameter is empty
10 years ago
Qiang Xue
d1e0a54553
guide WIP [skip ci]
10 years ago
Qiang Xue
b618920326
Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404
10 years ago
Qiang Xue
d1ab9f72ae
Finished application guide [skip ci]
10 years ago
Qiang Xue
5210573622
guide WIP [skip ci]
10 years ago
Alexander Makarov
1122da950c
Adjustments according to comments on #3575
10 years ago
Alexander Makarov
07f30cb04c
Fixes #3542 : Removed requirement to specify `extensions` in application config
10 years ago
Qiang Xue
313437f3c0
Fixes #3284 : Added support for checking multiple ETags by `yii\filters\HttpCache`.
10 years ago