Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-24 | Don't use globals | Andrey Andreev | 1 | -0/+2 | |
- Use load_class() to get objects during bootstrap process. - Change load_class() to accept a class constructor parameter instead of previously unused class name prefix. - Change CI_Router::__construct() to accept as a parameter. | |||||
2014-02-21 | Revert some changes ... our testing sucks | Andrey Andreev | 1 | -27/+0 | |
2014-02-21 | More CI_Lang tests | Andrey Andreev | 1 | -4/+56 | |
2014-02-21 | Add test cases for CI_Upload::__construct(), CI_Upload::initialize() | Andrey Andreev | 1 | -3/+44 | |
2014-02-21 | CI_Upload changes | Andrey Andreev | 1 | -6/+0 | |
- Method chaining support. - A more abstract resetting of the default settings. - Added an option to initialize() to disable resetting to default settings. - Removed method mimes_types() and slightly optimized chunks of code where it was used. - Added the ability to pass allowed_types as an array. | |||||
2014-02-20 | CI_Utf8-related changes | Andrey Andreev | 3 | -5/+76 | |
- Give priority to mb_convert_encoding() over iconv() in clean_string() (partially fixes #261) - Add more proper unit tests | |||||
2014-02-20 | Remove a few empty 'mock' classes | Andrey Andreev | 12 | -24/+6 | |
2014-02-20 | Fix CI_Calendar tests | Andrey Andreev | 2 | -7/+27 | |
2014-02-19 | Add compatibility layer for array_column(), array_replace(), ↵ | Andrey Andreev | 2 | -0/+430 | |
array_replace_recursive() | |||||
2014-02-18 | Don't load password hashing compat for HHVM | Andrey Andreev | 1 | -0/+6 | |
2014-02-18 | Add an ext/hash compatibility layer (just hash_pbkdf2(), for now) | Andrey Andreev | 2 | -0/+52 | |
2014-02-17 | [ci skip] Minor tests adjustments | Andrey Andreev | 5 | -33/+36 | |
2014-02-17 | Enable write_file() test | Andrey Andreev | 1 | -39/+35 | |
2014-02-15 | Rename CI_Utf8::_is_ascii() to is_ascii() and make it public | Andrey Andreev | 2 | -7/+2 | |
No reason for it to be protected. | |||||
2014-02-13 | Introducing compatibility layers | Andrey Andreev | 3 | -0/+215 | |
- Limited support for mbstring (mb_strlen(), mb_strpos(), mb_substr() only) via iconv. Falls back to regular strlen(), strpos(), substr() if iconv is not available. - Password hashing, dependant on CRYPT_BLOWFISH (2y version, available since PHP 5.3.7) availability. | |||||
2014-02-13 | [ci skip] Test fixes | Andrey Andreev | 2 | -5/+10 | |
2014-02-12 | Move mbstring/iconv configuration and MB_ENABLED, ICONV_ENABLED out of ↵ | Andrey Andreev | 2 | -23/+25 | |
CI_Utf8::__construct() Also, use mb_substitute_character() instead of ini_set() | |||||
2014-02-12 | [ci skip] Indentation fix | Andrey Andreev | 1 | -1/+1 | |
2014-02-12 | Remove pointless mocks for remove_invisible_characters(), is_php(), ↵ | Andrey Andreev | 1 | -51/+0 | |
is_really_writable() | |||||
2014-02-11 | Utf8/iconv/mbstring-related changes | Andrey Andreev | 1 | -0/+11 | |
2014-02-11 | Some other small writing consistency fixes | darwinel | 3 | -6/+6 | |
As described in the Style guide. Found after some grep’ing. | |||||
2014-02-11 | A bug fix and optimizations in CI_Table | Andrey Andreev | 1 | -20/+27 | |
2014-02-10 | CI_Encryption: Rename 'base64' parameter to 'raw_data' and add docs | Andrey Andreev | 1 | -4/+6 | |
2014-02-09 | Merge branch 'develop' into 'feature/encryption' | Andrey Andreev | 1 | -1/+1 | |
2014-02-08 | Small Style fix | darwinel | 1 | -1/+1 | |
General Style and Syntax | |||||
2014-02-07 | CI_Encryption: Optimizations and test cases | Andrey Andreev | 2 | -66/+306 | |
2014-02-06 | CI_Encryption: CAST-128/CAST5 and RC4/ARCFour compatibility | Andrey Andreev | 1 | -0/+23 | |
2014-02-05 | CI_Encryption: HMAC to not be derived from the encryption key | Andrey Andreev | 1 | -4/+6 | |
2014-02-05 | CI_Encryption: More MCrypt/OpenSSL compatibility and get rid of the ↵ | Andrey Andreev | 1 | -13/+46 | |
MCRYPT_MODE_* constants | |||||
2014-02-05 | CI_Encryption: Add Blowfish to compatibility list | Andrey Andreev | 1 | -5/+3 | |
2014-02-04 | CI_Encryption: Fix more errors and add a 'portability' test case | Andrey Andreev | 1 | -1/+50 | |
2014-02-04 | CI_Encryption: Fix some errors and add unit tests for hkdf() | Andrey Andreev | 2 | -15/+119 | |
2014-01-24 | Righting a wrong in the Session library | Andrey Andreev | 1 | -10/+10 | |
- 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-17 | Merge branch 'feature/uri_routing_overhaul' into 'develop' | Andrey Andreev | 1 | -18/+10 | |
2014-01-17 | Minor changes related to CI_User_agent | Andrey Andreev | 2 | -19/+52 | |
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-17 | Unit tests: Full code coverage of Benchmark class | Andrey Andreev | 1 | -1/+25 | |
2014-01-17 | Add CI_Model unit test | Andrey Andreev | 1 | -0/+37 | |
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 | |