Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-16 | Add a unit test for CI_Utf8::_is_ascii() | Andrey Andreev | 2 | -4/+14 | |
2014-01-16 | Add some unit tests for CI_Input | Andrey Andreev | 1 | -3/+44 | |
2014-01-16 | URI Routing overhaul | Andrey Andreev | 1 | -18/+10 | |
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot) | |||||
2014-01-15 | CI_URI changes related to the 'permitted_uri_chars' setting | Andrey Andreev | 2 | -11/+19 | |
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799 | |||||
2014-01-13 | Don't throw in mock autoloader | Fred Emmott | 1 | -15/+1 | |
This behavior doesn't appear to be used at all. This fixes HHVM compatibility: HHVM optimizes class_exists() to a dedicated bytecode - as it's not a function call, it doesn't show up in the backtrace. 100% of the tests pass with this change. | |||||
2014-01-09 | Update Calendar library test following PR #2802 | Andrey Andreev | 1 | -15/+18 | |
2014-01-07 | Update Text helper highlight_phrase() tests and add one for custom tags | Andrey Andreev | 1 | -5/+7 | |
2014-01-07 | Implement Loader method chaining | Andrey Andreev | 1 | -28/+28 | |
Requested in issue #2165 Supersedes PR #2319 | |||||
2014-01-06 | Fix #2237: Parser library failed if the same tag pair is used more than once ↵ | Andrey Andreev | 1 | -2/+2 | |
within a template (manually applying PR #2238 + updated unit tests) | |||||
2014-01-06 | Remove redudant Loader tests for library() & driver() with no parameters | Andrey Andreev | 1 | -6/+0 | |
2013-11-12 | Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵ | Andrey Andreev | 2 | -5/+9 | |
replace it Calls to this function are often needed before the Input library is available | |||||
2013-10-17 | Replace the last rand() with mt_rand() | vlakoff | 1 | -1/+1 | |
Better entropy, faster. Also fixed a few "it's" typos. | |||||
2013-09-13 | Drop the unused parameter from log_message() / CI_Log::write_log() | Andrey Andreev | 1 | -1/+1 | |
2013-08-19 | Lower precision for the CI_Benchmark::elapsed_time() test - there's no way ↵ | Andrey Andreev | 1 | -1/+1 | |
to reliably test it | |||||
2013-08-11 | Input class: change behavior of get_post() method, add post_get() method | vlakoff | 1 | -1/+11 | |
followup to PR #2522 | |||||
2013-07-25 | Uniformize slash_item() with item() | vlakoff | 1 | -1/+1 | |
2013-07-25 | Adjustments to the previous commit | vlakoff | 1 | -4/+4 | |
2013-07-23 | Loader changes & optimizations related to issue #2551 | Andrey Andreev | 1 | -2/+2 | |
2013-07-22 | Fix Loader_test::test_non_existent_model() | Andrey Andreev | 1 | -1/+1 | |
2013-07-22 | Fix CI_Loader::model() tests | Andrey Andreev | 1 | -14/+12 | |
2013-07-19 | Simplify directory_map test skip | vlakoff | 1 | -1/+1 | |
2013-07-19 | Proper directory_map test skip | vlakoff | 1 | -2/+2 | |
* added the needed trailing backslash * use is_dir() instead of opendir() as it doesn't throw error on failure | |||||
2013-07-19 | [ci skip] Skip directory_map() test when opendir() fails to open a VFS dir | Andrey Andreev | 1 | -0/+7 | |
2013-07-19 | Fix an argument in test_directory_helper | vlakoff | 1 | -1/+1 | |
2013-07-19 | Fix test_directory_map | vlakoff | 1 | -4/+6 | |
See #2475 and point 2 of #2334 | |||||
2013-07-15 | Fix Travis tests | Andrey Andreev | 1 | -0/+2 | |
2013-05-27 | Merge pull request #2460 from vlakoff/develop-3 | Andrey Andreev | 1 | -0/+1 | |
Add a requirement in tests installation instructions | |||||
2013-05-25 | Try a different method, the previous one wasn't working in Travis | vlakoff | 1 | -1/+2 | |
2013-05-25 | Fix tests execution | vlakoff | 1 | -0/+2 | |
See #2442 | |||||
2013-05-25 | Add a requirement in tests installation instructions | vlakoff | 1 | -0/+1 | |
PHPUnit requires Yaml package from pear.symfony.com channel. | |||||
2013-05-07 | Logging functions: level parameter is not optional | vlakoff | 1 | -1/+1 | |
This parameter cannot be optional, as the following parameter is mandatory. Also completed the corresponding documentation. | |||||
2013-03-31 | fix typo : StdClass should be stdClass | Abdul Malik Ikhsan | 2 | -2/+2 | |
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com> | |||||
2013-02-21 | CI_Output [set/append/get]_output() tests | Andrey Andreev | 1 | -0/+35 | |
2013-02-21 | Some miscellaneous tests | Andrey Andreev | 1 | -1/+24 | |
2013-02-21 | Add CI_Utf8::convert_to_utf8() test | Andrey Andreev | 1 | -0/+20 | |
2013-02-21 | DB_result tests seem to also depend on autoloading via the class_exists() ↵ | Andrey Andreev | 1 | -0/+0 | |
checks ... | |||||
2013-02-21 | Fix Session tests | Andrey Andreev | 1 | -1/+3 | |
2013-02-19 | Fix form_upload() test | Andrey Andreev | 1 | -1/+1 | |
2013-02-15 | Various cosmetic fixes | vlakoff | 1 | -1/+1 | |
2013-01-30 | Remove tests for now non-existent method CI_Upload::clean_file_name() | Andrey Andreev | 1 | -6/+0 | |
See 7e5597782a589e4171ca08abdd9ce1a185542ff4 | |||||
2013-01-28 | Update unit tests with the ucfirst-library-filename requirement | Andrey Andreev | 1 | -9/+9 | |
2013-01-28 | Fix auto_link() for the Nth time | Andrey Andreev | 1 | -5/+6 | |
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression | |||||
2013-01-28 | Add ENVIRONMENT constant to unit tests | Andrey Andreev | 1 | -0/+1 | |
2013-01-03 | Replaced array_push function reference with a faster ordinary element ↵ | and-ers | 1 | -1/+1 | |
insertion method | |||||
2012-12-28 | Update CI_Output::get_header() test | Andrey Andreev | 1 | -2/+2 | |
2012-12-03 | [ci skip] Cleaned some spaces | Andrey Andreev | 11 | -10/+10 | |
2012-11-30 | Merge pull request #2043 from johnathancroom/keep_flash_data_array | Andrey Andreev | 1 | -0/+50 | |
Test for keep_flashdata accepting an array | |||||
2012-11-30 | keep_flashdata array test | Johnathan Croom | 1 | -1/+51 | |
2012-11-29 | Fix #2041 | Andrey Andreev | 1 | -1/+3 | |
2012-11-29 | Added CI_Output::get_header() | Andrey Andreev | 1 | -0/+35 | |
(an improved version of PR #645) Also fixed get_content_type() to only return the MIME value and created Output library unit tests for both of these methods. |