Commit Graph

885 Commits

Author SHA1 Message Date
Klimov Paul
e2f7b99f16 Unit test for "yii\helpers\base\FileHelper" has been created. 2013-06-10 20:22:34 +03:00
Qiang Xue
44f78f04df Merge pull request #519 from gevik/issue-466
Issue 466 (add/drop PrimaryKeys)
2013-06-09 14:41:08 -07:00
gevik
f667b5785b - Added drop/add primary key methods to Command.php
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
2013-06-09 18:27:09 +02:00
Qiang Xue
ef5afef7b2 Fixed test break. 2013-06-09 10:32:29 -04:00
Klimov Paul
04848a45c9 Default action of "yii\console\controllers\MessageController" has been renamed to "generate". 2013-06-09 16:10:59 +03:00
Klimov Paul
4a164f8afa Action "template" has been added to "yii\console\controllers\MessageController". 2013-06-09 16:07:03 +03:00
Klimov Paul
a5e903f252 Unit test for "yii\console\controllers\MessageController" has been created. 2013-06-09 15:04:58 +03:00
Qiang Xue
51972f2557 Merge pull request #505 from gevik/pgsql-driver
Pgsql driver implementation (update 4)
2013-06-07 14:13:39 -07:00
gevik
b6d5a9002b Removed the config setting that should not have been commited. 2013-06-07 23:01:01 +02:00
Qiang Xue
b455f2c97a Fixed test break. 2013-06-07 08:08:40 -04:00
Gevik Babakhani
0fd390cac5 Replaces spaces with tabs. 2013-06-06 21:19:17 +02:00
Qiang Xue
0a9fffba8f fixed test break. 2013-06-06 07:39:35 -04:00
Gevik Babakhani
3d79d992c4 Merge remote branch 'upstream/master' into pgsql-driver 2013-06-05 11:35:38 +02:00
Klimov Paul
ec8fecb8b0 Check output bundle file format has been added to "AssetControllerTest::testActionCompress()" unit test. 2013-06-03 21:56:03 +03:00
Qiang Xue
55a4c0b154 Merge pull request #461 from cebe/rest-urlmanager
[READY] RESTful routing syntax for UrlManager
2013-06-03 02:43:41 -07:00
Carsten Brandt
e94cc6bb9e unit test for UrlManager RESTful routing syntax
removed test param 'appClass' as it does not make sense to configure
application class for all tests, some explicitly need webapp where
some might explicitly need console app.
2013-06-03 09:33:16 +02:00
Qiang Xue
61d2551f0c Merge pull request #477 from cebe/querybuilder-dynamic-column-types
[READY] Better flexibility for abstract db types
2013-06-02 16:57:39 -07:00
Carsten Brandt
af68ee9d27 Sqlite unit test for abstract db types 2013-06-03 00:24:39 +02:00
Carsten Brandt
c28b0183a5 whitespace 2013-06-02 22:12:37 +02:00
Carsten Brandt
5c56c0fc02 Better flexibility for abstract db types
Feature was requested in yiisoft/yii#765
2013-06-02 16:05:11 +02:00
Gevik Babakhani
18218c4132 Removed unused columns. 2013-06-01 12:37:47 +02:00
Qiang Xue
800b3dbed0 Fixed build break. 2013-05-31 21:55:11 -04:00
Gevik Babakhani
97270a389a Savepoint, implementing fkeys. 2013-05-31 14:25:56 +02:00
Gevik Babakhani
103621ad05 Savepoint: WIP implementing columns 2013-05-30 16:53:57 +02:00
Carsten Brandt
09e4229e16 [WIP] RESTful routing syntax for UrlManager
issue #303
Here is the proposal for RESTful routing syntax:
https://gist.github.com/cebe/5674918
2013-05-30 13:33:38 +02:00
Gevik Babakhani
4602b575ad Save point: WIP implementing db schema functionality. 2013-05-29 17:44:53 +02:00
Carsten Brandt
8b6447876a refactored numberformatting in base\Formatter
added decimalSeparator and thousandSeparator properties.
issue #48
2013-05-29 02:19:08 +02:00
Qiang Xue
33dbe8fb43 Removed breaking tests. 2013-05-28 19:10:39 -04:00
Qiang Xue
6aba9ede8b Removed breaking test. 2013-05-28 19:10:04 -04:00
Qiang Xue
9a97037012 Finished Formatter. 2013-05-28 18:55:26 -04:00
Gevik Babakhani
c30eae62d2 Added initial unit testing files for the pgsql driver. 2013-05-29 00:01:02 +02:00
Qiang Xue
000fdc3de0 formatter WIP. 2013-05-28 17:27:37 -04:00
Qiang Xue
37e609494a Merge pull request #416 from klimov-paul/asset-command-i-3
#72 Improve the "asset" command Iteration 3
2013-05-26 14:15:09 -07:00
Qiang Xue
f5d0bcbcfc Refactored cache key generation. 2013-05-26 17:09:09 -04:00
Klimov Paul
f65d1398a5 Added skipping for absolute URLs at "AssetController::adjustCssUrl()". 2013-05-26 21:05:53 +03:00
Klimov Paul
b6ec6085fe Method "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:59:03 +03:00
Klimov Paul
265a6f1c39 Relative path composing at "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:47:34 +03:00
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