Commit graph

721 commits

Author SHA1 Message Date
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
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
dho
98f32860a9 Implementing Validation::ip()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 16:37:03 +00:00
dho
50149aeeed Implementing minLength and maxLength
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 10:32:12 +00:00
dho
c7f045c832 Fixing typos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 08:41:48 +00:00
nate
b6c1b9718f Adding Sanitize::clean() to replace Sanitize::cleanArray(), cleanValue(), etc.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 06:19:58 +00:00
nate
4df28cd1e6 Updating DboPear to be consistent with DboSource API 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 06:02:37 +00:00
nate
bfeaab795a Adding validation fix for Ticket #1850, and adding warning messages for Model::invalidFields() and Model::validates()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4260 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 04:58:24 +00:00
nate
8fb73307e9 Adding FormHelper::create() fix for AjaxHelper (Ticket #1836)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:47:54 +00:00
nate
eb4f2eed2e Adding PaginatorHelper::options() to set default pagination options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:37:40 +00:00
nate
7e6db39d50 Additional helper detection for paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:39:47 +00:00
nate
b5309bb017 Fixing DOM ID's for HtmlHelper::selectTag() (Ticket #1847)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:17:05 +00:00
nate
b8c51fee44 Fixing HtmlHelper::link() to allow passing $escapeTitle and $confirmMessage params as 'escape' and 'confirm' in $options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:48:40 +00:00
nate
f96a1728eb Fixing ambiguous key sorting in Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:46:28 +00:00
nate
0750210fa0 Fixing URL passing in AjaxHelper::form()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 19:21:46 +00:00
phpnut
658ab33959 Adding fix to allow Configure::write('debug', '0'); in a controller method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-04 16:13:24 +00:00
nate
8c3a1307c6 Fixing array key in PaginatorHelper::counter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:46:52 +00:00
nate
b21b7f4b03 Cleaning up FormHelper code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:36:14 +00:00
phpnut
15ca3a9c39 Adding patch from phishy:
sets case insensitivity of sorting after connect
clears statements/cursors when done interating through them
begun adding transaction support
fixed date/timestamp support to support more date formats
added supports for dates and timestamps
added a sequence public property instead of the hardcoded name

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-02 20:30:22 +00:00
gwoo
6f8489b52e making it possible to use FormHelper without a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 19:39:07 +00:00
nate
f8f2df5053 Adding 'json' parameter for Ajax onComplete callback (Ticket #1843)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 18:04:40 +00:00
gwoo
315529507c overfactoring namedArgs, they are used by default with a colon as a separator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 15:37:45 +00:00
nate
07985626fb Fixing issue in FormHelper::input() where the 'type' attribute appears twice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4235 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:28:55 +00:00
nate
d2967c3f92 Adding Paginator methods for links and sorting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
dho
d9adf49c87 Replacing deprecated Html->formTag() with Form->create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4233 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 14:31:35 +00:00
nate
9ce0247acc Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
gwoo
ed28c3187b adding router fix for array params, ticket #1824, removing ternary operator from HtmlHelper::link();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4228 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 04:16:53 +00:00
phpnut
8b79b227cc Fixing an error in I18n class that would sometimes show up when using Scaffolded methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4227 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 16:51:12 +00:00
phpnut
9f48b1d28c "A little more refactoring on HtmlHelper::checkbox()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:31:24 +00:00
phpnut
90f6c38614 "Fixed typo in [4221]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4225 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:28:43 +00:00
phpnut
93f7a48a2a Adding fix for Notice: Use of undefined constant action - assumed 'action' on Scaffolded view()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4224 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 05:22:41 +00:00
phpnut
0ab73bb5fa "Adding a second param to bindModel and unbindModel to allow
turning off the auto resetting of the associations.
By default associations are always reset to the orignal models values"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4222 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 04:02:38 +00:00
phpnut
73bb4ec98f Adding patch from Ticket #1821
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4221 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:48:04 +00:00
phpnut
69379095c8 Adding fix from Ticket #1808.
Correcting language name in I10n class.
Removed unused var from CookieComponent

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4220 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:41:33 +00:00
phpnut
a98d44c455 Updating CookieComponent class to allow multidimensional arrays to be stored in one cookie.
Changed write() to allow passing $expire and $encrypt.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4218 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 23:31:32 +00:00
dho
5b7aa0d783 Replacing '_view_' with 'view'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4217 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 09:34:45 +00:00
dho
aa6d4959fd Fixing parse error in PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4216 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 09:17:45 +00:00
phpnut
130b448ad8 fixing typo in doc comment for CookieComponent::$_ _values;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4214 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 00:34:09 +00:00
phpnut
3f7bb1ca61 Adding secure CookieComponent class.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4213 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 00:27:51 +00:00