Mark Story
84840c7b04
Fixing issues with magic input() type detection and adding/updating tests.
2010-01-12 23:27:17 -05:00
Mark Story
d8e7aa929c
Merge branch '1.3-misc' into 1.3
2010-01-12 17:18:14 -05:00
Mark Story
a0c3c4b803
Updating AuthComponent::startup() so that being redirected to loginAction with no Auth.redirect value in the session and a non empty loginRedirect defined, the Auth.redirect value is not overwritten. This prevents redirection to already accessible pages. Test cases updated.
...
Fixes #173
2010-01-11 23:54:06 -05:00
José Lorenzo Rodríguez
aa9258cbd1
Adding test for DboSource::group() and virtual fields
...
Closes #184
2010-01-11 12:22:59 -04:30
José Lorenzo Rodríguez
3fe4b46614
Fixing DboSource::group() to test for virtual fields when first parameter is not an array
2010-01-11 12:06:27 -04:30
José Lorenzo Rodríguez
cecfd72f28
Fixing parse error in php 4
2010-01-11 11:51:55 -04:30
Phally
bbb105fc8c
Added virtual field support for GROUP BY.
2010-01-11 11:46:59 -04:30
Mark Story
dda2414b5b
Fixing compatibility in ConnectionManager with php4. Fixes #187
2010-01-11 09:48:53 -05:00
Mark Story
4ada5b7eea
Fixing notice errors caused by incorrect datatyping in php4.
2010-01-11 09:44:51 -05:00
Mark Story
896414e632
Fixing parse error in PHP4 caused by optional arguments with default
...
values being passed by reference. Fixes #180
2010-01-11 09:40:56 -05:00
dogmatic
4ffacfad2d
last commit broke schema, this works better with the help of markstory
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-08 18:21:58 -05:00
Mark Story
b47b858355
Updating and reformatting docs for Sanitize.
2010-01-07 21:47:23 -05:00
tPl0ch
61079f6317
Fixes #42 . Updated Sanitize::clean() with 'remove_html' option. Updated Sanitize::html() to accept new options. Updated test cases.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-07 19:04:49 -05:00
tPl0ch
5ae0164574
Added Validation::uuid(). Updated test cases.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-06 21:29:55 -05:00
Mark Story
dd2cbc2cb5
Updating file header.
2010-01-06 21:27:56 -05:00
Mark Story
8110aed1b1
Updating doc blocks for App and Configure.
2010-01-06 21:27:14 -05:00
dogmatic
467ae1f4fd
Removing check that prevents bootstrapping paths that do not contain the
...
type of object contained. Example plugins would not be found in the
following path /var/www/common/ as it does not contain 'plugins'
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-06 21:17:38 -05:00
Mark Story
683be26bcb
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-06 21:14:25 -05:00
predominant
e2a2770d9f
Fixing validation errors for wrong case checking on Validation::ip.
...
Adding IPv6 validation for Validation::url().
Added tests for ports in urls.
Fixed port length allowance on Validation.
2010-01-07 11:02:05 +11:00
Mark Story
be7ce6e923
Fixing issues where chained jQuery engine requests wouldn't eval() script elements, making ajax pagination much harder.
2010-01-06 11:59:15 -05:00
predominant
485570de24
Remote getInstance() from validation protected methods.
2010-01-06 09:34:07 +11:00
predominant
1302fba632
Fix validation of IPv6 on IPv4 checks.
...
Separate IPv4 and IPv6 validation to allow strict checking.
2010-01-06 00:53:48 +11:00
predominant
804fba1a22
Adding block comments for Postgres Datasource quotes.
2010-01-05 23:23:23 +11:00
predominant
2d85ffe05f
Fixing inflector caching, adding new _cache() method to handle common caching.
2010-01-05 22:05:02 +11:00
ADmad
9d5015882f
Updating deep email validation to check and use 'getmxrr' or 'checkdnsrr' if either function exists
2010-01-05 03:04:46 +05:30
Mark Story
5046382e7d
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2010-01-02 00:07:51 -05:00
Mark Story
7dcf66dd95
Removing dynamic calling of setTablePrefix(). tableprefix should be with the tablePrefix property, and any other custom construction behavior should be done in an overridden Model::__construct.
2010-01-02 00:07:31 -05:00
Mark Story
eab706e772
Correcting and improving doc block for Model::__construct.
2010-01-01 23:59:36 -05:00
ADmad
5f987a4996
Controller data is now set to an array instead of Xml object if request content type is 'application/xml'
2009-12-31 17:36:58 +05:30
Mark Story
41e6fdf346
Merge remote branch 'fahad/1.3-l10n' into 1.3-misc
2009-12-29 23:39:08 -05:00
Mark Story
49e9550482
Merge branch '1.3' into 1.3-misc
2009-12-29 22:07:23 -05:00
Mark Story
32683d3d64
Fixing issues in PrototypeEngineHelper where parameters would end up wrapped in a function() {} when marked as a dataExpression. This prevented the sending of form data.
...
Tests added.
Fixes #142
2009-12-29 21:52:59 -05:00
Ali Farhadi
0e8f83e103
Adding direction var and __l10nCatalog key to L10n class, fixes #4
2009-12-30 00:23:35 +03:30
Mark Story
93ced3be46
Casting return of Validation::ip to always be a boolean when filter_var is used. It used to return the input string which could cause issue with identity checks.
2009-12-29 11:04:58 -05:00
Mark Story
a9e1d0d7ff
Optimizing Sanitize::html() to use str_replace instead of preg_replace.
2009-12-28 22:56:21 -05:00
Mark Story
b68d2a32bf
Merge branch '1.3' into 1.3-misc
2009-12-28 22:15:52 -05:00
Mark Story
3ad4dd63bf
Removing unused variables from CacheHelper::cache()
...
Removing non-existant variable output from generated cache files.
2009-12-28 22:15:07 -05:00
Mark Story
2db479dc90
Making CacheHelper create $this->Html style helper references.
2009-12-28 21:58:56 -05:00
Mark Story
6749e1166b
Making cacheAction array settings use action names instead of url paths. This removes the ability to set different durations for specific passed arguments. However, makes passed args, named params, and querystring params all behave the same in regard to cacheAction. Test cases updated.
2009-12-28 21:26:51 -05:00
Mark Story
b89280a916
Fixing test failures caused by changes in Cache::__loadEngine().
...
Adding tests for Cache::config().
2009-12-28 13:52:50 -05:00
Mark Story
45a3eb250f
Starting refactoring of cachehelper to use Router::reverse to generate check/match strings. Removing dead code as well.
2009-12-28 13:38:36 -05:00
Mark Story
df8914b2e4
Router::reverse now removes models and paging keys that controllers can insert into params arrays.
2009-12-28 13:34:05 -05:00
Mark Story
5b78a662e8
Adding tests for querystring reversal.
2009-12-27 23:10:29 -05:00
Mark Story
886cd9e719
Adding Router::reverse and basic test case.
2009-12-27 23:09:26 -05:00
tPl0ch
1eff024e7e
Removed unnessecary connect keys from all Dbo's _baseConfig. Updated connect methods where needed. Fixes #132
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-27 12:47:52 -05:00
Mark Story
8b93235847
Fixing auto merge issues.
2009-12-27 12:45:34 -05:00
Mark Story
7a620b62b0
Merge branch '1.3-misc' into mergers
...
Conflicts:
cake/libs/model/datasources/dbo_source.php
cake/libs/view/helpers/js.php
2009-12-27 12:45:12 -05:00
Mark Story
6b2154d961
Merge branch '1.2' into mergers
...
Conflicts:
cake/libs/inflector.php
cake/tests/cases/libs/model/model_validation.test.php
2009-12-27 12:34:27 -05:00
predominant
19924501d1
Updating Inflector to employ internal caching.
...
Refs #23
2009-12-25 18:53:38 +11:00
Joël Perras
173b4e7b5d
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2009-12-22 23:53:01 -05:00