summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2012-11-13Improved code readabilityJonathon Hill1-1/+3
2012-11-12Code style fixesJonathon Hill1-5/+6
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
2012-11-12Changed the `migration_style` config setting to `migration_type`Jonathon Hill1-7/+7
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
2012-11-12Merge remote-tracking branch 'upstream/develop' into developJonathon Hill162-2854/+7927
Conflicts: user_guide_src/source/changelog.rst Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
2012-11-12Fixed a mismatched constraint value when creating the migration tableJonathon Hill1-1/+1
Signed-off-by: Jonathon Hill <jhill@brandmovers.com>
2012-11-12Let's follow the style guide...vkeranov1-13/+13
2012-11-12Fix issue #777Andrey Andreev1-7/+14
2012-11-12Bring back the AFTER clause for DB Forge add_column()Andrey Andreev15-15/+108
(it was temporarily removed due to multiple inconsistencies with other drivers) This commit also fixes issue #1988. Also added support for the FIRST clause (again, MySQL and CUBRID only).
2012-11-11Fix DBForge index creation on MySQL and CUBRIDAndrey Andreev5-0/+50
2012-11-09Move the Log class to system/core/Andrey Andreev2-1/+1
It is a core class after all, I guess somebody forgot it when the rest of them were moved.
2012-11-09Polish docs for URL and XML helpers and deprecate obsolete options for ↵Andrey Andreev1-7/+10
String helper random_string() and URL helper url_title()
2012-11-08Polish docs for String, Text and Typography helpersAndrey Andreev1-2/+2
2012-11-08Deprecate String helper trim_slashes()Andrey Andreev1-0/+3
trim(, '/') is even shorter ...
2012-11-08Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵Andrey Andreev4-18/+16
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper
2012-11-08Polish docs for the File and Form helpersAndrey Andreev1-17/+17
2012-11-08Deprecate the Email helperAndrey Andreev1-5/+7
2012-11-08Another router fix for the dumbest usage of callbacks everAndrey Andreev1-1/+1
2012-11-08Revert 96ea52894aea85b86d75f59fee35f90676735060Andrey Andreev1-6/+6
2012-11-08Fix #1985Andrey Andreev3-6/+6
2012-11-08Change route type checks prioritiesAndrey Andreev1-6/+6
2012-11-07Added function_usable() to common functionsAndrey Andreev5-11/+71
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-06directory_map() ... the final oneAndrey Andreev1-1/+2
2012-11-06Fix issue #1978Andrey Andreev1-4/+6
2012-11-06Added CI_Input::input_stream()Andrey Andreev1-0/+41
Helps in reading php://input stream data by caching it when accessed for the first time. (supersedes PR #1684)
2012-11-06Display DB object names in the Profiler and fix issue #1220Andrey Andreev1-8/+23
2012-11-06Fix a lang key typoAndrey Andreev18-30/+30
2012-11-06Fix #589Andrey Andreev7-6/+98
2012-11-06Add an optional escape parameter to insert() and insert_batch()Andrey Andreev1-6/+8
"Fixes" #1895
2012-11-06Fix an escape_identifiers() bugAndrey Andreev1-1/+1
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev10-50/+66
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Re-fix multiple-column non-primary key indexesAndrey Andreev1-1/+1
2012-11-05Fix Forge add_column() and modify_column()Andrey Andreev1-2/+2
2012-11-05Refactored DB ForgeAndrey Andreev26-1370/+3451
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-11-05Fix DB drivers version() implementations that don't execute a queryAndrey Andreev7-14/+66
Fails if called prior to the DB connection initialization.
2012-11-05Revert usage of is_callable() in system/core/CodeIgniter.phpAndrey Andreev1-1/+5
Seems to be causing issues (see #1970). Also updated the Controller docs, mainly to include an important note related to #1967.
2012-11-05Merge pull request #1730 from damao/developAlex Bilbie1-1/+1
Fix / Disallowed Key Characters.
2012-11-05Merge pull request #1948 from GDmac/developAlex Bilbie1-1/+1
Fix #1946 dbforge add_key
2012-11-04Fix #98Andrey Andreev1-1/+1
2012-11-04Merge pull request #1962 from ↵Andrey Andreev1-25/+6
squaresurf/d2ae1d1d7fdc4b8a21369a25487c2c42e5a496bf Refactored Unit_test in order to remove redundant code.
2012-11-03Fix #1957Andrey Andreev1-3/+8
2012-11-03Merge pull request #1964 from Razican/log_fixAndrey Andreev1-1/+1
Fixed typo in logs
2012-11-03Revert 679525d0237ac2e0a94d7b05377eb31eb3398f19Andrey Andreev2-6/+20
It appears to break get_instance()->*_package_path*() usage which is very common. Need to figure out how to resolve this.
2012-11-03Fixed typo in logs.Razican1-1/+1
2012-11-03Refactored Unit_test in order to remove redundant code.Daniel Paul Searles1-25/+6
The Unit_test::run method was adding another dimension to the Unit_test::$results array. For example: Array ( [0] => Array ( [0] => Array ( [test_name] => first_test [test_datatype] => integer [res_datatype] => integer [result] => passed [file] => ######################################## [line] => 60 [notes] => Im expecting this test to pass! ) ) [1] => Array ( [0] => Array ( [test_name] => second_test [test_datatype] => integer [res_datatype] => boolean [result] => failed [file] => ####################################### [line] => 65 [notes] => Im expecting this to fail. ) ) ) The above unneeded dimension created a need to loop through an array in the Unit_test::result method if the method was looping through all results. Signed-off-by: Daniel Paul Searles <daniel.paul.searles@gmail.com>
2012-11-02Removed CI_Loader::initialize() and moved its logic to the constructor.Andrey Andreev2-23/+6
That method used to be called by the CI_Controller constructor and was required because of the possibility to instantiate the Controller class twice due to 404_override, and so some properties needed to be reset. Following the last commit - this is no longer the case.
2012-11-02Bootstrap improvementsAndrey Andreev1-39/+33
- Don't instantiate the CI singleton twice. - General clean-up. - Fix issue #953.
2012-11-02Some micro-optimizationsAndrey Andreev3-19/+8
2012-11-02Fix a directory/404_override bug and some routing-related optimizationsAndrey Andreev2-61/+31
2012-11-02Fix #1960Andrey Andreev1-1/+1
2012-11-02Fix #1956Andrey Andreev1-1/+1