summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
AgeCommit message (Collapse)AuthorFilesLines
2017-11-15Merge branch '3.1-stable' into developAndrey Andreev1-0/+9
Note: This intentionally reverts ee8324368f2844aae0d558f1d194419a2181c281
2017-11-10Fix #5331Andrey Andreev1-0/+9
2017-10-16Merge branch '3.1-stable' into developAndrey Andreev1-1/+2
2017-10-12Merge pull request #5289 from zploskey/cleanup_form_validation_testsAndrey Andreev1-19/+21
Clean up form validation tests
2017-10-11Clean up form validation testsZach Ploskey1-21/+21
Remove a number unnecessary calls to reset_validation(). A new form_validation object is already initialized for every test in set_up(), so these lines do nothing unless multiple validations are done in the same test. Explicitly empty the $_POST array after each test that modifies it. Signed-off-by: Zach Ploskey <zach@ploskey.com>
2017-10-06Fix issue 5202Zach Ploskey1-0/+14
Fix attempting to access data_ref before it is defined when validating an array input with multiple explicitly specified keys. Adds a test for the issue. Signed-off-by: Zach Ploskey <zach@ploskey.com>
2017-09-29Add testcase and changelog entry for #5278Andrey Andreev1-2/+3
2017-09-25Merge branch '3.1-stable' into developAndrey Andreev1-1/+1
2017-06-28#5164 fix for stock librariesAndrey Andreev1-1/+1
2017-06-22Implement #2436 (access to FV processed data)Andrey Andreev1-0/+18
2017-06-21Implement #193: Validating entire arrays in a single function callAndrey Andreev1-1/+7
2017-06-21Add unit test.tianhe19861-1/+20
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-06-19Merge branch '3.1-stable' into developAndrey Andreev1-0/+1
Conflicts resolved: system/core/CodeIgniter.php tests/codeigniter/libraries/Form_validation_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst
2017-06-19[ci skip] Fix a bug in FV valid_email()Andrey Andreev1-1/+1
2017-06-15Merge pull request #5155 from tianhe1986/develop_count_ignore_limitAndrey Andreev1-0/+10
Fix CI_DB_query_builder::count_all_results() returning wrong count with LIMIT/OFFSET
2017-06-15Getting right num of rows with LIMIT usage.tianhe19861-1/+1
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-06-15Adding unit test.tianhe19861-0/+10
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-03-24Merge branch '3.1-stable' into developAndrey Andreev2-2/+28
Conflicts resolved: system/core/CodeIgniter.php system/core/Common.php system/core/Input.php system/helpers/cookie_helper.php tests/codeigniter/helpers/html_helper_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst user_guide_src/source/libraries/input.rst
2017-03-06Fix #5044; add unit tests for img() HTML helperAndrey Andreev1-1/+15
2017-02-21[ci skip] Reduce excessive indentation in QB group_by(), having() testsAndrey Andreev1-33/+32
2017-02-21Use less indentation.tianhe19861-22/+22
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-02-13Add unit test.tianhe19861-0/+70
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-01-19Fix byte-safety issues & actually test for themAndrey Andreev1-2/+14
2017-01-17[ci skip] Merge pull request #4986 from ka7/feature/spellingAndrey Andreev1-1/+1
Spelling fixes in comment blocks and docs
2017-01-16spelling fixesklemens1-1/+1
2017-01-10Merge branch '3.1-stable' into developAndrey Andreev2-2/+9
Conflicts resolved: system/core/CodeIgniter.php system/database/drivers/sqlite/sqlite_driver.php system/database/drivers/sqlite/sqlite_forge.php system/database/drivers/sqlite/sqlite_result.php system/database/drivers/sqlite/sqlite_utility.php system/helpers/email_helper.php system/helpers/smiley_helper.php system/libraries/Cart.php system/libraries/Email.php system/libraries/Image_lib.php system/libraries/Javascript.php system/libraries/Javascript/Jquery.php system/libraries/Session/SessionHandlerInterface.php user_guide_src/source/changelog.rst user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst
2017-01-10Add a testcase and changelog entry for #4975Andrey Andreev1-2/+4
2017-01-06Add valid_mac() FV ruleAndrey Andreev1-2/+13
Close #3992
2017-01-04Fix an XSS vulnerabilityAndrey Andreev1-0/+5
2016-12-14Move csrf_verify() call out of CI_InputAndrey Andreev7-28/+34
2016-12-14Isolate CI_Security instantiation from CI_Input; improve testsAndrey Andreev7-46/+64
2016-12-14Drop all PHP 5.3-related codeAndrey Andreev1-32/+0
2016-12-01Remove previously deprecated FV Library method/rule prep_for_form()Andrey Andreev1-14/+0
2016-12-01Remove previously deprecated Form Helper function form_prep()Andrey Andreev1-16/+0
2016-12-01Remove previously deprecated File Helper function read_file()Andrey Andreev1-14/+1
2016-12-01Remove previously deprecates String Helper functions trim_slashes(), repeater()Andrey Andreev1-31/+1
2016-12-01Remove previously deprecated HTML helper functions br(), nbs()Andrey Andreev1-15/+1
2016-12-01Remove previously deprecated Security Helper function do_hash()Andrey Andreev1-25/+1
2016-12-01Remove previously deprecated Date Helper function standard_date()Andrey Andreev1-100/+0
2016-12-01Remove tests broken by the func removals from last few commitsAndrey Andreev2-32/+1
2016-12-01Merge branch '3.1-stable' into developAndrey Andreev1-0/+8
2016-11-23Fix #4917Andrey Andreev1-0/+8
2016-11-01small typoGeorge PETCULESCU1-1/+1
2016-11-01added tests for ordinal_format() helper function (Inflector helper)George PETCULESCU1-0/+19
2016-10-28Merge branch '3.1-stable' into developAndrey Andreev1-0/+6
Resolved conflicts: system/core/CodeIgniter.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst user_guide_src/source/libraries/form_validation.rst
2016-10-20FV: throw BadMethodCallException when set_rules() called withoutAndrey Andreev1-0/+6
2016-09-27Fix entity_decode() issueAndrey Andreev1-0/+6
2016-08-22Merge branch '3.1-stable' into developAndrey Andreev2-2/+14
2016-08-22Skip mcrypt-related testcases on PHP 7.1Andrey Andreev2-2/+14
ext/mcrypt is deprecated and the test cases in question trigger E_DEPRECATED messages as a result.
2016-08-10Merge branch '3.1-stable' into developAndrey Andreev11-242/+24