Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-08 | simplify calendar library | Andrew | 1 | -68/+35 | |
it seemed quite strange that we ask users to pass in a template string the we parse with REGEX, to extract key/value pairs, when we can simply ask users for an array. the class still contains default variables for each part of the template. Users can simply pass in an array (instead of a string) when they initialize, $config['template'], which overwrites default values. this cuts down a little on file size by removing parse_template() function. I think arrays are much more straightforward and easy to read than 'encoded' strings. don't have to keep a running list of all template keys like in previous parse_template() function. gets rid of $this->temp[] property and changes it to $this->template[] which is more descriptive when generating output | |||||
2014-02-06 | Make CI_Session's HMAC comparison time-attack-safe | Andrey Andreev | 1 | -1/+9 | |
2014-01-28 | Fix #2844 | Andrey Andreev | 1 | -1/+1 | |
2014-01-24 | Righting a wrong in the Session library | Andrey Andreev | 2 | -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-20 | Fix #2737 | Andrey Andreev | 1 | -21/+27 | |
2014-01-18 | Fix #2825 | Andrey Andreev | 1 | -1/+1 | |
2014-01-17 | Minor changes related to CI_User_agent | Andrey Andreev | 1 | -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-15 | Fix #2822: Incorrect usage of fwrite() | Andrey Andreev | 3 | -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-15 | Fix incorrect checks for the fwrite() return value | Andrey Andreev | 2 | -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-10 | condition repair and comments | Petr Heralecky | 1 | -3/+3 | |
2014-01-10 | rename src to file | Petr Heralecky | 1 | -9/+9 | |
2014-01-10 | attach files by absolute url | Petr Heralecky | 1 | -10/+10 | |
2014-01-10 | Further changes related to PR #2807 | Andrey Andreev | 1 | -11/+12 | |
2014-01-10 | variable repair | Petr Heralecky | 1 | -2/+2 | |
2014-01-10 | styleguided 2 | Petr Heralecky | 1 | -3/+1 | |
2014-01-10 | styleguided | Petr Heralecky | 1 | -10/+16 | |
2014-01-10 | Added Email::attach_cid() returning CID | Petr Heralecky | 1 | -32/+55 | |
2014-01-09 | Implement atomic increment/decrement in Cache library | Andrey Andreev | 7 | -61/+324 | |
Requested via issue #109 Supersedes PR #241 | |||||
2014-01-09 | Merge pull request #2802 from marcossffilho/develop | Andrey Andreev | 1 | -5/+41 | |
Calendar Updates | |||||
2014-01-09 | Updates for the Calendar Pull Request | Marcos SF Filho | 1 | -1/+1 | |
2014-01-09 | Fixed the comment and array alignment. | Ahmedul Haque Abid | 1 | -2/+2 | |
2014-01-09 | Added space after 'if' condition | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Changed the rest of 'error_msg' to 'errors' | Ahmedul Haque Abid | 1 | -6/+6 | |
2014-01-09 | Added the missing "is" in the comment | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Merge branch 'develop' into feature/form_validation/custom_error_per_field | Ahmedul Haque Abid | 2 | -2/+30 | |
2014-01-09 | Updated comment messages. | Ahmedul Haque Abid | 1 | -2/+2 | |
2014-01-09 | Removed extra space between closing parenthesis. | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Fixed a missed variable $errors in set_rules(). | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Changed $error_msg to $errors | Ahmedul Haque Abid | 1 | -4/+4 | |
2014-01-09 | Add CI_User_agent::parse() to allow parsing a custom user-agent string | Andrey Andreev | 1 | -0/+28 | |
Based on PR #970 | |||||
2014-01-08 | Remove preg_quote() call from CI_User_agent::_set_browser() and add another ↵ | Andrey Andreev | 1 | -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-08 | Unnecessary rtrim and update docs for Calendar class | Marcos SF Filho | 1 | -1/+1 | |
2014-01-08 | Join two if statement into one | Marcos SF Filho | 1 | -5/+2 | |
2014-01-08 | Code Corrections for the Calendar Pull Request | Marcos SF Filho | 1 | -21/+18 | |
2014-01-08 | Fix 2 errors caused by recent commits | Andrey Andreev | 1 | -1/+1 | |
2014-01-08 | Added custom error messages functionality for individual fields. | Ahmedul Haque Abid | 1 | -4/+20 | |
2014-01-08 | Update the Calendar Class | Marcos SF Filho | 1 | -6/+48 | |
2014-01-08 | Make newline standardization configurable | Andrey Andreev | 1 | -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-08 | Optimize get_instance() calls/assignments | Andrey Andreev | 4 | -23/+21 | |
2014-01-08 | A tiny improvement in CI_Upload::do_xss_clean() | Andrey Andreev | 1 | -2/+1 | |
2014-01-08 | Some small improvements to the Xmlrpc class | Andrey Andreev | 1 | -11/+11 | |
2014-01-07 | Add ability for changing the original file path/name in CI_Zip::read_file() | Andrey Andreev | 1 | -11/+14 | |
Supersedes PR #884 | |||||
2014-01-07 | Fix #2143 | Andrey Andreev | 1 | -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-07 | Add Basic HTTP authentication support to the XML-RPC library | Andrey Andreev | 1 | -1/+30 | |
(based on PR #1716) | |||||
2014-01-06 | Fix #2237: Parser library failed if the same tag pair is used more than once ↵ | Andrey Andreev | 1 | -11/+19 | |
within a template (manually applying PR #2238 + updated unit tests) | |||||
2014-01-06 | Remove a redudant value check | Andrey Andreev | 1 | -1/+1 | |
2014-01-06 | Make CI_Session's set_userdata(), set_flashdata(), set_tempdata(), ↵ | Andrey Andreev | 1 | -5/+5 | |
unset_userdata() and unset_flashdata()'s first parameter mandatory | |||||
2014-01-06 | [ci skip] Fix a docblock typo | Andrey Andreev | 1 | -1/+1 | |
2014-01-06 | Make CI_Form_validation::error()'s first parameter mandatory and add a ↵ | Andrey Andreev | 1 | -6/+6 | |
typehint for CI_Form_validation::error() | |||||
2014-01-03 | Make CI_Unit_test::set_test_items()'s parameter mandatory (optional doesn't ↵ | Andrey Andreev | 1 | -2/+2 | |
make sense) |