Commit graph

123 commits

Author SHA1 Message Date
phpnut
78cb76d41b Corrected missing second param in __() in Dispatcher::dispatch()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5812 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:09:05 +00:00
phpnut
e78fc1e90c Fixes #3305, Console i18n extract using wrong paths.
Closes #3396, i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
a6822f5d63 Closes #3376, changed Dispatcher::_invoke() to pass empty array as parameter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5802 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 09:15:25 +00:00
phpnut
1674e9d936 Closes #2249, enable Browser caching for js & css files in vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5800 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:57:53 +00:00
gwoo
45444faeb0 updating dispatcher for automatic plugin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:09:26 +00:00
gwoo
2ef118c3c4 replacing define CACHE_CHECK with Configure Cache.check, updating Model::exists()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 16:49:37 +00:00
gwoo
18ab04b32b refactor Dispatcher::__getController to pass all tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 10:58:06 +00:00
gwoo
ad6a0c12c5 refactor args generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 09:49:01 +00:00
phpnut
a1df2ac915 Fixes #3261, AppController methods are made protected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-19 14:42:07 +00:00
gwoo
d64636796e fixes #3183, Folder::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:41:57 +00:00
nate
b7d7e70d46 Adding deprecation warning for $beforeFilter property usage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 23:47:09 +00:00
gwoo
b222afd20b fixing errors resulting from removal of argSeparator and namedArgs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 17:54:02 +00:00
nate
e65c404c9c Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5536 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:32:18 +00:00
nate
3e7044d4b8 Implementing prefix-based routing, and transitioning configuration away from global constants
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
gwoo
b91b501314 updating dispatcher to fix cached css/js, changed baseUrl and updated tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5496 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:09:51 +00:00
gwoo
43b3b1a0fe moving some bootstrapped stuff to dispatch and updating tests, added paginator counter to bake index template, added option to do "bake controller Posts admin" for baking just admin methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 02:03:18 +00:00
gwoo
88ea612a26 adding fix to Dispatcher for tclineks wacky webroot, fixing failing dispatcher tests on php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 19:12:19 +00:00
gwoo
de4d316d4d updating Dispatcher with changes for base. Allows setting Configure::write('App.base', '/my/base/path'); in bootstrap.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 00:16:28 +00:00
gwoo
5cd90a787d updating dispatcher changes for missing controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:39:01 +00:00
phpnut
ea15f09288 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5464 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 21:08:12 +00:00
phpnut
b29366ddc0 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 19:42:58 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
gwoo
3769fa796d updating auth, acl and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
phpnut
f72cdb6670 Adding fix for Ticket #2561
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5334 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 18:00:55 +00:00
phpnut
6b02b375d9 Adding correct fix for Ticket #2775
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:59:41 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
mariano.iglesias
75ccff3c3e Adding documentation for Dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5297 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:28:55 +00:00
phpnut
4b6c5afe35 Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
Corrected form.ctp template parse error

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 07:52:32 +00:00
phpnut
d1e3d3a788 Adding fix for Ticket #2775, fixes $this->here shows incorrect value for admin route
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 01:04:28 +00:00
phpnut
f916745c87 Implementing lazy loading of plugin models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 02:32:27 +00:00
phpnut
2f6d2d313a Moving loading of plugins controller to use loadController()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5202 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 23:43:35 +00:00
phpnut
df5c02aa8f Adding fix for #2612, Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:29:49 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
phpnut
cc030bed0f Adding patch from Ticket #2368
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4822 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-08 04:13:28 +00:00
phpnut
dcac88825a Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
phpnut
41012b86ba Adding fix for Ticket #2310
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 23:38:53 +00:00
nate
983c55005c Fixing URL parsing/dispatching for IIS installs without rewrite support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4699 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:35:59 +00:00
phpnut
c20a8c80f3 Corrected view tests.
Added fix for Ticket #2245
Refactored loading of components and helpers to allow for use of dot notation with plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4659 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:34:21 +00:00
nate
e8cfab14a0 Refactoring Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 00:14:51 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
d1baa9db8f Adding fix for #2027
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4383 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 06:12:18 +00:00
nate
dcca6e711c Implementing shutdown() callback for components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4320 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 15:20:33 +00:00
nate
68ea832150 Enforcing component callback disabling in Dispatcher (do $this->Component->enabled = false in beforeFilter).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:29:06 +00:00
gwoo
315529507c overfactoring namedArgs, they are used by default with a colon as a separator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 15:37:45 +00:00
nate
9ce0247acc Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
dho
b05215eb9a Fixing "undefined variable" error in dispatch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4230 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 08:00:01 +00:00
nate
b47906cdc1 Adding fix for Ticket #1823
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4229 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 05:42:37 +00:00
phpnut
43f2afa6eb Fixes for:
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins

Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv'] 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4199 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 10:51:08 +00:00
nate
673bd82ee8 Adding 1.2 fix for Ticket #1794
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4170 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 21:30:56 +00:00