summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-01-09Added space after 'if' conditionAhmedul Haque Abid1-1/+1
2014-01-09Changed the rest of 'error_msg' to 'errors'Ahmedul Haque Abid2-7/+7
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 Abid5-4/+40
2014-01-09Added spaces between parameters and fixed the arrays to be more readable.Ahmedul Haque Abid1-12/+16
2014-01-09Updated comment messages.Ahmedul Haque Abid1-2/+2
2014-01-09Updated change log message for form validation custrom errors.Ahmedul Haque Abid1-1/+1
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 Abid2-6/+6
2014-01-09Add CI_User_agent::parse() to allow parsing a custom user-agent stringAndrey Andreev2-1/+33
Based on PR #970
2014-01-08Remove preg_quote() call from CI_User_agent::_set_browser() and add another ↵Andrey Andreev3-1/+4
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 Andreev2-2/+3
2014-01-08Added custom error messages functionality for individual fields.Ahmedul Haque Abid3-9/+43
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 Andreev5-6/+46
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 Andreev4-22/+66
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 Andreev2-4/+7
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-08Optimize get_instance() calls/assignmentsAndrey Andreev12-51/+35
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-08[ci skip] Add a changelog entry for PR #2800Andrey Andreev1-1/+4
2014-01-08Merge pull request #2800 from marcossffilho/developAndrey Andreev1-6/+29
Store Hooks objects
2014-01-08Update the CI_Hooks classMarcos SF Filho1-18/+16
2014-01-07Class for execute Hooks can be stored for reuseMarcos SF Filho1-8/+33
2014-01-07Fix a few bugs in CI_Hook (based on PR #2762)Andrey Andreev2-4/+9
2014-01-07A tiny regexp improvement for CI_DB_driver::is_write_type()Andrey Andreev3-3/+3
2014-01-07Add a more clear note about query builder caching (issue #2721)Andrey Andreev1-1/+6
2014-01-07Update Text helper highlight_phrase() tests and add one for custom tagsAndrey Andreev1-5/+7
2014-01-07Change Text helper default tag from <strong> to <mark>Andrey Andreev3-20/+31
Supersedes PR #1497
2014-01-07Add ability for changing the original file path/name in CI_Zip::read_file()Andrey Andreev2-11/+15
Supersedes PR #884
2014-01-07Fix #2143Andrey Andreev2-9/+7
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 Andreev3-57/+75
Requested in issue #2165 Supersedes PR #2319
2014-01-07Fix #2268 (manually implementing PR #2269)Andrey Andreev2-3/+4
2014-01-07Add Basic HTTP authentication support to the XML-RPC libraryAndrey Andreev2-3/+36
(based on PR #1716)
2014-01-06Fix #2237: Parser library failed if the same tag pair is used more than once ↵Andrey Andreev3-13/+22
within a template (manually applying PR #2238 + updated unit tests)
2014-01-06Remove a redudant value checkAndrey Andreev1-1/+1
2014-01-06Fix #2579: Query Builder's "no escape" functionality didn't work properly ↵Andrey Andreev2-4/+18
with query cache
2014-01-06Remove redudant Loader tests for library() & driver() with no parametersAndrey Andreev1-6/+0
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-06Make CI_Loader methods library(), driver(), vars() and language()'s first ↵Andrey Andreev1-6/+6
parameters mandatory and fix a docblock
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-06Make CI_Input::set_cookie() and cookie helpers set_cookie(), get_cookie(), ↵Andrey Andreev2-4/+4
delete_cookie()'s first (name) parameter mandatory
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 Andreev4-17/+15
2014-01-03Merge pull request #2753 from SirDre/patch-1Andrey Andreev1-1/+2
Update user_agents.php
2014-01-03Merge pull request #2768 from porquero/patch-1Andrey Andreev1-1/+2
Added post-increment for $count
2014-01-03Make CI_Lang::line()'s first parameter mandatory (optional doesn't make sense)Andrey Andreev1-1/+1