summaryrefslogtreecommitdiffstats
path: root/system/libraries
AgeCommit message (Collapse)AuthorFilesLines
2014-02-07CI_Encryption: Optimizations and test casesAndrey Andreev1-26/+18
2014-02-06Merge changes from developAndrey Andreev1-1/+9
2014-02-06Make CI_Session's HMAC comparison time-attack-safeAndrey Andreev1-1/+9
2014-02-06CI_Encryption: CAST-128/CAST5 and RC4/ARCFour compatibilityAndrey Andreev1-15/+50
2014-02-06CI_Encryption: Time-attack-safe HMAC verificationAndrey Andreev1-4/+18
2014-02-05CI_Encryption: HMAC to not be derived from the encryption keyAndrey Andreev1-58/+56
2014-02-05More CI_Encryption improvementsAndrey Andreev1-46/+6
- Make OpenSSL the default driver if available (because MCrypt is stupid). - Require MCRYPT_DEV_URANDOM for the MCrypt availability check (because security; also, incidentally - it's faster that way ;)).
2014-02-05CI_Encryption: More MCrypt/OpenSSL compatibility and get rid of the ↵Andrey Andreev1-17/+69
MCRYPT_MODE_* constants
2014-02-05CI_Encryption: Add Blowfish to compatibility listAndrey Andreev1-7/+11
2014-02-05CI_Encryption: Work around MCrypt's dumb behavior in ECB modeAndrey Andreev1-49/+65
2014-02-05Integrate CI_Encryption into the frameworkAndrey Andreev1-25/+30
TODO: Add documentation in user_guide_src/source/libraries/encryption.rst
2014-02-04CI_Encryption: Remove ARCFour from aliased ciphers due ...Andrey Andreev1-4/+2
Seems like there are some issues with it
2014-02-04CI_Encryption: Fix more errors and add a 'portability' test caseAndrey Andreev1-17/+17
2014-02-04Fix a logical error in CI_EncryptionAndrey Andreev1-3/+3
2014-02-04CI_Encryption: Fix some errors and add unit tests for hkdf()Andrey Andreev1-10/+10
2014-02-04CI_Encryption improvementsAndrey Andreev1-99/+199
- HMAC authentication by default. - HKDF support. - Reduce code repetition.
2014-02-03Introducing CI_Encryption (a CI_Encrypt replacement)Andrey Andreev1-0/+718
2014-01-28Fix #2844Andrey Andreev1-1/+1
2014-01-24Righting a wrong in the Session libraryAndrey Andreev2-41/+50
- Change userdata(), flashdata(), tempdata() to return all the respective data when no parameter is passed. - Revert the addition of all_flashdata(). - Deprecate all_userdata(). - Fix related changelog entries that were all inconsistent.
2014-01-20Fix #2737Andrey Andreev1-21/+27
2014-01-18Fix #2825Andrey Andreev1-1/+1
2014-01-17Minor changes related to CI_User_agentAndrey Andreev1-8/+15
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-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev3-4/+29
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-15Fix incorrect checks for the fwrite() return valueAndrey Andreev2-2/+2
! fwrite() could trigger false-positives as it is possible for it to return 0 instead of boolean FALSE. (issue #2822) Also removed an unnecessary log level check that caused an extra space to be inserted for the INFO level. (proposed in PR #2821)
2014-01-10condition repair and commentsPetr Heralecky1-3/+3
2014-01-10rename src to filePetr Heralecky1-9/+9
2014-01-10attach files by absolute urlPetr Heralecky1-10/+10
2014-01-10Further changes related to PR #2807Andrey Andreev1-11/+12
2014-01-10variable repairPetr Heralecky1-2/+2
2014-01-10styleguided 2Petr Heralecky1-3/+1
2014-01-10styleguidedPetr Heralecky1-10/+16
2014-01-10Added Email::attach_cid() returning CIDPetr Heralecky1-32/+55
2014-01-09Implement atomic increment/decrement in Cache libraryAndrey Andreev7-61/+324
Requested via issue #109 Supersedes PR #241
2014-01-09Merge pull request #2802 from marcossffilho/developAndrey Andreev1-5/+41
Calendar Updates
2014-01-09Updates for the Calendar Pull RequestMarcos SF Filho1-1/+1
2014-01-09Fixed the comment and array alignment.Ahmedul Haque Abid1-2/+2
2014-01-09Added space after 'if' conditionAhmedul Haque Abid1-1/+1
2014-01-09Changed the rest of 'error_msg' to 'errors'Ahmedul Haque Abid1-6/+6
2014-01-09Added the missing "is" in the commentAhmedul Haque Abid1-1/+1
2014-01-09Merge branch 'develop' into feature/form_validation/custom_error_per_fieldAhmedul Haque Abid2-2/+30
2014-01-09Updated comment messages.Ahmedul Haque Abid1-2/+2
2014-01-09Removed extra space between closing parenthesis.Ahmedul Haque Abid1-1/+1
2014-01-09Fixed a missed variable $errors in set_rules().Ahmedul Haque Abid1-1/+1
2014-01-09Changed $error_msg to $errorsAhmedul Haque Abid1-4/+4
2014-01-09Add CI_User_agent::parse() to allow parsing a custom user-agent stringAndrey Andreev1-0/+28
Based on PR #970
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-08Unnecessary rtrim and update docs for Calendar classMarcos SF Filho1-1/+1
2014-01-08Join two if statement into oneMarcos SF Filho1-5/+2
2014-01-08Code Corrections for the Calendar Pull RequestMarcos SF Filho1-21/+18
2014-01-08Fix 2 errors caused by recent commitsAndrey Andreev1-1/+1