Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-18 | Fix 2 Router-related errors | Andrey Andreev | 1 | -1/+1 | |
2014-01-16 | URI Routing overhaul | Andrey Andreev | 1 | -122/+118 | |
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot) | |||||
2014-01-15 | CI_URI changes related to the 'permitted_uri_chars' setting | Andrey Andreev | 1 | -3/+3 | |
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799 | |||||
2014-01-10 | Finally get rid of the CI_Router::_set_overrides() calls | Andrey Andreev | 1 | -32/+23 | |
2013-11-11 | Polish changes from PR #2712 | Andrey Andreev | 1 | -4/+2 | |
2013-11-05 | Fix HTTP Verb Routing Rules | Fatih Kalifa | 1 | -18/+14 | |
Fix code style, removed (:any) rule in http verb to avoid confusion, and add proposed documentation and changelog | |||||
2013-10-31 | Enable HTTP Verb in Routing | Fatih Kalifa | 1 | -1/+32 | |
Using array for HTTP Verb e.g: $route['(:any)']['POST'] = "controller/post_method"; $route['path']['GET'] = "controller/path_get_method"; $route['path']['(:any)'] = "controller/path_any_method"; Using (:any) or not will make same result e.g: $route['path']['(:any)'] == $route['path'] So it won't break existing route | |||||
2013-08-06 | Various typos and tabs adjustments | vlakoff | 1 | -2/+2 | |
2013-07-22 | Change class filenames to Ucfirst | Andrey Andreev | 1 | -5/+3 | |
2013-07-19 | Router improvements | Andrey Andreev | 1 | -18/+38 | |
- Make dashes-to-underscores URI segment replacement configurable via ['translate_uri_dashes']. - Make _set_routing() protected and move the call to the class constructor. - Remove redudant calls to set_class() and set_method(). - Clean-up/optimize the routes loading procedure. (fixes issue #2503) | |||||
2013-04-04 | Fix #2380 and deprecate CI_Router::fetch_*() methods | Andrey Andreev | 1 | -7/+10 | |
2013-01-29 | Replace is_file() with the faster file_exists() | Andrey Andreev | 1 | -4/+5 | |
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php). | |||||
2013-01-28 | Remove unnecessary defined('ENVIRONMENT') checks | Andrey Andreev | 1 | -1/+1 | |
As suggested in issue #2134 & PR #2149 | |||||
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 1 | -1/+1 | |
2012-12-07 | Fix issue #2061 | Andrey Andreev | 1 | -9/+9 | |
2012-11-08 | Another router fix for the dumbest usage of callbacks ever | Andrey Andreev | 1 | -1/+1 | |
2012-11-08 | Revert 96ea52894aea85b86d75f59fee35f90676735060 | Andrey Andreev | 1 | -6/+6 | |
2012-11-08 | Change route type checks priorities | Andrey Andreev | 1 | -6/+6 | |
2012-11-04 | Fix #98 | Andrey Andreev | 1 | -1/+1 | |
2012-11-02 | Fix a directory/404_override bug and some routing-related optimizations | Andrey Andreev | 1 | -55/+21 | |
2012-11-02 | Router-related optimizations | Andrey Andreev | 1 | -7/+0 | |
An improved version of changes suggesed in PR #1352, and more specifically: https://github.com/sourcejedi/CodeIgniter/commit/8f7d2dfe42bd8543981c0f295e391e433d82fd42 https://github.com/sourcejedi/CodeIgniter/commit/d2de251c092d9d822fc4898e3681b64e9c74dd2a (thanks again @sourcejedi) | |||||
2012-11-01 | Allow use of dashes in controller/method URI segments | Andrey Andreev | 1 | -1/+9 | |
Supersedes PR #642 | |||||
2012-11-01 | Manually apply PR #1594 (fixing phpdoc page-level generation/warnings) | Andrey Andreev | 1 | -1/+2 | |
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files. | |||||
2012-10-31 | Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop | Jonatas Miguel | 1 | -33/+36 | |
2012-10-30 | Fix issue #658 (:any wildcard matching slashes) | Andrey Andreev | 1 | -1/+1 | |
2012-10-27 | [ci skip] Router class DocBlock improvements | Andrey Andreev | 1 | -32/+35 | |
2012-10-23 | users' default values are now respected in callback routes | Jonatas Miguel | 1 | -0/+15 | |
2012-09-27 | corrected a few more style problems | Jonatas Miguel | 1 | -2/+2 | |
2012-09-27 | made some corrections to the code | Jonatas Miguel | 1 | -6/+3 | |
2012-08-07 | Changed spaces to tabs where necessary. | Jonatas Miguel | 1 | -59/+59 | |
2012-08-06 | Updated documentation | Jonatas Miguel | 1 | -1/+1 | |
2012-08-06 | Corrected code style to be inline with project conventions. | Jonatas Miguel | 1 | -7/+9 | |
2012-08-06 | Fixed a bug when detecting if the user used a callback. | Jonatas Miguel | 1 | -1/+1 | |
2012-08-06 | New optional routing system, v3 | Jonatas Miguel | 1 | -33/+57 | |
2012-08-06 | revert changes to routing system - part 1 | Jonatas Miguel | 1 | -34/+2 | |
2012-08-01 | Added possibility of using callbacks. | Jonatas Miguel | 1 | -6/+25 | |
2012-07-20 | allow for routes that can be processed with php, ex: ↵ | Jonatas Miguel | 1 | -1/+14 | |
$route['([^/]+)/([^/]+)(/:any)?'] = 'php:"$1" . "/do" . ucfirst("$2") . "$3"'; | |||||
2012-06-12 | Change file permissions for system/core/*.php and system/database/DB.php so ↵ | Andrey Andreev | 1 | -0/+0 | |
that they don't differ from the rest | |||||
2012-06-04 | Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d | Andrey Andreev | 1 | -3/+3 | |
2012-06-02 | Replaced `==` with `===` and `!=` with `!==` in /system/core | Alex Bilbie | 1 | -4/+4 | |
2012-05-17 | Cleanup the core classes | Andrey Andreev | 1 | -14/+11 | |
2012-05-02 | Reverted rui_string change. | Phil Sturgeon | 1 | -4/+1 | |
This had knock-on effects as can be seen in #1306. Issue #122 has been reopend until it is fixed properly. | |||||
2012-04-26 | Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patch | Timothy Warren | 1 | -1/+4 | |
2012-04-26 | Fixed issue #122 - ruri_string() in subdirs. | Phil Sturgeon | 1 | -1/+4 | |
2012-04-23 | Use tabs to separate class properties | Timothy Warren | 1 | -5/+5 | |
2012-04-19 | Additional formatting fixes | Timothy Warren | 1 | -5/+11 | |
2012-04-19 | Normalize comments in core files | Timothy Warren | 1 | -1/+0 | |
2012-03-26 | Some style adjustments and fixed comments in Router and Output classes | Andrey Andreev | 1 | -17/+15 | |
2012-03-09 | Bumped CodeIgniter's PHP requirement to 5.2.4. | Phil Sturgeon | 1 | -1/+1 | |
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway... | |||||
2012-01-07 | Improve the core Router library | Andrey Andreev | 1 | -70/+37 | |