Carsten Brandt
f8f0ff5445
moved formatter to i18n namespace
10 years ago
Carsten Brandt
065db64db3
finsihed formatter implementation
...
neads cleanup
10 years ago
Carsten Brandt
2a15ae12e6
refactored number formatting
10 years ago
Carsten Brandt
a4e86c02de
date formatter iteration
10 years ago
Carsten Brandt
7f1f759472
small doc adjustments
10 years ago
Carsten Brandt
62e7c3e9a6
fixed some inconsistnecies in HHVM tests
...
exclude parts that have different default values
10 years ago
Carsten Brandt
0ed6355ee1
test and docs to be clear about #4558
10 years ago
RichWeber
92cd13a913
pull origin
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
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
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
Qiang Xue
399b6b18e3
Fixes #4103
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
db0beb6b6b
'yii\base\Security' component created.
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
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
Erik_r
299d991a2e
#2359 testcases adapted and compatibility to old tests improved
10 years ago
Qiang Xue
3616d1f0d1
Fixes #2816 : Changed default date and time format of `yii\base\Formatter` to `Y-m-d` and `H:i:s`
11 years ago
Qiang Xue
50e338127d
Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels
11 years ago
Alexander Makarov
6054ede16a
Fixed phpdoc, removed unit tests for Formatter asRelativeTime that were relative to current time since it was impossible to specify correct expected values
11 years ago
David Renty
91e4ad5978
PSR-2 compliance
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
David Renty
cb3eb9c6d8
Added support for inverted intervals (future time) and unit tests
11 years ago
AlexGx
32d0768919
style fixes with phpcs:yii2
11 years ago
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
11 years ago
Alexander Makarov
fc4098b89a
Code style
11 years ago
Qiang Xue
f22d409e8b
test break fix.
11 years ago
Florian Fackler
6e1ec30906
Added missing Object.php unit tests for 100% code coverage
11 years ago
Florian Fackler
c600572f34
The missing Component.php tests
11 years ago
Qiang Xue
c829dd6b47
added more tests.
11 years ago
Qiang Xue
18d7224ac8
Fixes #2149 : Added `yii\base\DynamicModel` to support ad-hoc data validation
11 years ago
Panagiotis Moustafellos
58bd2fb958
Only whitespace removal
11 years ago
Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Qiang Xue
039ed688cf
Fixes #1301 : fixed scenario generation when there are "except" scenarios.
11 years ago
Qiang Xue
1c24b3e0d8
removed TestCase and WebTestCase.
11 years ago
Qiang Xue
8b00693a0a
Fixes #1025 : Implemented support for class-level events.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Jin Hu
5d7c37bd7e
Incorrect array representation when has previous
11 years ago
Carsten Brandt
df6176edb6
added unit test for Model::load()
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago