mariano.iglesias
490ac83313
Adding more documentation for Controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5926 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:21:23 +00:00
gwoo
65c106b2c5
updating dbo_postgres, fixes #3198 , cguyer provided more info over IRC and tested change
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5925 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 16:17:58 +00:00
nate
1ab95d703f
Adding test case to explain how route prefix matching functions (Ticket #3494 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5924 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 14:49:03 +00:00
nate
d913e88ef5
Adding required route matching for passed params in reverse routing, adding fix for matching on optional route parameters (Ticket #3355 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5923 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 21:33:20 +00:00
gwoo
72a4970764
updating scaffold and baked views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5922 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 19:32:53 +00:00
gwoo
cce99ee386
fix for FormHelper not picking up habtm fields with latest schema changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5921 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 16:20:37 +00:00
phpnut
6dabd38589
Correcting undefined variable notice
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5920 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 04:00:28 +00:00
gwoo
10d31dc8c6
updating scaffold templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5919 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:54:56 +00:00
phpnut
3ce7ff6d8e
Refactoring of scaffold and bake.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5918 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:14:07 +00:00
phpnut
6ab2b013bc
Initial refactoring of scaffold and bake.
...
Removing unused vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5917 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:04:08 +00:00
nate
8f12e402df
Fixing ACL test, misc ACL lookup optimizations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5916 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 00:17:37 +00:00
gwoo
0f6c59ce50
removing TimeHelper::trim() closes #3049
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5915 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 21:42:24 +00:00
phpnut
e1a0f554e1
Adding fix to only create fixture records if the table has been truncated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5914 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 19:42:16 +00:00
nate
7e9b05e429
Adding hidden form inputs for REST routing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 05:28:45 +00:00
gwoo
fbd3811cd1
removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
gwoo
00c7daf8bd
fix for param order in Dispatcher::__getController()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5911 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 23:35:39 +00:00
nate
fed7d601a2
Updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5910 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:33:52 +00:00
nate
a87a0e2a68
Refactoring schema generation, passing model tests with SQLite driver, refactoring database methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:32:19 +00:00
gwoo
ae9cdb78f4
fixed usage of empty params in ShellDispatcher, fixed missing variable in ProjectTask, updated SchemaShell and generation. Schema can now generate a snapshot, and can be forced to generate before models are created. Added 'run' command to handle create and update of the database. Test runs can be performed using -dry. Be sure to check out cake schema help.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:00:29 +00:00
phpnut
d5ca583326
If Configure::read('Session.checkAgent') has not explicitly set false, 'HTTP_USER_AGENT' will be checked
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5907 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 19:06:19 +00:00
phpnut
19d99d13a0
Removing unneeded code in model::__generateAssociation();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5906 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 05:29:11 +00:00
phpnut
7bc90a2eb1
Fixes #3474 , Plugin Models Not Loading for 1.2.0.5875 pre-beta release.
...
Remove deprecated loadPluginController() from basics.php
Fixed changed loadPluginController to loadController in CacheHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 03:27:09 +00:00
phpnut
f41aa80b78
Removing vars that are no longer used.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:32:17 +00:00
phpnut
f25e3b273c
Removing deprecated Controller::generateFieldNames(); and Controller::_selectedArray();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5903 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:15:11 +00:00
phpnut
8d6599c34b
Fixing bug for related records not being returned when using $recursive > 1.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-26 08:40:10 +00:00
phpnut
28d6ef1688
Fixes #3466 , Validation::url() fails for some common urls. Anything without the protocol is not a valid url so part of this ticket is invalid
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5901 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:55:41 +00:00
nate
ce2f730320
Fixing API shell script to work with core classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5900 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:21:33 +00:00
gwoo
3b60dd5d5f
adding File::prepare() for fixing line endings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5899 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:10:31 +00:00
phpnut
f57fc45d6f
Fixes #3455 , Secondary model array in model data causes corruption
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5898 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 02:53:54 +00:00
gwoo
c68aedb9c4
removing line ending code from File::write(), adding it to bake, fixes #3460
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5897 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 02:22:40 +00:00
mariano.iglesias
9b57b59c28
Specifying an array of IDs in second model data to replicate #3455
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5896 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 22:08:19 +00:00
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
gwoo
1987814eff
adding patch to router for named args, closes #3391
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5842 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 00:07:39 +00:00
gwoo
4330ce884d
updating default layouts and tests previous commit removed unused images and added new ones for new layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5841 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:50:09 +00:00
gwoo
77d77c3f78
updating default layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5840 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:49:28 +00:00
mariano.iglesias
c3a735a2c1
Adding documentation for PagesController and Scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5839 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:38:01 +00:00
gwoo
9ba2857f0d
updating folder test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:37:31 +00:00
mariano.iglesias
3e4f219df4
Adding documentation for Controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5837 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 22:49:53 +00:00
phpnut
1704efa50a
Fixes #3419 , $text->autoLink does not preserve existing links
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5836 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 22:21:28 +00:00
gwoo
acdeadde01
adding router test, closes #3425
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 21:51:40 +00:00
nate
c8b6269a64
Refactoring find*() methods into Model::find(), i.e. Model::find('all', array('conditions' => ...)), findCount()/find('count') results are no longer filtered
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5834 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 18:34:23 +00:00
gwoo
c4a4fec745
updating basics, closes #3397 and adds a change of cake-debug css for 2964
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5833 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 17:54:15 +00:00
phpnut
b584fe28c0
Fixes #3424 , Scaffold add no longer working, produces "Invalid Id" error message
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5832 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 17:37:25 +00:00
gwoo
b2f8bf21f8
fixes #3423 , Folder::find() and undefined variable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5831 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 15:39:42 +00:00
nate
717e278550
Fix for [ticket:3409 TreeBehavior moves item on save of existing item]
...
Minor changes to behavior removing references and need to $force
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5830 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 14:18:46 +00:00
AD7six
7addec3dcc
Removing invalid testMoveLast which relied on incorrect logic in the tree behavior
...
Adding testSaveNoMove to address [ticket:3409 TreeBehavior moves item on save of existing item]
Adding tearDown code to aide debugging in the future.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5829 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 07:50:51 +00:00
nate
712276510e
Adding $scripts_for_layout to default layout (Ticket #3336 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 06:06:23 +00:00
phpnut
d923ffbd94
Reverting changes made to model.test.php in [5822]
...
Reverting changes made to model.php in [5815]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5827 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:44:26 +00:00
nate
5f0b855632
Adding 'binary' column support to MySQL (Ticket #1757 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:42:57 +00:00
nate
bc28d91b40
Changing Model::hasAny() to not query associations (Ticket #2816 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5825 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:32:23 +00:00
gwoo
2eec6dc943
allowing beforeFilter or Component::startup() to change params. closes #1643 . Removed Controller::$namedArgs, passedArgs provides the same functionality, updated dispatcher test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5824 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 23:59:46 +00:00
gwoo
7a1ec65ee7
adding sort param to Folder::find() and findRecursive(), closes #1385
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5823 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 22:03:58 +00:00
mariano.iglesias
cfc6a21316
Adding test that thows failing behavior with null values when calling Model::set()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5822 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 21:09:24 +00:00
phpnut
0457fb9411
Merging changes into the trunk:
...
Revision: [5819]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5821 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 13:34:31 +00:00
phpnut
f7a4ca1b53
Fixed failing DboSourceTest caused in [5816]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5819 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 12:40:19 +00:00
phpnut
7ac9f78048
Merging changes and enhancements into the trunk:
...
Revision: [5812] Revision: [5813] Revision: [5814] Revision: [5815] Revision: [5816]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5818 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 12:01:30 +00:00
phpnut
e1c26c9948
Fixes #2967 , Missing quotes cause SQL errors in some cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5816 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 11:45:09 +00:00
phpnut
e750c9d38f
Closes #3318 , When model calls invalidate, it would be usefull to use the __(messageID, true)
...
Fixes #2603 , Scaffold edit() should redirect to index() when no record is found.
Closes #2990 cake_sessions Needs A Database Name Setting, Configure::write('Session.database', 'default')
Closes #3120 , database - $config['encoding']; added new settings to database.php.default
Corrected errors when setting database configurations from console, would not allow changing setting on old configuration.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5815 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 10:14:30 +00:00
phpnut
ae9243e43d
Added translated string for 'Submit' in FormHelper::end()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:12:54 +00:00
phpnut
5ddf8f7180
Corrected missing second param in __() in FormHelper::submit()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:10:46 +00:00
phpnut
78cb76d41b
Corrected missing second param in __() in Dispatcher::dispatch()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5812 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:09:05 +00:00
phpnut
803a38105a
Merging changes and enhancements into the trunk:
...
Revision: [5428] Revision: [5429] Revision: [5430] Revision: [5431] Revision: [5432] Revision: [5433] Revision: [5434] Revision: [5435] Revision: [5436] Revision: [5437]
Revision: [5438] Revision: [5439] Revision: [5440] Revision: [5444] Revision: [5448] Revision: [5449] Revision: [5450] Revision: [5451] Revision: [5452] Revision: [5453]
Revision: [5454] Revision: [5455] Revision: [5456] Revision: [5457] Revision: [5458] Revision: [5459] Revision: [5460] Revision: [5461] Revision: [5462] Revision: [5463]
Revision: [5464] Revision: [5465] Revision: [5466] Revision: [5467] Revision: [5468] Revision: [5469] Revision: [5470] Revision: [5471] Revision: [5472] Revision: [5473]
Revision: [5474] Revision: [5475] Revision: [5476] Revision: [5477] Revision: [5478] Revision: [5479] Revision: [5480] Revision: [5481] Revision: [5482] Revision: [5483]
Revision: [5485] Revision: [5486] Revision: [5487] Revision: [5488] Revision: [5489] Revision: [5490] Revision: [5491] Revision: [5492] Revision: [5493] Revision: [5494]
Revision: [5495] Revision: [5496] Revision: [5497] Revision: [5498] Revision: [5499] Revision: [5500] Revision: [5501] Revision: [5502] Revision: [5503] Revision: [5504]
Revision: [5505] Revision: [5506] Revision: [5507] Revision: [5508] Revision: [5509] Revision: [5510] Revision: [5511] Revision: [5512] Revision: [5513] Revision: [5514]
Revision: [5515] Revision: [5516] Revision: [5517] Revision: [5518] Revision: [5519] Revision: [5520] Revision: [5521] Revision: [5522] Revision: [5523] Revision: [5524]
Revision: [5525] Revision: [5526] Revision: [5527] Revision: [5528] Revision: [5529] Revision: [5530] Revision: [5531] Revision: [5532] Revision: [5533] Revision: [5534]
Revision: [5535] Revision: [5536] Revision: [5537] Revision: [5538] Revision: [5539] Revision: [5540] Revision: [5541] Revision: [5542] Revision: [5543] Revision: [5544]
Revision: [5545] Revision: [5546] Revision: [5547] Revision: [5548] Revision: [5549] Revision: [5550] Revision: [5551] Revision: [5552] Revision: [5553] Revision: [5554]
Revision: [5555] Revision: [5556] Revision: [5557] Revision: [5558] Revision: [5559] Revision: [5560] Revision: [5561] Revision: [5562] Revision: [5563] Revision: [5564]
Revision: [5565] Revision: [5566] Revision: [5567] Revision: [5568] Revision: [5569] Revision: [5570] Revision: [5571] Revision: [5572] Revision: [5573] Revision: [5574]
Revision: [5575] Revision: [5576] Revision: [5577] Revision: [5578] Revision: [5579] Revision: [5580] Revision: [5581] Revision: [5582] Revision: [5583] Revision: [5584]
Revision: [5585] Revision: [5586] Revision: [5587] Revision: [5588] Revision: [5589] Revision: [5590] Revision: [5591] Revision: [5592] Revision: [5593] Revision: [5594]
Revision: [5595] Revision: [5596] Revision: [5597] Revision: [5598] Revision: [5599] Revision: [5600] Revision: [5601] Revision: [5602] Revision: [5603] Revision: [5604]
Revision: [5605] Revision: [5606] Revision: [5607] Revision: [5608] Revision: [5609] Revision: [5610] Revision: [5613] Revision: [5614] Revision: [5615] Revision: [5616]
Revision: [5617] Revision: [5618] Revision: [5619] Revision: [5622] Revision: [5623] Revision: [5624] Revision: [5625] Revision: [5626] Revision: [5627] Revision: [5628]
Revision: [5629] Revision: [5630] Revision: [5631] Revision: [5632] Revision: [5633] Revision: [5634] Revision: [5635] Revision: [5636] Revision: [5637] Revision: [5639]
Revision: [5640] Revision: [5641] Revision: [5642] Revision: [5643] Revision: [5644] Revision: [5645] Revision: [5646] Revision: [5647] Revision: [5648] Revision: [5649]
Revision: [5650] Revision: [5651] Revision: [5652] Revision: [5653] Revision: [5655] Revision: [5656] Revision: [5657] Revision: [5658] Revision: [5659] Revision: [5660]
Revision: [5661] Revision: [5662] Revision: [5663] Revision: [5664] Revision: [5665] Revision: [5666] Revision: [5667] Revision: [5668] Revision: [5669] Revision: [5670]
Revision: [5671] Revision: [5672] Revision: [5673] Revision: [5674] Revision: [5675] Revision: [5676] Revision: [5677] Revision: [5678] Revision: [5679] Revision: [5680]
Revision: [5681] Revision: [5682] Revision: [5683] Revision: [5684] Revision: [5685] Revision: [5686] Revision: [5687] Revision: [5688] Revision: [5689] Revision: [5691]
Revision: [5692] Revision: [5693] Revision: [5694] Revision: [5695] Revision: [5696] Revision: [5697] Revision: [5698] Revision: [5699] Revision: [5700] Revision: [5701]
Revision: [5702] Revision: [5703] Revision: [5704] Revision: [5705] Revision: [5706] Revision: [5707] Revision: [5708] Revision: [5709] Revision: [5710] Revision: [5711]
Revision: [5712] Revision: [5713] Revision: [5714] Revision: [5715] Revision: [5716] Revision: [5717] Revision: [5718] Revision: [5719] Revision: [5720] Revision: [5721]
Revision: [5722] Revision: [5723] Revision: [5724] Revision: [5725] Revision: [5726] Revision: [5727] Revision: [5728] Revision: [5729] Revision: [5730] Revision: [5731]
Revision: [5732] Revision: [5733] Revision: [5734] Revision: [5735] Revision: [5736] Revision: [5737] Revision: [5738] Revision: [5739] Revision: [5740] Revision: [5741]
Revision: [5742] Revision: [5743] Revision: [5744] Revision: [5745] Revision: [5746] Revision: [5747] Revision: [5748] Revision: [5749] Revision: [5750] Revision: [5751]
Revision: [5752] Revision: [5753] Revision: [5754] Revision: [5755] Revision: [5756] Revision: [5757] Revision: [5758] Revision: [5759] Revision: [5760] Revision: [5761]
Revision: [5762] Revision: [5764] Revision: [5765] Revision: [5766] Revision: [5767] Revision: [5768] Revision: [5769] Revision: [5770] Revision: [5771] Revision: [5772]
Revision: [5773] Revision: [5774] Revision: [5775] Revision: [5776] Revision: [5777] Revision: [5778] Revision: [5779] Revision: [5780] Revision: [5781] Revision: [5782]
Revision: [5783] Revision: [5784] Revision: [5785] Revision: [5786] Revision: [5787] Revision: [5788] Revision: [5789] Revision: [5790] Revision: [5791] Revision: [5791]
Revision: [5791] Revision: [5793] Revision: [5794] Revision: [5795] Revision: [5797] Revision: [5798] Revision: [5799] Revision: [5800] Revision: [5801] Revision: [5802]
Revision: [5803] Revision: [5804] Revision: [5805] Revision: [5806] Revision: [5807] Revision: [5808] Revision: [5809]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5811 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 06:39:14 +00:00
phpnut
e78fc1e90c
Fixes #3305 , Console i18n extract using wrong paths.
...
Closes #3396 , i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
6e848de479
Fixes #3334 , when using bake to create a new database configuration, all previous configs are lost
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 22:05:20 +00:00
phpnut
d9153f6352
Fixes #3417 , isset but empty username or password means passwords not hashed by AuthComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5807 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:49:29 +00:00
phpnut
7ebb27fccc
Fixes #2982 , TreeBehavior::verify, non-portable SQL, badly quoted conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5806 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:43:48 +00:00
phpnut
aba86fe522
Fixes #2981 , TreeBehavior::generateTreeList - non-portable sql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5805 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:31:09 +00:00
phpnut
5cb63a6460
Fixes #3418 , Model throws warnings when trying to save an empty array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5804 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:05:34 +00:00
gwoo
981b8fed56
updating cache some more
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5803 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 16:22:59 +00:00
phpnut
a6822f5d63
Closes #3376 , changed Dispatcher::_invoke() to pass empty array as parameter
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5802 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 09:15:25 +00:00
mariano.iglesias
07ad5c9853
Fixing usage of i18n
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5801 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 09:05:53 +00:00
phpnut
1674e9d936
Closes #2249 , enable Browser caching for js & css files in vendors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5800 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:57:53 +00:00
phpnut
fa1901f539
Closes #3182 , Model find conditions strip text after newlines
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5799 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:46:22 +00:00
phpnut
8268ba8c59
Updating AjaxTest with changes made for #3271
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5798 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:34:51 +00:00
phpnut
ffc1e3d93f
Adding additional fixes from #3271
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5797 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:46:19 +00:00
phpnut
5e48ab9bb8
Fixes #3271 , onclick="return false;" don't work in IE
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:41:42 +00:00
phpnut
160751a9d4
Fixes #3382 , class L10n locale mapping missed
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5794 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:29:39 +00:00
gwoo
9fdd1c3630
updating cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5793 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 05:11:43 +00:00
phpnut
28a36282c5
Fixes #3393 , Email headers get appended each time send() is called
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 04:08:50 +00:00
phpnut
d9f5bb7a35
Fixes #3288 , Erroneous URL validation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5790 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 04:01:04 +00:00
phpnut
34380bf243
Fixes #3411 , failing test when $data has more than one models data.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5789 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 03:33:19 +00:00
phpnut
cc7d1ab74c
Fixes #2462 mime_content_type() is deprecated in EmailComponent.
...
Closes #2909 , Emailcomponent SMTP authentication.
Closes #2916 , EmailComponent: Add read receipt header.
Closes #2969 , change default charset in emailcomponent from ISO-8859-15 to utf-8.
Closes #3304 , EmailComponent doesn't allow custom view class.
Fixes #3353 , Email Component, content not shown when a file is attached.
Fixes #3381 , Email::__wrap function ignores the $_newLine configuration property.
Fixed ThemeView::renderElement() to load helpers
Changed View::renderElement() to search core elements also
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5788 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 02:31:25 +00:00
gwoo
9131b253fa
adding default templates for email
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5787 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 19:55:20 +00:00
gwoo
bd7187b359
updating Cache default config and fixes notices if cache is not configured
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5785 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 07:08:45 +00:00
mariano.iglesias
7305d48215
Adding tests for #3288
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5782 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 21:45:24 +00:00
phpnut
a207a95893
Fixes #3187 and #3230 , Model -> save issue with fieldList and id
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5781 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 21:19:30 +00:00
phpnut
5c06492be7
Fixes #3065 , Ambiguous columns in Tree->children()
...
Removed notices from TreeBehavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5780 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 18:10:23 +00:00
mariano.iglesias
a1958bf820
Adding tests for i18n plurals, closes #3399
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5779 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:20:23 +00:00
mariano.iglesias
1545b730ae
Escaping value for FormHelper::textarea() and adding some tests, fixes #2921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:08:34 +00:00
phpnut
ae3d082dd6
Correcting change made to test.php in [5776]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5777 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 12:56:14 +00:00
phpnut
998ee569e7
Fixes #2902 , DB_ACL::allow allowing all when $actions is not an array.
...
Fixes #2988 , AclComponent check() does not inherit permissions.
Fixes #3022 , Inconsistent table alias quoting crashes Acl node lookup with PostgreSQL.
Fixes #3129 , Console ACL Shell ACO View Broken
Fixes #3176 , Problems with ACL support on Microsoft SQL Server.
Closes #3311 as invalid, DboSourceTest::testArrayConditionsParsing tests added
Fixes #3312 , DB_ACL::check() fail returning right permission
Fixes #3344 , Model->field adds incorrect condition under certain circumstances.
Fixes #3400 , Cookie Component: When reading a non-existing key it throws a notice.
Fixes #3407 , Since [5768] CookieComponent throws warning when used in beforeFilter().
Closes #3401 , Added form test to ensure $Form->fields array is what the security component requires.
Updated AclComponentTest
Merged changes in app/ to cake/console/libs/templates/skel
Fixed generated link to Run More Test after running Group > All tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5776 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 12:51:17 +00:00
gwoo
be65aa8ee3
adding lock to File class, refactoring FileEngine
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5775 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 07:34:16 +00:00
nate
dcdfa005cf
Adding Paginator test case for disabled links (Ticket #3253 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5774 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 06:20:38 +00:00
nate
4e795bc22c
Adding test case for DboSource::conditions() (Ticket #3373 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5773 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 06:13:37 +00:00
phpnut
bcefc2a14c
Fixes #3283 , persistmodel throws PHP_Incomplete_Class error when using behaviors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5772 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 01:56:14 +00:00
phpnut
03b94b2601
Fixes #3313 , Session ID doesn't regen between requests when CAKE_SECURITY is set to 'high'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5771 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 01:30:06 +00:00
phpnut
bf273081f0
Closes #3238 , added ability to turn of check for HTTP_USER_AGENT by using Configure::write('Session.checkAgent', false); in a beforeFilter().
...
Added test for changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5770 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 00:40:47 +00:00
gwoo
74dd4b4832
updating file class and test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5769 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:48:59 +00:00
phpnut
1aa1164b1d
Closes #3394 , applied test patch
...
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
nate
16fbd33eee
Fixing FormHelper::inputs() to respect both 'legend' and 'fieldset' settings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5767 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 04:41:00 +00:00
gwoo
b73aa20784
test case for rss helper fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5766 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 01:06:31 +00:00
gwoo
1ff8feb94c
updated rss helper, fixes #3226
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5765 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 00:44:37 +00:00
gwoo
a921492b5a
updating configure and core.php. fixes a no mod_rewrite issue.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5764 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 21:56:31 +00:00
phpnut
8f91654b07
Closes #3307 , added tests to show ticket is invalid. No changes are needed to inflect categoria <> categorias
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5762 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 16:55:14 +00:00
gwoo
a00eff7c1e
updating acl fixes #3398
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5761 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 16:34:24 +00:00
gwoo
68c63b67f3
model and db_config task fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5760 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 07:48:19 +00:00
gwoo
9c7f0755a5
updating FormHelper::radio(), closes #3315 and closes #3279 , updated Token wrappers, closes #3317 , updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 07:47:13 +00:00
gwoo
a3fc6e4af5
updating FormHelper::inputs(), closes #3325 and closes #3324 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 23:41:05 +00:00
nate
b61f559030
Adding FormHelper test for multiple select elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5757 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 22:55:37 +00:00
gwoo
0230c3184b
updating project task and folder, fixes #3284
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 19:18:24 +00:00
gwoo
4579ce68ea
updating dispatcher test for Jippi
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5755 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 16:53:36 +00:00
gwoo
de89168680
fixing typo in view.ctp, closes #3395
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5753 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 01:19:56 +00:00
gwoo
1eea608e0c
updating Acl to use Configure, adding config stack to CacheEngine, adding notices for defines to Configure, modifying bootstrap for Cache::config() updating tests for acl, auth, and cache.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 01:09:21 +00:00
nate
52f582bf44
Fixing docblocks and code formatting in View class (Ticket #3371 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5751 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-13 15:38:07 +00:00
nate
5a2a7c8f46
Fixing undefined offset issue with multi-select elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5750 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 19:55:24 +00:00
mariano.iglesias
b06c7f88e2
Reflecting new radio signature in usage, and adding tests for separator usage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5749 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 16:45:23 +00:00
the_undefined
e7bccfe7a8
Implemented File::offset
...
Added test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5748 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 07:49:57 +00:00
the_undefined
6dc279c7b7
Added support for $bytes parameter in File::read
...
Re-factored write function
Improved test coverage of File class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5747 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 07:19:06 +00:00
nate
f2ec5b3908
Updating constant error messages for Configure class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5746 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-10 00:19:16 +00:00
nate
61c06ae94a
Refactoring AuthComponent and implementing digest authentication in SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 21:00:32 +00:00
nate
736ab28b0b
Refactoring Helper/FormHelper to actually use dynamically generated name attributes; refactoring out extra parameter in FormHelper::radio(), per gwoo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 20:44:28 +00:00
the_undefined
d13b0323a9
Fixing typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5743 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:51:47 +00:00
phpnut
348e31530a
Fixing blackHole when form has more than one model with check boxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5742 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:47:32 +00:00
the_undefined
28bc0879b2
Added test coverage for File write / delete
...
Removed inactive testOperations function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5741 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:34:41 +00:00
phpnut
8a90658771
Fixed undefined notice caused in [5739]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5740 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:06:10 +00:00
phpnut
2806a2fb61
Fixing multiple checkboxes causing blackHole of forms
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5739 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:02:17 +00:00
the_undefined
363d07ddb7
Deactivated test for uncompleted read functionality
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5738 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 00:07:18 +00:00
the_undefined
1f0f9d00c0
Tiny docblock correction
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5737 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 00:04:44 +00:00
the_undefined
895eeeae72
Implemented new File functions: open, close, opened
...
Added new $bytes, $mode parameters to File::read()
Added test cases for new functions and the existing read function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5736 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 00:00:46 +00:00
phpnut
26a864d3df
Closes #3356 , added additional changes for translated views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5735 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 20:13:20 +00:00
gwoo
8fbcfe5239
updating scaffold, fixes #3367
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5734 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 19:58:56 +00:00
gwoo
356fd587cd
updating exists, fixes #3368 , test added. thank you maular
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5733 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 17:43:14 +00:00
the_undefined
8963c16c77
Fixed bug in MagicDbTestData class
...
Added support for serialized sample arrays
Finished MagicDb parsing implementation
Began to implement analyzing
Updated tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5732 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 01:25:33 +00:00
nate
366cb23a64
Adding assignment operator test for DboSource::order() (Ticket #3352 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5731 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-07 14:13:59 +00:00
nate
c15b36905a
Adding custom URL test for FormHelper::create()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5730 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-07 14:13:03 +00:00
phpnut
5f0ea6fd2e
Closes #3356 , makes baked views easier to translate.
...
Corrected undefined index in home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5729 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 06:46:45 +00:00
phpnut
e085cc9a27
Fixes #3357 , setSource not working
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5728 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 05:31:46 +00:00
phpnut
03c0f26ec0
Fixes #3327 , wrong paths in home.ctp after baking a project
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5727 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 05:01:50 +00:00
phpnut
da1d437aee
Removing PEAR database abstraction support
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:49:54 +00:00
phpnut
fda664d737
Fixes #3282 , Problem with _Token.fields and few submit buttons
...
Fixed failing Dbo*Test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:37:58 +00:00
gwoo
c740e02896
updating Auth and console script params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5724 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 01:00:55 +00:00
gwoo
1d46e068d3
adding test to router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 23:29:57 +00:00
phpnut
d7ad471580
Fixing undefined notice in FormHelper when using SecurityComponent.
...
Corrected test case in FormHelperTest::testFormCreateWithSecurity()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 19:43:32 +00:00
mariano.iglesias
24eb2d357c
Fixing wrongly forced ID in test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5721 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:41:30 +00:00
phpnut
47e8b36c92
Adding fix for hidden fields causing blackHole on forms when using SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:27:35 +00:00
mariano.iglesias
792ba68b35
Restoring commented test functions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:16:44 +00:00
mariano.iglesias
556ae6c161
Adding test to showcase notice when create has no ID and security component is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5718 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:15:48 +00:00
gwoo
84f8c78e05
updating mysql, postrges tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5717 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 15:54:59 +00:00
gwoo
45444faeb0
updating dispatcher for automatic plugin
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:09:26 +00:00
nate
a1fb0073a3
Adding MSSQL field quoting fix (Ticket #3203 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:04:44 +00:00
phpnut
6205ad0b3b
Adding MediaView class that will allow displaying content from outside of the webroot.
...
Will be implemented @ the helper level to allow plugins to package all assets in one place.
Will be implemented in the ThemeView.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:03:22 +00:00
phpnut
bfa4c12166
Closes #2094 , removed unreachable return
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 04:32:43 +00:00
phpnut
9a4d314b81
Closes #707 , added Inflector::slug() to return a string with all spaces converted to $replacement and non word characters removed.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5712 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 02:17:40 +00:00
gwoo
c7d2c7bacd
updating AuthComponent::isAuthorized(), closes #3331
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5711 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-03 00:50:23 +00:00
gwoo
24d4f966b1
modifying Auth::startup(), closes #3339
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5710 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-02 18:32:44 +00:00
gwoo
cb80df2219
removing $controller property from view, closes #3337
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5709 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 19:54:33 +00:00
gwoo
e8dfaa322e
updating core.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5708 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 18:58:35 +00:00
gwoo
2ef118c3c4
replacing define CACHE_CHECK with Configure Cache.check, updating Model::exists()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 16:49:37 +00:00
gwoo
312fd044af
updating skel core.php, fixes #3332
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5706 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 15:39:31 +00:00
gwoo
7c366d4803
updating scaffold, fixes #3309
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 21:56:59 +00:00
gwoo
08b690d196
updating db connection setting for model task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 20:47:37 +00:00
gwoo
7aa5dfad0e
whitespace fix in bootstrap
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5703 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 20:07:10 +00:00
gwoo
bf651a279e
updating controller fixes #3191
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 19:30:48 +00:00
gwoo
66bfa5631a
updating DboMysql, fixes #3269 , fixes #3192 , fixes #3266 , adding tests for DboMysql, DboPostgres, DboMssql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 18:13:46 +00:00
gwoo
4f8f7a7045
refactoring cache engines, adding tests, update configure fixes #3082
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5700 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 07:45:34 +00:00
gwoo
908f4c8a39
defining $fields in Model::loadInfo()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5699 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-28 10:04:25 +00:00
gwoo
72de81ce74
update ProjectTask, fixes #3292
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 11:16:26 +00:00
gwoo
18ab04b32b
refactor Dispatcher::__getController to pass all tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 10:58:06 +00:00
phpnut
34a88741bf
Fixing sorting of fields used in a form when using the SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5696 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 00:38:03 +00:00
phpnut
0c6cdfb5c9
Fixing issue with PHP 4 referencing instance of the String object
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5695 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 15:10:21 +00:00
gwoo
ad6a0c12c5
refactor args generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 09:49:01 +00:00
gwoo
e5aef425a6
reverting change to AuthComponent::identify(); adding patch from #3222
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5693 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-25 14:22:05 +00:00
gwoo
c8d3fe4a4e
adding validation to AuthComponent::identify()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5692 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-25 11:27:00 +00:00
phpnut
603ed0e39c
Initial start of Unicode support, I may move this handling of this to a unicode class.
...
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
gwoo
cdaa7fcce3
added test for cleanUpFields, closes #3191
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5689 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 10:59:46 +00:00
gwoo
bf51cabb50
updating auth doc bloc
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5688 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 10:11:08 +00:00
gwoo
54854aff43
fixes #3285
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5687 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 09:56:25 +00:00
nate
8f4dd39257
Fixing return value for JavascriptHelper::blockEnd() for script caching (Ticket #3172 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-23 14:23:39 +00:00
nate
52f1e2dc5c
Implementing beforeRedirect callback for components, adding JSON and CSV content types to RequestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5685 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 17:04:23 +00:00
phpnut
643da0ab97
fixes #3260 , Router generating wrong url
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 02:29:36 +00:00
phpnut
15e943fff8
Fixes #3164 , removed use of uniqid() replaced with String::uuid()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5683 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:57:27 +00:00
the_undefined
ce48cc2ec1
Fixed MagicDbTestData::get function
...
Removed inline comments
Improved docblock comments
Fixed behavior of validates() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5682 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:45:42 +00:00
the_undefined
3aea99e9d3
Added early version of MagicDb class plus test case for it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5681 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:23:09 +00:00
phpnut
b89c3c98ad
Fixes #3217 , Auth flash message when Auth->authorize = false is not shown.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:07:59 +00:00
phpnut
0f1de003c6
Fixes #3215 , UserDefined Validation broken.
...
Added test for Validation::userDefined()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 00:42:34 +00:00
phpnut
6677e0abcc
Adding test I forgot to commit with [5677]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 00:16:38 +00:00
phpnut
dc76d14191
Correcting Model::invalidFields() isset would return false if $data[$fieldName] had been set to null, fixes issues with validating fields if their value had been set to null.
...
Merged changes from app to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 22:45:00 +00:00
nate
09e64d075f
Implementing beforeValidate() behavior callback (Ticket #2818 ), and allowing $actsAs to be specified in AppModel
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5676 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 15:16:25 +00:00
nate
f749683a8c
Adding boolean return value to ClassRegistry::addObject()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5675 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 14:50:42 +00:00
phpnut
3e9a2a0851
Removed check for parent class in loadController()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5674 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 07:24:57 +00:00
phpnut
d8f2a62057
Fixing return path for file names, name is only set if it is a actual file
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 02:54:20 +00:00
phpnut
a1df2ac915
Fixes #3261 , AppController methods are made protected
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-19 14:42:07 +00:00
phpnut
3ce10a4826
Fixes #3191 , problem when input is TIME type
...
Added tests for cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-19 04:15:24 +00:00
phpnut
b1d79fb0d3
Adding test for RssHelper.
...
Added syntax for adding attributes to channel child elements
Fixed bug in item method that added bogus attributes
Added default description to channel method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 18:00:22 +00:00
phpnut
bd3e702d77
changed i18n schema to use only one db table for translations
...
changed fieldname 'row_id' to 'foreign_key'
now allows fallbacks for not-existing translations by setting model's locale to array of locales
model used for hasMany associations and for saving/deleting of translation records is configurable by Model::$translateModel property, db field 'i18n.field' is configurable by property $displayField of this custom model, instance of this model is obtainable by $this->ModelName->translateModel()
Added tests for translate behavior.
Added i18n shell script
Correcting translation function calls in various files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5669 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 04:16:04 +00:00
phpnut
aaf161c073
Moving extract.php to tasks directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5668 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 03:38:28 +00:00
phpnut
d55e7b8987
Making changes to move extract to task directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5667 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 03:34:44 +00:00
phpnut
7e42c6cf12
Fixes #3240 , Wrong permissions are set when baking a project.
...
Added Folder::tree() that will return an array of nested directories and files in each directory.
Refactored Folder::chmod() to allow changing permission recursively on a directory structure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5666 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-17 06:02:44 +00:00
nate
653f9d7101
Fixing HtmlHelper::css() test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5665 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-17 03:53:06 +00:00
phpnut
a9bcb441e4
Fixes #3257 , schema shows twice in tasks/db_cofnig.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 21:13:21 +00:00
phpnut
a55aa374c7
Fixes #3244,loadControllers() does not work
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5663 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 21:10:05 +00:00