gwoo
82cd036672
adding acl and auth group test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6621 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 16:05:54 +00:00
gwoo
1346224b1f
updating auth test, closes #4398
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6620 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 15:56:19 +00:00
phpnut
c5f06674fa
"Fixes #4394 , SecurityComponent::!__validatePost fails on hasMany multi-record form.
...
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6618 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 06:08:55 +00:00
nate
80340da3c5
Removing parameter merging in pagination links, fixes #4312
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:44:16 +00:00
nate
c4f03bf237
Updating View test case for rendering refactor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6615 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:34:57 +00:00
phpnut
067e6a5695
"References #4413 , test proves ticket is invalid"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-31 17:49:39 +00:00
phpnut
c849dd773a
"Fixing inflection of people uninflected plural.
...
Renamed PersonFixture.
Fixed ModelTest::testHabtmFinderQuery() test when prefix is used."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:35:05 +00:00
phpnut
2eb120486b
Renaming people fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6611 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:26:28 +00:00
phpnut
ad19583f26
"Extending the CakeTestModel instead of AppModel"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6610 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 03:59:38 +00:00
phpnut
69dd26dc75
"code formatting"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6608 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:43:14 +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
phpnut
0ef028bc1f
"Fixing self associated joins.
...
Added additional test cases and correct one bad test case.
Fixes #4364 , !__mergeAssociation() in dbo_source fails to merge belongsTo properly"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 11:17:24 +00:00
phpnut
e65f44bed2
"Fixes #4001 , 'money' validation uses invalid regular expression syntax"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6605 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:44:40 +00:00
phpnut
657c28403a
"Fixes #4377 , Folder class bug for non-existent path"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:05:05 +00:00
phpnut
d8d7b899a1
"Adding additional test to show how to load files that do not follow directory naming or file naming conventions.
...
References #4319 , References #4334 "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6600 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 03:02:13 +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
nate
819cd1d667
Re-removing the Auth vulnerability re-introduced in [6593]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6595 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 19:18:52 +00:00
nate
d60191a1f6
Fixing vulnerability in field quoting in DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 16:40:45 +00:00
phpnut
47eb421091
"Adding fix to Auth::identity(); for errors thrown on invalid input.
...
Added tests for invalid input.
Debug is turned off in this area of code because of the CakePHP errors handling, messages could cause long delays and exception noticed when debug > 0."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6593 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 07:17:37 +00:00
nate
c286a7293f
Adding test cases for TreeBehavior scoping
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 00:54:32 +00:00
the_undefined
26489efe19
Changed XPath behavior for mixed numeric and string keys
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-18 15:30:00 +00:00
phpnut
1b4c445cad
"Fixes #4256 , tablePrefix + HABTM with defaults == wrong joinTable"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 07:18:42 +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
gwoo
8bbdbd4d25
adding ClassRegistry to Configure test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6577 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 01:10:34 +00:00
nate
07d2b0d2d3
Fixing AjaxHelper::sortable() options and filtering Ajax callbacks from link options in AjaxHelper::link(), fixes #4279 , fixes #4274
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 22:48:46 +00:00
nate
38c7dab9f5
Fixing RequestHandlerComponent::prefers() when using extensions, fixes #4056
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6575 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:48:56 +00:00
nate
29fa485140
Adding extra fixes, tests for Set::_ _flatten, fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:30:30 +00:00
nate
a282e1152f
Adding test cases for HABTM limit fix ( #4204 ), and disproving HABTM save issue ( #4194 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6571 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:08:06 +00:00
the_undefined
3daf495488
Added initial XPath support for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
nate
360b91eea7
Fixing HABTM associations on non-standard keys, fixes #4219 , refactoring DboSource::calculate()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:11:29 +00:00
nate
3ff5bfa829
Fixing default value for float columns in Postgres, fixes #3963
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:06:14 +00:00
phpnut
acc79fe0f3
"Closes #2508 , Allow requestAction to use array urls
...
Fixes #4325 , error pages no longer displayed since changeset
Closes #4329 , remove am() usage in core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
6fe1e62555
Implementing JavascriptHelper::$inBlock, docblocking JavascriptHelper properties, adding fix for AjaxHelper::sortable() 'overlap' option, fixes #4292
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 03:57:54 +00:00
the_undefined
7a769f68ca
Restricted named route element to contain no special chars other then '_'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 15:19:46 +00:00
nate
2c3ec768c7
Updating model tests for Postgres, fixing Postgres metadata handling for UUID primary keys, adding Postgres tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6558 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 05:22:17 +00:00
nate
c1c35b2e13
Refactoring DboSource - removes all SQL from Model, refactoring transaction handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6557 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:44:33 +00:00
phpnut
d326c6eefe
"Adding test case for news"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6556 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:22:38 +00:00
gwoo
57a61f8f82
fixes #4165 , string conditions with translate behavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 07:01:01 +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
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
nate
bd929c45df
Adding test case for validation error display with FormHelper::input(type => password), disproves #4242
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6548 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 03:54:15 +00:00
nate
204d5109b9
Adding test case for ambiguous column detection in TreeBehavior::generateTreeList(), disproves #4053
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6547 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 03:41:04 +00:00
phpnut
5374807164
"Fixes #3846 , Security blackhole when no radio selected
...
Fixes #3920 , Multiple select w/ checkboxes issues warning when all are unselected
Fixes #3962 , validation POST never pass when select multiple is submit
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 00:25:59 +00:00
gwoo
11b48f865d
adding dispatcher test for cached pages with camel cased names, closes #4086
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6545 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:39:29 +00:00
nate
8fc104b44b
Correcting column quoting for custom-aliased fields, fixes #4228
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6543 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:15:08 +00:00
gwoo
be09e5a90d
closes #3915 , Folder delete does not require path
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6542 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:14:12 +00:00
nate
98831d27fe
Enabling mutli-record validation errors in FormHelper, fixes #4076
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 18:28:38 +00:00
gwoo
dd10cb191f
fixes #3788 , paginator numbers first and last issues
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 16:42:04 +00:00
nate
db1e079e5f
Enabled specifying of join type in hasOne/belongsTo associations, fixes #4085
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6537 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 08:47:42 +00:00
nate
9e37b6fc26
Adding test cases for saving hasMany associations with saveAll(), ref #4035
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6536 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:59:23 +00:00
nate
9a6029f03e
Fixing fully-qualified form field references, fixes #4068
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:36:34 +00:00
gwoo
b1f5b76f98
changing test suite layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6534 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:04:24 +00:00
nate
e87d4e80dd
Refactoring behavior method dispatch handling to work on PHP4, fixes #4296 , refactoring schema test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6532 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 06:24:40 +00:00
nate
12ae20d228
Adding DbAcl test case for ticket #4288
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6530 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:19:58 +00:00
gwoo
10bdc235ee
updating test suite for plugins, closes #4107 , closes #2777 . requires update to test.php.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:07:56 +00:00
nate
dfe2ead19e
Removing methods from Set test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6524 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:37:55 +00:00
nate
ae57eecc19
Adding test and patch for bug in Set::_ _flatten(), fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
nate
58e6da6a5b
Adding test case for custom 'finderQuery' for HABTM associations. Disproves #4100
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6521 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:08:15 +00:00
nate
c096e20350
Fixing XmlHelper::elem() when rendering non-empty content values, fixes #4300
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 18:39:00 +00:00
nate
82f4427b8b
Fixing '0' default values in fixture generation, fixes #4295
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6519 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 17:27:32 +00:00
gwoo
c1ea4dff88
fixes #3969 , schema name for app dirs with special characters
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6518 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:30:44 +00:00
nate
24ea731e7f
Making parsed parameters always show up at the beginning of 'pass', closes #4299
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:14:51 +00:00
phpnut
7978745056
"Closes #4029 clearCache deletes more files than expected"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6513 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 04:30:55 +00:00
nate
1a69866df1
Fixing custom hasMany associations, fixes #3918
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 04:36:20 +00:00
nate
0ee0324e20
Improving validation support in Model::saveAll(), adding tests for cross-database joins, disproves #4251
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6511 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 01:29:19 +00:00
mariano.iglesias
33c0fec53a
Resetting route prior to test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6510 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 22:30:38 +00:00
mariano.iglesias
c689a95a43
Adding more tests for router regarding paging routes and named parameters
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6509 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 21:47:54 +00:00
nate
12466ebe43
Making sure default extension is always set when Router::parseExtensions() is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:56:18 +00:00
AD7six
2918b68877
adding test case for #4043
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6499 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 19:12:25 +00:00
the_undefined
0b4e8e63ac
Added support for multiple route parameters per path element
...
Fixed bug with pass param order
Added / updated router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 15:57:25 +00:00
nate
1960be0dfa
Deprecating vendor() and removing all instances from the core, fixes #4016
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:23:32 +00:00
nate
6546a39098
Updating Model::setDataSource(), table prefixes now switch when switching DataSource, unless a custom table prefix is set, fixes #4062
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:15:53 +00:00
nate
b1c7938ad5
Adding counterCache test cases from #4122
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6495 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:41:43 +00:00
nate
affcdd23dc
Updating tree test case to verify addition of whitelisted fields, fixes #4141
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6494 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:31:11 +00:00
nate
195ad336a5
Updating Dispatcher test cases for new Router parameter features
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6492 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:13:19 +00:00
nate
ab50975306
Correcting UPDATE query generation to support SQL standards and MySQL-specific features in parallel, fixes #4080
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6491 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:12:12 +00:00
the_undefined
394322f35d
Added pass feature to Router::connect
...
Implemented it for Router::mapResources
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6489 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 20:22:57 +00:00
gwoo
3d191461b2
fixes #4236 , typo in simpletest not installed error message
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6488 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:52:07 +00:00
gwoo
03a7ca842f
updating folder test for inPath, fixes #3922
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6487 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:35:00 +00:00
nate
b5d0baf98b
Fixing TimeHelper::timeAgoInWords()/relativeTime(), fixes #4241
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6485 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 05:06:37 +00:00
nate
c8ed9424da
Fixing errors thrown in Model::exists() when $useTable is false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6484 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 04:35:20 +00:00
nate
9931e0ef93
Removing redundant test case from TimeHelper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6483 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:57:59 +00:00
nate
3a11fe2340
Refactoring find types in Model::find()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00
the_undefined
8b8b268c08
Added test demonstrating useless error messages being thrown for table-less models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6480 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 00:23:28 +00:00
gwoo
d3e2d51cbc
updating error handling, error.test, view.test, theme.test, change socket.test to use App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6479 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-27 21:22:40 +00:00
nate
3316731dd9
Updating ACL component test case, disproves ticket #4190
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6478 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-27 03:57:33 +00:00
nate
6615daa6b0
Adding test case for saving UUID primary keys, disproves ticket #4123
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6477 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-26 06:20:16 +00:00
nate
f056ee4a3d
Adding double-escaping test case for DboSource, disproves #4196
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6476 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 15:28:17 +00:00
nate
4e573f48f0
Updating view test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6475 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 15:08:01 +00:00
nate
048626c547
Fixing placement of charset tag in layout templates, fixes #4200
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6474 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:47:41 +00:00
nate
c1251c8265
Adding DboSource fix for SELECT DISTINCT, fixes #4101
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6472 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:15:37 +00:00
nate
3140144a1f
Adding behavior test case and fixing validation behavior methods, fixes #4205
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6471 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:47:10 +00:00
nate
0572926d49
Refactoring model behavior handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-21 15:36:13 +00:00
the_undefined
61882940a4
Reverted test case change
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6467 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 04:07:03 +00:00
the_undefined
3120d055f9
Got HttpSocket tests to pass again
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6465 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:55:12 +00:00
gwoo
fb4244bb89
updating Helper::setEntity() and form.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-18 21:58:32 +00:00
gwoo
e9c15fe33e
updating ErrorHandler with test, fixes #4102
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 16:49:17 +00:00
nate
0073683a54
Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
d301d7a566
Adding Flash client detection to RequestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 05:32:46 +00:00
gwoo
5e8a2fb7f4
fixes #4106 , object test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6459 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 04:52:46 +00:00
nate
0d2c0c1c6c
Cleanup from last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6457 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:16:13 +00:00
nate
766703f15f
Fixing default route mappings, refactoring route generation, fixes #4109
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:11:33 +00:00
nate
e41d586e03
Updating View test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6454 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:45:47 +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
nate
50236e3431
Adding Object::dispatchMethod() as faster (OO) replacement for call_user_func_array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6452 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:02:40 +00:00
nate
96d2b4b738
Adding ACL component test coverage and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6451 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:27:16 +00:00
nate
14523dc8c4
Fixing XML class references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
7f673226d7
Enabling suffixes for virtual fields, fixes #3724
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:20:43 +00:00
nate
ba98d6cc12
Fixing TimeHelper tests for the month of February
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6447 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 01:12:22 +00:00
nate
ab1a245086
Adding option to remove application base path to Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 20:47:48 +00:00
nate
bb879da388
A fixing Dispatcher handling for GET vars when request is made from domain base, fixes #3856
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6442 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:22:39 +00:00
nate
5770e95fc9
Adding fixes and tests for Set::check(), closes #4077
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
nate
89052b0f54
Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
nate
1db0c07852
Fixing issues in Set::check() with implicit array-to-string casting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
gwoo
28545feec3
updating view tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6435 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 14:58:55 +00:00
nate
abd94bc068
Additional path and extension tests for JavascriptHelper::link()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6434 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-04 17:12:19 +00:00
gwoo
241bda262a
updating test manager to show "all tests" when there are no app groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-04 16:59:52 +00:00
nate
271777b9f5
Adding FormHelper tests for ID generation, closes #4005
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6432 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 06:54:05 +00:00
nate
67d7579fda
Adding tests for auto-constructing hasAndBelongsToMany associations, disproves #3859
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6431 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 06:40:15 +00:00
phpnut
df805f0a66
"Closes #3940 , adding inserting/updating of multiple translations at once.
...
Additional tests added for TranslateBehavior"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 21:14:13 +00:00
nate
acfc38e57d
Fixing XML support in Model and Set classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
881cf3fc0a
Adding foreign key check to Model::updateCounterCache(), fixes #4049
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:50:44 +00:00
nate
172d355e05
Adding namespace support to XML class, as well as XML generation options, entity conversion, whitespace output support, node filtering, I could go on. Props to Mike O'Toole. Fixes #3476
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 04:53:09 +00:00
nate
423a56c958
Adding Model::attach() and Model::detach() for dynamic loading/unloading of behaviors + tests, fixes #4010
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 18:56:22 +00:00
nate
4e56b06f66
Adding Set::sort(), for sorting model results by association keys, tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
nate
b9d3c4e2e8
Updating Model::saveAll(), adding tests. Fixes #3871
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 01:57:39 +00:00
nate
d9691a19c8
Refactoring Router::mapResources(), adding tests for REST routing and HTTP method overrides
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-26 08:50:06 +00:00
gwoo
ebeb7d0f94
updating dispatcher related to #3856 , test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6408 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 21:19:13 +00:00
nate
b93e5c13ea
Adding tests for routes with UUID matches, closes #3973 (disproven)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6405 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 16:09:27 +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
the_undefined
38c705a06b
Fixed some issue with initializing the HttpSocket in a certain way
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 23:17:55 +00:00
gwoo
59cf6c8fc0
ajax test updated, closes #3950
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6402 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:49:53 +00:00
gwoo
e127d8f86f
updating ajax and form closes #3582 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:47:56 +00:00
nate
7e3a30fd85
Correcting database input value for midnight on 12-hour display, fixes #3927
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 12:53:37 +00:00
gwoo
a98c80d44b
updating form helper which really fixes #3869 , required css class, test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 00:39:44 +00:00
nate
4c6bbaffff
More Postgres abstraction/emulation fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-17 17:09:10 +00:00
phpnut
5b3cbf2ea0
"Refactoring TreeBehavior::recover();
...
Added TreeBehavior::reorder(); to reorder nodes of tree"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 16:51:18 +00:00
nate
d7c960ea15
Fixing file upload support for multi-record forms
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 07:37:29 +00:00
nate
8a7d9dfa8c
Updating AjaxHelper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:39:25 +00:00
nate
1e4549679a
Refactored JavascriptHelper::object(), improved JSON spec compliance, added sport for native json extension, improved tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:21:07 +00:00
nate
14122fd1e6
Refactoring TimeHelper, adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 04:29:55 +00:00
nate
428241bd5e
Fixing bad Dispatcher test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6376 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 05:18:51 +00:00
nate
6dc742d675
Adding ACL test setup to Auth test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:23:19 +00:00
phpnut
654669d48f
"Refactoring Component tests.
...
Removed Component::!__construct();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:06:01 +00:00
phpnut
6419ee2bc7
"Removed Configure::write(); left over code when using Auth in the test"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:55:10 +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
gwoo
d564eda38d
updating component and tests for Session
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 00:53:45 +00:00
nate
2b2bdcde5c
Fixing ACL tests for schema refactor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6370 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 20:50:34 +00:00
gwoo
5649f17f7b
updating PaginatorHelper::numbers(), fixes #3788
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:59:37 +00:00
gwoo
e989625316
update loading of components, fixes #3899 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:35:12 +00:00
gwoo
34bbeb0d39
fixing cache engine prefix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 18:35:45 +00:00
nate
6640e45e33
Adding Schema test to Model test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6362 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:30 +00:00
nate
c8974be887
Refactoring fixture handling and Model tests, fixing UPDATE and DELETE queries for other databases, fixes #3794 . Only forcing 'test_suite' prefix on default database connection, fixes #3873
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:00 +00:00
nate
5e4a641003
Updating model test case and adding custom field support to Model::find('list'), closes #3802 (thanks GreyCells)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 03:16:19 +00:00
gwoo
6e1cc5b182
updating dispatcher test for #3868
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6359 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 01:23:21 +00:00
gwoo
edcdcf3235
updating form helper labels for multiple records, fixes #3880 , updating custom acl component loading, #3875
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 23:13:53 +00:00
gwoo
aeaeb97a49
updating helpers for multiple records, fixes #3874
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
cbd715618b
Removing MySQL-specific schema code from core, improving support for PostgreSQL sequences, most tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 08:44:38 +00:00
nate
188ff4737d
Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
nate
db621672d3
Enabling alternate titles for PaginatorHelper::sort() links based on sort direction, closes #3865
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 01:12:26 +00:00
nate
3eb04c36db
Fixing database drivers for UPDATE/DELETE changes, updating drivers to comply with model tests, most passing. Fixes #3794 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:32:45 +00:00
gwoo
01418cdb00
updating View error handling for extensions, fixes #3795
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:21:21 +00:00
phpnut
3b2e24d6ef
"Adding test cases from #3810 "
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6343 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 01:04:14 +00:00
phpnut
c8172ed96a
"Fixes #3851 , Acl component fails to check() if a permission is denied in action (*)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 00:39:00 +00:00
gwoo
d45d7a8faf
updating HttpSocket with auth, closes #3838
...
removing type casting, fixes #3827
adding socket.group to tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:50:19 +00:00
nate
e3f23df3d2
Removing un-needed method from TimeHelper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6330 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 11:37:42 +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
6e1f2fe457
Fixes #3817 , Some non-executable files in source tree have executable permissions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 18:05:55 +00:00
gwoo
22cc25e9c5
updating Set::map() handling of deeply nested arrays, fixes #3809 , thanks to speedmax for an updated test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 01:32:52 +00:00
phpnut
5c1b96330b
"Correcting doc tags"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6318 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:52:53 +00:00
phpnut
6dec91a89f
"Fixes #3814 , Bug in hasAndBelongsToMany"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:50:59 +00:00
gwoo
d963a721b3
updating TimeHelper, fixes #3801
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:42:36 +00:00
nate
6191c58f69
Fixing after filters for Model::find('list'), fixes #3805
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 23:07:54 +00:00
nate
93f034b9bd
Fixing JavascriptHelper::link() for script files outside of webroot/js (i.e. plugins), fixes #3799
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 19:32:46 +00:00
phpnut
44fe1da19b
"Fixing paths in debugger tests"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:52:53 +00:00
phpnut
30f4f74199
"Fixing paths in debugger tests"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:32:31 +00:00
nate
60fa3938ee
Adding regular expression support to Set::extract(), closes #3263
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
nate
9c68a253e4
Refactoring, fixing SessionComponent test, adding String::tokenize()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 03:06:57 +00:00
nate
7ea47e9893
Fixing Model::find('list') when using self-joins
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:30:19 +00:00
phpnut
9f891bf4e6
"Renaming domains in test to generic names"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:12:38 +00:00
mariano.iglesias
4c89941287
Adding new URL to validation test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 01:51:19 +00:00
gwoo
618d7bd84a
adding Debugger::log() and test cases, closes #995
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:31:13 +00:00
nate
695ac50fd7
Adding full join model support, closes #828 , closes #1845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 23:57:17 +00:00
gwoo
0156b9e689
adding test for root path caching, closes #1349
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:52: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
nate
5abe66289d
Implemented 'counterCache' and 'counterScope' for belongsTo associations
...
Exempted 'created', 'updated' and 'modified' fields from whitelist when saving, closes #3720
Updated Model::bind(), closes #2355
Adding Model::saveAll() to save multiple records and associated records, closes #3615
Replacing Model::generateList() with Model::find('list'), deprecates Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 19:34:40 +00:00
phpnut
1aa2324e8e
"Fixes #3786 , Missing keys when Model merges actsAs.
...
Added additional test for Set::merge();
Refactored Controller::_mergeVars."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:07:24 +00:00
nate
368b085c94
Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a
Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
b57ee695a4
updating TimeHelper, closes #1182
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 01:45:57 +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
gwoo
f6b71c29e9
updating HtmlHelper, closes #2592 , closes #2406 , closes #2220 , closes #2080 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +00:00
gwoo
48bf9e420d
updating router admin handling, closes #3697 test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 19:53:21 +00:00
gwoo
fdeb41a826
updating FormHelper::inputs(), fixes #3770 , tests updated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 18:25:00 +00:00
gwoo
7e845242d5
updating set handling of xml and adding tests for model saving xml
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:24:10 +00:00
gwoo
9a8bd5680a
updating debugger test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:41 +00:00
gwoo
99da081907
updating dispatcher, fixes #3773 , fixes #3783 , fixes #3779 , updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
nate
d38bb91d1c
Updating component tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 16:35:38 +00:00
phpnut
c5ff7cb4db
"Fixes #3774 , Set::combine possibly applies wrong formatstring"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:59:22 +00:00
phpnut
c727b14365
"Correcting SetTest::testMapReverse() with recent changes to model vars"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 06:49:07 +00:00
phpnut
63bb042c9e
"Fixes #3766 , RequestAction fails on plugin to app and plugin to plugin"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-26 02:20:47 +00:00
phpnut
394ee0c8fc
"Removing debug()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6260 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 11:15:52 +00:00
phpnut
75b5623f33
"Closes #3587 , Multiple resource routes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:25:42 +00:00
phpnut
aa667c4d61
"Closes #3059 , Set::format() allow arg type conversion with use of sprintf format style"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:10:20 +00:00
phpnut
23ad8a4c7d
"Closes #3651 , Allow the specification of an interval in the generation of the minute select"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 06:45:48 +00:00
nate
4d68d6c6dd
Adding fixtures for 'with' association tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 05:35:37 +00:00
phpnut
3935746a29
"Refactored Model::invalidFields() to pass array(field => value) back to custom validation methods in a model
...
Closes #1863 postal code validation for Italy and Germany
Closes #2766 , Add field name to params array for custom validation rules
Closes #3735 , Custom validation functions
Commented out the failing model tests until the missing fixtures are added
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 04:53:15 +00:00
gwoo
d7926aaaad
adding context and trace to other debugger output formats. adds E_USER_ERROR to fatal
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 23:47:46 +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
gwoo
1ee0b564e1
adding TimeHelper::toQuarter() with range, closes #3121
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:16:20 +00:00
mariano.iglesias
9160660f58
Allowing AjaxHelper::observeForm to receive frequency setting for periodical observations.
...
AjaxHelper::drop and AjaxHelper::dropRemote can also accept arrays in their 'accept' setting.
Adding more tests for AjaxHelper.
Making AjaxHelper::autoComplete accept only dot notation fields. Adding callback setting for autoComplete.
Closes #2438 , closes #3038 , closes #3058 , closes #3316 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 01:45:39 +00:00
gwoo
d7f910bf89
adding output handling to Debugger.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:25:30 +00:00
mariano.iglesias
12075ec7c1
Adding contentType, encoding and postBody AJAX options.
...
Adding onCreate (specify 'create' in $options) and onException (specify 'exception' in $options) callbacks. All callbacks should be specified using their aliases (so use 'complete' => 'completeFunc();' for onComplete callback, etc.)
Adding tests for AJAX helper.
Closes #1244 , closes #2644 , closes #2856 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6234 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:08:54 +00:00
nate
0d469ac4ba
Fixing ability to specify select fields for join models, and adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:03:19 +00:00
mariano.iglesias
2dc9b33d18
Adding tests to AjaxHelper for #3549
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6221 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:15:55 +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
27721cb730
"Fixes #3726 , Saving date, datetime, and time into database (form->input)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6210 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 05:40:25 +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
a2624df5f2
fixing fail in Html::meta(); and adding ClassRegistry::flush(); to fix no_database test group.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:07:10 +00:00
gwoo
eebdb12eaa
updating HtmlHelper::meta(), closes #3223 , #3224 , #3225 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 23:36:24 +00:00
gwoo
b99ac8de46
adding more extensive formating options to NumberHelper::currency() with tests, closes #3532
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 22:01:38 +00:00
phpnut
51baf42d62
"Changing Validation class to be a static class"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6203 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 21:03:30 +00:00
gwoo
81b074cf1f
adding Paginator::first() and last() methods, also adding them to numbers, tests added, closes #3709 , closes #3208 , closes #3465 , closes #2412 , closes #2954
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:03:48 +00:00
nate
698af0115c
Adding test case for XML class, conversion from Set object (Ticket #3696 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6193 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 05:08:03 +00:00
nate
10a2a446d3
Fixing FormHelper::select() with multiple checkbox option when all options are de-selected (Ticket #3716 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 04:20:35 +00:00
gwoo
98f454bc8a
updating asset handling, closes #3149 To use compression for css and js files in vendors use Configure::write('Asset.compress', true);
...
Also, closes #1897 serving css and js from plugin vendors folder for paths within that plugin. Tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6189 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:37:46 +00:00
nate
5e7f3a8287
Implementing FormHelper::button(), with options for alternate button types (Ticket #2341 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:27:50 +00:00
nate
e6af521843
Implementing Validation::equalTo() (Ticket #3594 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6187 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 23:39:52 +00:00
gwoo
5dd9847881
changing Set::map() to accept true as second param. This will maintain the structure of the array coming in. related to #3713 , changes [6185]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:54:10 +00:00
gwoo
b4c3be2ccd
updating set, pass second param as false if you do not want the array flattened, fixes #3713
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6185 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:12:43 +00:00
gwoo
ac4896fabd
sanitize test added, closes #3488
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6183 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:42:08 +00:00
gwoo
e6bd38d7d1
updating formhelper dateTime, fixes 3753, tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:09:46 +00:00
gwoo
9f8b4b2cd5
updating scaffold view handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 18:14:10 +00:00
gwoo
ef3b73d690
adding plugin task, closes #965
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
gwoo
60f4dd360d
updating View and Controller::flash, fixes #3749 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-20 01:19:19 +00:00
nate
cd8c26bda7
Allowing models to save empty records if they have a created, updated, or modified field (Ticket #3501 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 02:05:15 +00:00
nate
570e71f62a
Adding fix for Router named arguments where arg value contains the separator key (Ticket #3752 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 01:49:25 +00:00
phpnut
608f32172e
"Adding missing fixture"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 18:07:36 +00:00
mariano.iglesias
d5a8cd3c22
Changing valid XHTML comment of script blocks and adjusting tests, fixes #3746
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 17:02:54 +00:00
gwoo
dcb9996b43
updating view loading helpers, fixes #3744 , tests added, uses Inflector::slug() for element cache file name, uses renderElement for dump of cakeDebug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6165 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 07:28:53 +00:00
nate
68b024e187
Enabling custom URLs in HtmlHelper::image(), and adding FormHelper::file() tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:46:56 +00:00
gwoo
f0f5d1ca09
updating FormHelper::submit() to handle images, deprecated FormHelper::submitImage(), added tests, closes #3741
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6161 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 18:46:02 +00:00
gwoo
c4eb4caef8
adding configure group test and fixing view group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:55:59 +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
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
nate
481cbf521e
Adding fixes to Router::normalize() when called with empty parameter (Ticket #3734 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:09:05 +00:00
nate
003aaec870
Adding PaginatorHelper::url() (Ticket #2493 ), refactoring Paginator, eliminating extra space in <a /> tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:07:25 +00:00
phpnut
1e6665909b
"Fixes #3101 , Model::deconstruct() corrupting fields
...
Fixes #3726 , Saving date, datetime, and time into database (form->input)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6148 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 04:21:58 +00:00
nate
9d58121205
Removing trailing slash from normalized URLs in AuthComponent, moving AuthComponent::_normalizeURL() to Router::normalize(), refactoring (Ticket #3042 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 07:03:59 +00:00
nate
6c719eca1a
Removing Model test case 2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6144 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 04:05:04 +00:00
gwoo
16ee2d2661
fixing fieldSuffix in Helper::setEntity(), closes #3724 added tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 04:08:19 +00:00
gwoo
98859c8c72
updating FormHelper to use fieldset instead of p. Inline styles are still used on these elements. We are not promoting the use of inline style, merely attempting to make life easier. Also, this adds a fieldset to multiple checkboxes if there is a group and also wraps the multiple checkboxes in divs and provides proper label for and input id attributes. also some changes to generic css to handle markup. Closes #3703
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 00:46:21 +00:00
gwoo
b6b2696488
allowing RequestHandler to load helpers for extension from any path, closes #2230
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-11 03:01:46 +00:00
nate
4689258464
Adding REST route matching fixes (Ticket #3665 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6135 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 16:59:57 +00:00
nate
78b1452fca
Adding assertions to model test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6134 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 09:01:14 +00:00
nate
e56b92255f
Adding lower bound for page numbers in Controller::paginate() (Ticket #3683 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6133 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:54:27 +00:00
nate
0b9f2c1b9d
Array handling fix for Paginator and additional test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6132 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:46:01 +00:00
nate
c2db2a3936
Adding test case for Model::saveField() (Ticket #3687 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:22:20 +00:00
nate
5c11da9c3d
Adding whitelist-enabled fixes for TreeBehavior (Ticket #3472 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6130 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:09:46 +00:00
mariano.iglesias
91ecdfdf15
Fixing tests for AjaxHelper and PaginatorHelper since code blocks generated by JavascriptHelper are now XHTML complaint
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6129 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 07:10:19 +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
mariano.iglesias
5adbf2d75b
By default codeBlock generates XHTML strict valid blocks.
...
All options to JavascriptHelper functions are now set via array. Functions that use codeBlock (such as event) also allow options for codeBlock to be sent in $options array.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6127 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 21:24:05 +00:00
phpnut
5cb90731f2
"Closes #3664 , Some units tests for Set::pushDiff();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6126 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 17:27:45 +00:00
gwoo
f3d0b54cb3
fix for Helper::setEntity(), tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 10:55:42 +00:00
mariano.iglesias
7d8bf76744
Adding tests for RssHelper::items
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 20:05:03 +00:00
phpnut
34227c0f68
"Fixes #3702 , Radiobutton field ids conflict when using 2 models with the same fieldname"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6122 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:55:44 +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
gwoo
adcba2cc2d
updating Helper::value, adding some tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6118 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 01:16:14 +00:00
phpnut
4dbd53e3d9
"Fixes #3645 , DboSource::conditions() bug ($conditions = null, $where = false)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:39:43 +00:00
phpnut
13530f42dc
"Correcting typo"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:03:13 +00:00
phpnut
61eebea0f4
"Refactoring Controller::paginate()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6105 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:58:23 +00:00
nate
a61b32c91e
Adding fix for AjaxHelper::form() (Ticket #3582 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:42:59 +00:00
nate
73d4844b22
Adding log file creation test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:40:23 +00:00
nate
6a8c1474e0
Adding fix and updating test case for Model::find('count') (Ticket #3581 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6100 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 21:39:43 +00:00
nate
00dc6dedb5
Adding fix for Controller::paginate() when default model is loaded from a plugin (Ticket #3660 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6098 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-30 22:27:43 +00:00
phpnut
625b86dc9b
"Fixes 3655, $form->end() is missing 'div' customizability when passing to $form->submit();
...
Added additional tests, updated doc comment"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6096 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-29 07:33:51 +00:00
gwoo
86dafa3009
updating Set::map() to return an array of objects if the key is numeric. Changed __identity__ to _name_, updated tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 17:57:59 +00:00
phpnut
d13c836ae9
"Correcting tests for php 4"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6090 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 02:14:24 +00:00
gwoo
21bea5ffb5
updating Set class and added valid test, fixes #3652
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6088 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:33:10 +00:00
phpnut
c6f9c4bdb1
"Fixes #3589 , Model::deconstruct() undefined index notice with $data['meridian']
...
Fixed loading of classes in Model test"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 18:00:06 +00:00
gwoo
101ebba716
updatin HtmlHelper::css() to accept .css?1234, closes #3503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6080 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:17:25 +00:00
gwoo
28ada1f684
updating HtmlHelper::nestedList() to accept string type ul/ol as second attribute, also closes #3144
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:12:51 +00:00
gwoo
ad95d87d6d
updating schema test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6075 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 05:34:58 +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
f80e92825c
"Fixing Configure tests with recent changes to the Configure class"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6061 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 01:18:17 +00:00
gwoo
eba8f6770b
updating Sanitize::clean() odd spaces, fixes #3576
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6046 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:05:40 +00:00
gwoo
072495f5e1
updating TextHelper::autoLinkUrls(), fixes #3597
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6043 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 05:36:20 +00:00
phpnut
c83ae0e1a9
"Fixing path search for fixtures in the test suite"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 01:55:50 +00:00
gwoo
01230b92b1
refactoring Set::map() and reverse, all tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6035 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 21:04:58 +00:00
gwoo
d0f2aaaa62
fixing test for Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6033 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 18:33:40 +00:00
gwoo
6fe654cd9e
adding test for Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6032 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 18:20:47 +00:00
the_undefined
effc9d4029
Added initial cookie jar support to HttpSocket
...
Added test coverage for it
Fixed bug in HttpSocket::buildCookies()
Fixed 'Connection: close' not closing the connection bug
Fixed some issues with HTTPS connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 17:19:20 +00:00
phpnut
be493341fa
"Correcting svn properties"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 04:51:06 +00:00
gwoo
fcdc5ad640
adding support for 0 key in multiple records in View::entity(), added tests to Helper test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6025 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 14:08:37 +00:00
gwoo
31fac597bd
adding test to dispatcher, closes #3613
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6023 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 22:52:15 +00:00
the_undefined
0eed95dda2
Added $mode parameter to HttpSocket::buildHeader
...
Implemented an initial not yet standards conform cookie parse / build function
Added support for a $chars parameter in token escaping
Modified HttpSocket::parseHeader()s default behavior for duplicate fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6022 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 20:57:42 +00:00
the_undefined
cc3614804f
Fixed some https / magic port recognition issues with HttpSocket::url
...
Added some more tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6021 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 18:55:50 +00:00
the_undefined
922ca3b7cb
Implemented a HttpSocket::url function
...
Fixed some problems with HttpSocket::request
Greatly improved test coverage on HttpSocket::request
Added test for HttpSocket::url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 16:51:11 +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
the_undefined
b3afc463ac
Added a new $altKey parameter to normalizeFindParams
...
Refactored the unit test for it and added more samples
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6018 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 06:14:27 +00:00
the_undefined
266d7ba738
Fixed test case for normalizeFindParams
...
Slightly refactored normalizeFindParams
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6017 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 23:31:15 +00:00
nate
6f38be85f4
Laying groundwork for Model::find() refactor code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 22:46:55 +00:00
nate
4823b91a94
Adding HelperTest to Helper test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6014 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 22:45:03 +00:00
nate
b3e4b64aa6
Adding Helper/FormHelper fixes for field names which are like model names (Ticket #3588 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6011 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 04:27:24 +00:00
nate
3c7d0e90ee
Adding test to disprove Ticket #3506 (DboSource::order())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6010 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 03:57:15 +00:00
phpnut
c000940e36
Closes #2119 Only define clone() in PHP4 when it hasn't been already defined.
...
Closes #2213 , Support multiple plugin paths.
Closes #2234 , filepaths to behavior classes should be cached in class.paths.php also
Closes #2345 , ability to group components into subfolders
Closes #2645 , Improvement to basic.php for class loading.
Fixes #3526 , Cache::write, when using just the config name, it fails.
Fixes #3559 , loading plugin model as assoc don't work.
Closes #3567 Controller Folders (Note this does not need routing to work, but controller names can not conflict with others in the same application so naming must still be unique)
Fixes #3579 , email.php component: Parse error with php 4.
Adding new class and file importer.
Updated most of the core to use the importer.
Added ClassRegsitry::init() that will create and instance of an object and store it in the registry.
Deprecated most of the load functions in basics.php
Plugin model loading now forces using the dot notation, to use models within a plugin, all the model associations must be in the PluginName.Model syntax, if this is not used, the plugin will look for the models in the main app/models directory first, if not found then it will search the plugin directories recursively until it finds a model.
var $belongsTo = array('SomeModel'); will look for some_model.php in the app/models
var $belongsTo = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
var $belongsTo = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php
The controllers of the plugin will still look for the default models inside the plugin if var $uses is not set:
var $uses = array('SomeModel'); will look for some_model.php in the app/models
var $uses = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
var $uses = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php
All of the above will work between plugins and main app
These changes also allow placing model and controllers is sub directories
Removed old class.paths.php file generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 09:35:19 +00:00
mariano.iglesias
58d9d38be1
Adding tests for input magic with multiple checkboxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6000 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 05:27:16 +00:00
mariano.iglesias
499fdf88b5
Adding tests for FormHelper::select() to test multiple checkboxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5996 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-15 20:07:46 +00:00
gwoo
cf4aabd315
adding cache test model fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5995 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-15 09:52:29 +00:00
nate
a58f675ab9
Adding test cases for Set::map()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5993 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-14 22:29:14 +00:00
phpnut
dbe9beb6cb
Refactoring [5988]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5989 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 17:31:37 +00:00
phpnut
eb6c94a01e
Closes #2781 , $form->input on date fields renders maxYear and minYear in $options as HTML attributes.
...
Closes #3181 , Year list ordering in FormHelper order is now formated descending.
Fixes #3524 , FormHelper->month, day, year, hour, and minute should use $selected if it is supplied.
Fixes #3558 , post validation don't pass if form use only hidden fields.
Fixes #3568 , Saving datetime fields is broken in scaffolding.
Fixes #3574 , Typo in Session class.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 11:31:43 +00:00
phpnut
11d295eb0c
Fixes #3507 Session Security.level "high", session destroyed on media 404.
...
Added ability to turn off HTTP_USER_AGENT check in a Controller::beforeFilter(),
Added id() to Session helper and component to return current Session id, the component accepts a $id parameter to force setting the Session id which must be called in a Controller::beforeFilter().
Sessions id are not longer renewed if a request is from Ajax, or from requestAction();
When Security.level (1.2) or CAKE_SECURITY (1.1) is set the 'high' renewing of Session id only happens if request is 2 seconds after the last request.
Added $_Session[Config][timeout] which forces renewing Session if request are within the 2 second limit and over 10 request.
If an application is expected to make multiple request (more than 10) to the server in a single proccess, Configure::write('Security.level', 'medium'); (1.2) or $this->Session->security = 'medium'; (1.1) should be used in a beforeFilter for the specific methods.
1.2 Sessions allow using CacheEngines to store Sessions, be aware that using memory caching as the only storage of Sessions is not reliable. Further work will be done to allow using the CacheEngines with database Sessions, etc.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5982 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 01:36:20 +00:00
phpnut
b867f832c1
Refactoring return of Set::map(); and Set::reverse();
...
Added new test cases to SetTest.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5979 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-11 23:49:30 +00:00
gwoo
3feac9a768
updating model Cache engine.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 08:00:59 +00:00
gwoo
e3e02ba775
updating test cases so ALL tests group will run
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5974 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 05:13:12 +00:00
gwoo
2edfe3dd53
updating Controller::redirect(), closes #3522 , deprecated Controller::cleanUpFields, see Model::deconstruct()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5973 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 02:34:00 +00:00
mariano.iglesias
a9bafdedb4
Removing forcing of table name for CakeTestFixture when importing schema and records from existing model.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5972 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 02:04:42 +00:00
gwoo
18c916fc76
adding tests, closes #3550 , closes #3513 , fixes #3556
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5971 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 01:36:34 +00:00
gwoo
d303a64f65
refactoring Helper::setEntity, adding test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 00:17:44 +00:00
nate
58ead8aa5c
Adding Helper test for suffixless fields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5966 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 00:37:55 +00:00
mariano.iglesias
2bc997dcdf
Adding tests for non existing nor validated fields in models per gwoo request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5964 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 23:01:58 +00:00
mariano.iglesias
9b01ce7066
Adding support for Set::countDim() to count dimensions in all branches of an array, not just the first element. Set second parameter of countDim to true to get the real dimension of the array (regardless if the deepest depth is on first element).
...
Adding better documentation and test cases for countDim
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 18:54:32 +00:00
phpnut
e48e49073b
Fixes #3486 , Incorrect rule in Inflector::singularize()
...
Added additional test for Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5957 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 05:12:37 +00:00
nate
59b726e312
Updating FormHelper test case for Ticket #3534 and Ticket #3533
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5954 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 00:27:20 +00:00
gwoo
23467f8800
updating Dispatcher::baseUrl() and added tests, fixes #3527
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5952 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 14:56:21 +00:00
nate
43ed8db5ea
Cleaning up test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5946 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:57:23 +00:00
nate
6040dd2779
Updating helpers with new form field naming scheme
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:07:59 +00:00
nate
506cba0dc9
Removing dependency on default database connection from all test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5944 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:05:00 +00:00
gwoo
5ccea91b91
updating error handling: messages, templates and css, updating home page messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5943 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 07:03:57 +00:00
gwoo
6a7b7a5c36
updating dispatcher, added test, fixes #3504
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5940 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-03 16:39:29 +00:00
nate
acc197827e
Additional core test groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5939 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-03 02:26:08 +00:00
gwoo
b1b8fcddd2
adding named to params so the proper args get passed to the action, updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-31 03:53:41 +00:00
nate
9b578c5bb1
Adding tests for incorrectly matched routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5931 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 22:41:55 +00:00
nate
1ab95d703f
Adding test case to explain how route prefix matching functions (Ticket #3494 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5924 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 14:49:03 +00:00
nate
d913e88ef5
Adding required route matching for passed params in reverse routing, adding fix for matching on optional route parameters (Ticket #3355 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5923 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 21:33:20 +00:00
nate
8f12e402df
Fixing ACL test, misc ACL lookup optimizations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5916 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 00:17:37 +00:00
phpnut
e1a0f554e1
Adding fix to only create fixture records if the table has been truncated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5914 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 19:42:16 +00:00
nate
7e9b05e429
Adding hidden form inputs for REST routing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 05:28:45 +00:00
gwoo
fbd3811cd1
removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
nate
fed7d601a2
Updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5910 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:33:52 +00:00
nate
a87a0e2a68
Refactoring schema generation, passing model tests with SQLite driver, refactoring database methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:32:19 +00:00
phpnut
f41aa80b78
Removing vars that are no longer used.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:32:17 +00:00
phpnut
8d6599c34b
Fixing bug for related records not being returned when using $recursive > 1.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-26 08:40:10 +00:00
phpnut
28d6ef1688
Fixes #3466 , Validation::url() fails for some common urls. Anything without the protocol is not a valid url so part of this ticket is invalid
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5901 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:55:41 +00:00
mariano.iglesias
9b57b59c28
Specifying an array of IDs in second model data to replicate #3455
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5896 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 22:08:19 +00:00
phpnut
7b914bab9f
Correcting tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5893 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 17:04:14 +00:00
mariano.iglesias
6591c8f79b
Adding test for #3455 replicating issue, Secondary model array in model data causes corruption
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5892 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:29:50 +00:00
mariano.iglesias
34a7d667db
Adding secondary data for testCreationWithMultipleDataSameModel
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5891 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:17:53 +00:00
mariano.iglesias
ec76d6aac3
Changing names for instance vars in test added for #3455
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5890 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:10:20 +00:00