Dries Buytaert
a3f84c7782
- Patch #38349 by hunmonk:
...
1. hook_form_validate_alter and hook_form_execute_alter have been eliminated. there usage was limiting and a bit confusing. now, only hook_form_alter remains
2. replacing those hooks are the #validate and #execute attributes. these can be used either when building the form in a module, or via hook_form_alter. these attributes are built in array form, to allow for flexibility in how they are called. for example, a module could simply add an element to the #validate array via hook_form_alter if it wished to perform additional validation, or it could redeclare the entire #validate array if it wanted to override any existing validation
3. attributes #validation_arguments and #execution_arguments have been added to allow args to be used w/ custom validation and execution functions. this are also declared in array format
4. renamed #valid attribute to #validation. this doesn't cause any conflicts, and makes the naming convention more consistent
5. renamed the existing #execute attribute associated w/ submit buttons to #submit
2005-11-22 21:31:15 +00:00
Dries Buytaert
d52bcb63cc
- Patch #37766 by Thomas Ilsche: fixed date handling in XML-RPC backend.
2005-11-21 21:35:43 +00:00
Dries Buytaert
7a5c5b83a7
- Patch #35725 by drumm: improved conf_init() documentation.
2005-11-21 21:33:44 +00:00
Dries Buytaert
1b388b4653
- Patch #35863 by chx: add link to forms API documentation
2005-11-21 18:14:23 +00:00
Dries Buytaert
03dda45573
- Patch #37752 by chx and Richard: renamed #post_process to #after_build.
2005-11-21 18:10:26 +00:00
Steven Wittens
cbc92f59cf
#35725 : Make site.com:80 work like site.com
2005-11-21 16:24:41 +00:00
Dries Buytaert
463ffe24ec
- Patch #35724 by asimmonds: fixed handling of empty form fields.
2005-11-21 16:21:51 +00:00
Steven Wittens
17205b6e62
#36352 : Don't prefix temporary table names after all.
...
#36658 : Make search query pgsql compatible.
2005-11-21 15:55:17 +00:00
Dries Buytaert
61ebf7b56b
- Patch #37401 by webchick: fixed dependency of date selection form element on profile module.
2005-11-21 09:42:14 +00:00
Dries Buytaert
5b4ebcdb25
- Patch #36828 by m3avrck: some MySQLi fixes and some PHP5 fixes.
2005-11-18 14:03:55 +00:00
Dries Buytaert
f852db82dc
- Patch #37915 by chx: improved readability of forms API.
2005-11-18 13:48:09 +00:00
Dries Buytaert
3b7a6a4931
- Patch #37400 by vwX/chx: fixed problem with methodHelp
2005-11-13 08:18:12 +00:00
Steven Wittens
21bed11e66
- Add missing url()s around form actions (these would break without clean URLs)
2005-11-13 02:32:18 +00:00
Dries Buytaert
aeed4cd8e4
- Patch #35644 by webchick: forms API simplificiations.
2005-11-12 11:26:16 +00:00
Dries Buytaert
64a617c208
- Patch #26249 by Morbus: improved handling of temporary files/directory.
...
If your module uses variable_get('file_directory_temp', ...) or
variable_get('file_directory_path', ...) please update it to use the new
API.
A list of affected modules is available at http://drupal.org/node/26249#comment-54194 .
2005-11-12 09:23:50 +00:00
Dries Buytaert
7dd24bec5c
- SQL query maintenance: '%d' -> %d.
2005-11-12 09:14:30 +00:00
Steven Wittens
36b62d969d
#37078 : forms api does not respect form_id when populating from ['edit'] or validating
2005-11-12 03:45:57 +00:00
Dries Buytaert
dac42f83c8
- Patch #36079 by ax/chx: various blogapi.module fixes.
2005-11-09 19:03:35 +00:00
Dries Buytaert
3768616a65
- Patch #36829 by hunmonk: current form_id_form_alter will cause name collisions.
2005-11-08 20:17:42 +00:00
Dries Buytaert
d8425d23d2
- Patch #36606 by hunmonk: validation callback functions can't be overridden.
2005-11-08 20:02:24 +00:00
Dries Buytaert
7f0909ebfd
- Patch #36407 by DriesK: make sure the private key is set.
2005-11-06 11:38:56 +00:00
Dries Buytaert
745b7beda8
- Patch #10658 by Morbus: create new folders with the right permissions.
2005-11-04 20:19:14 +00:00
Steven Wittens
2ad97f0277
- #36255 : Fix db_query_temporary() in pgsql
...
- Prefix temporary table names (helps on restricted hosts)
2005-11-04 13:02:51 +00:00
Dries Buytaert
ea53aad7c8
- Patch #22215 by Richard Archer: refactored primary and secondary links.
...
Deprecates the primary_links module.
This patch was much needed. Thanks Richards!
NOTE: if some themers could investigate if there is room for improvement
with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert
cbcb85560a
- Patch #35816 by chx: fixed problem with checkbox handling in the form API.
2005-11-03 15:42:31 +00:00
Dries Buytaert
46abc88ee4
- Patch #26249 by crunchywelch, Junyor: use upload_tmp_dir as default temporary directory. Fixed file problems on Windows NT systems.
2005-11-01 16:31:09 +00:00
Dries Buytaert
5684831958
- Patch #35874 by asimmonds: added missing $Id$ tags.
2005-11-01 09:58:01 +00:00
Dries Buytaert
f2185037be
- Patch #35630 by adrian: fixed problem with how form trees are build.
2005-10-29 07:00:33 +00:00
Dries Buytaert
22cf0b4ef7
- Patch #35410 by kbahey: made site offline feature work.
2005-10-29 06:58:56 +00:00
Dries Buytaert
d01b4dbe10
- Patch #35354 by Moshe/chx: only update the last access time for authenticated users.
2005-10-28 13:35:49 +00:00
Dries Buytaert
699df6742b
- Patch #34214 by ax:
...
* xmlrpc_value_calculate_type() fails for empty arrays
* PHPDoc for xmlrpc_value_calculate_type()
* use is_*() instead of gettype() as advised in the PHP manual (and document this)
* coding style
2005-10-28 13:13:30 +00:00
Steven Wittens
a3e47f1e44
- #33852 : remove legacy.inc (in anticipation of the bridge stuff)
2005-10-28 01:06:36 +00:00
Steven Wittens
f2675cfd3a
- Remove left over class from form api conversion
2005-10-26 01:25:01 +00:00
Steven Wittens
fbaede7ec0
- #35264 : More form api fixes
2005-10-26 01:24:09 +00:00
Steven Wittens
0cac6939b7
- Fix usage of header() to drupal_set_header()
...
- Emit charset for blogapi RSD
2005-10-25 03:43:57 +00:00
Dries Buytaert
7f01d4f02b
- Patch #34907 by gtcaz: "Array" printed in each region.
2005-10-23 09:47:53 +00:00
Dries Buytaert
f6764cfbd8
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
2005-10-22 15:14:46 +00:00
Steven Wittens
f31db8d70f
- #22850 : Search query containing / results in 404 on clean URLs.
2005-10-21 11:14:55 +00:00
Steven Wittens
a9260fa2cd
- #32603 : Clean up theme_pager_link (drumm)
2005-10-21 10:58:15 +00:00
Steven Wittens
278e2dd309
- Add maintenance-page error screens when the php module for the dbtype is not loaded (just showed a blank screen before)
2005-10-20 21:30:50 +00:00
Dries Buytaert
76000f1d44
- Reverse last patch.
2005-10-18 14:54:54 +00:00
Dries Buytaert
13473ddc51
- Patch #33852 by Gerhard: make legacy.inc optional.
2005-10-18 14:52:50 +00:00
Dries Buytaert
8d460b406d
- Patch #32573 by Moshe: added support for ordered lists to theme_item_list().
2005-10-18 14:45:09 +00:00
Steven Wittens
909d6928ac
- #28159 : Advanced search features (hello from DrupalCon)
...
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Dries Buytaert
d3211f014d
- Modified patch #13180/#29414: use mysql_real_escape_string() to escape
...
strings rather than addslashes(). mysql_real_escape_string() uses the
connections charset settings to properly escape.
2005-10-13 10:23:17 +00:00
Steven Wittens
5f0e0f3649
- #33433 : More form API fixes, and error handling improvements by Chx.
2005-10-13 10:02:31 +00:00
Dries Buytaert
75fe6b6c0a
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
2005-10-11 19:44:35 +00:00
Dries Buytaert
927d98d068
- Patch #33555 by leoburd: fixed typo in XML-RPC backend.
2005-10-10 09:03:11 +00:00
Dries Buytaert
59cb3c4568
- Patch #13224 by Richard Archer and Gerhard: improved gzip caching.
2005-10-09 21:51:43 +00:00
Dries Buytaert
fd96728f3c
- Second batch of form API fixes by chx.
2005-10-09 10:39:15 +00:00