Commit graph

130 commits

Author SHA1 Message Date
phpnut
7cc6185076 Adding fix for Ticket #2239
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4658 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 09:20:14 +00:00
nate
8131f2a55c Adding core load error in webroot/index, and updating setting for debug reference in Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 15:14:35 +00:00
nate
91736547ba Removing deprecated settings key 'connect' and replacing with 'persistent' in default database connection class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 17:12:20 +00:00
nate
b5100adc2b More debug styles
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-19 04:30:48 +00:00
nate
bf9b2fa179 Adding debug CSS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 20:26:49 +00:00
john
9bf807b2b6 Proofing the comments in core.php. Fixing spelling errors and trying to reword sections.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 18:38:36 +00:00
phpnut
46c5c36fcb Moving Translate class to the behaviors directory.
Moving i18n sql to app/config/sql

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:07:57 +00:00
nate
7f553731bd Updating ACL SQL table definitions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4489 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 17:39:54 +00:00
phpnut
1a391e4d2c Updating test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4443 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 07:42:35 +00:00
phpnut
0997bea85c Updating html for test suite.
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:38:42 +00:00
gwoo
50c24a738e updating test suite layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 03:59:55 +00:00
phpnut
8dc3209a59 Fixing unset variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4435 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:17:36 +00:00
phpnut
08c412c4ca Updating test suite with correct paths.php
Changed vendor() to return true or false

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:08:17 +00:00
phpnut
d4a4105616 Adding test suite to the core.
Creating directories for application level testing

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4433 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 01:05:51 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
d44e497d19 Changing the order of include_path this is done to fix issues with servers having core cake files in one location and a user wanting to use a local copy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4402 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:34:47 +00:00
phpnut
f06bf86d40 changing field types to char(2) on table aros_acos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4366 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:49:26 +00:00
gwoo
0c2579c565 updating bake and css, also added a name key to the generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:43:15 +00:00
gwoo
ea7ae19849 updating cake.generic.css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 02:22:17 +00:00
gwoo
dc366d046d adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:53:52 +00:00
dho
9ca5e14891 Adding new methods to Configure and moving all core messages using DEBUG to use Configure::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4069 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-05 09:49:59 +00:00
gwoo
257ff1ef89 updating css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4013 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:08:46 +00:00
gwoo
32cca7345e updating css in 1.2, error_message is now error-message, form-error added for input fields, altRow changed to altrow. Cake conventions are CamelCased for DOM id, dashed-words for css classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4011 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 21:14:28 +00:00
gwoo
edef4155e3 changes to cake.generic.css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3979 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:13:41 +00:00
phpnut
0c0ba050cb Cleaning up core views/caching.php
Removing unused files in app/webroot/css/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3965 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 18:23:53 +00:00
phpnut
e56c1780bf Reverting change in table name [3692].
Fixes Ticket #1672

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3900 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 18:15:36 +00:00
phpnut
64359fe7ba Removing functions from basics.php that where added as workarounds for PHP < 4.3.
Removing legacy.php and all references to the file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3717 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 00:37:29 +00:00
gwoo
0078f8291e updating generic css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3696 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:15:18 +00:00
phpnut
06b4676172 changing user_id field to foreign_key in ACL schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3692 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 06:38:39 +00:00
gwoo
ff847150e2 bake 1.2 fixes, skel and css updates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3627 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 22:05:41 +00:00
gwoo
79a538d6c5 updating css and bake in 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3624 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 18:24:25 +00:00
nate
a0ee5743e5 Allowing user to specify database for ACL tables. (Ticket #1508)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3610 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 15:47:50 +00:00
dho
1b976ee89b Typos (ticket #1509)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3602 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-06 13:41:28 +00:00
phpnut
f12290e835 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3506 3807eeeb-6ff5-0310-8944-8be069107fe0 2006-09-17 16:30:47 +00:00
phpnut
4f110a0ef9 Fixed #1220.
Error produced when accessing css.php in browser

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3483 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 19:54:18 +00:00
nate
e1696b55c6 Committing suggested DEBUG setting change from Ticket #1056
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3462 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:32:52 +00:00
nate
fd99791566 Removing all references to AUTO_OUTPUT, adding HtmlHelper::meta() for creating <link /> tags, and enhancing HtmlHelper::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3414 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 21:54:50 +00:00
nate
ceb5c9c6f1 Making Router accessible as a singleton
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3397 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 13:02:51 +00:00
phpnut
f53c19a6b9 "Added fix for Ticket #1220"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3343 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 04:08:01 +00:00
gwoo
12e511477c updating 1.2.x.x generic css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3162 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-22 21:58:42 +00:00
phpnut
8c6b0576af Merging changes from 1.1.x.x branch:
[3157]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3158 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-22 20:42:53 +00:00
nate
24208cd803 Updating doc comments in database.default.php for Ticket #1038
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3144 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-19 20:07:25 +00:00
phpnut
9d19dee879 Renaming branched version directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.1.x.x@3085 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-14 18:02:37 +00:00
phpnut
e5c074a0dc Merging fixes into 1.x.x.x branched code:
Revision: [2955]

Revision: [2951]

Revision: [2918]

Revision: [2911]

git-svn-id: https://svn.cakephp.org/repo/branches/1.x.x.x@2958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-26 05:29:17 +00:00
phpnut
5e268e0805 Merging fixes into 1.x.x.x branched code:
Revision: [2802]




git-svn-id: https://svn.cakephp.org/repo/branches/1.x.x.x@2805 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-09 02:15:47 +00:00
phpnut
75130a2187 Merging fixes into the trunk.
Revision: [2654]
Refactored the Object::cakeError()

Revision: [2653]
Adding check for custom error class in app/.
Added check for AppController::appError(); will be called if this method 
is in AppController.

Revision: [2652]
Adding fix for Ticket #704

Revision: [2650]
Fixing scaffold CSS

Revision: [2648]
Adding fix for Ticket #717

Revision: [2647]
Adding fix for Ticket #718

git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2685 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-05-01 23:50:20 +00:00
phpnut
4a8c03ef1c Merging fixes into the trunk.
Revision: [2618]
Adding fix for Ticket #609

Revision: [2617]
Added fix for Ticket #684

Revision: [2616]
Adding patch from Ticket #649

Revision: [2615]
Adding fix for Ticket #608

Revision: [2614]
Additional fix for Ticket #584

Revision: [2613]
Adding fix for Ticket #584

Revision: [2612]
Added fix for undefined index notices

Revision: [2609]
Adding fix for Ticket #658

Revision: [2608]
Adding fix for Ticket #635, and code formatting fixes in FormHelper

Revision: [2607]
Adding fix for Ticket #636

Revision: [2606]
Adding fix to allow associations to be defined through non-associative arrays

Revision: [2605]
Adding fix for Ticket #672

Revision: [2604]
Adding fix for Ticket #708

Revision: [2603]
Adding fix for Ticket #687

Revision: [2602]
Refactoring database drivers, and adding fix for Ticket #398

Revision: [2601]
Merging change from model_php5.php

Revision: [2600]
Adding ODBC driver

Revision: [2599]
Adding fix for Ticket #702

Revision: [2598]
Adding fix for Ticket #699

Revision: [2597]
Fixing an issue in Model::set(), and moving limit() to DboSource

Revision: [2595]
Fixing unit test download URL in Bake

Revision: [2594]
Adding fix for Ticket #698

Revision: [2593]
Adding fox for Ticket #231

Revision: [2592]
Adding fix for Ticket #630, and updating MS SQL driver docstring

Revision: [2577]
Adding $alias property to enable future Oracle support

Revision: [2568]
Merging changes to bake from old sandboxes

git-svn-id: https://svn.cakephp.org/repo/trunk/cake/1.x.x.x@2620 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-04-27 10:04:08 +00:00
phpnut
43e074acb0 Merging fixes and enhancements into trunk.
Revision: [2457]
Adding fix for Ticket #612

Revision: [2456]
"Enables use of Controller::$data in addition to Controller::$params['data']"

Revision: [2455]
"Adding fix for Ticket #634"

Revision: [2454]
"Removing trailing directory separator on ROOT"

Revision: [2451]
Dispatching and routing changes for IIS

Revision: [2450]
Downgrading error level in AclNode::create and adding additional filename check in listClasses()


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2462 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-04-06 00:06:02 +00:00
phpnut
23d183e46b Merging fixes and enhancements into trunk.
Revision: [2369]
Added missing doc comments to classes

Revision: [2368]
Removing core view paths from Configure class

Revision: [2367]
Updating View class to use new Configure class to search paths for view files

Revision:[ 2366]
Corrected loadControllers() in basics.php

Revision: [2365]
Updating function in basics.php to use new Configure class

Revision: [2364]
removed duplicate loading of app/config/bootstrap.php

Revision: [2363]
Added new Configure class to hold paths to models, views, and controllers related to Ticket #470.
Moved loading of app/config/bootstrap.php to Configure class from app/webroot/index.php.
Added creating instance of Configure instance in cake/bootstrap.php
Added example of setting custom paths in app/config/bootstrap.php 
Corrected error in Object::_savePersistent().

Revision: [2362]
Added fix for Ticket #534

Revision: [2361]
Refactoring persistent code a little more.
File now holds a variable with the serialized class and is include vs. reading file contents.

Revision: [2360]
Refactored persistent methods to use cache()

Revision: [2359]
Fixing array_combine() Warning in  Model::generateList()

Revision: [2358]
Set var $persistModel to false by default

Revision: [2357]
Moved persistent code to Object class.
Moved $TIME_START variable to top of file.
added __sleep methods for models

Revision: [2356]
Reverting persistent changes to Model class

Revision: [2355]
Adding fix for Ticket #550

Revision: [2354]
Corrected errors in persistent code

Revision: [2353]
Corrected overwrite in the model/model_php4.php file.

Revision: [2352]
Adding persistent methods to Model class.
This will allow caching of classes.
Added app/tmp/persistent directory.

Revision: [2351]
Reverting changes to dbo_source.php in [2350]

Revision: [2350]
Removed name pattern matches related to Ticket #534

Revision: [2349]
Adding fix for Ticket #548

Revision: [2348]
Adding fixes from Ticket #547.

Revision: [2347]
Adding fixes from Ticket #546.

Revision: [2346]
Adding fix for Ticket #527

Revision: [2345]
Refactored Html::url()

Revision: [2344]
Last fix for Ticket #483 

Revision: [2343]
Updating last commit

Revision: [2342]
Adding fix for Ticket #483

Revision: [2341]
Adding fix for Ticket #543, DBO will now only cache SELECT queries

Revision: [2340]
Adding session_write_close() to the CakeSession::__regenerateId()

Revision: [2339]
Adding patch from Ticket #544

Revision: [2338]
Adding patch from Ticket #529

Revision: [2337]
Adding patch from Ticket #528

Revision: [2336]
Removing the converting of \n to <br /> in Sanitize::html()

Revision: [2335]
Added bash script from Ticket #533

Revision: [2334]
Added enhancement for Ticket #474

Revision: [2333]
Correcting errors introduced with prior fix

Revision: [2332]
Correcting errors introduced with prior fix

Revision: [2331]
Performance optimization for NeatArray::findIn(): replaced foreach loop with for

Revision: [2330]
Minor performance optimization: Replacing all occurrences of low() with strtolower()


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2370 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-03-19 03:26:43 +00:00
phpnut
fb46bcceef Merging fixes and enhancements into trunk.
Revision: [2316]
Added fix for message:  Warning: array_diff(): Argument #2 is not an array in Controller::__construct()

Revision: [2315]
Adding fix for Ticket #517

Revision: [2314]
Corrected scaffold throwing errors when irregular words are used for model/table names

Revision: [2313]
Added patch from Ticket #495.
Added missing ?> bracket at end of file

Revision: [2312]
Corrected model names being set to lower case, When matched to an irregular word in Inflector methods.
Added custom inflections.php file to allow application to have custom inflection rules.
Correct variable in View::renderCache(). error thrown if time class was used $time variable changed to $timeStart.

Revision: [2311]
Corrected $db placed in wrong section of the method

Revision: [2310]
Removing the db attribute from the model, This will help better with persistent objects

Revision: [2309]
Adding fix for Ticket #490

Revision: [2308]
Update to previous commit

Revision: [2307]
Removing references to Model->db. DataBase connections are now singleton-only.

Revision: [2306]
Refactoring getDataSource() into loadDataSource() and enumConnectionObjects()

Revision: [2305]
Reverting changes to this file

Revision: [2304]
Fixing Ticket #496, getColumnType, and docstrings

Revision: [2303]
Adding fix for Ticket #510


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2317 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-03-15 20:45:59 +00:00