Benjamin Wöster
8420cec8dd
Merge commit '1ccce' into fix-209-default-timezone
12 years ago
Benjamin Wöster
b8ad3567e4
set application timezone early in application constructor, set default of UTC if no timezone is configured at all (not in app config nor in php.ini)
12 years ago
Alexander Makarov
1ccce67f34
fixes #209 : do not produce error if not timezone set in case of running yiic from framework dir
12 years ago
Alexander Makarov
810d232ee6
fixes #209 added setting default timezone to UTC in case it's not set via php.ini
12 years ago
Alexander Kochetov
0d90541084
Moved from framework to yii
12 years ago
Alexander Kochetov
815c7eff6b
Merge branch 'master' of https://github.com/yiisoft/yii2 into auth-manager
12 years ago
Alexander Kochetov
3fe23f83c7
Remove IManager interface
12 years ago
Alexander Kochetov
a03d1164ad
New condition hash format used where its possible
12 years ago
Alexander Kochetov
ded8c22b56
Exception types corrected
12 years ago
Alexander Kochetov
56757cdd94
PhpManager::saveToFile() LOCK_EX added
12 years ago
Alexander Kochetov
132391065c
Comment fixes
12 years ago
Alexander Kochetov
c9fe510ebb
Comment fixes + class descriptions added
12 years ago
Benjamin Wöster
f23a677bdf
mod: incorporate suggestions
...
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
- eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
- mockApplication() becomes a lot easier. Destroying app on each tearDown
means creating it on every call is fine. No more checking if it already
exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
12 years ago
Qiang Xue
ecbae28700
Merge pull request #197 from tonydspaniard/196-add-popvalue-method
...
Enhance ArrayHelper with popValue method
12 years ago
Qiang Xue
533f3db4ed
Merge pull request #202 from rusmaxim/15-unit-tests-of-sqlite-driver
...
Added and resolved Sqlite tests #15 .
12 years ago
Benjamin Wöster
c30ee60e9c
add: new key for unit tests config named "className". Allows to run the tests
...
using different Application instances (consoleApp/ webApp)
mod: TestCase::getParam accepts second param $default=null
12 years ago
Benjamin Wöster
5e0f6604e8
mod: don't create app in bootstrap script, unit tests do it themselves
...
add: option to destroy app after each test to find unit tests that fail
to require an app
12 years ago
Benjamin Wöster
d4b30e26c2
allow unit tests to requireApp() on setUp()
12 years ago
Alexander Kochetov
850ff06560
DbManager added + other classes comments fixes
12 years ago
Rusinov Maxim
238684d6af
Travis anyway do sqlite tests. No needed setting ENV.
12 years ago
Rusinov Maxim
0ad55efba9
Merge branch 'master' of git://github.com/yiisoft/yii2 into 15-unit-tests-of-sqlite-driver
12 years ago
Rusinov Maxim
452be102c6
Added newline at end files.
12 years ago
Qiang Xue
b6e0022128
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
db61885ebd
Fixes issue #201 .
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Antonio Ramirez
18f23ff143
Merge branch 'master' of git://github.com/yiisoft/yii2 into 196-add-popvalue-method
...
* 'master' of git://github.com/yiisoft/yii2:
Updated framework paths in composer.json
Moved "framework" to "iii".
Fixed Yii::importNamespaces() bug.
Fixes issue #174 : make URL parameters available in $_GET.
refactoring.
Removed static variable from autoload per qiangxue's suggestion
Renamed yii.php -> Yii.php for class, filename consitency
created StringHelper::basename()
Fixed YiiBaseTest echo
Check if trait was loaded
12 years ago
Antonio Ramirez
5da62fab3a
#196 refactored method name
12 years ago
Alexander Makarov
8332e8c60f
Updated framework paths in composer.json
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
15e1a79952
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
b68bd8ef63
Fixed Yii::importNamespaces() bug.
12 years ago
Qiang Xue
599debc2b9
Merge pull request #195 from suralc/trait-autoload
...
Check if trait was loaded
12 years ago
Qiang Xue
8520be08de
Fixes issue #174 : make URL parameters available in $_GET.
12 years ago
Alexander Kochetov
17906e712c
Application::getAuthManager() comment fix
12 years ago
Alexander Kochetov
cd33870671
Moved to framework/rbac + method names refactoring
12 years ago
Qiang Xue
aad6d7d992
refactoring.
12 years ago
Alexander Kochetov
9158e110da
Auth manager init version
12 years ago
Suralc
882a611666
Removed static variable from autoload per qiangxue's suggestion
12 years ago
Carsten Brandt
2387e59c4e
Renamed yii.php -> Yii.php for class, filename consitency
...
See https://github.com/yiisoft/yii2/issues/123#issuecomment-17657374
Issue #123
12 years ago
Carsten Brandt
776162b05e
created StringHelper::basename()
...
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
12 years ago
Carsten Brandt
849740e6cc
Fixed YiiBaseTest echo
...
it echoed Yii version which is not necessary
12 years ago
Antonio Ramirez
673d207253
Fix silly typo
12 years ago
Antonio Ramirez
ad25cdc906
Fix 'automated' (?) space
12 years ago
Antonio Ramirez
e2a57e4b88
Enhance ArrayHelper with popValue method
12 years ago
Alexander Makarov
ad26b7d3d1
Use Composer autoload to handle dependency class loading
12 years ago
Suralc
bac5c0e729
Check if trait was loaded
12 years ago
Carsten Brandt
a51019bbed
Console helper: use self:: for refering to constants
12 years ago
Qiang Xue
0f33f90161
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
c7e40f5c7a
Debug toolbar WIP.
12 years ago
Carsten Brandt
a61ec6bdd5
Merge pull request #186 from suralc/console-static-fix
...
[Please Review before merge] Fixed static in signature error
12 years ago