Commit graph

2645 commits

Author SHA1 Message Date
phpnut
06b7a1cc05 Fixing return of $success in Model::save()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5895 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 18:53:25 +00:00
phpnut
353eab91d5 Adding fix for lost data in Model::afterSave();
Closes #2465, Model::save(); now returns the values of $this->data after a successful save;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5894 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 17:44:27 +00:00
phpnut
7b914bab9f Correcting tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5893 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 17:04:14 +00:00
mariano.iglesias
6591c8f79b Adding test for #3455 replicating issue, Secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5892 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:29:50 +00:00
mariano.iglesias
34a7d667db Adding secondary data for testCreationWithMultipleDataSameModel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5891 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:17:53 +00:00
mariano.iglesias
ec76d6aac3 Changing names for instance vars in test added for #3455
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5890 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:10:20 +00:00
mariano.iglesias
28b7fb5653 Reenabling disabled tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5889 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:07:36 +00:00
mariano.iglesias
8b7e01552c Adding another test for #3455, Secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5888 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 16:06:00 +00:00
gwoo
020e817815 updating router, adding test case fixes #3440
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5887 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 15:09:40 +00:00
phpnut
3b758d3979 Fixes #3447, core.php commented cache::config typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5886 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 11:39:05 +00:00
phpnut
31243741f9 Fixes #3442, Sanitize escape NULL becomes "UL"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5885 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 11:31:32 +00:00
mariano.iglesias
304bc01a9d Adding test for #3455, secondary model array in model data causes corruption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5884 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 03:32:34 +00:00
the_undefined
aca88deda4 Updated sample data / sample data extraction routine
Implemented initial MagicFileResource class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5883 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 02:59:59 +00:00
mariano.iglesias
3ced96f8be Fixes #3446, using regular expression testing when testing FormHelper::checkbox
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5882 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 02:51:15 +00:00
gwoo
6dc81ef856 updating i18n functions, fixes #3451
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5881 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 01:25:21 +00:00
nate
076f780ed6 Updating Model::findNeighbours() to allow array conditions and field lists (Ticket #1176 and Ticket #3231)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5880 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 13:41:25 +00:00
nate
585d0fc645 Changing FormHelper::create() back to being model-oriented
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5879 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 02:36:07 +00:00
phpnut
c86f10b3e4 Updating default.pot file.
Correcting home.ctp

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5878 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 02:24:49 +00:00
gwoo
fc41c77b68 updating home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5876 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 01:40:10 +00:00
phpnut
dc517ddc56 Merging changes and enhancements into the trunk:
Revision: [5874] Revision: [5873] Revision: [5872] Revision: [5871] Revision: [5870] Revision: [5869] Revision: [5868] Revision: [5867] Revision: [5866]
Revision: [5865] Revision: [5864] Revision: [5863] Revision: [5862] Revision: [5861] Revision: [5860] Revision: [5859] Revision: [5858] Revision: [5857]
Revision: [5856] Revision: [5855] Revision: [5854] Revision: [5853] Revision: [5852] Revision: [5851] Revision: [5849] Revision: [5848]


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5875 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 00:25:51 +00:00
phpnut
56425c7f39 Closes #3429, scripts_for_layout are lost when you send an email with EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5874 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 23:52:12 +00:00
gwoo
beb600094b updating FormHelper and scaffold edit template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5873 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 23:41:43 +00:00
phpnut
94d1899fd4 Fixes #3441, Sanitize::clean() doesn't pass options when doing recursion on array data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5872 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 23:34:20 +00:00
phpnut
cb6a38abaf Fixes #3430, Query broken when model having associations linked to model has same alias to a different model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5871 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 22:58:38 +00:00
mariano.iglesias
cd4ae338cc Adding documentation for RequestHandlerComponent, SecurityComponent, and SessionComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5870 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 21:22:35 +00:00
mariano.iglesias
b1f42ec4c5 Adding documentation for EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5869 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 21:03:47 +00:00
phpnut
89185ace25 Adding ClassRegistry::flush() to reset the registry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5868 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 20:58:55 +00:00
mariano.iglesias
ffde2a06dd Adding documentation for CookieComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 20:44:51 +00:00
gwoo
a9a9a824e2 update Cache to specify key paths with dot syntax, like Cache::write('my.key.is.here', $data);
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5866 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 20:39:36 +00:00
mariano.iglesias
aaca183da1 Adding test case for #3430, where different belongsTo bindings that use same class but different alias name in various models would break under certain circumstances
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5865 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 20:20:48 +00:00
gwoo
8a64dd33e3 fix to Cache::config() when no params are passed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5864 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 19:56:21 +00:00
phpnut
5a270f2220 Fixes #3435, In FormHelper::end($options), unable to use $options['submit'] with $options['label']
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5863 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:30:14 +00:00
phpnut
f5be2ded4b Adding fix to EmailComponent, would not use custom view.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:24:37 +00:00
phpnut
dfa840ad92 Fixes #3433, [5788] breaks email component under certain conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5861 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:14:49 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
1f9136eb18 Fixes #3432, Email component won't show smtp info during debug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5859 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:20:07 +00:00
phpnut
160cd28440 Correcting @return int
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
gwoo
190997988f adding cache check to bootstrap, fixes #3434
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5856 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:04:04 +00:00
phpnut
53b4a4b9f3 Improved performance when .mo is read in I18n::__loadMo()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5855 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:03:15 +00:00
mariano.iglesias
654ff430d4 Adding documentation to AclComponent and AuthComponent.
Removed unused method DB_ACL::__getObject()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5854 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 06:58:51 +00:00
mariano.iglesias
91b8d00aea Fixing phpdoc tags in CakePHP cache classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5853 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 06:23:57 +00:00
mariano.iglesias
2e896e5220 Fixing incorrectly position phpdoc blocks.
Adding more documentation to basic CakePHP functions and Dispatcher.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5852 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 06:17:16 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
phpnut
7bc3e307b7 Fixes #3420
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5849 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 04:44:39 +00:00
phpnut
0873217a1f Fixes #3427, MAGIC_QUOTES_GPC settings affecting parameters passed to actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5848 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 04:31:34 +00:00
phpnut
7767bb7e3d Merging changes and enhancements into the trunk:
Revision: [5845] Revision: [5844] Revision: [5843] Revision: [5842] Revision: [5841] Revision: [5840]
Revision: [5839] Revision: [5838] Revision: [5837] Revision: [5836] Revision: [5835] Revision: [5834]
Revision: [5833] Revision: [5832] Revision: [5831] Revision: [5830] Revision: [5829] Revision: [5828]
Revision: [5827] Revision: [5826] Revision: [5825] Revision: [5824] Revision: [5823]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5847 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 03:39:01 +00:00
phpnut
7ca924d661 Closes #3362, Changed self associated models so they no longer reference the single instance of the original model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5845 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 02:11:58 +00:00
nate
3f3bfa4a56 Adding $scripts_for_layout back to default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5844 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 01:43:56 +00:00
gwoo
aeaece94bf updating File::write() to handle different line endings, closes #3420
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5843 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 00:26:54 +00:00