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