Commit graph

78 commits

Author SHA1 Message Date
Mark Story
66a8910810 Fixing cakephp domain name. 2010-01-26 17:15:15 -05:00
Mark Story
527eec1a54 Fixing doc tags to make merge easier. 2010-01-26 16:51:53 -05:00
Mark Story
8f2a4a1e0e Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2 2010-01-14 20:28:00 -05:00
Mark Story
5c47d8dd7a Trimming trailing whitespace from files. Refs #201 2010-01-14 20:15:54 -05:00
Joël Perras
15b8a3ec71 Updating copyright date on all files. 2010-01-13 23:47:14 -05:00
mark_story
17e377de7e Updating doc block for MemcacheEngine 2009-11-14 19:40:30 -05:00
mark_story
06d4e5e553 Reformatting code in memcache.
Adding unset() to test case to remove unnecessary keys that can cause test failure.
2009-11-14 18:50:23 -05:00
gwoo
9caae67be1 removing delete from cache write refs #5206
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8195 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-16 20:14:50 +00:00
renan.saddam
76e0f17dbc Updating documentation to improve code completion
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8114 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-17 21:10:28 +00:00
TommyO
96e84c2e60 Fixes improper return from Xcache::clear();
Adds test
see #6110

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8046 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 18:07:06 +00:00
gwoo
93ab1be658 fixes #6110, xcache::clear()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8039 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 17:32:07 +00:00
TommyO
5026a6c89f Fixed memcache support for durations greater than 30 days. Fixes #6085
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8022 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-11 23:00:19 +00:00
gwoo
c0f767a3aa fixes #5976, Xcache::clear()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7985 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 19:33:30 +00:00
mariano.iglesias
ffab7024f0 Fixing issue where when multiple Memcache servers were being specified, only first would make it. Adding tests. Fixes #5767
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7879 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-19 21:19:23 +00:00
AD7six
0ed0eea73b modifying cache file engine, to match file class changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7830 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 19:32:45 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
1b456f2cf1 Applying patch from 'davidpersson' fixing code spacing. Closes #5643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
phpnut
5658e26e07 Changing comparison operators to === (identical) which is faster than == (equal)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7604 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 17:17:49 +00:00
phpnut
2b95df3abf Additional optimization refactoring
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7597 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-13 18:59:30 +00:00
phpnut
cb487bd6e6 More optimization refactoring.
Fix cache but causing  object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
gwoo
d76b15ba39 closes #5352, xcache auth credentials
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 16:51:00 +00:00
gwoo
a17e64d108 fixes #5293, memcache initialization
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-21 16:57:59 +00:00
gwoo
caa7bb6218 updating cache engines so key will expire when duration is changed, updated datasource and configure to for new settings, closes #5083
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:00:20 +00:00
mark_story
b45a369d1d Added string cast to FileEngine::read() closes #5094
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:23:46 +00:00
gwoo
013e9889e5 updating file engine and test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7252 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:09:54 +00:00
gwoo
330992a8a3 fixes #4968, double quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7251 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 23:13:28 +00:00
gwoo
352b121220 fixes #4916, i18n quoted strings. fixes #4968, quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7243 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:27:33 +00:00
gwoo
1e231e9511 some cleanup, wrapping uses() in class exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
phpnut
8a30290862 Fixes #4883 Duplicated component name
Removed bad test since AppController::beforeFilter() is now run when Controller::constructClasses() is called.
Fixed bug with App::import() not caching properly.
More performance changes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7169 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 08:54:27 +00:00
gwoo
a7289ff89d updating cache engine to better deal with prefixes for multiple apps. Allows fully or partially overriding core settings from core.php. fixes #4810
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7089 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 17:35:56 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
gwoo
13a717aed6 updating Cache engines, fixes #4759
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7045 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:24:09 +00:00
the_undefined
5c1878afec Removed the Model cache engine for architectural reasons, closes #4415
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:25:19 +00:00
phpnut
2c5ac9cfb9 "Fixes #4232, Problem with stripslashes in cached files.
Added tmp directory to tests/tests_app
Added file to mimic windows cached file
Added test case"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6607 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:34:56 +00:00
nate
bacb74a6ef Adding fix for Set::reverse() XML handling, fixes #4275, plus fixes from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
1ddeb7fbfe Fixing File class loading for FileEngine when called from console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:22:04 +00:00
nate
35397debc8 Enabling Cache::write() to handle 'empty' values, fixes #4090
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6549 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:11:20 +00:00
gwoo
818fba4005 updating memcache to make sure server is active
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 16:06:19 +00:00
gwoo
3b7c80a65d updating Cache to apply prefix for every key, closes #3821
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 03:24:25 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
phpnut
473b414131 "Removing duplicated code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:44:42 +00:00
phpnut
a281b7b6e3 "Adding fix for new line endings on windows"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:40:56 +00:00
phpnut
7e17c42e35 "Fixes #3727, ModelEngine::clear() doesn't work"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:56:36 +00:00
phpnut
df66228142 "Fixes #3682"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 07:18:59 +00:00
phpnut
21b89622cf "Fixes #3682, Unserializing cached file dies. If this issue still persists attache a zip file of the data dump and minimum amount of code to reproduce"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 00:25:03 +00:00
phpnut
8a2b51c3ec "Removing all shortcut function usage from the core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
phpnut
0382a9d197 "Fixes #3700, unserialization error"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:34:57 +00:00
phpnut
872dfbfcef "Correcting Helper::setEntity() check if $parts[0] matches current model
Added tests for fix.
Adding escaping of \\ in FileEngine::write();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 07:43:19 +00:00
phpnut
a09167a8a6 "Fixing segmentation fault if the TMP/* directories are not writable.
Corrected CakeLog::write() so it will only attempt to write the log file is LOGS directory is writable "

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6094 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-28 09:20:48 +00:00