summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
AgeCommit message (Collapse)AuthorFilesLines
2012-11-08Polish docs for String, Text and Typography helpersAndrey Andreev3-90/+196
2012-11-08Deprecate String helper trim_slashes()Andrey Andreev3-20/+41
trim(, '/') is even shorter ...
2012-11-08Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵Andrey Andreev7-254/+352
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper
2012-11-08Polish docs for the File and Form helpersAndrey Andreev2-209/+463
2012-11-08Polish docs for Array, CAPTCHA, Cookie, Date, Directory and Download helpersAndrey Andreev5-326/+275
2012-11-08Deprecate the Email helperAndrey Andreev3-15/+49
2012-11-07Added function_usable() to common functionsAndrey Andreev2-1/+16
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-07[ci skip] Update the upgrade instructionsAndrey Andreev4-7/+24
2012-11-06Fix issue #1978Andrey Andreev2-3/+4
2012-11-06Added CI_Input::input_stream()Andrey Andreev2-32/+62
Helps in reading php://input stream data by caching it when accessed for the first time. (supersedes PR #1684)
2012-11-06Display DB object names in the Profiler and fix issue #1220Andrey Andreev1-0/+2
2012-11-06Add an optional escape parameter to insert() and insert_batch()Andrey Andreev1-1/+1
"Fixes" #1895
2012-11-06Merge pull request #1974 from squaresurf/unit_testing_doc_typoAndrey Andreev1-1/+1
Fixed typo in unit testing documentation.
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev4-71/+99
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Fixed typo in unit testing documentation.Daniel Paul Searles1-1/+1
There was a reference to a non-existent Unit_test::set_items method when it should be Unit_test::set_test_items.
2012-11-05Refactored DB ForgeAndrey Andreev3-14/+32
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
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-31Added support for timestamp-based migrationsJonathon Hill2-29/+58
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
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