summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2015-07-06fix typo in router classftwbzhao1-1/+1
2015-07-06Merge branch 'develop' of github.com:bcit-ci/CodeIgniter into developftwbzhao2-3/+3
Conflicts: user_guide_src/source/changelog.rst
2015-07-06Merge pull request #3955 from ftwbzhao/ci3.0Andrey Andreev1-2/+2
key_prefix support for Cache increment() and decrement()
2015-07-06Added "is_resource" into the list of unit tests capable of being run.ftwbzhao1-1/+1
2015-07-05supported key_prefix on `increment` and `decrement`ftwbzhao1-2/+2
2015-07-05fix pdo/sqlite & update changelogftwbzhao1-1/+1
2015-07-04fix SQlite3 list_fieldsftwbzhao1-1/+1
2015-07-02Fix QB delete() for multiple tables with where()Andrey Andreev1-0/+3
Reported via the forums: http://forum.codeigniter.com/thread-61774.html
2015-07-02Close #3941Andrey Andreev1-6/+1
2015-07-02Apply PR #3940 to sqlite3 driver and fix a wrong var nameAndrey Andreev1-1/+2
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