nate
fd99791566
Removing all references to AUTO_OUTPUT, adding HtmlHelper::meta() for creating <link /> tags, and enhancing HtmlHelper::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3414 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 21:54:50 +00:00
dho
d9a8b09653
Adding support for 3rd party bake tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3413 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 08:16:04 +00:00
nate
5db9faa1df
Adding Set class to replace NeatArray
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3412 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 09:44:01 +00:00
nate
866ea4bd5e
Adding automagic content-type-to-view-template mapping for use with Router::parseExtensions(). Also adding default XML template.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3411 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:05:00 +00:00
nate
2acff78b48
Adding Helper callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3410 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:03:32 +00:00
nate
48cd623b92
Deprecating NeatArray
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3409 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:02:59 +00:00
nate
be1737114c
Adding $primary parameter to Model::afterFind() (and Behavior::afterFind())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3408 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:00:54 +00:00
nate
cfa4ed3516
Refactoring Controller::set() and removing Controller::_setArray()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3407 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 07:58:10 +00:00
nate
8fadeb3146
Fixing Controller::postConditions() to use $this->data if no parameters are passed
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3406 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 07:53:45 +00:00
dho
f12f312b2e
Adding missing constants
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3405 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 07:33:33 +00:00
nate
7971fc0de6
Refactoring model SQL and DataSource references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3404 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-17 11:44:29 +00:00
dho
a00c14ec0d
Adding base class for bake tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3403 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-17 08:32:51 +00:00
dho
883844a78e
Adding infrastructure for a more flexible bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3402 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-16 16:20:55 +00:00
nate
86e9b9090a
Adding 'IS NULL' fix from Ticket #1075 , and fixing join issue with AND NOT
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3401 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-15 19:19:39 +00:00
nate
444adfdae8
Moving extension data from params['extension'] to params['url']['extension']
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3400 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 17:03:40 +00:00
nate
34ec833441
Adding file extension parsing to Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3399 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 16:46:42 +00:00
nate
6a39b35df6
Adding additional data for pagination, and fixing docblock formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3398 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 13:06:21 +00:00
nate
ceb5c9c6f1
Making Router accessible as a singleton
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3397 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 13:02:51 +00:00
nate
1de5fee5bb
Adding View::set(), allowing templates/elements to set variables for layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3396 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 01:18:28 +00:00
nate
8622b6f9ce
Removing debug code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3395 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:06:39 +00:00
nate
02ed400c61
Fixing issue in FormHelper::select() with $options array numeric keys being reset
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3394 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:05:59 +00:00
nate
9c75c34b62
Updating HtmlHelper::link and HtmlHelper::url docblocks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3393 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 04:15:19 +00:00
nate
44b45bd4e5
Adding array-based URL support in HtmlHelper::url(), and refactoring HtmlHelper::link()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3392 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 03:57:41 +00:00
nate
f7d7a2be73
Changing pagination key names
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3391 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 03:55:51 +00:00
nate
381ccff146
Fixing loader loops
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3388 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-08 21:17:20 +00:00
nate
d78ef4d1fe
Adding initial controller-side pagination implementation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3387 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-08 17:33:57 +00:00
nate
5792e45b09
Fixing PHP5 evaluation for versions below 5.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3386 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-08 16:38:02 +00:00
phpnut
33519d37ad
"Refactoring last commit for admin check"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3383 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 11:51:10 +00:00
phpnut
6cade0a681
"Adding fix for admin being searched in entire string"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3382 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 11:32:42 +00:00
dho
ba14aac3a0
Typo (PHP5 changed to !PHP5)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3381 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 07:46:14 +00:00
nate
0c59c8d284
Moving methods from RequestHandler to Sanitize
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3380 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 01:22:57 +00:00
phpnut
3fb0c55b47
"Fixing errors when CSS not showing after recent fixes to error class"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3379 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 01:10:44 +00:00
nate
cd381d62cf
Adding fix for empty option group names in FormHelper::selectOptions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3378 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 00:48:25 +00:00
nate
951e257fa2
Removing model references to phpversion()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3377 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 23:21:36 +00:00
nate
0f69646186
Duplicating fix from [3373]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3375 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 22:51:59 +00:00
nate
f2a89197e2
Optimizing loops in uses() and vendor()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3374 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 22:51:30 +00:00
nate
1dfe482574
Converting Inflector to a singleton, and adding inflection cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3372 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 18:05:25 +00:00
nate
c9652ffaaa
Adding PHP5 constant ((bool)phpversion() > 5)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3371 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 18:00:49 +00:00
nate
26977195c3
Fixing class name reference in TextHelper ('Html' -> 'HtmlHelper')
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3370 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 17:55:01 +00:00
phpnut
34651c4811
Adding fix for Ticket #1272
...
Fixes exploit with XSS and DEBUG === 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3362 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-05 22:59:01 +00:00
phpnut
0e527f46bf
Reomved doc block comment from FormHelper class.
...
Corrected change made to the $expires variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3358 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:07:50 +00:00
phpnut
d0d1ce73cd
Added FormHelper::create() to use in place of deprecated
...
HtmlHelper::formTag().
Fixed SecurityComponent so the _Token can be wrote to sessions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3357 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:03:39 +00:00
phpnut
3c8148924e
Added layout to the cached view.
...
Added check in View::renderCache() for xml layout, if the layout is xml
then correct header will be sent.
Before it would render text output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3356 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 19:31:57 +00:00
phpnut
badf1edc0b
Added missing vars to cached files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3355 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 19:17:56 +00:00
phpnut
7232325624
Added TimeHelper::gmt()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3354 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 18:50:06 +00:00
phpnut
36ae60d0e7
Making changes to Security class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3353 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 06:49:51 +00:00
nate
905117bbc6
Duplicating fixes from [3351]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3352 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-02 03:28:53 +00:00
phpnut
cf6d284b29
Added patch from Ticket #1229
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3350 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 21:58:13 +00:00
phpnut
d8c447013e
"Added fix for Ticket #1251
...
CakeSession::renew() is called now after"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3349 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 21:26:00 +00:00
nate
d30ff86369
Duplicating changeset [3344]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3345 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 04:20:51 +00:00