Commit graph

14726 commits

Author SHA1 Message Date
phpnut
9bdd3cf9aa merging fixes from [712]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@713 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-25 23:23:44 +00:00
phpnut
d5ebd2f4b7 merging changes from [692] [693] [697] [699] [701] [704] [706] [707]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@709 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-25 16:40:50 +00:00
phpnut
cdf8fd5812 merging changes from [683] [684] [685] [686] [688] [689] [690]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@691 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-25 03:45:14 +00:00
phpnut
e9358bacbe merging fixes and changes from my sandbox up to last svn commit [675]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@677 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-24 03:08:37 +00:00
phpnut
bf7386ffa0 merging fixes from [652] [653] [656] [658] [659] [663] [666] [667]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@668 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-23 23:21:33 +00:00
phpnut
dcf9a8cc38 forgot to commit these changes to trunk and my own sandbox
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@635 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-22 04:25:26 +00:00
phpnut
184e0d06e8 re syncing all sandboxes and updated trunk with all the latest changes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@634 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-22 04:15:57 +00:00
phpnut
650c85809a merging changes from [619] [620] [622] [623] and [630]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@632 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-22 02:48:37 +00:00
phpnut
e2af5c8608 merging changes from [614]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@616 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-21 20:01:32 +00:00
phpnut
fbf4d9ee27 merging code from sandboxes since [430]
preparing for release .0.9.2

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@606 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-21 06:49:02 +00:00
phpnut
57ef2eba9b merging changes from [428]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@430 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-30 02:26:59 +00:00
phpnut
616dd7d9aa preparing for update made in [428]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@429 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-30 02:23:57 +00:00
phpnut
7c1d40c4f4 added preg_match to check that file is indeed a file ending in .js
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@419 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-28 16:41:40 +00:00
phpnut
6fd89c96d5 merging from source:whiteboard/sandbox/phpnut/pre_0.9.2 at [409]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@410 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-21 04:40:30 +00:00
phpnut
009383941a setting proper mime-type
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@408 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-21 04:33:53 +00:00
phpnut
9d1d0201ec merging from source:whiteboard/sandbox/phpnut/pre_0.9.2 at [404]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@405 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-21 04:02:32 +00:00
olle
f0075a2bd0 Put the new URLs into the README.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@404 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-20 13:29:04 +00:00
phpnut
36320ff8e4 Merging changes from revisions [353] [354] [355] [356]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@358 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-16 06:10:56 +00:00
phpnut
e0733f4749 Correcting mime-type on other files where I have found them set wrong
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@347 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-10 22:54:15 +00:00
phpnut
4237eec1f4 setting proper mime type. Do not know what this one keeps changing
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@346 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-10 20:07:01 +00:00
phpnut
3c5c99423d merging changes from source:whiteboard/sandbox/phpnut/pre_0.9.2 in revisions [343] and [344]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@345 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-10 07:49:30 +00:00
phpnut
6460f6e83f Merging changes from revisions [337] [338] [339] [340] [341]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@342 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-10 05:08:19 +00:00
phpnut
7791b8dcfe Added validation check to areaTag() with patch from Ticket #54 submitted by bgmccollum.
Note this will not work with the current Blog tutorial.
https://trac.cakephp.org/wiki/Cake/Tutorials/BlogPosts
We will update the tutorial with this change in next release.
Closes #54
Thanks bgmccollum

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@335 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-06 03:03:54 +00:00
phpnut
24c9c0478f Fixed broken method in the HtmlHelper.
HtmlHelper::inputTag() had the $size param removed.
HtmlHelper::inputTag() had variable with underscore in name still.
param in method was camelCased


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@328 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 21:00:43 +00:00
phpnut
8a2592ba3c fixed mime type setting on file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@327 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 11:47:03 +00:00
brego
4f1a6b89f8 Modified some docblocks - please, somebody make a better solution than using modelName/fieldName as param. See you in 20 days.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@326 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 11:21:45 +00:00
phpnut
b2ad3739b5 more cleanup for API docs to be generated without errors
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@324 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 04:30:45 +00:00
phpnut
6ca443861d more cleanup for API docs to be generated without errors
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@323 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 04:16:20 +00:00
phpnut
3500ca272c more cleanup for API docs to be generated without errors
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@322 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 02:59:39 +00:00
phpnut
c9d9cb8287 cleaning up the file headers so API docs can be created properly
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@320 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 02:07:21 +00:00
phpnut
c89c757806 fixed typo in cake url
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@319 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:52:07 +00:00
phpnut
e3146e2e79 removed duplicate NeatArray class in file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@318 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:49:09 +00:00
phpnut
e1a8b0335d renaming nstring.php neat_string.php
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@317 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:46:23 +00:00
phpnut
ff7bc90df9 renaming Nstring to NeatString
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@316 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:45:26 +00:00
phpnut
e48bc34562 renaming narray.php back to neat_array.php
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@315 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:40:33 +00:00
phpnut
1b30f48607 renaming narray back to NeatArray
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@314 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:39:06 +00:00
phpnut
0dd8b55d82 remove debug code left in before commit
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@313 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:30:52 +00:00
phpnut
9c84f9c981 check added for models being set
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@312 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:26:50 +00:00
phpnut
3b3a47e3f0 going thru trunk and cleaning up the file headers so API docs can be created properly
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@311 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:24:13 +00:00
brego
ec53963d40 Some PHP5 notices.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@310 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:23:27 +00:00
phpnut
8a806d7fc5 going thru trunk and cleaning up the file headers so API docs can be created properly
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@309 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 01:07:14 +00:00
brego
a6e5922d71 Changes in the description of the default page.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@308 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 00:53:17 +00:00
phpnut
e1f48bf379 going thru trunk and cleaning up the file headers so API docs can be created properly
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@307 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-04 00:48:04 +00:00
phpnut
a558a1e922 Form validation working now.
Be sure to review the changes made to the blog tutorial.
Some specific changes to note we pass model names in inputTag().
was: $html->inputTag('title', 40)
now: $html->inputTag('post/title', 40)

