summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22remove newline from end of fileMohammad Javad Naderi1-1/+1
2013-08-22character_limiter now works correct for UTF-8 stringsMohammad Javad Naderi1-5/+5
strlen() doesn't return the actual length for unicode strings. For example strlen('سلام') returns 8, but length of سلام is 4. strlen(utf8_decode('سلام')) returns correct value 4. Reference: http://www.php.net/manual/de/function.strlen.php#45407
2013-08-19Kill the damn kittenAndrey Andreev1-2/+2
2013-08-19Adjustments in static reference handlingvlakoff1-8/+5
2013-08-19Allow items to be set even if they were not present yetvlakoff1-5/+2
2013-08-19Ensure get_config() optional argument is an array, remove useless testvlakoff1-7/+4
2013-08-17Fix $replace parameter handling in get_config()vlakoff2-28/+32
Code was reached only on first function call, then short-circuited because of the reference cache.
2013-08-11Input class: change behavior of get_post() method, add post_get() methodvlakoff1-1/+17
followup to PR #2522
2013-08-07Add a changelog entry for PR #2590 and further optimize log_message()Andrey Andreev1-11/+1
CI_Log::write_log() already checks the log threshold, so there's no point in doing it in log_message() as well.
2013-08-07Merge pull request #2590 from vlakoff/developAndrey Andreev1-2/+3
Fix noneffective static variable cache in log_message()
2013-08-07An improved version of PR #2584, fixes #2583Andrey Andreev1-11/+13
2013-08-07Fix noneffective static variable cache in log_message()vlakoff1-2/+3
2013-08-06Replace php_sapi_name() function with PHP_SAPI constantvlakoff2-2/+2
exact same behavior but faster, shorter
2013-08-06Various typos and tabs adjustmentsvlakoff6-8/+8
2013-08-06Fix #2585Andrey Andreev1-1/+1
2013-08-06Fix #2501 & another -related bugAndrey Andreev2-1/+4
2013-08-04Rename bad chars property to filename_bad_chars, remove the setter and add ↵Hunter Wu1-15/+2
changelog entry
2013-08-03Make the bad filename array public in Security libraryHunter Wu1-18/+38
2013-08-03Revert "Add windows filename rule as an option for upload files"Hunter Wu2-42/+21
This reverts commit 23719ab569c9c8d6b791f65d7861daba3895ddcb.
2013-08-01Add windows filename rule as an option for upload filesHunter Wu2-21/+42
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-29Merge pull request #2567 from vlakoff/develop-2Andrey Andreev1-2/+7
Polishing Form helper
2013-07-29Fix #2568Andrey Andreev1-2/+2
2013-07-28Polishing Form helpervlakoff1-1/+6
2013-07-28Form helper _attributes_to_string() micro-optimizationvlakoff1-5/+5
As $attributes should be most of the times an array, let's save an is_string() call.
2013-07-27Merge pull request #2554 from vlakoff/develop-3Andrey Andreev1-5/+5
config->item() now returns NULL instead of FALSE when the required item doesn't exist.
2013-07-27More logical ordervlakoff1-11/+11
2013-07-27Form helper: refactor form_open() and _attributes_to_string()vlakoff1-38/+18
2013-07-26Fix #2560Andrey Andreev1-2/+10
2013-07-26Fix #2558Andrey Andreev1-1/+1
2013-07-25Uniformize slash_item() with item()vlakoff1-2/+2
2013-07-25Adjustments to the previous commitvlakoff1-1/+1
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-24config->item() now returns NULL instead of FALSE when the required item ↵vlakoff1-3/+3
doesn't exist. Uniformization with other functions. This also brings the ability to properly use booleans in configuration.
2013-07-23Loader changes & optimizations related to issue #2551Andrey Andreev2-33/+32
2013-07-22Give Drivers a higher priority in the autoloaderAndrey Andreev1-9/+9
2013-07-22Change class filenames to UcfirstAndrey Andreev3-25/+26
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
2013-07-19Router improvementsAndrey Andreev2-19/+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-07-19Merge pull request #2538 from vlakoff/develop-4Andrey Andreev1-10/+5
Fix config_item() returning stale values
2013-07-19[ci skip] Simplify get_file_info()Andrey Andreev1-1/+1
2013-07-19Fix config_item() returning stale valuesvlakoff1-10/+5
Use case fixed: config_item('foobar'); // returns "some value" $CI->config->set_item('foobar', 'new value'); config_item('foobar'); // still returns "some value", expected "new value"
2013-07-18More verbose error messages for incorrect/missing database groups (based on ↵Andrey Andreev1-2/+6
PR #2040)
2013-07-18Fix a Memcache(d) default configuration bug (based on #249)Andrey Andreev1-18/+8