summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
AgeCommit message (Collapse)AuthorFilesLines
2014-01-18Merge branch 'develop' into feature/output_compressed_cacheAndrey Andreev1-10/+18
2014-01-17Merge branch 'feature/uri_routing_overhaul' into 'develop'Andrey Andreev1-8/+14
2014-01-17Add autoloading library aliasing support (supersedes PR #2824)Andrey Andreev1-1/+1
2014-01-17Minor changes related to CI_User_agentAndrey Andreev1-0/+1
Fixed a bug where both accept_charset() and accept_lang() improperly parsed headers if they contained spaces between data separators (which is valid). Also made is_referral() testable by replacing its static cache var with a class property and added some more unit tests for the library as a whole.
2014-01-16URI Routing overhaulAndrey Andreev1-8/+14
- 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-15Fix #2799 by adding conditional PCRE UTF-8 support to CI_URI::filter_uri()Andrey Andreev1-1/+2
Also did a tiny micro-optimization in the Utf8 class.
2014-01-15Merge changes from developAndrey Andreev2-6/+35
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev1-0/+1
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases.
2014-01-15CI_URI changes related to the 'permitted_uri_chars' settingAndrey Andreev1-0/+1
- 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-12Merge pull request #2808 from melounek/filename_as_urlAndrey Andreev2-0/+5
attach files by absolute url
2014-01-10Finally get rid of the CI_Router::_set_overrides() callsAndrey Andreev1-0/+1
2014-01-10documentation repairsPetr Heralecky2-2/+2
2014-01-10attach files by absolute urlPetr Heralecky2-0/+5
2014-01-10Compress output before storing it to cache, if output compression is enabledAndrey Andreev2-0/+4
Based on PR #964
2014-01-10Further changes related to PR #2807Andrey Andreev2-12/+12
2014-01-10styleguidedPetr Heralecky2-11/+10
2014-01-10Added Email::attach_cid() returning CIDPetr Heralecky2-2/+24
2014-01-09Add HTTP response code 307 support in URL helper redirect()Andrey Andreev1-1/+1
2014-01-09d'oh - :noindex: in wrong placeConnor Tumbleson1-3/+3
Signed-off-by: Connor Tumbleson <connor.tumbleson@gmail.com>
2014-01-09fix doc warningsConnor Tumbleson3-10/+10
2014-01-09Implement atomic increment/decrement in Cache libraryAndrey Andreev1-5/+7
Requested via issue #109 Supersedes PR #241
2014-01-09Fix #133Andrey Andreev1-0/+1
2014-01-09Merge pull request #2802 from marcossffilho/developAndrey Andreev2-17/+31
Calendar Updates
2014-01-09Updates for the Calendar Pull RequestMarcos SF Filho1-14/+14
2014-01-09Fixed the comment and array alignment.Ahmedul Haque Abid1-1/+1
2014-01-09Fixed coding styles in form_validation.rstAhmedul Haque Abid1-3/+3
2014-01-09Changed the rest of 'error_msg' to 'errors'Ahmedul Haque Abid1-1/+1
2014-01-09Merge branch 'develop' into feature/form_validation/custom_error_per_fieldAhmedul Haque Abid1-1/+6
2014-01-09Added spaces between parameters and fixed the arrays to be more readable.Ahmedul Haque Abid1-12/+16
2014-01-09Updated change log message for form validation custrom errors.Ahmedul Haque Abid1-1/+1
2014-01-09Changed $error_msg to $errorsAhmedul Haque Abid1-2/+2
2014-01-09Add CI_User_agent::parse() to allow parsing a custom user-agent stringAndrey Andreev1-1/+5
Based on PR #970
2014-01-08Remove preg_quote() call from CI_User_agent::_set_browser() and add another ↵Andrey Andreev1-0/+1
pattern for Opera Input comes from a configuration file that is barely touched by anyone and the default values only contain letters, so it is safe to not quote them. This enables us to add a more advanced pattern in config/user_agents.php for Opera 10+, which ... quote: Opera/9.80 is hard coded at the beginning of the user agent string because of broken browser sniffing scripts which detect 'Opera/10' and above as Opera 1. (reference: http://my.opera.com/community/openweb/idopera/) Instead, latests versions of Opera append ' Version/<version number>' to the end of the user agent string. Fixes issue #555 (incorrect browser detection for Opera)
2014-01-08Unnecessary rtrim and update docs for Calendar classMarcos SF Filho1-16/+25
2014-01-08Code Corrections for the Calendar Pull RequestMarcos SF Filho1-2/+2
2014-01-08Added custom error messages functionality for individual fields.Ahmedul Haque Abid2-5/+23
2014-01-08Update the Calendar ClassMarcos SF Filho1-1/+6
2014-01-08Deprecate the 'mysql', 'sqlite', 'mssql' and 'pdo/dblib' driversAndrey Andreev2-0/+22
The 'mysql' PHP extension is notorious for it's problems and is deprecated as of PHP 5.5. The other ones are dropped from PHP 5.3.
2014-01-08Make newline standardization configurableAndrey Andreev2-1/+3
Added ['standardize_newlines'] Also altered the Session cookie driver, which experienced issues with this feature due to it's HMAC verification failing after the Input class alters newlines in non-encrypted session cookies. Supersedes PR #2470
2014-01-08Fix #346Andrey Andreev2-7/+40
When ['global_xss_filtering'] was turned on, the , , & superglobals were automatically overwritten. This resulted in one of the following problems: - xss_clean() being called twice - Inability to retrieve the original (not filtered) value XSS filtering is now only applied on demand by the Input class, and the default value for the parameter in CI_Input methods is changed to NULL. Unless a boolean value is passed to them, whether XSS filtering is applied depends on the ['global_xss_filtering'] value.
2014-01-08[ci skip] Fix a wrong issue reference from the previous commitAndrey Andreev1-1/+1
2014-01-08Fix #148Andrey Andreev1-0/+1
CI_Input::_clean_input_data() assumed that all input data is URL-encoded while sanitizing it. However, PHP already performs URL-decoding on it, so this is either redudant or overly intrusive as it resulted in many, many reports of data containing '%' followed by 1 numeric characters being essentially destroyed. Supersedes PR #1229
2014-01-08[ci skip] Add a changelog entry for PR #2800Andrey Andreev1-1/+4
2014-01-07Fix a few bugs in CI_Hook (based on PR #2762)Andrey Andreev1-0/+1
2014-01-07Add a more clear note about query builder caching (issue #2721)Andrey Andreev1-1/+6
2014-01-07Change Text helper default tag from <strong> to <mark>Andrey Andreev2-4/+23
Supersedes PR #1497
2014-01-07Add ability for changing the original file path/name in CI_Zip::read_file()Andrey Andreev1-0/+1
Supersedes PR #884
2014-01-07Fix #2143Andrey Andreev1-0/+1
When trying to load rules from a configuration file, the Form validation library matched against ruri_string() as opposed to 'controller/method' like described in the manual. Since ruri_string() also makes sense, now both are being checked with ruri_string() having a higher precedence. Supersedes PR #2224
2014-01-07Implement Loader method chainingAndrey Andreev1-0/+1
Requested in issue #2165 Supersedes PR #2319
2014-01-07Fix #2268 (manually implementing PR #2269)Andrey Andreev1-0/+1