phpnut
883ecc1cd0
Merged fix for Ticket #1675
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3903 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 19:36:59 +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
4ebbdd9055
Fixing error in default view when database file is present.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3899 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 18:02:14 +00:00
phpnut
3343368dde
Adding loadModels() to cached views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3897 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 17:54:22 +00:00
nate
b11e215827
Refactoring Router to eliminate usage of NeatArray
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3894 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 16:33:50 +00:00
phpnut
2ab7e5120d
Removing Helper::readConfigFile().
...
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 04:27:23 +00:00
phpnut
056bda7e4b
Moving all tags from Helper to child classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4
Moving helper tags to specific helper classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
phpnut
204ff6bcbb
Refactoring Helper class and adding tags.php as a var.
...
Removing old /config/tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
phpnut
95c919a7a5
Updating changes made to the core files that are loaded
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:47:42 +00:00
nate
099144bcbd
Changing Set interface to act like NeatArray, disabling Model::cacheQueries by default, and removing NeatArray usage in Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3888 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:40:30 +00:00
nate
403bcb54b4
Fixing typo in tags.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3887 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:22:58 +00:00
nate
91b9b3be6c
Fixing Notice on "Missing Model" page
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3886 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:03:52 +00:00
phpnut
c773b64bfe
Starting to refactor model loading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3885 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:48:05 +00:00
nate
51fe30c65f
Rewriting tags.php as a single array def
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3884 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:16:38 +00:00
phpnut
ca5778ff52
Removing bad characters in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3882 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:17:26 +00:00
phpnut
a867b2ff3e
renaming tags.ini.php to tags.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3881 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:06:35 +00:00
phpnut
30cf172bbc
Refactoring helper tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
dho
38a606d2a2
Adding doc strings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3877 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-19 15:03:46 +00:00
gwoo
8b88865c29
1.2 RssHelper: fixing enclosure bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-18 22:58:29 +00:00
phpnut
7d63f4340c
Changing the date string used in CakeLog::write() to use full 4 digit year
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3875 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-17 03:04:45 +00:00
gwoo
d31434336b
fix for enclosures in rss helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3871 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 16:33:57 +00:00
phpnut
8048251fd0
Added implementation of Validation::decimal()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3869 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 06:14:12 +00:00
phpnut
ac30edb9f0
Implementing custom regular expression in Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3867 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:51:35 +00:00
phpnut
ded7398254
Adding doc comment for Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3865 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:37:47 +00:00
phpnut
6f6b068227
Finishing Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3864 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:08:41 +00:00
nate
85ee09fb19
Purging the "evil" from comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3862 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-14 16:20:52 +00:00
nate
47c86b8c8b
Minimizing RequestHandler array usage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3861 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:55:30 +00:00
nate
eb59ae1534
Unsetting redundant form data in parseParams()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3860 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:53:42 +00:00
phpnut
f95285d75f
Starting to change all core code that uses $this->params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3859 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 00:12:34 +00:00
nate
99a420c8ef
Refactoring code, adding error message to deprecated method (View::setLayout), and updating method references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3858 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-11 21:05:00 +00:00
nate
26955aefda
Adding coding-issue fix (Ticket #1633 ), and insert ID fix (Ticket #1641 ), and updating method reference
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3857 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:45:46 +00:00
nate
31623de654
Adding $scripts_for_layout to default template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3856 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:41:35 +00:00
nate
bd4f1aceff
Modifying JavascriptHelper::link() to accept arrays of links, and adding warning for deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3855 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:31:27 +00:00
nate
6ba7032e68
Moving strip_plugin() to Router::stripPlugin(), and enabling reverse routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3854 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 17:08:31 +00:00
phpnut
3ca4762d32
Adding Validation::date() implementation for:
...
mm/dd/yyyy mm/dd/yy m/d/yy m/d/yyyy
yyyy/mm/dd yy/mm/dd y/m/d/ /yyyy/m/d/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3853 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 16:26:54 +00:00
phpnut
678e1be889
Adding Validation::date() implementation for dd/mm/yyyy dd/mm/yy d/m/yy d/m/yyyy
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3851 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 14:19:32 +00:00
phpnut
fa3e71d169
Additional changes to Validation::comparison()
...
Refactored Validation::custom()to set an error.
Added more doc comments.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3849 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 22:48:15 +00:00
phpnut
2a5f53ddb9
Changes made to Validation::comparison().
...
Added Validation::__reset().
Removed redundant code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3847 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 21:15:34 +00:00
phpnut
a046a338bb
Changed Validation::cc() so custom regex match will call Validation::_luhn()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3845 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 12:50:39 +00:00
phpnut
57ef07a04d
Added additional credit card validation regex in Validation:cc().
...
Added Validation::_luhn() to check the Luhn algorithm or credit cards.
[http://en.wikipedia.org/wiki/Luhn_algorithm Luhn algorithm]
Added new doc comments for both methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3843 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 10:55:07 +00:00
nate
075891f1f9
Refactoring code and updating method references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3841 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:28:24 +00:00
nate
13c579292a
Refactoring and moving countdim() to Set::countDim()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3840 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:26:09 +00:00
nate
97753554c6
Adding Security::requireSecure() to require controller actions to be accessed via SSL-secured connections
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3839 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:18:41 +00:00
nate
199eac5a35
moving strip_plugin() to Router::stripPlugin()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3838 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:07:11 +00:00
phpnut
803bf4d0e4
Correcting Validation::blank() implementation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3837 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:56:07 +00:00
phpnut
d2ffbe2016
Adding changes to Validation::alphaNumeric().
...
Added doc comment to Validation::alphaNumeric() and Validation::between()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3835 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:09:56 +00:00
phpnut
20da5e67a7
Formatting Validation class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3830 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-07 21:05:48 +00:00
dho
a1be115dd1
Fixing several problems related to creating unit tests (ticket #1624 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3829 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-06 09:12:38 +00:00
phpnut
4cfafba726
Fixing overload() calls in both branches
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3828 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-05 06:56:28 +00:00