Commit Graph

61 Commits

Author SHA1 Message Date
Carsten Brandt
873b2b04db fixed test breaks after #3614 2014-05-28 17:20:24 +02:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
Qiang Xue
48e67e8b89 renamed PrefixUrlRule to GroupUrlRule 2014-04-05 12:07:38 -04:00
Qiang Xue
1a71c10934 Added yii\web\PrefixUrlRule 2014-03-21 22:01:20 -04:00
Qiang Xue
aae8622fce Fixed test break. 2014-03-20 21:31:51 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Qiang Xue
65bfd1633b Fixes #2646: Added support for specifying hostinfo in the pattern of a URL rule 2014-03-07 09:53:55 -05:00
Qiang Xue
24e086deaf Added yii\web\UrlRuleInterface and yii\web\CompositeUrlRule 2014-02-28 14:40:25 -05:00
Qiang Xue
ad06b80e6e Enhanced parsing the accept header. 2014-02-26 23:11:59 -05:00
Alexander Makarov
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
Alexander Makarov
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
Carsten Brandt
4844886431 added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
fixes #1585
2014-01-21 19:00:17 +01:00
Qiang Xue
d9dd7292db Fixed test break. 2014-01-08 23:21:44 -05:00
Qiang Xue
eb779ff6cb Fixed test break. 2014-01-08 23:03:38 -05:00
Alexander Makarov
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
Alexander Makarov
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Carsten Brandt
58589e03bd improved asset converter command running
now also gets stderr output.

fixes #1140
2013-11-05 12:25:29 +01:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Carsten Brandt
e574f10c8c fixed broken test after whitespace changes in view 2013-10-16 20:28:07 +02:00
Carsten Brandt
a922c41ee6 more asset bundle tests and docs 2013-10-11 02:14:59 +02:00
Carsten Brandt
abc1e0c2bb fix issue #700
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
0c113faf62 added unit test for asset bundles 2013-10-11 01:13:32 +02:00
Qiang Xue
8bff031fc2 Fixed the issue that dots in URL rules would match any character. 2013-10-10 11:23:20 -04:00
Carsten Brandt
128ee07b78 100% test coverage for CacheSession 2013-09-18 22:54:11 +02:00
Carsten Brandt
bd2404f1c6 added simple unit test for CacheSession 2013-09-18 22:46:43 +02:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
4a02e0b539 finished form generator. 2013-08-18 08:52:30 -04:00
Qiang Xue
e433c98ed4 Fixes #599 2013-07-23 22:01:16 -04:00
Qiang Xue
6f4e2c9b3c Fixes #647 2013-07-21 19:10:29 -04:00
Qiang Xue
ac8801bc63 Added SortTest 2013-07-19 20:40:51 -04:00
Qiang Xue
ba6c10eb30 Yii debugger WIP 2013-07-06 21:20:49 -04:00
Qiang Xue
3e18479d1f Fixes issue #545: PageCache doesn't work. 2013-06-17 00:48:05 -04:00
Qiang Xue
3ec9553654 Fixed test break. 2013-06-15 15:54:26 -04:00
Qiang Xue
5a8e4b648b Added XmlResponseFormatter. 2013-06-15 15:19:00 -04:00
Qiang Xue
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00
Qiang Xue
f14774dfb6 Fixes issue #276: Enable Response::sendFile() to operate on resources 2013-06-10 16:37:35 -04:00
Qiang Xue
ef5afef7b2 Fixed test break. 2013-06-09 10:32:29 -04:00
Qiang Xue
b455f2c97a Fixed test break. 2013-06-07 08:08:40 -04: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
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
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
Qiang Xue
c4595b8b5d Fixes issue #337: support strict parsing for URL manager. 2013-05-23 10:47:45 -04: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
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