Commit graph

1793 commits

Author SHA1 Message Date
nate
43ed8db5ea Cleaning up test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5946 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:57:23 +00:00
nate
6040dd2779 Updating helpers with new form field naming scheme
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:07:59 +00:00
nate
506cba0dc9 Removing dependency on default database connection from all test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5944 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:05:00 +00:00
gwoo
5ccea91b91 updating error handling: messages, templates and css, updating home page messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5943 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 07:03:57 +00:00
the_undefined
73d873acaa Fixed issue that lead HttpSocket to choke on big files (> 100kb)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5942 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 02:29:42 +00:00
the_undefined
7e57a4d28b Updated return value docblock for Model::save
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5941 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-03 17:55:30 +00:00
gwoo
53f889f6c6 updating router fixes #3485
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5935 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-02 06:21:41 +00:00
the_undefined
58517b34b0 Added SSL support for Socket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5934 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-01 21:37:52 +00:00
gwoo
b1b8fcddd2 adding named to params so the proper args get passed to the action, updated tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-31 03:53:41 +00:00
nate
9b578c5bb1 Adding tests for incorrectly matched routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5931 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 22:41:55 +00:00
nate
458bd08027 Adding regular expression tests for route matching
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5930 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 21:25:02 +00:00
mariano.iglesias
9885e2d253 Changing CamelCase parameter to camelBack
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5929 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 18:07:23 +00:00
mariano.iglesias
cecc2e74e3 Adding documentation for ModelBehavior and ConnectionManager
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5928 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:42:31 +00:00
mariano.iglesias
c95175a4f9 Fixing documentation for Scaffold by adding more, and removing not relevant tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5927 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:29:38 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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