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
mark_story
6ed1fc8fbe
Corrected CONFIGS usage in Helper and Configure as per patch from 'zeuthen'.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7041 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:46:40 +00:00
gwoo
92514422e4
updating datasource to use Cache engines.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7037 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 02:08:56 +00:00
gwoo
d3f772cfb4
updating configure
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7019 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 04:46:03 +00:00
gwoo
8dc7515045
fixes #4729 , configure notice on cache path
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7007 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 14:18:21 +00:00
gwoo
200315efc8
proper fix for #4710
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6993 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-21 16:14:18 +00:00
gwoo
6ef2b78389
fixes #4710 , cake core using settings for default cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6992 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-21 15:41:02 +00:00
mariano.iglesias
35391deff5
Renaming configs to config and fixing Acl test.
...
Bringing Configure test coverage up to 82%, the best that can be achieved without calling __loadBootstrap(true) which will cause constant collision.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6932 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 22:51:29 +00:00
the_undefined
d9e6ee6494
Fixed a problem in Configure causing the File engines default path to be ignored , closes #4673
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:47:06 +00:00
the_undefined
7e4224a1f9
Fixed a problem in App::__overload causing issues in PHP4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6915 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:45:25 +00:00
gwoo
18b627636b
updating cake.test.php, fixes #4638 . updating cake.php, fixes #4648 (with tests), updated Cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
phpnut
8a5505bdcc
"Fixes #4436 , App::import() loads wrong file"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6643 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 05:04:09 +00:00
phpnut
92c466c0dc
"Fixes #4336 , Setting a Configure key to null causes php warning."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6598 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:55:44 +00:00
phpnut
a6fbe05964
"Initial refactoring of BehaviorCollection.
...
Fixed vendor path being the first searched directory for files, this caused unexpected results.
Fixed failing DboSource tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6583 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:44:20 +00:00
phpnut
fa61b3fbda
"Resetting numeric keys for paths"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:16:18 +00:00
phpnut
12acf6ab9f
"Adding vendors path to corePaths to be used when cake core is placed outside of normal install paths"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 23:53:37 +00:00
phpnut
9ae17c25e5
"Closes #4305 , fixed to allow cake core outside of normal install locations"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6555 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 16:46:33 +00:00
phpnut
a2db4e69b3
"Fixes #4305 , Configure::corePaths() causes PHP safe_mode errors"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6553 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 11:01:37 +00:00
phpnut
da19393614
"Fixes #4285 , Importing a vendor in bootstrap.php fails to work.
...
If you want to use custom paths that are set in app/bootstrap.php you must first use the following code to set these paths before calling App::import() but after the $*Paths variables;
* Configure::buildPaths(compact('modelPaths', 'viewPaths', 'controllerPaths', 'helperPaths', 'componentPaths', 'behaviorPaths', 'pluginPaths', 'vendorPaths'));
* You would only use the *Paths in the above code that you have set."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6525 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 22:50:30 +00:00
nate
f3355bd74b
Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
gwoo
f00834f81a
fixes #3608 vendorPaths in configure,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 17:17:11 +00:00
nate
074cfeb75d
Fixing Configure::listObjects() to not return incorrect core classes, closes #3954 . Adding route testing support to cake console.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +00:00
phpnut
11afd24c19
"Adding fix when a component loads a component that is also in the components array list.
...
{{{
var $components = array('Auth', 'RequestHandler');
}}}
Controller::RequestHandler; would not be available.
Added additional tests
Fixed loading of libs/xml.php "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:53:01 +00:00
nate
9650c1a73f
Fixing reading and writing in Configure class for references 3 levels deep, fixes #3845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 11:34:56 +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
nate
1c9b87da4e
Fixing environment detection issues in Dispatcher, adding environment tests, adding tests for embedded route regular expressions, fixes #2666
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:33:48 +00:00
nate
a11db494bb
Changing SERVER_IIS constant to 'App.server' config variable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:28:59 +00:00
phpnut
71039959d0
"Refacorting App::import() to implement vendors loading.
...
Added ability to set the file extension of the file to be loaded"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 22:39:28 +00:00
phpnut
c98d1457ac
"Fixes #3743 , Loading mechanism tries to load files twice from same location.
...
Fixes #3751 , Behavior of Configure::listObjects() changed."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6209 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 04:42:59 +00:00
gwoo
cbf1b029a3
fixes #3742 , fixes #3740
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:24:15 +00:00
gwoo
01b52fec4a
updating schema, fixes #3718 , added $cache param to Configure::listObjects(), updating view tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 02:06:10 +00:00
phpnut
70680ff97f
"Removing unused instance creation.
...
Reformated code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6156 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 22:39:35 +00:00
gwoo
67bbb0e93e
refactoring view classes, added ScaffoldView that extends ThemeView in scaffold.php, adding tests, adding test_app with files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 22:20:44 +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
gwoo
39b37c5c34
updating api shell, will now show comments about a method. normalizing paths in configure
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:08:50 +00:00
gwoo
1e6d7c971f
updating DB_ACL and configure, fixes #3643 and fixes #3644
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6069 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 16:10:03 +00:00
phpnut
de8e7d8b01
"Closes #1854 , Core.po not loaded when using /app/locale/..../default.po
...
Closes #3539
Fixes #3611 , Cannot redeclare loadmodels
Fixes #3622 , loadControllers() and loadModels() look in wrong folders for AppController resp. AppModel
Added trigger_error to all deprecated functions in basics.php
Refactored I18n class to remove debug_backtrace() usage in basics.php, all translations should be placed in a default.po or .mo file from this point forward.
_ _d() function should be used if domain specific translations are used.
Core translations can be placed in app/locales/{lang}/LC_MESSAGES/core.po or .mo these will now be merged with the specified language strings from default.po will replace the core message strings
All translations are now cached to improve performance.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 08:16:23 +00:00
phpnut
b7b9bb1d55
"Correcting Configure::listObjects()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6060 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 01:17:25 +00:00
phpnut
3ddc5066aa
"Correcting paths returned when loading a plugin model"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6058 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 00:24:28 +00:00
phpnut
9cbdeb4d52
"Fixes #3631 , Plugin loadController looking at wrong path"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6050 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:37:30 +00:00
phpnut
306b577368
"Correcting paths search in Configure::load()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 01:18:27 +00:00
phpnut
0a664d7fbc
"Updating custom view loading"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6037 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-21 18:42:40 +00:00
phpnut
2c28dcf841
"Refactoring Configure::_ _buildPaths();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6028 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 00:39:37 +00:00
phpnut
cd3fee384d
"Correcting order when building default file paths.
...
Fixed Configure::listObjects() to only return files form the proper paths.
Updated Schema class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6026 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 15:54:41 +00:00
phpnut
b0a1b18210
"Refactoring App class.
...
Added Configure::corePaths() to return paths to core library install.
Added additional tests for App::import()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6019 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 07:18:25 +00:00
nate
97dd2ea2ea
Updating cache config check in Configure::__loadBootstrap()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6007 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:07:38 +00:00
phpnut
1b93e79361
"Updating App::import() to allow using plugin components, behaviors, helpers, and view classes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6006 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 19:10:29 +00:00
phpnut
f60d5bf4bc
"Added missing path define"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6005 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 18:20:52 +00:00