Commit graph

2245 commits

Author SHA1 Message Date
phpnut
62124094b1 Added test for Ticket #3098.
Fixes #3098, sql errors if ORDER BY includes compare statement

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5597 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:02:21 +00:00
phpnut
49275b8aee Merging recent changes in 1.2 datasources into 1.1
Refactored Model::setSource() to remove unneeded code

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 00:16:13 +00:00
gwoo
24abf517d6 updating file cache engine, fixes #3041
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 23:34:14 +00:00
gwoo
9d0502943a fix for odbc, closes #3145 and closes #3146. changes will be merged to 1.1 shortly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5594 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 22:46:57 +00:00
phpnut
0161f4f6d7 Fixes #3118 Prefix in models : can't use allow empty tablePrefix with a prefix defined in DATABASE_CONFIG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:44:47 +00:00
gwoo
7793b4f5c0 fix for router and edit links, added tests, closes #3108
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:16:24 +00:00
phpnut
37ff270d04 test to close #3151
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 20:35:50 +00:00
phpnut
a2c30ff570 Adding fix for CookieComponent::destroy() and secure Cookies
Fixes bug with Cookie not being destroyed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 01:29:00 +00:00
gwoo
bb199db68d updating bake view task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 20:54:11 +00:00
nate
3723885be3 Adding ACL node locator fix for AclNode::node() (Ticket #2976)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:16:49 +00:00
nate
ce51d009ac Adding hasMany optimization fixes for failing model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5587 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:11 +00:00
gwoo
656247427f fix for label in radio
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:08 +00:00
gwoo
e54fe6a523 adding label and fieldset for radio, set label=>false to turn it off, css adjusted
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +00:00
gwoo
9072c07cd6 updating console help for ticket #3133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5584 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-26 15:51:05 +00:00
gwoo
53a01b7a5c updating auth and scaffold for Routing.admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:26:21 +00:00
gwoo
85dca42d93 fixing shells formatting an api shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:00:19 +00:00
gwoo
f851ceff9e fixing auto routing.admin from project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5581 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:38:26 +00:00
gwoo
66cc55e705 updating bake tasks and skel for new Routing.admin with removal of CAKE_ADMIN
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5580 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:29:44 +00:00
gwoo
0533bbd92c updating schema reading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 03:59:21 +00:00
gwoo
2e60a4d2f1 Configure::__list() fix for undefined variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 17:00:32 +00:00
nate
1326d20792 Router fix for breaking out of plugins (Ticket #3106)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 13:11:31 +00:00
nate
73909d0617 Adding Router fix for breaking out of admin mode (Ticket #3119)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 12:50:21 +00:00
gwoo
476007f0f4 firebird dbo fix from #2936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 05:17:59 +00:00
gwoo
b3859caa7e updating dbo_mysql buildColumn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 00:47:49 +00:00
gwoo
3a5f89f3e2 updating fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 22:38:04 +00:00
dho
f2e5dcbbf9 Fixing syntax errors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 05:43:12 +00:00
gwoo
84ff113d1d updating schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 00:57:00 +00:00
gwoo
8e213b8124 fix for number helper separator spelling, #3048
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:33:46 +00:00
nate
b33ff0330f Additional default named argument for pagination (Ticket #5535)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:32:12 +00:00
gwoo
780fe16c09 refactoring cleanUpFields with tests for #3101
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5568 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 01:31:34 +00:00
gwoo
4a79765b26 updating schema generation, adding table option to schema shell commands
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 23:22:15 +00:00
gwoo
746d292be6 updating schema callbacks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5566 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:46:05 +00:00
gwoo
5f84abc452 updating schema output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5565 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:27 +00:00
gwoo
d4d98e2bab updating schema output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5564 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:17 +00:00
gwoo
8bb67d9f6a Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00
nate
2ff0e4f54f Admin routing test for Ticket #3104
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 17:02:07 +00:00
gwoo
871817e6fe updating acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:29:39 +00:00
gwoo
b0c21b9297 adding array support for output methods in Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5560 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:17:45 +00:00
gwoo
74d16fc110 adding deprecated notices to file class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 03:39:02 +00:00
AD7six
59f3dfc427 Minor cleanup to tree test and fixture. No functional changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 17:46:44 +00:00
nate
c4c3bf4ccd Adding fixes for parameter matching in reverse routing (Ticket #3099)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5557 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 16:02:11 +00:00
nate
8f8e471b5b Adding fix for DboMssql::lastError() (Ticket #3073)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:16:12 +00:00
nate
b4a8d513c3 Removing benchmarking code from Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:12:24 +00:00
nate
bd194b51e5 Routing fixes for invalid null value matching and named argument handling (Ticket #3083, #3085, #3086, #3093). Thanks biesbjerg for all your help!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
gwoo
6c1a81eeb8 updating auth and db_acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 02:18:27 +00:00
phpnut
eeeee7b49b Implementing automatic UUID for primary keys if the field is CHAR(36).
Stripped out old code from NeatString.
Added String:uuid();
Renamed neat_string.test.php.
Added test for UUID generation.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5552 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:58:44 +00:00
phpnut
91197d7863 Renaming neat_string.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:17:41 +00:00
dho
22c25e62f8 Texts slightly modified
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 16:53:25 +00:00
nate
5ba07c76c4 Localizing label text in FormHelper::input() (Ticket #2314)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 12:55:23 +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
268838eafa updating test.php, thanks biesbjerg
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 21:24:42 +00:00
gwoo
2c62da69d8 updating test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 20:54:38 +00:00
gwoo
4529f428d0 updating AuthTest and AclComponent to work with it.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 16:42:38 +00:00
gwoo
fa73554781 fixing missing Controller in view task, #3090
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5544 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 15:13:54 +00:00
mariano.iglesias
b4d77ddf8f Fixing test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 20:27:55 +00:00
mariano.iglesias
f2d4894f73 Adding new test case to show failing inner associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 19:03:49 +00:00
nate
44e978c194 Fixing hasMany SQL optimization (Ticket #3075)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5541 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 13:37:56 +00:00
dho
a5fd1561e8 By default no radio element is checked (ticket #2963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 09:15:19 +00:00
dho
3c7168c58c Removing unwanted id from radio elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 08:50:16 +00:00
nate
382235ffbf Adding Router parsing test for Ticket #3074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 18:50:25 +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
90567a286a Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
gwoo
49df24a5e3 another update for console bootstrap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:42:21 +00:00
gwoo
bab2df65d0 updating bootstrap and index
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:39:12 +00:00
gwoo
db9b9d0e1b updating console bootstrap in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 07:35: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
82b263a8aa updating auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 19:33:46 +00:00
gwoo
5689a9af03 fix for auth redirect, #3072
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:37:43 +00:00
gwoo
1e56828522 fix for Controller::referer
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5528 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:05:28 +00:00
nate
5c48a926e7 Adding model test fixture and additional Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 16:26:04 +00:00
nate
3b0099b877 More Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:28 +00:00
gwoo
8dbd6366c1 fix for missing Folder class, #3069
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:25 +00:00
nate
32e61a8adf Adding Router test case for Ticket #3028
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:28:53 +00:00
nate
ad75ecea81 Fixing and refactoring reverse routing, and adding URL generation fixes (Ticket #3034)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:18:39 +00:00
nate
c3dc8cb827 Implementing automatic join models for HABTM associations, adding table prefix fix for Ticket #1965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 23:12:24 +00:00
nate
214ad6346f Refactoring Router and fixing route matching, adding tests (Ticket #3033)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:51:34 +00:00
nate
17a229bfdb Removing deprecated constant ACL_FILENAME
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:49:35 +00:00
nate
9d799ec7ca Expanding model support for Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:46:22 +00:00
nate
1911b1d7a5 Implementing custom array value formatting in Set::combine() and Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:59:49 +00:00
nate
9d77d85ce4 Additional groups for your unit-testing pleasure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:40:37 +00:00
nate
8d2d9d8684 Refactoring FormHelper::__selectOptions() (Ticket #1312) and adding tests for multiple select boxes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:20:01 +00:00
phpnut
e5de1e7f2b Adding fix for Debugger when running cake on a server that has E_STRICT enabled for php 5
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 15:59:16 +00:00
nate
a98afd7e5c Adding Router test case for Ticket #3055
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-12 22:52:15 +00:00
nate
481fe8576c Adding ConnectionManager::sourceList() to return the list of DataSources (Ticket #2274)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5513 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 21:52:23 +00:00
nate
823672217a Implementing Set::format() to combine extracted array values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 21:32:25 +00:00
dho
b6c6721528 Fixing typo (ticket #3046)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5511 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 17:10:04 +00:00
dho
89a30b1d6c Fixing bad directory separator (ticket #3045)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5510 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 16:58:21 +00:00
nate
d00b863edd AD7six: Changed to use single quoted strings
Removed hardcoded "lft" and "rght" from __sync method
added test to see if the behavior is enabled before executing hook methods
Fix for bug 3037, methods will now return true if 1 or more moves succeed.
Added possibility to pass true to moveUp/moveDown as the number of steps -
this will move a node to the first/last child position.
Fix for 2991
Fix for 2982 NOT IMPLEMENTED


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5509 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 15:04:23 +00:00
nate
8c8d0c1088 Updating Debugger references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5508 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 15:03:28 +00:00
dho
0d1d5f51fa Removing debug statement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5507 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:58:09 +00:00
dho
ee3658894e Applying patch from ticket #2236 plus adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:47:53 +00:00
phpnut
aabbf0ed85 Adding patch from #2908, fixed to read the response from the server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 13:31:12 +00:00
dho
dbe70a3dd2 Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5504 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-10 09:20:42 +00:00
AD7six
3f1a49d1cf Remove debug code included in previous commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5503 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:34:29 +00:00
AD7six
d2ae3940ce Adding test cases for updated tree behavior
Tests added for 
	Ticket 3037 (moveUp moveDown do not work correctly with $number > 1)
	Ticket 2991 (del returns false if the tree behavior is used)



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:30:33 +00:00
gwoo
85c2a4ef98 updating router for plugins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5501 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 23:19:42 +00:00
gwoo
7cc6e815d9 fix __list in Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5500 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 21:41:38 +00:00
gwoo
28ebd0bf66 fixing typo in bake index template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 20:34:02 +00:00
nate
e98d6cbb51 Adding class listing methods to Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5498 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 15:38:20 +00:00
gwoo
889e62881b added option to modify element cache name, #2327, see tests. Adding auth key for flash message, #2996
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 07:44:12 +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
mariano.iglesias
efd66066f6 Fixing some documentation in Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:00:35 +00:00
mariano.iglesias
b948a9c17e Commit test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5494 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 14:59:15 +00:00
gwoo
e4b57ef80f fixing acl console for help, #3024, updating bake controller task help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 18:18:30 +00:00
gwoo
020841b989 fixing File cache engine expire #3006
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5492 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 17:13:03 +00:00
gwoo
c84bbea48b fixing File cache engine expire and path, #3006 and 3021, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 16:47:03 +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
nate
a03b688062 Adding DboSource quoting test cases for Ticket #2922
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5489 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:26:23 +00:00
nate
1a690c48a4 Adding dynamic model creation to Model::__construct()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5488 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:20:50 +00:00
gwoo
d98ce2d5a3 changing findCount to return intval, #3009.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:13:48 +00:00
gwoo
44058a818f changing key for Cookie, #3017
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:04:29 +00:00
gwoo
4c26620a9e adding fix for Paginator numbers, #2891
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 15:51:37 +00:00
gwoo
2d7be853ce adding fix for Folder path, #2983
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 05:31:36 +00:00
gwoo
797b10f0ed the real fix for lost params in console, #2807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:12:52 +00:00
gwoo
d332106cf7 fixing interactive baking of views, #2913
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:11:01 +00:00
gwoo
306aa69c08 adding fix for lost params in console, #2807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5480 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 00:15:52 +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
64325bd60d Adding fix for failing routes for plugins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:00:24 +00:00
phpnut
504dec6d76 Adding quick fix for undefined index admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 02:01:29 +00:00
nate
cfd4e0f3d7 Fixing Router issue with named arguments being dropped from matched routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-30 13:15:59 +00:00
nate
ad53804b60 Adding SQL function quoting fix in DboSource (Ticket #2987)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-29 12:21:41 +00:00
gwoo
d6c4229d81 updating router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 17:51:33 +00:00
nate
dee2ea4f68 Updating fix for empty parameter passing in Router; adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 13:32:26 +00:00
gwoo
1e141a567f adding set_time_limit fix for #2914
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 03:47:11 +00:00
gwoo
fc9503e473 fixing bug with url parsing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 02:46:30 +00:00
nate
9a915e90ef Applying correct fix for Ticket #2917, updating FormHelper test cases, and adding Helper test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 14:23:38 +00:00
gwoo
99c1e9fe6d auth invalid login return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 07:16:46 +00:00
gwoo
64b5f897e2 updating auth component
added any object authorization
AuthComponent::object replaces AuthComponent::objectModel, add AuthComponent::hash, see #2894


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 06:43:44 +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
dho
1bda1d2ada Avoiding to add 'type="checkbox"' twice (ticket #2917)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5462 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:50:01 +00:00
dho
7c5b93e34e Validate "0" as alphanumeric value (ticket #2972)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:22:14 +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
phpnut
31c3447682 Adding fix for #2937, Email component needs new lines when sending as both
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 20:02:14 +00:00
phpnut
17f1d90eba Reverting last commit to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 19:34:35 +00:00
phpnut
2e342b7eb3 Adding doc comments and refactoring component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5457 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 17:54:38 +00:00
phpnut
c8dca3c666 Removing echo statement in router.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 14:40:34 +00:00
phpnut
9ee71eefa7 Adding fix for #2933, function arrayTrim in class INI_ACL fail to work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:55:25 +00:00
nate
7b4264b68c Adding header detection to Router, and implementing prototype REST routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5454 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:50:50 +00:00
phpnut
bdaca1698b Adding fix for #2959, Missing arguments for DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 12:49:58 +00:00
nate
42c5cb3a16 Fixing MySQL port configuration for persistent connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-23 00:46:42 +00:00
nate
8f69b6f551 Moving SecurityComponent constructor code to initialize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 21:21:08 +00:00
nate
5ab89f495f Refactoring Router and improving route generation efficiency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5450 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 04:07:06 +00:00
gwoo
0d999092d9 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:23:32 +00:00
gwoo
0519196d69 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:22:16 +00:00
the_undefined
b233522b92 Testing commit ability
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5444 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-19 13:38:26 +00:00
gwoo
a215447f83 updating project task, adding option to specify full path to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-18 01:54:47 +00:00