Commit graph

264 commits

Author SHA1 Message Date
phpnut
15be9d3cb9 "Fixes #3862, set_time_limit(0) has no effect because of ini_set('max_execution_time', 60 * 5);
changed max_execution_time , 0. Since php 4.3 this is the default anyway"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 13:53:03 +00:00
phpnut
d754adb067 "Updating controller tests created with the console.
Added associated fixtures to model tests"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-07 13:35:14 +00:00
phpnut
d6bcff4797 "Removing var $useTable; from generated model when tables follow conventions
Fixed issue with model tests and fixtures not being created properly when Model name does not match table name"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6331 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 19:39:25 +00:00
phpnut
92fedc4f76 "Removing unneeded :"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:23 +00:00
phpnut
abdf753c9e "Adding support for test fixture generation when creating models, this will eventually be moved to a task.
Currently the $records are hard coded to create field type specific data, this will eventually be changed to create random data based on the field type.
Refactored tests that are created for models, 3 working tests are not created when generating tests for the model.
Added notice output to terminal when creating a project, the CAKE_CORE_INCLUDE_PATH is automatically altered and may need to be changed when moving to a production environment. "

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 19:31:29 +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
phpnut
53ff7d9904 Removing unused directories from app/pages.
Merging changes from app/ to skel/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 21:33:51 +00:00
nate
181aa97ca1 Adding String class to shell boostrap, fixes #3793
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 13:14:43 +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
nate
6a2a24cfc9 Updating help text for ACL shell interface, fixes #3790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:30:46 +00:00
gwoo
cedaddbc08 updating controller task with i18n wrappers, closes #3490
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:27:53 +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
gwoo
040f9cca8b updating plugin task, fixes #3781
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:53:58 +00:00
gwoo
1b10036712 updating model task, fixes #3782
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:48:00 +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
gwoo
4f97057a62 fix for DbConfig task caused when plugin support was added to bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:41:56 +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
gwoo
17610a5287 closes #3302, Render is to meant to output and allow the program to continue executing. Redirect generally serves to stop the program and start fresh with something new. This changeset makes exit the default behavior on redirect.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:17:48 +00:00
gwoo
0a703ef8c0 adding 'cake bake all' see cake bake help for more info, also refactored tasks (api changes) and class registry, closes #1470, closes #3612, closes #2697, closes #3412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:24:56 +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
gwoo
34fb530de5 oops forgot to add plugin task file on commit. fixes #3758
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 16:28:52 +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
1752d936d9 updating controller task, fixes #3728, removing \ from view task, fixes #3750
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 23:03:52 +00:00
gwoo
1d6a63a29a updating schema create
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-18 18:19:30 +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
phpnut
26247895aa Copying email templates to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6154 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 21:12:37 +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
d793d40dac update api shell core paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6082 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:22:32 +00:00
gwoo
39b37c5c34 updating api shell, will now show comments about a method. normalizing paths in configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:08:50 +00:00
gwoo
838dd9022d updating shells for new App::import
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6078 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 18:49:41 +00:00
gwoo
b6b192fda6 adding i18n and sessions schema files. command modified slightly to : cake schema run create DbAcl, cake schema run create i18n, and cake schema run create Sessions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6077 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 16:01:49 +00:00
gwoo
ff8faa5318 updating AclShell, added check comand, closes #2780
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 15:27:42 +00:00
gwoo
caefdbb6d7 updating console params, schema, db acl schema, and deprecated api shell initidb in favor or cake schema run create -name DbAcl, closes #3566
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 23:12:57 +00:00
phpnut
73e57b27d7 Renaming files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 18:45:18 +00:00
gwoo
7fae75753d updating home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6070 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 18:40:56 +00:00
gwoo
901d785fa2 adding db_acl_schema.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6067 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 19:25:19 +00:00
gwoo
8cdc99d530 updating skel home page, fixes #3636
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6066 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 18:23:13 +00:00
gwoo
681c449f35 updating COMPRESS_CSS doc bloc, fixes #3529
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6052 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:57:57 +00:00
gwoo
b5173d0349 updating cake.generic.css, fixes #3616
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6049 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:31:00 +00:00
gwoo
10f259c95b updating model task, fixes #3610
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 07:21:46 +00:00
nate
f9e8e82b5b Fixed debug output style for displaying whitespace
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 23:13:52 +00:00
phpnut
cae7db2011 "Updating console scripts to use App::import()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6013 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 17:37:23 +00:00
gwoo
597026bc4c adding additional drivers to db config task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5977 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 15:50:33 +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
gwoo
431f2c2a88 updating schema generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5969 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 19:06:06 +00:00
gwoo
05a5aa3bc7 updating bake test file generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5963 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 19:34:06 +00:00
phpnut
90d6659918 Correcting file naming for test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5962 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 19:26:31 +00:00
phpnut
67164f18ce Closes #3519, Broken pot files multiple files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5958 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 05:20:35 +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