root/trunk/system/libraries/Validation.php


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @2637 [2637] 05/05/08 15:09:26 Shadowhand Properly handle key strings in ORM::safe_array()
(edit) @2631 [2631] 05/05/08 12:56:22 Shadowhand Updated Validation to use arr::map_recursive(), since …
(edit) @2626 [2626] 05/05/08 11:56:32 Shadowhand Updated Validation array handling using Kohana::key_string_set
(edit) @2618 [2618] 05/02/08 13:16:13 Shadowhand Added array support to Validation. By using field.*, you can apply rules …
(edit) @2590 [2590] 04/28/08 15:47:15 Geert Split out email obfuscator from html::mailto() into html::email()
(edit) @2587 [2587] 04/28/08 12:28:25 Geert Follow-up to r2585.
(edit) @2585 [2585] 04/28/08 11:43:32 Shadowhand Added Validation::regex() to do simple regex checks on fields
(edit) @2497 [2497] 04/15/08 02:17:26 Shadowhand Fixing more bugs in r2494... maybe I should sleep.
(edit) @2496 [2496] 04/15/08 02:16:45 Shadowhand Good catch, jonathangordon.
(edit) @2495 [2495] 04/15/08 02:15:59 Shadowhand D'oh! Syntax error in r2494!
(edit) @2494 [2494] 04/15/08 02:12:37 Shadowhand Fixing #505. Added Validation::allow_empty_rules($rule, $rule...) and the …
(edit) @2490 [2490] 04/15/08 00:26:42 Shadowhand Added Validation::safe_array() to extract only keys that were validated.
(edit) @2449 [2449] 04/07/08 15:42:51 Shadowhand Added Validation::submitted()
(edit) @2447 [2447] 04/07/08 15:17:43 Geert Moved prep_url from Validation to format helper
(edit) @2436 [2436] 04/06/08 05:47:37 armen Followup r2422: Removed $message_format.
(edit) @2423 [2423] 04/04/08 15:58:39 Geert Follow-up and fix for r2422
(edit) @2422 [2422] 04/04/08 15:28:14 Shadowhand Updated Validation: * Validation::message() in favor of …
(edit) @2420 [2420] 04/04/08 14:39:18 Geert Cache->set() expects time to live in seconds, not a unix timestamp. Also …
(edit) @2382 [2382] 03/30/08 00:55:58 Shadowhand Fixing a bug in Validation that would prevent a callback from being used …
(edit) @2360 [2360] 03/27/08 13:18:02 Shadowhand Moving the non-submitted return in Validation to happen *after* …
(edit) @2357 [2357] 03/27/08 04:45:08 Geert Fixed #521
(edit) @2344 [2344] 03/25/08 10:21:45 Geert Added prep_url() method to Validation
(edit) @2334 [2334] 03/24/08 10:56:23 Shadowhand Added preliminary support for $submitted status to Validation
(edit) @2223 [2223] 03/05/08 19:22:35 Shadowhand Fixing #432.
(edit) @2169 [2169] 02/25/08 15:36:56 Shadowhand Added Validation::load_errors($file), to provide a generic interface for …
(edit) @2159 [2159] 02/24/08 10:34:30 Geert * Modified Kohana::debug() to also show the variable type because …
(edit) @2143 [2143] 02/22/08 14:23:19 Geert Various small cleanups
(edit) @2088 [2088] 02/20/08 15:27:58 armen Added depends_on rule. Update the examples controller with new validation …
(edit) @2082 [2082] 02/19/08 13:21:23 Shadowhand Flexiblimilizing Validation somewhat.
(edit) @2071 [2071] 02/18/08 01:18:58 armen empty() does not work correctly with ArrayObject? when using …
(edit) @2070 [2070] 02/17/08 00:56:26 armen --
(edit) @2069 [2069] 02/17/08 00:36:03 armen in PHP > 5.2.3 its possible to use scope resolution syntax which is nice, …
(edit) @2064 [2064] 02/16/08 04:40:44 Geert Some small changes: * Validation length now utf8 * No more use of :any …
(edit) @2063 [2063] 02/16/08 01:58:37 armen Typo.
(edit) @2046 [2046] 02/14/08 18:26:13 Shadowhand Replacing Validation with the shiny new extensible version.
(edit) @1992 [1992] 02/08/08 12:47:16 armen Fixes #386.
(edit) @1939 [1939] 02/05/08 19:01:11 armen Validation comments converted.
(edit) @1911 [1911] 02/04/08 11:13:16 PugFish A load more comments converted. Fixed escaping error in fr_FR i18n …
(edit) @1897 [1897] 02/01/08 09:09:45 OscarB Fix for #346
(edit) @1821 [1821] 01/26/08 05:11:06 Geert * Removing database.show_errors from comments as well * Minor …
(edit) @1816 [1816] 01/25/08 17:08:12 Geert * Small regex optimization (non-capturing parentheses now). * Updating …
(edit) @1815 [1815] 01/25/08 16:22:37 armen Fixing #337 You can validate a range of image size eg: 10x20-100x200 Added …
(edit) @1812 [1812] 01/25/08 14:02:26 armen Fixing #340, Thanks nrm!
(edit) @1808 [1808] 01/25/08 12:07:14 armen Fixing #335.
(edit) @1766 [1766] 01/21/08 07:56:39 Geert Cleaning up tons of whitespace: * Use tabs for indenting * Use spaces …
(edit) @1734 [1734] 01/19/08 12:36:39 armen closes #323
(edit) @1672 [1672] 01/04/08 14:39:15 Geert * Fixed #302 (Translators: update validation file please) * Some minor …
(edit) @1646 [1646] 12/30/07 05:00:36 Geert Thanks, zextra. http://forum.kohanaphp.com/index.php/topic,444.0.html
(edit) @1546 [1546] 12/16/07 06:23:11 armen It is possible to use , in validator parameter now, just use a leading …
(edit) @1545 [1545] 12/16/07 03:39:45 armen Removed auto determination of delimiter. *BC Break*: You have to add …
(edit) @1536 [1536] 12/14/07 17:35:13 armen You can use php functions like trim, sha1, md5, strtoupper, etc as a rule, …
(edit) @1529 [1529] 12/14/07 05:55:34 armen Optimized validation a bit.
(edit) @1528 [1528] 12/14/07 05:19:05 armen Fixed a typo.
(edit) @1522 [1522] 12/13/07 13:28:54 PugFish Normalising properties
(edit) @1483 [1483] 12/10/07 11:47:17 Shadowhand Removing scheme from the output message.
(edit) @1433 [1433] 12/06/07 15:47:17 Shadowhand Fixing a bug in Validation::set_message()
(edit) @1297 [1297] 11/27/07 16:20:43 Shadowhand Small changes to core: * Added Kodoc to the list of available default …
(edit) @1277 [1277] 11/26/07 13:43:18 Shadowhand Fixing #234, thanks Maxximus!
(edit) @1270 [1270] 11/26/07 08:23:00 armen Fixed #243 Fixed a Typo.
(edit) @1269 [1269] 11/26/07 03:28:16 Geert Removing enable_utf8 config setting. The reason it was added in r1250 was …
(edit) @1250 [1250] 11/23/07 18:10:56 Shadowhand More changes to core: * Added a kohana_loading benchmark, for timing …
(edit) @1230 [1230] 11/21/07 16:02:03 Shadowhand Changes to core: * Updated Kodoc with a slightly more complete usage. * …
(edit) @1165 [1165] 11/18/07 02:23:59 Shadowhand Correction to r1163.
(edit) @1164 [1164] 11/18/07 00:30:18 Shadowhand Changed Validation::depend_on to depends_on, for clarity.
(edit) @1163 [1163] 11/18/07 00:17:01 Shadowhand Switched to using empty() for Validation::depend_on(), should produce more …
(edit) @1160 [1160] 11/17/07 23:07:32 Shadowhand Fixing a bug in Validation::set_rules() that could cause a field name to …
(edit) @1142 [1142] 11/16/07 16:01:57 Shadowhand Fixing a bug in validation that prevented uploads from working …
(edit) @1125 [1125] 11/15/07 18:07:48 armen Added a depend_on rule. refs #187
(edit) @1116 [1116] 11/14/07 17:17:50 Shadowhand Changes to Validation: * Fixed a bug that could improperly set a …
(edit) @1115 [1115] 11/14/07 15:43:26 armen Added Validation::range, refs #187
(edit) @1112 [1112] 11/14/07 13:13:58 armen additional die removed.
(edit) @1109 [1109] 11/14/07 07:20:14 armen Do not force 'callback' and 'matches' to be required.
(edit) @1102 [1102] 11/12/07 12:53:58 armen Fixed #183
(edit) @1101 [1101] 11/12/07 11:54:25 armen closes #172
(edit) @1019 [1019] 11/07/07 20:41:08 Shadowhand Small changes: * Changed Kohana version to 2.0 * Removed …
(edit) @1017 [1017] 11/07/07 20:02:20 Shadowhand A couple of small changes: * Added Validation::run_rule() to properly …
(edit) @1015 [1015] 11/07/07 18:18:26 PugFish Comments updated: * All comments should be converted now except a few not …
(edit) @967 [967] 11/03/07 03:55:45 Shadowhand Fixing #165, load the default messages in construct()
(edit) @964 [964] 11/03/07 01:16:58 Shadowhand Fixing #161, thanks bwinkers.
(edit) @963 [963] 11/03/07 01:10:05 Shadowhand Small changes to Validation: * Fixing #163 * Validation will now stop …
(edit) @954 [954] 11/02/07 15:53:16 Shadowhand Fixed a broken strpos() in Validation. Thanks Arme!
(edit) @944 [944] 11/01/07 12:41:13 Shadowhand Added a switch to get() for $this->validation->data_array;
(edit) @942 [942] 11/01/07 12:07:36 Shadowhand Added Validation::in_array(), fixed an error in Mysql_Result that would …
(edit) @932 [932] 11/01/07 04:14:45 PugFish Englishised some descriptions Converted Validation to new comments
(edit) @915 [915] 10/30/07 02:24:36 Shadowhand Small changes: * Moved output stats insertion from …
(edit) @912 [912] 10/28/07 19:03:45 Geert * Finished porting validation functions to helper. * UTF-8 compatibility …
(edit) @911 [911] 10/28/07 18:33:56 Geert Started porting pure validation functions to a helper. This way you can …
(edit) @906 [906] 10/27/07 20:33:15 Shadowhand Added protocol checking to Validation::valid_url()
(edit) @905 [905] 10/27/07 20:21:24 Shadowhand Added Validation::valid_url
(edit) @884 [884] 10/24/07 13:33:58 Shadowhand Switch to === NULL for config checks, as per the updated Config class.
(edit) @846 [846] 10/18/07 15:57:13 Shadowhand Small changes: * Fixed core to match up with new config files, * …
(edit) @816 [816] 10/13/07 17:45:08 Shadowhand Cleaned up libraries, normalized comment headers, started Cache library, …
(edit) @809 [809] 10/13/07 14:13:50 Geert Added: * utf8_alpha_numeric * utf8_alpha_dash * utf8_digit
(edit) @806 [806] 10/13/07 11:19:31 Shadowhand Quick changes: * Added Kohana::debug_output($vars, $to, $debug); * Spit …
(edit) @797 [797] 10/12/07 14:42:27 Shadowhand Added "bmp" to the list of image extensions
(edit) @791 [791] 10/12/07 01:04:58 Geert * Made min_length, max_length and exact_length UTF-8 compatible * Added …
(edit) @790 [790] 10/11/07 23:25:39 Shadowhand Most of validation is ported now.
(edit) @755 [755] 10/11/07 02:58:48 Shadowhand Fixed typos
(edit) @704 [704] 10/08/07 12:40:57 Geert Just some coding style
(edit) @701 [701] 10/08/07 11:39:27 Geert View constructor didn't allow for tiff (with double f) because of $ at the …
Note: See TracRevisionLog for help on using the revision log.