summaryrefslogtreecommitdiffstats
path: root/system/libraries
AgeCommit message (Collapse)AuthorFilesLines
2014-01-08Remove preg_quote() call from CI_User_agent::_set_browser() and add another ↵Andrey Andreev1-1/+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-08Fix 2 errors caused by recent commitsAndrey Andreev1-1/+1
2014-01-08Make newline standardization configurableAndrey Andreev1-1/+24
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-08Optimize get_instance() calls/assignmentsAndrey Andreev4-23/+21
2014-01-08A tiny improvement in CI_Upload::do_xss_clean()Andrey Andreev1-2/+1
2014-01-08Some small improvements to the Xmlrpc classAndrey Andreev1-11/+11
2014-01-07Add ability for changing the original file path/name in CI_Zip::read_file()Andrey Andreev1-11/+14
Supersedes PR #884
2014-01-07Fix #2143Andrey Andreev1-9/+6
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-07Add Basic HTTP authentication support to the XML-RPC libraryAndrey Andreev1-1/+30
(based on PR #1716)
2014-01-06Fix #2237: Parser library failed if the same tag pair is used more than once ↵Andrey Andreev1-11/+19
within a template (manually applying PR #2238 + updated unit tests)
2014-01-06Remove a redudant value checkAndrey Andreev1-1/+1
2014-01-06Make CI_Session's set_userdata(), set_flashdata(), set_tempdata(), ↵Andrey Andreev1-5/+5
unset_userdata() and unset_flashdata()'s first parameter mandatory
2014-01-06[ci skip] Fix a docblock typoAndrey Andreev1-1/+1
2014-01-06Make CI_Form_validation::error()'s first parameter mandatory and add a ↵Andrey Andreev1-6/+6
typehint for CI_Form_validation::error()
2014-01-03Make CI_Unit_test::set_test_items()'s parameter mandatory (optional doesn't ↵Andrey Andreev1-2/+2
make sense)
2014-01-03[ci skip] Some spaces & docblock fixesAndrey Andreev2-15/+13
2014-01-03Merge pull request #2768 from porquero/patch-1Andrey Andreev1-1/+2
Added post-increment for $count
2014-01-03FTP class improvementsAndrey Andreev1-4/+4
- Make changedir()'s first parameter mandatory (optional doesn't make sense) - Fix a few typos (langfile included)
2014-01-03Make CI_FTP::mkdir()'s first parameter mandatory (optional doesn't make sense)Andrey Andreev1-1/+1
2013-12-23Remove _serialize() and _unserialize() methodsJordan Eldredge1-34/+4
Since removing the unneeded manual escaping code, there is no-longer any reason to have the serialization functions abstracted. This also allows us to only suppress errors when unserializing cookie data, and only trim when we are unserializing database data (see commit 6b8312).
2013-12-21Remove unneeded manual escaping of session dataJordan Eldredge1-60/+3
2013-12-14Added post-increment for $countCristian Riffo Huez1-1/+2
It has been added the missing post-increment for variable $count.
2013-12-13Merge pull request #2764 from refringe/feature/cookie_sessionAndrey Andreev1-1/+1
Issue #2763 - Fixes Session GC Probability Calculation
2013-12-13Issue #2763 - Fixes Session GC Probability CalculationTyler Brownell1-1/+1
This should resolve issue #2763 where the cookie session garbage collection was running every request.
2013-11-27[ci skip] Remove a few more spacesAndrey Andreev2-3/+3
2013-11-12Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵Andrey Andreev1-4/+4
replace it Calls to this function are often needed before the Input library is available
2013-10-29Spaces, log messageKakysha1-2/+2
2013-10-28Code cleanupKakysha1-2/+4
2013-10-28some code rewriteKakysha1-3/+3
2013-10-28Correct Redis connection troubleshootingKakysha1-4/+11
2013-10-28Added option to connect through unix socket in redis cache driverKakysha1-1/+8
2013-10-23Fix issue #2695Andrey Andreev1-4/+18
2013-10-21Add CI_Upload:: optionAndrey Andreev1-1/+9
2013-10-16Merge pull request #2661 from DaveMC08/feature/issue_2617Andrey Andreev1-9/+18
fix issue #2617
2013-10-16req. changes:David Cox Jr1-15/+4
cleaned up conditionals added changelog note regarding profiler updated as per styleguide
2013-10-14Fix #2674Andrey Andreev1-1/+2
2013-09-25fix issue #2617David Cox Jr1-1/+21
simply adds the $_FILES array to profiler output of POST data
2013-09-23[ci skip] Update Zip library docblocksAndrey Andreev1-19/+19
2013-09-13Improvements to safe_mode detection (it doesn't exist in PHP 5.4)Andrey Andreev2-3/+2
2013-08-07An improved version of PR #2584, fixes #2583Andrey Andreev1-11/+13
2013-08-06Various typos and tabs adjustmentsvlakoff1-1/+1
2013-07-31Optimize CI_Session::__construct() routines and make driver validity check ↵Andrey Andreev1-21/+18
stricter
2013-07-30Cache Log Error LevelsTyler Brownell4-4/+4
The log messages in the cache drvier's is_supported calls are more suited for the debug level.
2013-07-24Merge pull request #2556 from vlakoff/develop-4Andrey Andreev2-4/+3
Fixes in JavaScript Library
2013-07-24Fixes in JavaScript Libraryvlakoff2-4/+3
2013-07-24Cache Driver - Backup Never LoadedTyler Brownell1-1/+2
The condition that checks to see if the backup driver input is valid was prefixing the input with "cache_". Since the valid driver values don't have this prefix, the condition was always returning FALSE and the backup drivers were never being loaded. I've removed the prefix in the condition and added a debug log message for when the backup driver is used.
2013-07-21change empty function to Identical comparison operatorHashem Qolami1-2/+2
Signed-off-by: Hashem Qolami <hashem@qolami.com>
2013-07-21Fix Form Validation issue with text inputs which have array as nameHashem Qolami1-2/+2
Signed-off-by: Hashem Qolami <hashem@qolami.com>
2013-07-20Cache result of is_referral()vlakoff1-6/+15
2013-07-20User_agent library: robuster detection in is_referral()vlakoff1-2/+4