Marc Würth
|
af4451de7f
|
Removed superfluous brackets in regex
The outer brackets are just another grouping
|
2013-02-14 17:24:58 +01:00 |
|
euromark
|
111366d5c8
|
== to === and != to !== where applicable
|
2013-02-12 03:38:08 +01:00 |
|
Graham Weldon
|
66d856d883
|
Added extra line for referencing license file for copyright
|
2013-02-08 21:22:51 +09:00 |
|
Graham Weldon
|
7b860debe4
|
This commit is dedicated to Mark Story, who has put in much dedicated time and effort into CakePHP over the years.
I just wanted to ruin his evening, because this change needs to be merged into CakePHP 3.0.
|
2013-02-08 20:59:49 +09:00 |
|
euromark
|
b811afbc44
|
double spaces to single ones
|
2012-12-22 23:48:15 +01:00 |
|
Jose Lorenzo Rodriguez
|
0f5fa290ed
|
Merge remote-tracking branch 'origin/master' into 2.3
|
2012-12-01 23:19:53 +01:00 |
|
mark_story
|
479aefc438
|
Update TLD validation to accept gTLD variations
The upcoming gTLD extensions will allow much more variety in TLD names.
Loosen the validation to better accept different length TLDs.
Fixes #3414
|
2012-11-30 22:11:57 -05:00 |
|
ADmad
|
72d6ca636f
|
Docblock fixes
|
2012-11-29 04:36:29 +05:30 |
|
euromark
|
18fb132d41
|
some doc block corrections as well a !! to (bool) convertion
remove nonsense default value
|
2012-11-22 14:28:09 +01:00 |
|
euromark
|
0f978195d6
|
coding standards regarding whitespaces
|
2012-10-27 00:46:12 +02:00 |
|
mark_story
|
c4b9fa6c7a
|
Fix failing tests.
|
2012-10-24 21:00:56 -04:00 |
|
dogmatic69
|
408e619c9f
|
Merge branch '2.3' into type-checks
Conflicts:
lib/Cake/Console/Command/Task/ModelTask.php
lib/Cake/Controller/Component/RequestHandlerComponent.php
lib/Cake/Model/Datasource/Database/Mysql.php
lib/Cake/Utility/CakeNumber.php
|
2012-10-01 02:08:00 +01:00 |
|
Mark Story
|
07c5102de5
|
Merge pull request #850 from ceeram/2.2-filesize
Add CakeNumber::fromReadableSize() and Validation::filesize()
|
2012-09-17 17:55:23 -07:00 |
|
dogmatic69
|
22a2e1b51e
|
converting $foo == / $foo == 0 to !$foo (and a few $foo === 0)
|
2012-09-14 18:42:25 +01:00 |
|
Ber Clausen
|
63548267e9
|
Refactor Validator::decimal() to be more flexible with decimal
separators and PHP magic.
Lots of testing added.
|
2012-08-27 23:25:17 -03:00 |
|
Ber Clausen
|
b75a6b440a
|
Treat float numbers with trailing zeroes removed by PHP, accordingly.
Revert #2800 (28bd6880df ) regex changes. Also add more tests.
Signed-off-by: mark_story <mark@mark-story.com>
|
2012-08-24 22:22:12 -04:00 |
|
U-Zyn Chua
|
e7c4064a69
|
Fix URL validation to allow underscores in subdomain.
|
2012-07-19 20:51:33 +08:00 |
|
Ceeram
|
6ec0afcf5d
|
Add CakeNumber::fromReadableSize() and Validation::filesize()
|
2012-06-26 12:17:25 +02:00 |
|
ADmad
|
76f93178a8
|
Tweaked Validation::extension()
|
2012-06-25 19:15:52 +05:30 |
|
Ceeram
|
74a0bd98c2
|
throw exception in Validation::mimeType() if PHP has nothing to provide the mimetype
|
2012-06-14 19:01:41 +02:00 |
|
mark_story
|
76dd49145a
|
Merge branch '2.1' into 2.2
|
2012-06-10 20:34:20 -04:00 |
|
mark_story
|
c31858635f
|
Don't OR options together.
By default FILTER_VALIDATE_IP does both.
|
2012-06-10 20:29:48 -04:00 |
|
mark_story
|
963f1ca449
|
Don't |= with null.
|
2012-06-10 20:21:59 -04:00 |
|
mark_story
|
7ae660c779
|
Merge branch '2.1' into 2.2
Conflicts:
lib/Cake/Cache/Engine/XcacheEngine.php
|
2012-06-10 20:05:25 -04:00 |
|
mark_story
|
454fae9bd0
|
Fix Validation::ip() not respecting type.
Apply patch from 'Xavier Franquet' to fix ip(), so that
it does not always validate both IP versions.
Fixes #2944
|
2012-06-10 19:37:44 -04:00 |
|
Florian Krämer
|
fea4ae6523
|
Changing File->info() to File->mime() in Validation::mimeType()
|
2012-05-28 00:48:22 +02:00 |
|
Florian Krämer
|
e3a6e9e169
|
Adding uploadError() and mimeType() to the Validation class
|
2012-05-28 00:32:30 +02:00 |
|
Mark Story
|
4485f597b7
|
Merge pull request #662 from jellehenkens/2.2-validation-natural-number
Adding validation rule for natural numbers
|
2012-05-27 11:01:31 -07:00 |
|
Jelle Henkens
|
f6a6e3381e
|
Fixing typo in the docblock
|
2012-05-24 20:07:48 +01:00 |
|
Jelle Henkens
|
f7ce5262b7
|
Updating mixed @param documentation to seperate list of accepted types
|
2012-05-21 21:55:10 +01:00 |
|
Jelle Henkens
|
7546be6394
|
Adding a validation rule for checking natural numbers
|
2012-05-21 13:39:31 +01:00 |
|
Ceeram
|
fe0c7d348a
|
add strict parameter to inList() and multiple()
|
2012-05-07 16:29:13 +02:00 |
|
Cauan Cabral
|
28bd6880df
|
Make Validation::decimal accept integers
Fix #2800
Force locale of ValidationTests with en_US to ensure decimal dot separator
|
2012-04-17 20:22:22 -04:00 |
|
Juan Basso
|
3b1bd90ad6
|
Updated copyright to 2012.
|
2012-03-12 22:46:07 -04:00 |
|
Majna
|
4543a4cb88
|
Make Validation class more strict when checking values in list.
Use in_array() with 'strict' param. Affected rules are Validation::inList() and Validation::multiple().
|
2012-03-07 18:52:48 +01:00 |
|
mark_story
|
9d325fe46e
|
Fixing most coding standard issues in Utility/
|
2012-03-03 17:31:47 -05:00 |
|
mattpotts
|
1c645152ca
|
added sftp to url()
|
2012-01-19 22:05:10 -05:00 |
|
Kyle Robinson Young
|
d794084d38
|
More code standards formatting
|
2011-12-15 23:00:07 -08:00 |
|
Kyle Robinson Young
|
51f9837db4
|
Code standards formatting
|
2011-12-15 22:52:07 -08:00 |
|
mark_story
|
645ef47878
|
Fix multiple date formats in Validation::date()
Fixes #2364
|
2011-12-12 20:21:10 -05:00 |
|
Kyle Robinson Young
|
8197f87dbc
|
Spelling and grammar fixes
|
2011-12-01 21:58:09 -08:00 |
|
mark_story
|
535b45b600
|
Fix strict warnings on Validation class.
|
2011-10-19 23:18:46 -04:00 |
|
Rachman Chavik
|
2bb93761cc
|
fixing typos
|
2011-10-19 12:19:28 +07:00 |
|
mark_story
|
c9bd97309f
|
Merge branch '1.3' into merger
Conflicts:
cake/libs/configure.php
cake/libs/controller/components/email.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/controller/components/email.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
lib/Cake/Config/config.php
lib/Cake/Console/Command/Task/ViewTask.php
lib/Cake/Model/Datasource/DboSource.php
lib/Cake/Model/Model.php
lib/Cake/Test/Case/Model/ModelReadTest.php
lib/Cake/Test/Case/Model/ModelValidationTest.php
lib/Cake/Test/Case/Utility/InflectorTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/Utility/Inflector.php
lib/Cake/Utility/Validation.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper.php
lib/Cake/View/Helper/FormHelper.php
|
2011-10-01 22:38:20 -04:00 |
|
Mark Story
|
59c6b419e5
|
Merge branch '1.3' into merger
Conflicts:
cake/console/libs/bake.php
cake/libs/configure.php
cake/libs/controller/components/request_handler.php
cake/tests/cases/console/libs/tasks/fixture.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
lib/Cake/Cache/Engine/FileEngine.php
lib/Cake/Test/Case/Controller/ScaffoldTest.php
lib/Cake/Utility/Validation.php
|
2011-08-28 22:08:49 -04:00 |
|
Juan Basso
|
f5a54d00dd
|
Changed methods and attributes from private to protected.
|
2011-08-20 00:43:34 -04:00 |
|
Juan Basso
|
0575e92833
|
Added visibility in some methods and attributes.
|
2011-08-18 22:30:28 -04:00 |
|
Juan Basso
|
16ef234180
|
Removing trailing spaces.
|
2011-08-15 23:55:08 -04:00 |
|
Juan Basso
|
9bc3e567c1
|
Removed the @access and @static.
|
2011-07-30 20:56:48 -04:00 |
|
Juan Basso
|
9e75de2f28
|
Fixed some API doc in core and utility folders.
|
2011-07-28 23:33:17 -04:00 |
|