Commit graph

653 commits

Author SHA1 Message Date
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