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