summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-01-20Fix #2737Andrey Andreev2-21/+28
2014-01-20Merge branch 'develop' into feature/output_compressed_cacheAndrey Andreev5-19/+33
2014-01-20Polish changes from PR #2830Andrey Andreev4-24/+29
2014-01-20Merge pull request #2830 from abdmaster/fix/config/database_save_queriesAndrey Andreev2-0/+9
Added [save_queries] config in config/database.php
2014-01-19Fix whitespaces to tabs.Ahmedul Haque Abid1-1/+1
2014-01-19Added save_queries config setting in config/database.phpAhmedul Haque Abid2-0/+9
2014-01-18Fix #2829Andrey Andreev1-4/+4
2014-01-18Merge branch 'develop' into feature/output_compressed_cacheAndrey Andreev1-1/+1
2014-01-18Fix 2 Router-related errorsAndrey Andreev1-1/+1
2014-01-18Merge branch 'develop' into feature/output_compressed_cacheAndrey Andreev1-0/+3
2014-01-18Fix CI_URI:: not being properly indexedAndrey Andreev1-0/+3
2014-01-18Merge branch 'develop' into feature/output_compressed_cacheAndrey Andreev18-419/+519
2014-01-18Fix #2825Andrey Andreev1-1/+1
2014-01-18Fix #2827Andrey Andreev1-1/+1
2014-01-17Merge branch 'feature/uri_routing_overhaul' into 'develop'Andrey Andreev5-378/+307
2014-01-17Add autoloading library aliasing support (supersedes PR #2824)Andrey Andreev3-3/+15
2014-01-17Minor changes related to CI_User_agentAndrey Andreev4-27/+68
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-17Unit tests: Full code coverage of Benchmark classAndrey Andreev1-1/+25
2014-01-17Add CI_Model unit testAndrey Andreev1-0/+37
2014-01-16Merge pull request #2823 from fredemmott/hhvm-travisAndrey Andreev1-0/+5
Disable HHVM mysqli and pgsql tests
2014-01-16Disable HHVM mysqli and pgsql testsFred Emmott1-0/+5
mysqli and PostGre support isn't going to be in a good state for a while.
2014-01-16Add a unit test for CI_Utf8::_is_ascii()Andrey Andreev2-4/+14
2014-01-16Add some unit tests for CI_InputAndrey Andreev1-3/+44
2014-01-16URI Routing overhaulAndrey Andreev5-378/+307
- 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-15Fix #2799 by adding conditional PCRE UTF-8 support to CI_URI::filter_uri()Andrey Andreev3-3/+4
Also did a tiny micro-optimization in the Utf8 class.
2014-01-15Merge changes from developAndrey Andreev17-136/+250
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev7-21/+81
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-15Merge pull request #2811 from dionysiosarvanitis/fix/ie11_user_agentAndrey Andreev1-0/+1
IE11 User Agent support added
2014-01-15Trident prefix added to avoid potential false positives.Dionysis Arvanitis1-1/+1
2014-01-15CI_URI changes related to the 'permitted_uri_chars' settingAndrey Andreev6-29/+52
- 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-15Fix incorrect checks for the fwrite() return valueAndrey Andreev3-3/+3
! 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-14Merge pull request #2819 from fredemmott/hhvm-travisAndrey Andreev1-0/+5
Enable HHVM on travis-ci
2014-01-14Dont break the build if tests only fail on HHVMFred Emmott1-0/+4
2014-01-14Enable HHVM on travis-ciFred Emmott1-0/+1
2014-01-14Merge pull request #2815 from fredemmott/fix-hhvmAndrey Andreev1-15/+1
Don't throw in mock autoloader
2014-01-13Don't throw in mock autoloaderFred Emmott1-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-12Merge pull request #2808 from melounek/filename_as_urlAndrey Andreev3-9/+14
attach files by absolute url
2014-01-11IE11 User Agent support addedDionysis Arvanitis1-0/+1
2014-01-10Finally get rid of the CI_Router::_set_overrides() callsAndrey Andreev3-38/+24
2014-01-10condition repair and commentsPetr Heralecky1-3/+3
2014-01-10documentation repairsPetr Heralecky2-2/+2
2014-01-10rename src to filePetr Heralecky1-9/+9
2014-01-10attach files by absolute urlPetr Heralecky3-10/+15
2014-01-10Use config_item() in CI_Output::__construct()Andrey Andreev1-3/+1
2014-01-10Compress output before storing it to cache, if output compression is enabledAndrey Andreev4-20/+69
Based on PR #964
2014-01-10Further changes related to PR #2807Andrey Andreev3-23/+24
2014-01-10Merge pull request #2807 from melounek/developAndrey Andreev3-33/+81
Added Email::attach_cid() returning CID which enables to embed an attachment to html
2014-01-10variable repairPetr Heralecky1-2/+2
2014-01-10styleguided 2Petr Heralecky1-3/+1
2014-01-10styleguidedPetr Heralecky3-21/+26