mark_story
ea9c080b1c
Adding alterSchema() to dbo_postgres. Also handles index alters. Tests added for field and index alter sql.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7923 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-16 04:38:48 +00:00
mark_story
48c65c4092
Adding index() to dbo_postgres. Tests added for index introspection. Also fixes object to string conversions when working with database expressions. Fixes #5867
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7922 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-15 02:25:55 +00:00
TommyO
a601129d46
Brings odbc driver mostly up-to-date. Fixes #5730
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7921 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-14 18:36:40 +00:00
phpnut
0d3ea7a5f2
Adding fix when join table does not have a primary key 'id' defined
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7918 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-12 17:19:27 +00:00
mark_story
43af288eca
Adding index(), alterSchema(), dropSchema() support to MySQLi driver. Refactored MySQL & MySQLi drivers. Updated and fixed tests.
...
Fixes #5824
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7915 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-11 00:13:11 +00:00
nate
2c64c449bc
Correcting Flash detection in RequestHandler, adding tests. Fixes #5838 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7914 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 13:55:58 +00:00
mark_story
569b9dd48a
Adding index() to dbo_sqlite. Tests added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7913 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 03:38:10 +00:00
phishy
caa063590d
Fixed #5800 . Fixed INSERTs broken by refactoring of DboSource::renderStatement()
...
Also added slightly more support for CakeSchema with DboOracle
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7912 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 01:30:36 +00:00
mark_story
d405d1d1c3
Adding indexes to alterSchema() and CakeSchema::compare(). Thanks for the test case and patch 'bamyers99'. Fixes #5862
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7910 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-09 04:54:58 +00:00
mark_story
930a2d954f
Fixing infinite loop in AdoDB when trying to get result sets with more than on result. Fixes #5846
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7908 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-08 03:13:45 +00:00
mark_story
cf3a194807
Modifying getInstance() to allow subclasses to work properly. Tests added. Changed __output() to protected.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7906 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-07 20:44:00 +00:00
mark_story
b2b4c4be47
Adding App::import() to app_helper files. Fixes issues with Missing Helper Class, and allows you to use helpers in shell classes. Fixes #5458
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 16:49:43 +00:00
gwoo
4dd105d415
fixes #5829 , form helper using proper method reference for parseAttributes. A patch would have been nice, but some ticket submitters prefer not to make much effort.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7902 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-01 19:39:40 +00:00
mark_story
c49f213fcf
Adding spaces before self close of meta link elements. W3C recommends a space before />. Fixes #5821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-30 05:25:37 +00:00
mark_story
090028403b
Fixing FormHelper dateTime creation when using custom empty strings and null values. Tests added. Fixes #5769
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-29 00:28:31 +00:00
phpnut
4cdbd4edd9
Removing unreachable code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7896 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-27 04:52:45 +00:00
gwoo
9d2f59529c
fixes #5684 , Set::extract() without index 0
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 22:33:21 +00:00
phpnut
92e04703b7
Adding ability to turn off Camel Casing of nodes in Xml::toArray();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7894 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 18:21:21 +00:00
mariano.iglesias
da39ce77b9
Fixing order of associated results on test that was making a test to fail. Fixing issue where HABTM conditions were not being taken into account when deleting links. Adding tests, fixes #5798
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7893 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 14:15:51 +00:00
renan.saddam
aa1abdda9a
Applying previous patch to _checkValid method. Fixes #5450 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7892 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 16:35:20 +00:00
mariano.iglesias
f9557c7611
Fixing issue where radio elements would produce wrong hash when Security component enabled in FormHelper, fixes #5791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7891 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 16:32:54 +00:00
mariano.iglesias
acaaa7ee64
Resetting error on Validation (patch from francky06l), fixes #5797
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7890 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 13:05:57 +00:00
phpnut
69f883a89f
Adding $data['attrib'] back to RssHelper::channel(); after more research use cases for this were found.
...
Related test case added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 05:54:31 +00:00
phpnut
2444b29cd5
Fixes #5778 , Order of L10n map array (esp. fre, fra)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 04:23:53 +00:00
mark_story
cfa2229689
Fixing incorrect implementation of RssHelper::channel(). Test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7887 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 23:10:29 +00:00
mark_story
acb9e72355
Minor refactor to helper callback triggering. Moving repeated loops to _triggerHelpers(). Allows View subclasses to add additional callbacks.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:36:06 +00:00
mark_story
ace8ef4b5a
Applying patch from 'tyler'. Updates Ajax helper to reflect updated scriptaculous API. See http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor . Fixes #5790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7885 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:23:31 +00:00
AD7six
d80e527e5b
fixes #5776
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7882 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-20 16:53:45 +00:00
AD7six
2f51ccca04
fixes #5772 .
...
Sql errors when using reserved words for a field name with the tree behavior.
Test Case restructured to allow thorough testing of the various permutations inwhich the tree behavior can be used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-20 13:57:44 +00:00
mariano.iglesias
ffab7024f0
Fixing issue where when multiple Memcache servers were being specified, only first would make it. Adding tests. Fixes #5767
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7879 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-19 21:19:23 +00:00
mark_story
8759f4ae28
Fixing reset of Model::__exists when create() is called. Test added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7878 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-19 15:53:41 +00:00
mark_story
6c2d6dbc0e
Fixing greedy Sanitize::stripTags(). Fixes #5758 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7876 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-16 05:00:41 +00:00
mark_story
6806b895cb
Fixing merging of actsAs and _findMethods from PluginAppModel classes. Adding test cases and necessary test classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 20:24:27 +00:00
AD7six
b43128c809
Ensuring that the auth component never redirects to an external link.
...
Tests updated to match code changes and tests added for external referer examples
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7874 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 09:07:22 +00:00
nate
f06401c563
Correcting regex that parses default values from schema in DboMssql, fixes #5748 . Thanks Pixilation for the patch and test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7873 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 02:00:02 +00:00
renan.saddam
400fadd091
Fixing TranslateBehavior bug when $query['recursive'] is set. Fixes #5593 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7869 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 19:45:30 +00:00
TommyO
11f0817341
Improved strip method for performance and clarity.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7866 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 19:54:15 +00:00
gwoo
a99ca57762
fixes #5687 , adding Controller::methods to hold available methods for called controller, refactored auth and dispatcher to use this property
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7864 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 16:34:05 +00:00
mark_story
eccfea3429
Fixing ModelBehavior::detach() when non 0 index behaviors are detatched. Tests Added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 00:17:37 +00:00
mark_story
6285f0cb6d
Moving __outputMessage to _outputMessage. Changing method from private to protected. Closes #5729
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7861 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 00:14:38 +00:00
gwoo
d5b21b68a5
reverting changes to model from [7857], start/endQuote added to datasource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7860 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 19:53:04 +00:00
nate
1a6a0d1788
Fixing test for DboSource::expression(), moving $startQuote and $endQuote from DboSource to DataSource.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 18:57:50 +00:00
mariano.iglesias
dde4906195
Adding patch by dardosordi. Making all calls to header in SecurityComponent go through Controller. Fixing issue where invalid basic auth credentials would not trigger another login request. Added tests, fixes #5732
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 17:18:00 +00:00
gwoo
aed9872ce2
removing startQuote/endQuote from Model::getColumnType() closes #5719
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7857 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 16:16:36 +00:00
mark_story
9f7e3a3060
Adding optimization to ModelBehavior from davidpersson. Closes #5665
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7856 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 04:58:15 +00:00
TommyO
6dc11420ee
Field type improperly and unnecessarily checked for HABTM inserts. Fixes #5718
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7855 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 20:55:51 +00:00
nate
fde0d21053
Cleaning up and finishing code formatting changes in View class.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7854 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:37:24 +00:00
nate
16eebce7f7
Adding support for DboSource::expression(), plus test in Model case. Fixing code formatting in model test and View class -- wrapping lines at 100 characters.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:20:14 +00:00
nate
ab152bd291
Updating AjaxHelper docblocks and fixing code formatting -- lines wrap at 100 characters. Fixes #5701 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7852 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 22:15:43 +00:00
mariano.iglesias
e9953e3f93
Fixing issue where JavascriptHelper::link was generating wrong URLs when webroot is defined and appending timestapping. Fixing issue in previous commit. Fixes #5723 , fixes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7851 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:45:00 +00:00
mariano.iglesias
81e2f4a044
Fixing commit in r7843 so real files are accounted for
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:34:51 +00:00
renan.saddam
6319f8ea69
Removed trailing whitespaces from core.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +00:00
TommyO
e40ea525f0
Added tests for validation for slightly better coverage.
...
Minor refactoring of Validation class inspired by a number of recent bug reports. Mostly for consistency and clarity.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7845 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:55:36 +00:00
mariano.iglesias
8777b8ef96
Fixing issue where double call to webroot on HtmlHelper::css was generating wrong URLs when forcing asset timestamp, fixes #5723
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7843 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:24:51 +00:00
mariano.iglesias
8da2a5208f
Adding multibyte support to TextHelper::truncate, fixes #5610
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7842 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:07:17 +00:00
DarkAngelBGE
e882d990d7
adding test manager test case, some whitespace changes throughout the testsuite and the schema model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:33:13 +00:00
mark_story
b478cde990
Removing 'update' check from firebird driver. Closes #5554
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7837 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 02:48:14 +00:00
renan.saddam
aab80c3526
Bringing coverage to 90%, also removing unused $files variable.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7836 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 01:08:18 +00:00
renan.saddam
50752a840a
Added support to multiline plural message string. Fixes #5663 .
...
Converting "\r\n" (Windows) to "\n" (Non-Windows) when extracting and when translating the message.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 22:57:50 +00:00
renan.saddam
9f090d0772
Applying patches from 'davidpersson'. Fixes #5688 , #5689 .
...
Skipping permission test if SO is Windows.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7833 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 18:00:56 +00:00
AD7six
b7587d2d55
fixes #5696 incorrect timestamp definition generated by Posgres schema
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7832 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 13:22:57 +00:00
renan.saddam
f4e2b3e24b
Handling numeric columns unsigned. Fixes #5695 .
...
Also added some tests to MySQL and MySQLi.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7831 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 02:15:12 +00:00
AD7six
0ed0eea73b
modifying cache file engine, to match file class changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7830 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 19:32:45 +00:00
AD7six
22143dbbed
Optimizing File class
...
adding a public path property
Changing references to File::pwd() to refer to the path variable
Reducing execution time inbetween testing a file exists and attempting to delete it to a minimum
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7829 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 19:21:49 +00:00
AD7six
b12a5739a2
updating documentation for url validation, making the regex easier to edit. Ref #5685
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7828 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 16:29:10 +00:00
AD7six
2a9b8643db
Correcting index detection to not include the fields from a previous index, where several mult-field indexes
...
exist
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7827 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 13:44:05 +00:00
mark_story
ea30a48c5a
Fixing validation of URLs with round brackets. Patch from 'dho' added.
...
Closes #5685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7826 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 03:49:55 +00:00
gwoo
dfca7b08b1
closes #5703 . optimization for folder::read(), thanks davidpersson.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7824 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 02:18:49 +00:00
gwoo
e2a5f38b36
updating translate recursive handling, fixes #5593
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7823 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-04 01:41:27 +00:00
renan.saddam
171fa62b94
Added tests to cover bug with recursive = -1. Refs #5593 .
...
Did a refactoring to TranslateBehavior and moved all tests from translate.test.php to models.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7821 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 23:58:44 +00:00
renan.saddam
2d40c78c63
Updating docblock of File::size. Fixes #5697 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7819 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 18:20:57 +00:00
mariano.iglesias
0ec977a02b
Small performance optimization to previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7818 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-01 14:16:06 +00:00
mariano.iglesias
dc35135dd9
Fixing issue where empty encoding would trigger a warning in Multibyte
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7817 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-01 14:04:08 +00:00
john
5a0ab7b220
Updating docblocks and adding @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 20:49:23 +00:00
john
0fd3badee4
Updating docblocks and adding @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7815 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 20:17:26 +00:00
john
989f9f0cbc
Removing method no longer in use.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7811 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:06:05 +00:00
john
89bf77ae01
Updating docblock wording and @link ties.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7810 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:05:30 +00:00
john
44781d2ef9
Updating Component docblocks with @link and editing docblock text.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7809 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 19:39:18 +00:00
john
863adabe12
Updating Controller docblocks with @link and updating docblock content and grammar.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7808 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 19:30:17 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
TommyO
2d5773be6b
Fix warning when FULL_BASE_URL is unknown. fixes #5683
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7804 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 15:05:46 +00:00
renan.saddam
25ec40600c
Reverting previous commit - pg_escape_string($connection, $data) is PHP5-only.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7803 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 11:54:43 +00:00
nate
40bf675589
Refactoring DboSource to remove use of str_split, adding $read (false to calls to) DboSource::value() inside DboSource::create(), cleaning up code formatting, fixes #5598 , fixes #5682
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7802 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 05:03:01 +00:00
renan.saddam
f8ead3efac
Handling non-expected locale and removing duplicated code block. Fixes #5671 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7801 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 03:10:40 +00:00
gwoo
53296d975c
adding patch for model text committed in [7799]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7800 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 00:11:32 +00:00
phpnut
a90ade78a9
Removing unused code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7796 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 07:35:48 +00:00
gwoo
6624d41ecd
updating habtm save handling, fixes #5579
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7795 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 07:19:26 +00:00
nate
318c2b4952
Correcting SecurityComponent form hash generation when handling arrays, fixes #5588 . Fixing code formatting in FormHelper test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7794 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 06:55:42 +00:00
phpnut
8ede5d21d3
Removing unreachable code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7793 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 06:44:15 +00:00
renan.saddam
41d82920f5
Fixing issue with rounded values in NumberHelper::toReadableSize. Fixes #5676 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7790 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 01:15:59 +00:00
mark_story
ee8ff1d5ac
Fixing HABTM saving with saveAll(). Tests added. Fixes #4389
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7789 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 00:22:52 +00:00
john
b5a77bc0a9
Space-aligning header.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-28 17:29:28 +00:00
john
a9a3bbcc6b
Updating docblock wording; adding @link tags where applicable.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7787 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-28 17:08:14 +00:00
mark_story
97cd2c5aef
Committing patch from 'fernyb' to add support for with key in AjaxHelper::autoComplete()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7785 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 23:47:00 +00:00
gwoo
ea5be23d3c
closes #5664 and closes #5206 . FileEngine warnings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7784 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 22:34:09 +00:00
mark_story
5a2db7a5b4
Fixing interaction between Model::_clearCache() and CacheHelper. Cached view files for camelCased controller or underscored URL's were not being cleared. Fixes #5611
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7783 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 18:51:38 +00:00
mark_story
b3a6a06f80
Applying patch from 'BrendonCoz'. Model::deconstruct() now allows null for time column types. Closes #5659
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7782 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 15:02:01 +00:00
mark_story
2d1483e1e5
Updating formHelper::dateTime() to work correctly with string timestamp values. Closes #5621
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7781 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 14:53:06 +00:00
renan.saddam
1c9b1d0d78
Removing unnecessary str_replace call.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 11:25:19 +00:00
AD7six
d8ad330bca
correcting quotes which cause "undefined constant cache assumed 'cache'.." error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 08:03:36 +00:00
renan.saddam
a04af731ab
Allowing custom mime types and adding more default mime types. Fixes #4517 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7778 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 01:12:09 +00:00
AD7six
ce0a71aef7
fixes #5603 Duplicate first parameter from the paginator with existing url args
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7777 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 22:20:03 +00:00
phpnut
d3896854f5
Adding fix for join table using UUID's as the primary key.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 13:29:32 +00:00
nate
16e2579f01
Correcting Security component to treat POST data arrays as a single field for validation purposes, fixes #5588
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 03:18:08 +00:00
mark_story
3a7ccff571
Minor refactor to earlier code.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7773 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 02:05:34 +00:00
mark_story
1b456f2cf1
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
mark_story
8cf8ee93ea
Fixing requestAction parameter merging. Url params were being incorrectly set to empty array for both string urls and array urls. Tests added. Fixes #5628
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7770 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 17:12:30 +00:00
mark_story
c2fee87b63
Added patch from 'shirsch' to fix Model::deleteAll() not returning a boolean value when callbacks = true. Updated test. Closes #5546
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 02:37:05 +00:00
AD7six
f32e557e9c
converting ini_get statements to use strict comparisons where loose comparisons were used
...
correcting zlib comparison to expect ini_get to return a string, rather than a boolean.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7768 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-21 12:15:28 +00:00
TommyO
f5a8ce4612
Fixed bug where bcc was visible to all recipients when using smtp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 17:09:42 +00:00
mark_story
5f0fd5241e
Fixing String::insert() to allow '.' in parameters, added tests to show usage of String::cleanInsert(). Closes #5627
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7764 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 23:56:41 +00:00
gwoo
f9f1c4df50
adding umask to file so cache files will be created without throwing an error when transitioning from shell to browser
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 20:11:41 +00:00
gwoo
f861d685d5
refactoring shell paths, also closes #5451 , shell to return exit values
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7762 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 19:54:56 +00:00
mark_story
66cfeee8c7
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 01:23:33 +00:00
renan.saddam
e3fb56f6be
Fixing bug when primaryKey is not id. Fixes #5615 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7757 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 00:01:36 +00:00
renan.saddam
24949e30e0
Added tests to PagesController and removed twice call to count().
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 23:52:54 +00:00
phpnut
760f79f4ec
Closes #1855 , Separate translation files per plugin. This is now supported using !__d() and !__dn().
...
Example singular usage: !__d('plugin_name', $string, true); returns translated singular string from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
Example plural usage: sprintf(!__dn('plugin_name', '%d = 1', '%d = 0 or > 1', $number, true), $number ); returns translated plural strings from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
Closes #5007 , Support for multiple additional locale paths. Configure::write('localePaths', $paths); accepts an array of $paths. $localePaths = array(); can also be used in bootstrap.php
Added Configure::$shellPaths; additional paths can be set in bootstrap.php $shellPaths = array();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7754 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 05:16:00 +00:00
gwoo
0a8274332a
fixing issue with plugins in primary components introduced in [7745]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7749 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:37:19 +00:00
phpnut
f51ae718e6
Closes #5607 , Configure::store can no longer be uses statically.
...
Corrected test cases to call Configure statically.
Added fixes for tests added in [7741]
Closes #5594 , Related models should be built when $useTable = false;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:30:08 +00:00
nate
19975a2cf6
Fixing issue where startup() / shutdown() etc. were being called on components not directly attached to the controller. Only initialize() should be called on sub-components.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 13:07:46 +00:00
nate
6a06194292
Fixing locking for file-based cache, fixes #5541
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7744 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 12:42:03 +00:00
nate
1b9357f5e8
Correcting behavior of layering allow/deny calls in AuthComponent, fixes #5595 , formatting fixes for RequestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7743 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 02:52:19 +00:00
phpnut
4c2a3ee02f
Closes #5591 .
...
Modified models in models.php setting the with key since these models are not used unless the with key is defined in the association.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7740 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-13 01:17:34 +00:00
phpnut
f139b0312f
Fixes #5591 Dynamic With Models broken after changeset [7732]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7739 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 22:21:55 +00:00
phpnut
a170464d3c
Reverting changing Router::compile(); to private method. Since this method is called using an instance of the Router we can still remove code that called Router::getInstance();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 14:23:16 +00:00
phpnut
404e4ed2c6
Fixing @access tag
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 04:00:48 +00:00
phpnut
47f78d13a0
Adding more optimizations for the static classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:52:24 +00:00
phpnut
3c50e54213
Closes #5542 Duplicate cookies
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:29:10 +00:00
phpnut
aa248a126f
Closes #5560 Class Registry::_duplicate call for getObject returns false it will cause an error
...
Added additional optimizations.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:36:39 +00:00
phpnut
2f85fefa29
Closes #5557 model.php and App::__settings try to import inexistent class Behavior
...
Removed loading of ModelBehavior in App::__settings(); this it not needed since the behavior is loaded in the model.
Added additional optimizations.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:33:12 +00:00
phpnut
93a54735d6
Fix loading of dynamic 'with' model, each dynamic 'with' would attempt to find and load the file 5 times, fixed so no it longer attempts loading a file if the 'with' key is not defined in the association.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:16:43 +00:00
phpnut
26a503ee33
Refactoring I18n for performance.
...
Added changes needed for tests added in [7724]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-11 03:22:41 +00:00
mark_story
c128505a2c
Adding read() into CookieComponent::del() so that values will always be populated. Reversing change from [7725]. Fixes #5563
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 17:24:10 +00:00
AD7six
26c7262acc
correcting message as to how to override core error message for missing_connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 16:12:15 +00:00
mark_story
aa217716b9
Applying patch from 'halogenandtoast' Fixes issues with deleting cookie values before read() is used. Closes #5563
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 01:16:04 +00:00
gwoo
88e5d14c3c
small fix to the Cache::read() use of Cache::set() when using default configuration
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 23:24:28 +00:00
gwoo
9a22018e40
removing some unneeded code from scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 22:26:33 +00:00
renan.saddam
42241b2b27
Removing if block missed from an older refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:16:39 +00:00
mark_story
136f9c4b6d
Removing getAco(), getAro(), setAco(), and getAco() from AclComponent. These methods were deprecated and not removed. Refs #5561
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:35:17 +00:00
TommyO
d5dbb7ba32
Fixed problem where already-authorized user was failing.
...
Added return of respond code found on success, allowing for more fine-grained post-query activity.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:53:48 +00:00
mark_story
5c962accc1
Fixing timehelper::fromString when input time is invalid.
...
Tests added and renamed for better consistentancy with other tests.
Closes #5556
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:19:07 +00:00
renan.saddam
e184838451
Adding tests to L10n and refactoring to be more readable.
...
Removing duplicated entry of es-mx. Fixes #5087 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 14:01:50 +00:00
mark_story
acce4fa54e
Adding interval to minute() attributes when timeformat = 24.
...
Tests added.
Closes #5428 , refs #4641
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 16:57:22 +00:00
phishy
091325bcd1
Fixes #5539 - $config prototype was not being set correctly
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 00:55:51 +00:00
the_undefined
38bc438fc7
Applying patch by rnowotniak, fixes #5523
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 10:43:57 +00:00
mark_story
b5473a5f9b
Refactoring variable names, more readable variable names.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 02:44:05 +00:00
nate
ae8a6b958a
Disabling query caching in DboMssql::listSources(), fixes #5514
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 22:06:56 +00:00
nate
34c5f74300
Changing handling of numeric node values in Xml class, fixes #5520
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 19:50:38 +00:00
nate
b29f805632
Allowing $attributes param of FormHelper::select() to be null, fixes #5518
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:55:41 +00:00
mark_story
b2bda3d1bd
Changing spelling of neighbours to neighbors. Closes #4948 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:23:13 +00:00
mark_story
2a115d0fa3
Updating doc block for Model::find() adding references for missing find types. Closes #4948
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 18:06:15 +00:00
john
f3de3ce9af
Adding svg and svgz mime types to the media view, both as 'image/svg+xml'.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 16:25:35 +00:00
gwoo
443491e7fa
reverting changes from 7668
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 02:16:09 +00:00
nate
300dbc5e91
Correcting how parameters and default values are merged in Controller::paginate(), fixes #5503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:46:26 +00:00
nate
62184023d5
Allowing custom salt values in Security::hash(), thanks Jippi
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:03:52 +00:00
TommyO
3da0451907
Added basic mb_encode_mimeheader() to Multibyte class.
...
Modified EmailComponent to take advantage of multibyte support. fixes #5448
Modified EmailComponent to fix newline issues in long subject lines when using mail send method. fixes #5049
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 18:36:38 +00:00
nate
2bfd5a4b3e
Refactoring schema test and fixing formatting, refactoring Model::_findCount() to use DboSource::calculate() in all cases, closes #4501
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 15:27:29 +00:00
nate
8758f36915
Correcting table index formatting for schema generation in DboPostgres, fixes #5471 , docblock formatting fixes in ClassRegistry.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 18:59:17 +00:00
mark_story
1ae8cda6c2
Adding documentation to beforeValidate(). Closes #5498
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7681 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 00:13:15 +00:00
nate
4b8acf4647
Adding 'type' key to both sets of query calls in Controller::paginate(), fixes #5441
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7680 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 21:19:37 +00:00
nate
badfb42c6a
Fixing issue with file upload inputs not being factored into form security hash, closes #5489
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 16:23:39 +00:00
mark_story
bf3e254987
Removing secure() from FormHelper::submit(). Removes creation of multiple _Token inputs when multiple submit buttons are created. Fixes #5490 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 01:58:27 +00:00
the_undefined
aab1e506a1
Fixes #5225
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-28 17:41:23 +00:00
TommyO
901c64abde
Minor refactoring to better respect static method definitions, and to improve on unnecessary singleton instances.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 17:57:48 +00:00
mark_story
e8945ef04f
Fixing doc block and method visibility doc tag for Configure::buildPaths(). Closes #5488
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7672 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 14:56:32 +00:00
mark_story
b6f9e1e537
Correcting scaffold view file implementation. Was incorrectly using separate add and edit templates. Changes bring scaffold templates more inline with bake templates.
...
Tests added to cover use with both primary app and plugins. Refs #4862 and closes #5484
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7671 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-27 03:48:23 +00:00
john
6ad3cfa0ef
Enhancing Set::map() so that it doesn't override manual setting of _name_. Test case enhanced to make sure it does so.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 21:11:51 +00:00
gwoo
f8f4bcc16c
fixes #5482 , playing with model that uses alias
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 15:27:36 +00:00
mark_story
1a0d87ba83
Correcting type and expanding documentation for Model::invalidate(). Closes #5481
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 15:14:31 +00:00
gwoo
e6b994bcb1
updating handling of required classes, fixes #5480
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 14:03:16 +00:00
mark_story
370b20dce6
Minor optimizations
...
Closes #5249 and #5282
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7664 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 00:46:53 +00:00
mark_story
62168bfe0f
Updating doc blocks to include access and return PHPDOC tags.
...
Removing use of e() in Debugger.
Fixing code formatting in CookieComponent
Closes #5477
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 16:49:56 +00:00
nate
ee36956000
Minor security class refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 23:05:51 +00:00
nate
eb7fb6d7e3
Re-implementing form hashing security to using string-based keying. Fixes #5262 , fixes #5300
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 23:02:14 +00:00
renan.saddam
3f8c959ab3
small refactoring for the ClassRegistry
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 13:37:06 +00:00
DarkAngelBGE
5aade5b581
small return home early refactorings for the set class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7655 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 12:08:24 +00:00
DarkAngelBGE
cc425a5e0a
adding a couple whitespace corrections (trailing tabs, newlines, ..)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 11:52:29 +00:00
renan.saddam
3459fef98f
Fixing wrong class_exists check. Fixes #5474 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7653 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 02:12:35 +00:00
mark_story
3662f8c4d0
Changing how Folder Class is loaded. Fixes infinite loops resulting in segfault under apache 2 when Cache.disable = true and debug = 0. Closes #5458
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7651 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 00:33:54 +00:00
DarkAngelBGE
4ce3f21608
adding missing options array in Model::beforeValidate(0 and Model::beforeSave() as they are called with them out of the model and it is good practice, although they are meant to be overriden; closes #5470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 18:50:27 +00:00
DarkAngelBGE
e245d18ed8
fixes #5469
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7648 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 12:04:02 +00:00
DarkAngelBGE
c8ab1ec092
small readability refactorings for Set::filter() and Set::matches()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 11:33:36 +00:00
mark_story
676459224c
Adding patches from andy__ to dbo_odbc
...
Schema related functions will not work due to the way odbc works.
Closes #5398
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7646 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 02:59:05 +00:00
DarkAngelBGE
caa4e321f2
Fixing unneeded conditions in child queries when conditions are present in the model declaration; fixes #5323
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7645 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 20:08:31 +00:00
nate
24b444ca55
Fixing behavior initialization in model construction, adding Set::flatten() utility method for future refactoring, updating Set test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7644 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 16:32:41 +00:00
gwoo
ea7981023b
updating doc block for Cache::set() refs #5460
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7643 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 13:06:26 +00:00
phpnut
8b45eeed8b
Fixing MediaView so it will stop reading file when connection is aborted.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 05:35:36 +00:00
mark_story
fafb01b09d
Fixing modelClass when using plugin models.
...
Added TestPluginPost to test_app/test_plugin
Test case added.
Closes #5459
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7641 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 04:10:49 +00:00
nate
d9b357d05c
Making Model::$_findMethods protected, and fixing fatal error when table calls are attempted on a model with a missing table
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:09:16 +00:00
nate
80c1950530
Refactoring FormHelper security token generation, fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:06:37 +00:00
nate
fc5b128d68
Refactoring Auth test, adding coverage, and enabling custom Ajax layouts (as specified by RequestHandler), fixes #5446
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7637 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-20 20:18:16 +00:00
mark_story
9482105abe
Applying patch from renan_saddam. Fixes session checkAgent logic. Closes #5450
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7636 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-20 13:51:49 +00:00
nate
91838d6d5d
Fixing bug in RequestHandler::prefers() not respecting accept order for single items, test case updated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7634 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 19:48:22 +00:00
the_undefined
740bd4e769
Partial fix for #5225
...
Corrected expected behavior for 2nd issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 18:08:27 +00:00
gwoo
931d996d90
fixes #5438 , multiple binding with alias
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7632 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 15:27:43 +00:00
mark_story
768e25c4fd
Updating Controller::paginate(). Custom paginate() and paginateCount() methods now receive $extra params similar to find('all') and find('count') do. Allows the use of things like 'contain' with custom paginate() methods.
...
Test case added. Closes #5433 refs #5123 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7627 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 00:46:20 +00:00
phpnut
953db61447
Adding ability to cache content rendered with MediaView.
...
Fixed header()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7625 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 06:37:35 +00:00
mark_story
0f9a4e0470
Optimizing in_array() checks to isset().
...
No more in_array($a, array_keys($b)) patterns exist.
Closes #5161
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7624 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:40:28 +00:00
phpnut
8ae5866a1c
Additional optimization refactoring
...
Removed ability to use deprecated / with plugin, helper, etc combinations. The dot notation is only allowed from this point forward.
Corrected tests for the above changes.
Corrected formating in basics.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:09:19 +00:00
nate
66240f0c5d
Refactoring DboPostgres and adding '.' to sequence name detection, fixes #5424 , fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7620 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 00:23:17 +00:00