Commit graph

976 commits

Author SHA1 Message Date
nate
d1e375f5dd Clearing validation errors on Model::create() (Ticket #1960)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:22:10 +00:00
nate
9444538ec0 Updating helper method references, and fixing FormHelper::hidden() to work with '_method'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:12:06 +00:00
nate
181a22d659 Fixing return value of loadModels()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4314 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:10:43 +00:00
nate
51d384932f Adding Model::isUnique() for simplified checking of unique fields/values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:09:17 +00:00
nate
92fb921732 Refactoring AuthComponent, and fixing URL comparison error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:08:34 +00:00
nate
53dca9cccc Adding schema generation support to DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-21 22:55:58 +00:00
nate
4010ecb8b3 Adding Controller::redirect() fix (Ticket #1951), and fixing redirect URL to conform with HTTP/1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 21:26:42 +00:00
nate
3f1154c8cf Adding fix for Ticket #1974
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4308 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:59:38 +00:00
nate
06f83ea86d Moving normalizeList() (basics) to Set::normalize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:50:57 +00:00
nate
4ad44ec8a0 Fixing AppController::$uses merging for controllers with no models of their own. To completely disable $uses, set $uses = null in your controller.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:46:12 +00:00
nate
68ea832150 Enforcing component callback disabling in Dispatcher (do $this->Component->enabled = false in beforeFilter).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:29:06 +00:00
dho
4602d76673 Fixing typo in HABTM definition (ticket #1975)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 07:03:05 +00:00
dho
1cac23d933 Adding some spaces (ticket #1961)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4303 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-18 12:38:20 +00:00
gwoo
7af304b742 fixing FormHelper::input() error messages, ticket #1957
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4302 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:17:25 +00:00
nate
9737072e27 Fixing array key name in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:07:35 +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
phpnut
6257689e0d changing cache() to allow writing to the tmp directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4299 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:41:02 +00:00
nate
6e56e926e7 Adding 'before', 'between', and 'after' options to FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:54:55 +00:00
nate
6dcdad1a2c Adding back 'default' key to table description, and fixing Model::create() to not include empty default values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4297 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:53:39 +00:00
nate
5655ec336b Fixing URL error condition in AuthComponent::startup(), and adding login failure handler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4296 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:51:56 +00:00
nate
23cb3451c0 Fixing $model parameter for FormHelper::create(). Must pass false if the form is not associated with a model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 07:07:49 +00:00
nate
e049d680e0 Adding 'default' option to HtmlHelper::link() to prevent default action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 15:19:42 +00:00
nate
33990b2193 Adding FormHelper::input() fix for generating select menus (Ticket #1860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 05:46:03 +00:00
phpnut
2ef3e325ca Changed Configure::_ _writeConfig() to use instance from getInstance().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:29:20 +00:00
phpnut
bcd2a951e4 Adding check for existence of Core key in class.paths.php.
Change Configure::_ _writeConfig() to cache files for 10 seconds if DEBUG > 0.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:25:13 +00:00
nate
2e715c9da0 Fixing key checking in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 23:05:26 +00:00
phpnut
27e5481b5b Adding check for new dot notation that will be used to load classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 21:36:10 +00:00
phpnut
7ad952d5eb Adding changes to other load*() functions in basics.php to create cached paths for loaded classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 21:08:52 +00:00
nate
de4bd50931 Adding Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:49:02 +00:00
phpnut
55e9a1eda6 Reverting changes from [4285]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:25:56 +00:00
gwoo
8eccba69ce adding a return false to cache and configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 16:37:56 +00:00
phpnut
d967e98ee1 Adding addslashes() to Configure::store() so content will have backslashes before characters that need to be quoted.
Removed error notice that is thrown when file is not present

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 01:33:18 +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
86c344917d updating FormHelper, #1860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 00:11:55 +00:00
gwoo
bd50a860f8 fixing typo in bake, #1902
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 23:33:03 +00:00
gwoo
62ef82cf4e updating skel templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:56:16 +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
gwoo
6c528ffa00 adding check for is_writeable to cache()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:43:37 +00:00
gwoo
790689fc32 moving data conversion for xml from Model::set() to RequestHandler::startup();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 21:20:06 +00:00
gwoo
7019ee7d26 adding empty $config to Configure::__writeConfig, update to model for multiple datasources with a table prefix, added option to wrap xml with <data> to wrap the model elements when using Model::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 11:15:43 +00:00
phpnut
a1651041dd Correcting params in doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 22:36:29 +00:00
phpnut
e64de54a51 Adding new methods to Configure class that is used to created a cached version of config files.
Adding Configure::store() method call to bootstrap.php to create a cached file for class paths.
Adding Configure::read() to load class paths into Configure instance.
Adding check in loadModel() to get the class path from Configure::read('Models'); if set, if values are not set, the correct file is found and added to the cache file for faster loading.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 22:32:48 +00:00
dho
246028e89f Changing .thtml to .ctp in templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 07:36:27 +00:00
dho
6584ce99f7 Removing links to wiki
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 13:12:05 +00:00
nate
ec2ce20f91 Adding Ajax indicator fix for Ticket #1880
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 08:33:39 +00:00
phpnut
9ea5c756d4 Adding additional fix to [4269] to bypass cache when multiple forward slashes are used in the url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:44:19 +00:00
phpnut
6efa16eb82 Adding fix to CacheHelper when $this->url is /
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4269 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:16:38 +00:00
nate
914dffcc14 Fixing $options array merge order in PaginatorHelper::link()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 20:09:45 +00:00
nate
a1f632c905 Adding 'indicator' feature to AjaxHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 22:09:27 +00:00
nate
18f086fbd1 Updating TextHelper::autoLinkEmails() with new API changes (Ticket #1874)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 21:10:33 +00:00