Also in the tagErrorMsg() we pass the model name.
was: $html->tagErrorMsg('body', 'Body is required.')
now: $html->tagErrorMsg('post/body', 'Body is required.') 
https://trac.cakephp.org/wiki/Cake/Tutorials/BlogPosts


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@306 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-03 23:54:50 +00:00
phpnut
1178a63db4 Added flash method back to the controller for now
Will work on moving this out again at a later time


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@305 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-03 19:09:39 +00:00
phpnut
301731fb1a Corrected the use of View class instance.
It looks like the way you where coding it was to be used as a Singleton.
In Controller::render() I am setting all View() attributed by pass reference.
I do not think it will effect other parts of the system.

You can see why I did this by uncommenting the print_r function in View::render().
Reload url in browser.
Then in Controller::render() remove the & from:
$view->autoRender =& $this->autoRender;
This is the only one that seems to cause array to print.

This may also caused in the Router::connect().
Look at this if you get time.
I noticed that each setting in the conf/routes.php file calls outer::connect();
Tee profiler show this happening 6 times on current install from trunk
Router::parse() is called 2 times.


We really need to get some good unit test in place.

Also speeded things up a little.

Profiler test:

Before changes on default install from trunk

Between:
Total Request Time: 13013.4 Milliseconds
Total Request Time: 13065.84 Milliseconds
28 files

After changes
Between:
Total Request Time: 10230.99 Milliseconds
Total Request Time: 10511.59 Milliseconds
27 files



git-svn-id: https://svn.cakephp.org/repo/trunk/cake@304 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-03 07:07:47 +00:00
phpnut
cad49da852 fixed mime type setting on file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@303 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-03 00:15:26 +00:00
phpnut
5db836ec59 merging css changes from Kamil's sandbox that I forgot
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@302 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-02 23:20:03 +00:00
phpnut
75cce3f107 Merging changes from Kamil's sandbox.
Beginning refactoring to bring current trunk to a usable release.


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@301 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-02 22:49:04 +00:00
phpnut
4089572c5f testing new server and maillist 4th
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@299 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-02 04:44:46 +00:00