summaryrefslogtreecommitdiffstats
path: root/user_guide_src
AgeCommit message (Collapse)AuthorFilesLines
2012-11-05Revert usage of is_callable() in system/core/CodeIgniter.phpAndrey Andreev1-71/+81
Seems to be causing issues (see #1970). Also updated the Controller docs, mainly to include an important note related to #1967.
2012-11-04Fix #708Andrey Andreev1-4/+8
2012-11-03Fix #1957Andrey Andreev1-3/+0
2012-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev1-2/+1
It appears to break get_instance()->*_package_path*() usage which is very common. Need to figure out how to resolve this.
2012-11-03[ci skip] Correct a changelog entryAndrey Andreev1-1/+1
2012-11-02Removed CI_Loader::initialize() and moved its logic to the constructor.Andrey Andreev1-0/+1
That method used to be called by the CI_Controller constructor and was required because of the possibility to instantiate the Controller class twice due to 404_override, and so some properties needed to be reset. Following the last commit - this is no longer the case.
2012-11-02Bootstrap improvementsAndrey Andreev1-0/+1
- Don't instantiate the CI singleton twice. - General clean-up. - Fix issue #953.
2012-11-02Fix a directory/404_override bug and some routing-related optimizationsAndrey Andreev1-0/+1
2012-11-01Fix issue #122Andrey Andreev1-0/+1
2012-11-01Allow use of dashes in controller/method URI segmentsAndrey Andreev3-9/+30
Supersedes PR #642
2012-11-01[ci skip] Alter form validation examples including the *matches* ruleAndrey Andreev1-4/+4
2012-11-01Fix issue #1953 (form values being escaped twice)Andrey Andreev3-34/+22
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459.
2012-11-01[ci skip] Add changelog entry for PR #1951Andrey Andreev1-2/+2
2012-11-01Session cookie driver changesAndrey Andreev1-1/+1
- Changed docs CREATE TABLE ci_sessions example to have the PRIMARY KEY of session_id, ip_address and user_agent combined. - Changed DB updates to add WHERE clauses for the ip_address and/or user_agent strings if sess_match_ip and/or sess_match_useragent are set to TRUE.
2012-10-31Changed URI auto-detection to try PATH_INFO firstAndrey Andreev1-0/+1
(thanks to @sourcejedi, PR #1326) Up until PHP 5.2.4 (which is our new lowest requirement), there was a bug related to PATH_INFO which made REQUEST_URI a more reliable choice. This is now no longer the case, see https://bugs.php.net/bug.php?id=31892 for more details. Also removed ORIG_PATH_INFO from the suggested alternatives for uri_protocol in application/config/config.php as it will not exist in most of PHP's recent versions and is pointless when you can use PATH_INFO anyway.
2012-10-31Fix issues #388 & #705Andrey Andreev1-1/+2
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616
2012-10-31Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel10-175/+313
2012-10-31removed conflict markersJonatas Miguel1-24/+0
2012-10-31Multiple improvements to the URI classAndrey Andreev1-1/+4
(thanks to @sourcejedi, PR #1326 for most of the ideas) - Renamed _detect_uri() and _parse_cli_args() to _parse_request_uri() and _parse_argv() respectively. - Added _parse_query_string() which allows us to detect the URI path from QUERY_STRING much like it is done in _parse_request_uri(). (the above changes also allow for a simpler logic in the case where the *uri_protocol* setting is not set to 'AUTO') - Updated application/config/config.php with a better list of the *uri_protocol* options. - Added _reset_query_string() to aid in re-processing from the QUERY_STRING (utilized in _parse_request_uri() and _parse_query_string()).
2012-10-31CI_URI::_detect_uri() to accept absolute URIsAndrey Andreev1-1/+3
(thanks to @sourcejedi, PR #1326) For HTTP/1.1 compliance, RFC2616 specifies that both relative and absolute URI formats must be accepted: - http://localhost/path/ (absolute) - /path/ (relative)
2012-10-30Description for Fix #1938 added to changelogGDmac1-0/+1
Signed-off-by: GDmac <grdalenoort@gmail.com>
2012-10-30Fix issue #658 (:any wildcard matching slashes)Andrey Andreev3-14/+57
2012-10-30[ci skip] Fix a note in the QB documentationAndrey Andreev1-2/+2
2012-10-30[ci skip] Alter a changelog entry for 2.1.3Andrey Andreev1-1/+1
2012-10-27Make CI_Loader::config() a proper alias for CI_Config::load() and improve ↵Andrey Andreev1-2/+3
the Loader class DocBlocks
2012-10-27Input class improvementsAndrey Andreev1-1/+3
- Disable register_globals replication on PHP 5.4+ (no longer exists). - DocBlock improvements. - Add missing changelog entry. - Change user_agent() to return NULL when no value is found (for consistency with other fetcher methods).
2012-10-27Docblock improvements to the Config library and remove ↵Andrey Andreev1-3/+5
CI_Config::_assign_to_config() Existance of _assign_to_config() is pointless as this method consists just of a foreach calling CI_Config::set_item() and is only called by CodeIgniter.php - moved that foreach() in there instead.
2012-10-27Deprecate string helper repeater() (an alias for str_repeat())Andrey Andreev3-0/+14
2012-10-27Add database schema configuration support (used by PostgreSQL, fix #158)Andrey Andreev2-1/+3
2012-10-27Fix #50Andrey Andreev1-0/+1
2012-10-26Fix #142Andrey Andreev1-0/+1
2012-10-26Deprecated form helper function form_prep().Andrey Andreev3-40/+55
This function has been broken for YEARS and it's value-caching logic has only introduced various problems. We have html_escape() since CI 2.1.0 which is a perfect replacement, so it should be used instead. Fixes #228 & #1630
2012-10-26Fix #1624 and clear-up the form validation docs (manually applying #1603)Andrey Andreev2-95/+96
2012-10-26Implement cache key prefixing (as suggested in #1197) and update the Cache docsAndrey Andreev2-11/+52
2012-10-26Fix issue #59Andrey Andreev1-0/+1
2012-10-25[ci skip] Alter a changelog entryAndrey Andreev1-1/+1
2012-10-25Add CI_Cart::get_item() (rel #400)Andrey Andreev2-7/+14
2012-10-25Form helpers to ignore empty name attributes (fix #1506)Andrey Andreev1-0/+1
2012-10-25Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel4-11/+77
2012-10-24Fix #1811Andrey Andreev1-0/+1
2012-10-24[ci skip] Document Query Builder method replace() (fix #1651)Andrey Andreev1-1/+30
2012-10-24Fix #1146Andrey Andreev1-0/+1
2012-10-24Fix #1255Andrey Andreev1-0/+1
2012-10-24Fix #191Andrey Andreev1-0/+1
2012-10-24[ci skip] Document get_csrf_token_name(), get_csrf_hash() (issue #715)Andrey Andreev1-7/+38
2012-10-24Fix #1268 (or rather enforce some security measures, there's nothing really ↵Andrey Andreev2-3/+5
broken)
2012-10-24documented routing changeJonatas Miguel1-0/+1
2012-10-24fix a conflict, part 1Jonatas Miguel1-84/+189
2012-10-24Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel36-172/+659
Conflicts: user_guide_src/source/changelog.rst
2012-10-24updated changelog to reflect the changes in this commitJonatas Miguel1-2/+2