81 Commits

Author SHA1 Message Date
2d91723934 Add support for creating protocol-relative URLs.
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
2016-11-29 09:53:51 +02:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
7ca2260702 UrlManager::normalizer creation fixed 2016-10-04 17:02:57 +03:00
ee8a8e90f8 update urlnormalizer docs 2016-09-15 14:52:32 +02:00
bda1dbe004 Fix unit test 2016-09-13 12:33:07 +03:00
821f035c90 UrlManager::normalizer disabled by default 2016-09-13 12:21:40 +03:00
8142de23d4 Improve normalizer for URL manager 2016-08-30 21:25:23 +02:00
a7f63b6da3 Add normalizer for URL manager. 2016-08-30 21:22:58 +02:00
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
396bd9f714 Fixes #10309: Extracted yii\web\UrlManager rule cache key into $cacheKey protected property 2016-04-27 00:58:12 +03:00
f75f453ec4 Fixes #10475: Extracted getUrlFromCache() and setRuleToCache() protected methods from yii\web\UrlManager::createUrl() 2016-04-27 00:54:30 +03:00
9c1fa3f745 allow resetting properties in UrlManager, same as Request
fixes #11336
2016-04-21 14:07:09 +02:00
d3b5f4a284 Fixes #3656: Encode / in "r" query parameter in docs as it really is 2016-03-15 21:52:41 +03:00
e4d9ed5182 code style fix 2016-03-09 10:17:41 +02:00
c4e782725c Fixed cache key collision in yii\web\UrlManager::createUrl()
Closes #10935
2016-03-09 00:01:31 +02:00
fecd4dcfa5 10739 - Multiple slashes at the end of route should not be accepted as valid url 2016-02-05 16:38:49 +03:00
4a1a0fb4d8 FIX rule for camelCase controllerName
<controller:\w+>s
if use this variant of rule  you cant get controller with camelCase name as  camel-case
2015-12-09 23:57:01 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
703f374a85 Fixes #9596: Fixed \yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash']) losing hash 2015-09-05 11:40:45 +03:00
854e186210 fixed caching issue with UrlManager::createUrl
this fix will skip the cache in case we encounter a situation which can
not easily be cached.

fixes #9091
2015-08-03 00:31:59 +02:00
ebc089e6c2 Fixes #8194: Caching of the matched rules added to yii\web\UrlManager::createUrl() 2015-05-03 22:03:42 -04:00
792746883e urlManager: ensure route is trimmed by / on empty pattern
fixes #6717
2015-01-01 17:06:12 +01:00
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
48821a8c2c Update UrlManager.php 2014-09-04 22:27:23 +03:00
a20f82dcfa Fixes #4919 2014-09-04 20:44:36 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
8ac309849d Url encoding for the route param added 2014-05-28 13:07:33 +03:00
520011fff6 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
507a6f1068 Added yii\web\UrlManager::addRules() to simplify adding new URL rules 2014-04-17 20:03:42 -04:00
76402ea079 Fixed UrlManager rules caching 2014-04-04 13:27:20 +06:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
3c518c4207 Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container 2014-03-20 23:51:02 -04:00
4374616302 throw exception when UrlManager is not properly configured in console mode. 2014-03-19 09:36:13 -04:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
21f2f38b35 Fixes #2691: Null parameters will not be included in the generated URLs by UrlManager 2014-03-12 20:26:20 -04:00
bddad5280c Combined $schema and $absolute into $schema 2014-03-10 20:29:24 +04:00
bd271d42e4 Removed passing unused parameter 2014-03-10 16:33:17 +04:00
24e086deaf Added yii\web\UrlRuleInterface and yii\web\CompositeUrlRule 2014-02-28 14:40:25 -05:00
6a1816a94e Allow using string for URL in case there are no parameters 2014-02-20 20:45:16 +04:00
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00