Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-25 | Updated all cases of exit() to return a valid code | Daniel Hunsaker | 2 | -3/+4 | |
Specific codes are as follows, but can easily be changed if a different order/breakdown makes more sense: - 0: Success; everything executed as planned - 1: Configuration Error; something is wrong with/in the configuration file(s) - 2: Class Not Found; what it says - 3: Driver Method Unsupported; the method you're trying to use on a Driver doesn't exist - 4: File Not Found; 404 error - 5: Database Error; something is broken in the database somewhere - 6: Invalid Input; the user attempted to submit a request with invlaid characters in 1+ key names 7 through 26 are reserved for future use - 27: Generic Error; generated by show_error() when the status code is >= 100 28 through 127 are errors generated by user applications, normally by using show_error() with a status code below 100 128 through 254 should not be used by applications, as they are reserved by system-level functions - 255: PHP Fatal Error; automatically generated by PHP for fatal errors, and therefore not allowed for our use Status codes below 100 are shifted up by 28 to place them in the user error range. It may make more sense to have these codes left alone and instead shift the CI errors into the 101 through 127 space, but that's not what I opted for here. It would probably also be a good idea to replace the hard-coded numbers with constants or some such, but I was in a bit of a hurry when I made these changes, so I didn't look around for the best place to do this. With proper guidance, I could easily amend this commit with another that uses such constant values. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com> | |||||
2013-01-21 | Adjust regex. | Eric Roberts | 1 | -1/+1 | |
2013-01-19 | Remove whitespace from empty lines. | Eric Roberts | 1 | -5/+5 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-18 | Fix and optimize auto_link() URL helper function. | Eric Roberts | 1 | -31/+22 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-17 | Fix issues #2160, #2161 | Andrey Andreev | 1 | -11/+6 | |
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 21 | -21/+21 | |
2012-12-08 | While most of CodeIgniter supports protocol-relative URLs, a few URL helpers ↵ | Aaron Adams | 1 | -3/+3 | |
do not. Most notably, redirect('//www.facebook.com/aaronadams') led my browser to https://aaronadams.ca/index.php/www.facebook.com/aaronadams. In this commit, I have fixed the header() helper, along with the anchor() and anchor_popup() helpers, to be compatible with protocol-relative URLs. Signed-off-by: Aaron Adams <aaron@aaronadams.ca> | |||||
2012-12-03 | [ci skip] Cleaned some spaces | Andrey Andreev | 5 | -30/+28 | |
2012-11-26 | Fix some erroneous variable names (sorry) | Andrey Andreev | 1 | -2/+2 | |
2012-11-26 | Language helper lang() to accept optional HTML attributes | Andrey Andreev | 1 | -4/+5 | |
(an improved version of PR #1235) | |||||
2012-11-22 | Added support for stream-like downloads of existing files to force_download() | Andrey Andreev | 1 | -3/+38 | |
Based on code/ideas from PR #365, #1254 | |||||
2012-11-17 | Corrected phpdoc comment for mysql_to_unix() method | webmasterar | 1 | -2/+2 | |
2012-11-12 | Some micro-optimizations | Andrey Andreev | 1 | -2/+2 | |
2012-11-09 | Polish docs for URL and XML helpers and deprecate obsolete options for ↵ | Andrey Andreev | 1 | -7/+10 | |
String helper random_string() and URL helper url_title() | |||||
2012-11-08 | Polish docs for String, Text and Typography helpers | Andrey Andreev | 1 | -2/+2 | |
2012-11-08 | Deprecate String helper trim_slashes() | Andrey Andreev | 1 | -0/+3 | |
trim(, '/') is even shorter ... | |||||
2012-11-08 | Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵ | Andrey Andreev | 3 | -17/+15 | |
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper | |||||
2012-11-08 | Polish docs for the File and Form helpers | Andrey Andreev | 1 | -17/+17 | |
2012-11-08 | Deprecate the Email helper | Andrey Andreev | 1 | -5/+7 | |
2012-11-06 | directory_map() ... the final one | Andrey Andreev | 1 | -1/+2 | |
2012-11-06 | Fix issue #1978 | Andrey Andreev | 1 | -4/+6 | |
2012-11-02 | Some micro-optimizations | Andrey Andreev | 1 | -12/+5 | |
2012-11-01 | Manually apply PR #1594 (fixing phpdoc page-level generation/warnings) | Andrey Andreev | 21 | -21/+43 | |
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files. | |||||
2012-11-01 | Fix an erroneous variable name | Andrey Andreev | 1 | -1/+1 | |
2012-11-01 | Fix issue #1953 (form values being escaped twice) | Andrey Andreev | 1 | -37/+46 | |
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459. | |||||
2012-10-27 | Deprecate string helper repeater() (an alias for str_repeat()) | Andrey Andreev | 1 | -2/+5 | |
2012-10-27 | [ci skip] Optimize ascii_to_entities() | Andrey Andreev | 1 | -7/+4 | |
2012-10-27 | [ci skip] Update docblocks for deprecated functions | Andrey Andreev | 4 | -22/+16 | |
2012-10-26 | Fix #142 | Andrey Andreev | 1 | -10/+10 | |
2012-10-26 | Deprecated form helper function form_prep(). | Andrey Andreev | 1 | -40/+11 | |
This function has been broken for YEARS and it's value-caching logic has only introduced various problems. We have html_escape() since CI 2.1.0 which is a perfect replacement, so it should be used instead. Fixes #228 & #1630 | |||||
2012-10-25 | Form helpers to ignore empty name attributes (fix #1506) | Andrey Andreev | 1 | -0/+4 | |
2012-10-25 | Add missing delimiter in preg_quote() occurences (fix #1929) | Andrey Andreev | 1 | -1/+1 | |
2012-10-24 | Fix #1146 | Andrey Andreev | 1 | -6/+3 | |
2012-10-24 | [ci skip] style and phpdoc-related changes (rel #1295) | Andrey Andreev | 2 | -14/+13 | |
2012-10-23 | Fix issues #134, #1911 | Andrey Andreev | 1 | -1/+1 | |
2012-10-19 | Manually apply an improved version of PR #1797 (auto_link() URL helper) | Andrey Andreev | 1 | -9/+12 | |
2012-10-12 | Set MySQL client compression to FALSE by default (problems reported with ↵ | Andrey Andreev | 1 | -1/+1 | |
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting | |||||
2012-10-05 | Merge upstream branch | Andrey Andreev | 20 | -833/+722 | |
2012-09-17 | Merge pull request #1783 from vlakoff/develop | Andrey Andreev | 1 | -1/+1 | |
Better server test in redirect() of URL helper | |||||
2012-09-13 | directory_map() was skipping files and directories named "0" | vlakoff | 1 | -1/+1 | |
Close #1757. Thanks @BennyC! | |||||
2012-09-12 | Better server test in redirect() of URL helper | vlakoff | 1 | -1/+1 | |
"Location" header bugs are specific to IIS; previous test was matching all HTTP servers under Windows. This test isn't perfect yet ($_SERVER['SERVER_SOFTWARE'], which corresponds to the "Server" header of HTTP response, might be missing), but there is no perfect test. "Refresh" method makes the window blank for quite a noticeable time, so let's not affect other servers because of IIS. | |||||
2012-09-07 | Merge pull request #1760 from vlakoff/develop-2 | Alex Bilbie | 1 | -1/+1 | |
Better old captcha image test | |||||
2012-09-05 | Merge pull request #1750 from vlakoff/develop | Andrey Andreev | 1 | -1/+2 | |
Simplification in Text Helper's character_limiter() | |||||
2012-09-04 | More complicated but faster method | vlakoff | 1 | -1/+2 | |
Also added a comment to explain the reason for such a complicated method | |||||
2012-09-03 | Slightly robuster test | vlakoff | 1 | -1/+1 | |
Also, single quotes per style conventions | |||||
2012-08-31 | Simplification in Text Helper's character_limiter() | vlakoff | 1 | -1/+1 | |
Because the "\s" regex character class includes \r and \n, there is no need for the str_replace() part | |||||
2012-08-19 | Fixes issue #1678 | pickupman | 1 | -2/+1 | |
2012-08-15 | Fix issue #1712 | Andrey Andreev | 1 | -1/+1 | |
2012-08-14 | fix issue 1706 | Michiel Vugteveen | 1 | -1/+4 | |
2012-07-29 | Adding a common stringify_attributes function for dealing with attributes ↵ | Eric Barnes | 3 | -100/+8 | |
through out various helpers. Signed-off-by: Eric Barnes <eric@ericlbarnes.com> |