Commit graph

2898 commits

Author SHA1 Message Date
phpnut
92d2625186 merging change from [911]
Refactoring Dispatcher::dispatch() created a private Dispatcher::_invoke().
Removed code that was no longer used by Dispatcher
Refactored duplicate code in Object::renderMethod();

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@912 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-19 20:07:16 +00:00
phpnut
59af4d3258 Merging changes from:
[905]
Refactoring renderMethod() moving to object class to make it available to whole system

[908]
Bug fixes to ticket #219.
Added bug fixes I found in code.
Fixed Router::parse(); which only checked lower case strings
Refactored renderAction method. Moved to object class to allow all classes to access the method now.
This will allow a User object to make a request to a Permsissions object checking.
For example: You have a User object that needs to check its permission to access
User object would make are request to Permission object.
$accces = $this->renderAction('/permission/allow/userid/');

You would then be able to use the results of $access in your controller.
To check this in the view
$accces = $html->renderAction('/permission/allow/userid/');

Simple as that.

[906]
Added sortable() to AjaxHelper as a method of creating sortables,
and refactored a fair amount of the code.

[907]
Coding standard corrections.

removed blank line at end of paths.php file

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@910 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-19 17:20:24 +00:00
phpnut
1d1c2cf171 Fixed error in the basics.php loadController()
This function was using require instead of require_once.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@903 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-19 02:15:45 +00:00
phpnut
5f1d672d5e Some changes to allow calling a method from another controller in the view.
helpers can now use this like a url to get methods return value:
$helpername->renderMethod('/controller/action/param/');
Refactored dispatcher.
Adding bug fix by nate in [894] [896]
Added extra param View::renderMethod()
Fixed bug related to #72, #111, #113, #209
Some of those tickets where closed as duplicates already

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@900 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-19 01:16:05 +00:00
phpnut
1a93ab942f merging changes made in sandboxes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@893 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-18 18:58:45 +00:00
phpnut
a86866a7a1 merging [880] [881] [882] and [883] fixes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@884 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-18 13:25:20 +00:00
phpnut
7eb53efb5b Added variable correction make in [876]
Ticket #216 closed

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@877 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-18 10:08:10 +00:00
phpnut
02f5dfb43f merging fixes to the trunk,
re syncing sandboxes

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@875 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-17 22:20:28 +00:00
phpnut
00aa3c66d2 merging fixes into trunk from [869]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@870 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-17 12:37:05 +00:00
phpnut
29a1ee9043 merging fixes into trunk from [857] [858] [859] [860] [861]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@862 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-17 07:56:32 +00:00
phpnut
1dce095546 merging changes from sandboxes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@856 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-17 02:22:07 +00:00
phpnut
37da997748 Last test for changes made in client
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@822 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-14 04:29:16 +00:00
phpnut
be9b1ddc7b adding missing test file
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@820 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-14 04:13:21 +00:00
phpnut
3c97ea8474 merging changes from [816]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@819 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-14 04:11:56 +00:00
phpnut
24cc71311e merging changes from my sandbox
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@812 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-14 02:58:23 +00:00
brego
c45c15bb50 Fix for #169.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@803 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-13 19:56:19 +00:00
phpnut
e640ab7596 merging from my sandbox
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@798 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-11 12:45:10 +00:00
phpnut
f6662921c2 merging from my sandbox
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@795 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-11 04:51:40 +00:00
phpnut
731cc517e9 merging changes to tests from my sandbox
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@789 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-11 02:35:47 +00:00
phpnut
6019c0d98d merging changes and bug fixes from sandboxes
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@757 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-09-07 01:52:45 +00:00
phpnut
7c7a2151ab updating trunk with bug fixes and other modifications
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@737 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-28 16:33:50 +00:00
phpnut
4c5e5ec9a2 Merging changes from [714] [715]
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@716 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-08-26 04:03:51 +00:00
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