Commit Graph

3198 Commits

Author SHA1 Message Date
Klimov Paul
ce6b73c88a Method "AssetController::adjustCssUrl()" has been created as blank 2013-05-26 14:53:41 +03:00
Carsten Brandt
89ea3fef03 Next iteration on console commands
issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
2013-05-25 04:21:51 +02:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00
resurtm
8e1079cd04 MSSQL more tests. 2013-05-23 23:33:33 +06:00
Qiang Xue
c4595b8b5d Fixes issue #337: support strict parsing for URL manager. 2013-05-23 10:47:45 -04:00
Qiang Xue
291f3b35d0 Refactored Inflector. 2013-05-22 18:20:56 -04:00
Qiang Xue
5a032e97df Merge pull request #316 from tonydspaniard/313-Inflector-Helper
Inflector helper class
2013-05-22 14:17:20 -07:00
Qiang Xue
b317c082df Merge pull request #309 from klimov-paul/asset-command
#72 Improve the "asset" command Iteration 2
2013-05-22 10:28:58 -07:00
Klimov Paul
a0e54d623e Merge branch 'master' of github.com:yiisoft/yii2 into asset-command 2013-05-22 20:22:25 +03:00
resurtm
2430ebe95d MSSQL AR tests. 2013-05-22 22:37:09 +06:00
resurtm
90395b5df2 Refinements to MSSQL driver classes. 2013-05-22 21:34:41 +06:00
resurtm
cdcb8e513c Merge upstream/master into upstream/mssql. 2013-05-22 19:28:11 +06:00
Carsten Brandt
144e73b48a Merge branch 'master' into redis
* master: (179 commits)
  Fixes #312. Additional docs on IDN in EmailValidator and UrlValidator.
  bug fix.
  Added composer extension.
  Added psr-0.
  Fixed breaking test.
  Fixed iii include path.
  reorganized the main repo to satisfy PSR-0.
  Fixed bootstrap asset registration issue.
  Widget::$transition removed, bundles depency fixed
  'yii/bootstrap/popover' bundle depency optimization
  Bundle names fixes, base widget fixes, other widgets fixes
  Fixed join query for AR.
  Responsive bundle depency fix
  Bundle names and depency fixes
  YiiBase move all after class definition
  YiiBase
  Reloaded
  Additional bootstrap packages
  New approach
  minor refactoring.
  ...

Conflicts:
	tests/unit/framework/caching/ApcCacheTest.php
	tests/unit/framework/caching/CacheTest.php
2013-05-22 12:49:31 +02:00
Antonio Ramirez
dc8dbdc64a fixed tests 2013-05-22 11:04:08 +02:00
Antonio Ramirez
05523640f2 fixed pluralize + singularize rules for tests 2013-05-22 10:59:09 +02:00
Antonio Ramirez
7b98b42418 added inflection methods from StringHelper + some comment fixes 2013-05-22 08:35:03 +02:00
Antonio Ramirez
641e6ee7cf ported inflection methods from StringHelper to Inflector helper class 2013-05-22 08:34:17 +02:00
Antonio Ramirez
5cc22e95cb Merge branch 'upstream' into 313-Inflector-Helper
* upstream: (36 commits)
  bug fix.
  Added composer extension.
  Added psr-0.
  Fixed breaking test.
  Fixed iii include path.
  reorganized the main repo to satisfy PSR-0.
  Fixed bootstrap asset registration issue.
  Widget::$transition removed, bundles depency fixed
  'yii/bootstrap/popover' bundle depency optimization
  Bundle names fixes, base widget fixes, other widgets fixes
  Fixed join query for AR.
  Responsive bundle depency fix
  Bundle names and depency fixes
  YiiBase move all after class definition
  YiiBase
  Reloaded
  Additional bootstrap packages
  New approach
  minor refactoring.
  Uncompressed assets js files for better overall compression
  ...
2013-05-22 08:06:36 +02:00
Qiang Xue
72769ff348 Fixed breaking test. 2013-05-21 21:48:02 -04:00
Qiang Xue
0744413819 Fixed iii include path. 2013-05-21 21:45:30 -04:00
Antonio Ramirez
f9222a083a fix failing test 2013-05-21 08:42:38 +02:00
Antonio Ramirez
3a5f01cb6e Merge branch 'upstream' into 313-Inflector-Helper
* upstream:
  Enhanced the detection of secure connection.
  Refactored Modal.
  < PHP 5.3 compatibility for req checker
  code style and UI improvements to requirements checker
  readded accidentally removed .gitignore file
  Changed Yii.php case in some files where it was wrong
  Finished bootstrap Widget and Modal.
  PHP Intl extension has been added to default Yii requirements.
  moved optional packages to "suggest", updated platform requirements
  "vendor-dir": "vendor" is default, removed
  fixed auth manager unit test to not expect generic exception
  fixed range requests, tests improved
