summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2015-07-02sqlite < 3.3 unsuported `_drop_table_if`ftwbzhao1-0/+1
2015-06-29Close #3934Andrey Andreev1-1/+1
2015-06-29Fix regression caused by 59d1ffd927ef3b63dbadf42e1caf14957201fd2dAndrey Andreev1-1/+1
2015-06-29Fix #3932Andrey Andreev1-1/+1
2015-06-22A small optimization in CI_Cache::is_supported()Andrey Andreev1-3/+2
As it was, the static variable was always re-set to an empty array
2015-06-22Fix #3913Andrey Andreev2-139/+128
2015-06-22Work-around for https://bugs.php.net/bug.php?id=39598Andrey Andreev2-2/+42
Fixes #3922
2015-06-22Alter CI_Upload logging levelsAndrey Andreev1-23/+22
Close #3920
2015-06-18Removed db_options configuration item for implementation later. Changed 5 ↵Tim Nolte1-60/+16
new MySQLi SSL configuration options to a single ssl_options config item that is an array that will be read to set the individual SSL options. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-18Merge branch 'develop' into feature/mysqli-sslTim Nolte2-4/+9
2015-06-17removed unnecessary change to form_radio, updated docs and added changelog entryAdam Jackett1-2/+0
2015-06-15Fix #3908Andrey Andreev1-1/+1
2015-06-13Fix typo in url_title function description.Michael Foss1-1/+1
2015-06-11Fix #3904Andrey Andreev1-0/+6
2015-06-10Fix #3903Andrey Andreev1-3/+2
2015-06-08Merge branch 'develop' into feature/mysqli-sslTim Nolte16-74/+96
2015-06-08Fixed missing MySQLi driver parameter DOCBLOCK descriptions. Updated ↵Tim Nolte1-0/+10
database configuration documentation to include a list of the new MySQLi driver parameters. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-08Fix #3890Andrey Andreev1-5/+13
2015-06-05Updated the MySQLi driver to provide support for SSL connections as well as ↵Tim Nolte1-2/+90
additional database connection options. Uses the DB_driver class encrypt option as the flag for turning on encryption. Also added SSL connection validation with error logging in order to provide users a way to know if they are actually connecting via SSL. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-03made all form helpers consistent regarding extra attributesAdam Jackett1-10/+30
2015-05-22Merge pull request #3868 from ftwbzhao/feature/migrationAndrey Andreev1-3/+3
[ci skip] Update Migration lib class reference docs
2015-05-21update function latestftwbzhao1-1/+1
2015-05-21Fix a bug in the CSV export DB utilityAndrey Andreev1-2/+2
Reported via the forums: http://forum.codeigniter.com/thread-61810.html
2015-05-21[ci skip] Trim some whitespace from Image_libAndrey Andreev1-11/+11
2015-05-20optimize migrations class referenceftwbzhao1-3/+3
2015-05-13Merge pull request #3854 from leandrowkz/developAndrey Andreev1-1/+1
Fixed bug - using field_data() on Oracle databases
2015-05-13Fixed bug - using field_data() on Oracle databasesLeandro Mangini Antunes1-1/+1
When you're using oracle databases and want to retrieve column information through the function field_data($table) you get the following notice: - Notice: Undefined property: stdClass::$COLUMN_DEFAULT in system/database/drivers/oci8/oci8_driver.php on line 576; This happens because the oci8 driver tries to access a property that does not exist on query used to get field information. Checking the code we see a small validation to set default value, but the variable $default is not used. So we fix this bug by simply changing: $retval[$i]->default = $query[$i]->COLUMN_DEFAULT; to $retval[$i]->default = $default; Bug fixed. No more notices and the properly value is set.
2015-05-13[Cache]minor adjustments for save functionftwbzhao1-3/+1
2015-05-11Improve Cache Query String behaviourw0den1-6/+27
Typically, in most cases, we do not need to cache all the Query String variables. That's why I suggest to improve `Cache Include Query String` behaviour — allow the developer to independently specify which variables should be cached. For example, consider a query to the following URL address: http://site.com/search?q=query&page=2&session=abcd&utm_source=web In this case we don't need to build md5 hash for entire query string, because `session` or `utm_source` can be different for all users. The only variables which should be used for md5 hash should be `q` and `page`. Thus, in `config.php` we can use `$config['cache_query_string'] = array('page', 'q');`. So: `$config['cache_query_string'] = FALSE;` → Cache Include Query String is disabled `$config['cache_query_string'] = TRUE;` → Cache Include Query String is enabled for all `$config['cache_query_string'] = array('page', 'q');` → enabled only for specified variables
2015-05-11Fix an undefined variable error from fbde2798688ab99cfe3fdd22746d60f0877b2c27Andrey Andreev1-1/+1
2015-05-11Fix #3846Andrey Andreev1-6/+12
2015-05-07Revert "Issue/PR #3836"Andrey Andreev1-6/+2
This reverts commit 170ae282338584ebe257d2fb21101ccf84a3f800.
2015-05-07Issue/PR #3836Andrey Andreev1-2/+6
2015-05-02Bug Fix manually delete caching methodw0den1-1/+1
According to documentation, to manually delete cache for page "/foo/bar" we should run $this->output->delete_cache('/foo/bar'), but in this case MD5 hash will be calculated for "http://site.com//foo/bar" and this is why, we should pass $uri without beginning slash (ie, "foo/bar"). But the problem is that there is no way to delete cache for home page because: 1) $this->output->delete_cache('/') — MD5 hash will be calculated for "http://site.com//" and cache file will not be deleted. 2) $this->output->delete_cache('') — MD5 hash will be calculated for "http://site.com/%CURRENT_PAGE%" and again, cache file will not be deleted. Trimming the beginning slash, we enable ability to delete cache for home page by calling $this->output->delete_cache('/'). Also, this method will work as specified in the documentation.
2015-04-30Fix #3823Andrey Andreev2-2/+2
2015-04-29Add list_fields() support for SQLite3Andrey Andreev3-17/+45
2015-04-29Fix #3816Andrey Andreev1-1/+1
2015-04-29Merge pull request #3804 from refringe/feature/cache-defaultsAndrey Andreev1-20/+2
Cache Library Clean-up
2015-04-28Removed extra adapter validation. Adapter validation already happens in the ↵Tyler Brownell1-18/+2
system Driver library.
2015-04-27Adds error-level log messages when invalid adapters are set.Tyler Brownell1-0/+8
2015-04-24Reverts previous variable renaming and removes the foreach loop in favor of ↵Tyler Brownell1-24/+23
a simple if condition.
2015-04-23Output cache: Fixing a wrong timestamp. Credits to khoggatt (CodeIgniter forum).Ivan Tcholakov1-1/+1
2015-04-23Renames $_adapter to $_driver. It's what we call it everywhere else.Tyler Brownell1-14/+14
2015-04-23Cache Library Defaults FixedTyler Brownell1-15/+6
- Comments! - Updates the cache library to validate *both* adapters. - No longer attempts to set an undefined "memcached" class variable. - $key variable renamed to $driver_type (more descriptive).
2015-04-23Updates the fallback driver variable name to match the config option name.Tyler Brownell1-6/+6
2015-04-20Fix #3787Andrey Andreev1-1/+1
2015-04-20[ci skip] Remove whitespaceAndrey Andreev1-1/+1
2015-04-14Fix #3771Andrey Andreev1-10/+4
2015-04-14Fix #3773Andrey Andreev1-0/+24
2015-04-14[ci skip] Change Array helpers element(), elements() signaturesAndrey Andreev1-2/+2
Close #3767