summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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
2014-01-10Added Email::attach_cid() returning CIDPetr Heralecky3-34/+79
2014-01-09Add HTTP response code 307 support in URL helper redirect()Andrey Andreev2-6/+11
2014-01-09Merge pull request #2805 from iBotPeaches/developAndrey Andreev3-10/+10
fix doc warnings/errors
2014-01-09d'oh - :noindex: in wrong placeConnor Tumbleson1-3/+3
Signed-off-by: Connor Tumbleson <connor.tumbleson@gmail.com>
2014-01-09fix doc warningsConnor Tumbleson3-10/+10
2014-01-09Implement atomic increment/decrement in Cache libraryAndrey Andreev8-66/+331
Requested via issue #109 Supersedes PR #241
2014-01-09Fix #133Andrey Andreev2-1/+7
2014-01-09Update Calendar library test following PR #2802Andrey Andreev1-15/+18
2014-01-09Merge pull request #2802 from marcossffilho/developAndrey Andreev3-22/+72
Calendar Updates
2014-01-09Updates for the Calendar Pull RequestMarcos SF Filho2-15/+15
2014-01-09Merge pull request #2804 from ↵Andrey Andreev3-11/+49
abdmaster/feature/form_validation/custom_error_per_field Added custom error messages functionality for individual fields.
2014-01-09Fixed the comment and array alignment.Ahmedul Haque Abid2-3/+3
2014-01-09Fixed coding styles in form_validation.rstAhmedul Haque Abid1-3/+3
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-08Unnecessary rtrim and update docs for Calendar classMarcos SF Filho2-17/+26