2013-05-21 08:22:59 +02:00
Antonio Ramirez
3575b99650 finished all tests 2013-05-21 08:22:20 +02:00
Antonio Ramirez
82a6281c65 added tests 2013-05-21 01:04:28 +02:00
Carsten Brandt
a77bfea21d Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (31 commits)
  Finished bootstrap Widget and Modal.
  PHP Intl extension has been added to default Yii requirements.
  moved optional packages to "suggest", updated platform requirements
  "vendor-dir": "vendor" is default, removed
  Fixes issue #320: Module::createController() will fail with a route with trailing slash.
  Fixed test break about AssetController.
  requirements css.php twitter bootstrap update to 2.3.2
  Twitter bootstrap updated to 2.3.2
  Modified the IAssetConvert interface.
  hashing the key for registerCss and registerJs.
  Update AccessRule.php
  refactored code after feedback
  Fixed framework path.
  Added support for View::POS_READY.
  new proposed structure
  remove from master (update track)
  minor fixes
  updated the README file of the bootstrap app.
  Inflector class
  readjusting files for the framework package.
  ...
2013-05-20 22:40:20 +02:00
Alexander Makarov
ceaca378f9 Merge pull request #296 from Ragazzo/response-fix-tests-added
fixed range requests, tests improved
2013-05-20 10:39:55 -07:00
Klimov Paul
4695362ae2 Unit test for "yii\console\controllers\AssetController" has been adjusted. 2013-05-18 21:40:39 +03:00
Klimov Paul
9f66abc984 "yii\console\controllers\AssetController" has been updated:
- assetManager has been converted into virtual property
 - bundle dependency load has been fixed
2013-05-18 21:33:06 +03:00
Klimov Paul
d4b896f65c "ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests. 2013-05-18 17:28:28 +03:00
Carsten Brandt
285a45520c fixed auth manager unit test to not expect generic exception
This is not allowed by phpunit as a test may not fail anymore
2013-05-18 13:41:09 +02:00
Klimov Paul
14228f8615 Merge branch 'asset-command' 2013-05-17 11:57:00 +03:00
Qiang Xue
9e948ccd43 Added UrlRule::host. 2013-05-16 23:54:06 -04:00
Qiang Xue
b6fffeb0e4 Removed trailing slash in created URLs. 2013-05-16 23:21:08 -04:00
Qiang Xue
e6b52b8523 Fixes issue #268: added support for subdomain matching of URL rules. 2013-05-16 23:15:30 -04:00
Klimov Paul
c676e92d74 Merge branch 'master' of github.com:yiisoft/yii2 into asset-command 2013-05-16 20:55:22 +03:00
Klimov Paul
d3beeb7ddc Usage of "yii\console\controllers\AssetController::actionCompress()" has been clarified. 2013-05-16 20:38:02 +03:00
Klimov Paul
06752ae9e7 Doc comments for "yii\console\controllers\AssetController" has been updated. 2013-05-16 20:13:49 +03:00
Klimov Paul
563f992bec Unit test for "yii\console\controllers\AssetController" has been refactored. 2013-05-16 19:49:15 +03:00
Ragazzo
1f3f661292 fixed range requests, tests improved 2013-05-16 17:47:22 +04:00
Klimov Paul
8d17fcccaa Error "yii\console\controllers\AssetController::combineCssFiles()" has been fixed. 2013-05-16 16:42:06 +03:00
Klimov Paul
0ecdcae54a Method "yii\console\controllers\AssetController::buildTarget()" has been fixed to compose input file name correctly. 2013-05-16 16:31:29 +03:00
Klimov Paul
f9b06e1e6d Unknown property "yii\console\controllers\AssetController::publishOptions" error has been fixed. 2013-05-16 15:38:46 +03:00
Klimov Paul
98b3cc07cd Test case "AssetControllerTest::testActionCompress()" has been created as draft. 2013-05-16 15:17:42 +03:00
Klimov Paul
5092612217 Method "console\controllers\AssetController::actionTemplate()" has been updated to be more verbose. 2013-05-16 14:34:27 +03:00
Qiang Xue
986bfccd34 Fixes issue #294. 2013-05-16 07:25:55 -04:00
Klimov Paul
f4cb1e4a0a Unit test for "console\controllers\AssetController" has been created. 2013-05-16 14:21:49 +03:00
Qiang Xue
0005b07d29 Removed Vector and Dictionary. 2013-05-15 20:27:41 -04:00
Carsten Brandt
01b478f48c Merge branch 'Ragazzo-partial-response-enh'
* Ragazzo-partial-response-enh:
  refactored web/Response::sendFile()
  Display Name of HttpException instead of classname
  string helper fixed, mime-type reverted
  code style fix
  partial response added, new code-style applied
2013-05-15 20:42:25 +02:00
Carsten Brandt
a2c6d22124 refactored web/Response::sendFile()
- better throw http exception on not satisfiable range request
- constitent header names
- fixed range end when range request is to the end
- added unit test

related to #275, fixes #148
2013-05-15 20:39:23 +02:00
slavcopost
59cb5d1199 Add unit test 2013-05-15 15:59:47 +03:00