Commit Graph

580 Commits (8889a5d168b44c526cabf8130568f640dcb51a17)

Author SHA1 Message Date
webchick 261b66d38c Issue #1040262 by tsi: Fixed locale-rtl.css. 2011-07-07 17:13:44 -07:00
webchick 1046f0f2de Issue #1162022 by sun: Ensure #validate and #submit keys always exist in drupal_prepare_form(). 2011-07-04 10:11:28 -07:00
webchick db4bc4b0a8 Issue #188947 by lyricnz: Fixed date_validate()(form) should be date_validate()(element). 2011-06-29 23:41:11 -07:00
webchick d6cba5f650 Issue #1096448 by bfroehle: Changed drupal_redirect_form() needs better documentation of form_state['redirect']. 2011-06-21 23:11:38 -07:00
webchick 6fc37ebf29 Issue #604902 by rschwab, drewish: Add documentation about Batch API success parameter. 2011-06-01 01:39:32 -07:00
Dries Buytaert a22d7770d4 - Patch #1024684 by linclark: omit & in @param statements (for consistency). 2011-05-08 15:51:01 -04:00
Dries Buytaert d96bf5d808 - Patch #852120 by cygri: batch operations example doesn't do proper sanitizing. 2011-05-01 06:37:52 -04:00
The Great Git Migration 79bcdb8b7d Stripping CVS keywords 2011-02-25 02:06:03 +00:00
Dries Buytaert fa39282ef7 - Patch #1056108 by 1V: consistent use of 'JavaScript' and 'Ajax'. 2011-02-19 00:09:11 +00:00
Angie Byron d654ff6dde #690980 by Dave Reid, grendzy, cwgordon7: Security hardening: Ensure password fields are empty on display. 2011-01-29 10:08:45 +00:00
Dries Buytaert 2dbeb60535 - Patch #1027762 by droplet: remove non necessary space. 2011-01-18 18:23:40 +00:00
Angie Byron 6ec0561ee2 #994870 follow-up by eaton: Add missing element argument to machine name exists callback. 2011-01-04 16:46:24 +00:00
Angie Byron db538c8250 #987384 follow-up by h_peter, jhodgdon: Further clean-ups to group topics. 2011-01-03 18:03:54 +00:00
Angie Byron 4a8df419ab #994870 by sun: Fixed Custom #type machine_name 'exists' callbacks cannot access other form elements/values 2011-01-03 00:26:47 +00:00
Angie Byron 75a7c31c33 #971120 by bec, dereine, bojanz, chx: Fixed Radio button values get run through check_plain() twice 2010-12-30 22:52:24 +00:00
Angie Byron bf534a219f #992928 by das-peter, David_Rothstein: Fixed Command line (Drush) install fails on SQLite (#limit_validation_errors doesn't work for programmatic form submissions) 2010-12-21 21:05:22 +00:00
Angie Byron 7eb6f7cb44 #977560 by joachim: Fix doc typo. 2010-12-18 06:29:46 +00:00
Angie Byron 1d9e77a513 #988760 by ksenzee: Fixed theme_container can't be used with non-form elements 2010-12-08 06:55:01 +00:00
Dries Buytaert b1177ba603 - Patch #954804 by ksenzee, merlinofchaos: all .js in /misc should be registered as a library. 2010-11-30 17:16:37 +00:00
Dries Buytaert 22cfc5bb2c - Patch #561226 by fago, sun, effulgentsia, YesCT, marcingy: forms (elements) need to able to specify include files to be loaded for building. 2010-11-27 19:12:56 +00:00
Dries Buytaert 3e1b4793a2 - Patch #953914 by chx, yched, pifantastic: #limit_validation_errors() fails is parents array contains numeric indexes. 2010-11-17 04:10:52 +00:00
Angie Byron 9c05cdef9e #953914 by chx, yched, effulgentsia, pifantastic: Fixed #limit_validation_errors fails is parents array contains numeric indexes. 2010-11-15 10:06:32 +00:00
Dries Buytaert b51569528f - Patch #745590 by justinrandell, effulgentsia, yched, quicksketch, eojthebrave: #managed_file() element does not work when #extended not TRUE, or when ancestor element doesn't have #tree=TRUE. 2010-11-13 14:04:08 +00:00
Dries Buytaert 0d74d52c2a - Patch #915936 by sun: make it easier to define checkboxes/radios with customized sub-elements. 2010-11-07 21:46:09 +00:00
Dries Buytaert 0344a78d96 - Patch #654796 by chx, c960657, sun, effulgentsia: fix bugs with checkbox element. 2010-10-28 02:20:14 +00:00
Angie Byron c5156e1164 #831966 by Heine, solotandem: Fixed unable to uncheck rows in tableselect default_value 2010-10-21 20:46:58 +00:00
Dries Buytaert b0cbc018ec - Patch #882694 by mgifford, sun, ksenzee, bleen18, yched: add missing form element titles for accessibility. 2010-10-20 01:31:07 +00:00
Dries Buytaert d3c83c021e - Patch #942718 by joachim: drupal_get_form() and hook_form_alter() should mention #parameters. 2010-10-20 00:53:27 +00:00
Dries Buytaert 284f2b11a4 - Patch #902644 by sun, tobiasb: machine names are too hard to implement. Date types and menu names are not validated.
This patch fixes a bug, but is also a last minute clean-up that will help with better distribution support. We discussed this in http://drupal.org/node/933846.
2010-10-13 13:43:21 +00:00
Angie Byron 800cdcc840 #700380 by mitchmac, Dave Reid, mfb, Ryan Palmer, justinrandell: Fix sorting in tableselect if #weight is not set. 2010-10-07 17:31:39 +00:00
Dries Buytaert facc581013 - Patch #769226 by Owen Barton, sun, effulgentsia, alanburke, bleen18, mfer: optimize JS/CSS aggregation for front-end performance and DX. 2010-10-05 19:59:10 +00:00
Dries Buytaert f85a37c307 - Patch #140783 by sun, chx, effulgentsia, David_Rothstein, webchick: a select list without #default_value() always passes form validation. 2010-10-04 18:00:46 +00:00
Dries Buytaert 69e9e3e3a2 - Patch #891476 by solotandem: improved code comments 2010-10-03 01:04:51 +00:00
Angie Byron 96672deebf #917220 by Everett Zufelt, mgifford: Invisible elements should appear before form elements. 2010-10-01 22:28:55 +00:00
Dries Buytaert 9eaa04648a - Patch #756762 by effulgentsia, fago, sun: AJAX should follow same rules for whether to call drupal_rebuild_form() as non-AJAX submissions. 2010-09-27 00:53:56 +00:00
Dries Buytaert 3780b17654 - Patch #921606 by munzirtaha, bleen18: various code uses is_null(). 2010-09-26 23:31:36 +00:00
Dries Buytaert e22b2153a2 - Patch #140783 by sun: a select list without #default_value() always passes form validation. 2010-09-24 21:36:22 +00:00
Dries Buytaert 7330a22096 - Patch #168722 by sun, bleen18: hidden input elements contain invalid characters in ID attributes. 2010-09-22 03:34:57 +00:00
Dries Buytaert 2c10d1526f - Patch #740834 by makononov, sun: form elements cannot be rendered without form_builder(). 2010-09-16 20:14:49 +00:00
Dries Buytaert 679372502b - Patch #910572 by sun, David_Rothstein: command line installations are broken (programmatic form submissions don't need a theme?). 2010-09-14 21:42:05 +00:00
Dries Buytaert f8b63338e4 - Patch #756762 by effulgentsia, fago, sun, rfay, pwolanin: AJAX should follow same rules for whether to call drupal_rebuild_form() as non-AJAX submissions. 2010-09-13 01:09:26 +00:00
Dries Buytaert 7017f77cfc - Patch #240828 by sun, yoroy: fixed 'Validation error, please try again...' is terrible UI and confuses users. 2010-09-11 14:38:04 +00:00
Angie Byron e4aab2d289 #763376 follow-up by fago, sun, effulgentsia: Minor adjustments to drupal_array_set/get_nested_value(). 2010-09-10 07:58:40 +00:00
Dries Buytaert eaee909a00 - Patch #757154 by sun, effulgentsia: base form_id() via hook_forms() not taken into account for #validate, #submit, hook_form_FORMID_alter(). 2010-09-09 23:01:48 +00:00
Angie Byron 8911c4ef45 #891476 by solotandem: Fixed Tableselect is missing a column header when not multiple value. 2010-08-30 17:07:49 +00:00
Angie Byron cc4ce5053b #895896 by Jacine: Fixed Textarea element should not have a value attribute. 2010-08-30 05:52:35 +00:00
Angie Byron 83c52c3b1a #763376 by fago, sun, noahb, effulgentsia, ksenzee, jhodgdon: Fixed Not validated form values appear in (). 2010-08-27 11:54:32 +00:00
Dries Buytaert 155d2c1d99 - Patch #883336 by sun, andypost: theme_image_button() broken. 2010-08-20 01:08:18 +00:00
Dries Buytaert 26dce525a2 - Rollback of #447816 -- didn't meant to commit that just yet. 2010-08-18 00:44:52 +00:00
Dries Buytaert 946a8d5967 - Patch #879910 by plach: fixed text_field_prepare_translation() broken. 2010-08-17 18:25:31 +00:00
Dries Buytaert 699afdd1be - Patch #690980 by seutje, sun, seanyo, aaroncouch: disabled form elements not properly rendered. 2010-07-31 04:01:51 +00:00
Dries Buytaert 93cf8ab31a - Patch #800460 by effulgentsia, sun: WTF coupling between ()['cache'] and form processing. 2010-07-29 00:46:09 +00:00
Dries Buytaert 123bf46c43 - Patch #827430 by David_Rothstein: drupal_form_submit() no longer works with checkboxes. 2010-07-26 13:07:59 +00:00
Dries Buytaert ecc7ce0875 - Patch #561226 by fago, effulgentsia, sun, YesCT, marcingy: orms (elements) need to able to specify include files to be loaded for building. 2010-07-17 18:52:39 +00:00
Angie Byron 0c993fd704 #776956 by CrashTest_, Damien Tournoud, effulgentsia, chx: Fixed critical bug: Complex widgets are not respecting '#disabled' state. 2010-07-10 00:03:37 +00:00
Angie Byron 893fba439b Roll-back of #749748. This broke JavaScript on node add forms, and probably elsewhere. 2010-07-07 17:56:42 +00:00
Dries Buytaert 47b8bec8e2 - Patch #749748 by mavimo, Dave Reid: contact and comment modules do not prefill with user info from cookie. 2010-07-07 01:14:18 +00:00
Dries Buytaert c0fcf85b39 - Patch #791168 by Berdir: does form_state() cache never get cleaned? 2010-07-07 00:56:45 +00:00
Dries Buytaert f3304854d0 - Patch #736298 by effulgentsia, eojthebrave, andypost, robeano: fixed Refactor file.module to use proper button click detection, enabling FAPI to improve button click detection security. 2010-07-02 12:37:57 +00:00
Dries Buytaert 151fb3f943 - Patch #838324 by agentrickard: document form_options_flatten(). 2010-06-26 18:11:27 +00:00
Dries Buytaert eace4a9d9b - Patch #624086 by limikael, Dmitriy.trt: custom accept-charset for forms. 2010-06-25 20:19:13 +00:00
Dries Buytaert b5ff7dd413 - Patch #802746 by effulgentsia: documentation fixes. 2010-06-16 05:06:15 +00:00
Dries Buytaert 75442c9675 - Patch #802746 by rfay, jhodgdon: document () and form builder function in form_api() group. 2010-06-15 15:52:04 +00:00
Dries Buytaert e960a8e233 - Patch #804870 by CrookedNumber: docblock for drupal_form_submit() was outdated. 2010-06-10 07:00:03 +00:00
Dries Buytaert 15bca6e462 - Patch #803212 by effulgentsia, Heine: protection against forgery of input selection value doesn't work with checkboxes. 2010-06-05 13:18:09 +00:00
Dries Buytaert 86f8a1aa20 - Patch #748390 by rfay, effulgentsia: improve #limit_validation_errors() phpdoc. 2010-06-03 13:48:04 +00:00
Dries Buytaert e3d803cb11 - Patch #774346 by jvandyk: fixed documentation. 2010-05-31 09:11:32 +00:00
Dries Buytaert 725481d71b - Patch #768490 by JohnAlbin, sign: theme_table_select_header_cell() is not really a theme function. 2010-05-19 19:22:24 +00:00
Dries Buytaert f8fa114a8e - Patch #67439 by sun, effulgentsia: #tree in hook_element_info() does not work. 2010-05-17 21:23:32 +00:00
Dries Buytaert 47653eae18 - Patch #730046 by pwolanin, Damien Tournoud: performance settings page is inconsistent. 2010-05-12 08:26:15 +00:00
Dries Buytaert 66d75d16fc - Patch #547490 by ugerhard, Jody Lynn, Matt V.: entering only 'Confirm password' field passes validation and returns success message. 2010-05-07 14:48:10 +00:00
Angie Byron ed86172814 #331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting. 2010-05-06 05:59:31 +00:00
Dries Buytaert 71713081a2 - Patch #723802 by pwolanin, grendzy: convert to sha-256 and hmac from md5 and sha1. 2010-05-01 08:12:23 +00:00
Angie Byron 1f3e11d44c #783438 by sun: Fixed #states doesn't work for #type item. 2010-05-01 00:19:35 +00:00
Angie Byron 483d476a1c #767212 by sun, rfay: Fixed #states can't hide/show fieldsets. 2010-04-29 03:34:00 +00:00
Dries Buytaert 7745a082d0 - Patch #755030 by jhedstrom, sivaji, kkaefer: #field_prefix()/suffix is displayed before the label. With tests. 2010-04-28 16:11:22 +00:00
Dries Buytaert 19a45ce544 - Patch #765860 by effulgentsia, dww, dereine, mikey_p, sun: make drupal_alter() support multiple alter hooks executed by module weight. 2010-04-28 12:36:26 +00:00
Dries Buytaert 45f4a1e166 - Patch #482816 by sun, Rob Loach: make a consistent wrapper around submit buttons. 2010-04-24 14:49:14 +00:00
Angie Byron b1026a1a21 #776178 follow-up by David_Rothstein: Fixed PHP 5.3 warning for command line install at the root, rather than the symptom. 2010-04-23 07:50:28 +00:00
Dries Buytaert 3c3cee28b9 - Patch #716496 by JohnAlbin: documentation updates for theme functions. 2010-04-13 15:23:03 +00:00
Dries Buytaert 33f0b0830b - Patch #426056 by effulgentsia, Berdir, sun, boombatower, tstoeckler: fixed server-side enforcement of #disabled is inconsistent. 2010-04-11 19:00:27 +00:00
Dries Buytaert bdb7e56143 - Patch #741578 by nikgregory, andypost, Berdir, noahb: 'File' is a reserved word that should not be used. 2010-04-10 17:30:15 +00:00
Dries Buytaert 8173fc1aa3 - Patch #558928 by mgifford, brandonojc, Owen Barton, Everett Zufelt: follow-up on making form element labeling more accessible. 2010-04-07 04:39:59 +00:00
Dries Buytaert 7cd14c719d - Patch #760738 by yched: includes full form state in unneeded cases. 2010-04-04 13:22:51 +00:00
Dries Buytaert e0871ec49b - Patch #671184 by Scott Reynolds, sun, effulgentsia, yched, rfay, Pasqualle: AJAX form can submit inappropriately to system/ajax after failed validation. 2010-03-31 19:34:56 +00:00
Angie Byron 145e717897 #467296 by Frank Ralf, mgifford, Everett Zufelt, Cliff,seutje, Bojhan, kat3_drx, et al: Accessibility improvements for vertical tabs. 2010-03-30 07:05:58 +00:00
Dries Buytaert c327b4d407 - Patch #684846 by effulgentsia, rfay, quicksketch, aspilicious: AJAX triggered by non-submit element fails if any elements are validated. 2010-03-26 18:58:12 +00:00
Dries Buytaert d428fe37b9 - Patch #681538 by aspilicious, jhodgdon, trevjs: fixed possibly broken @see also links. 2010-03-26 17:14:46 +00:00
Dries Buytaert 3cf8a44fb8 - Patch #667944 by sun: Javascript #states cannot hide fieldsets, radios, checkboxes. 2010-03-26 12:16:18 +00:00
Angie Byron 50040920bf #335035 follow-up by andypost: Fixed failure in tests. 2010-03-13 22:33:05 +00:00
Dries Buytaert 160b42812c - Patch #335035 by boombatower, Damien Tournoud, ksenzee, Berdir, Dave Reid, effulgentsia: Simpletest drupalPost() incorrectly submits input for disabled elements, causing unreliable testing of forms that contain them. 2010-03-12 14:38:37 +00:00
Dries Buytaert 54d7a298d2 - Patch #131432 by dereine, alienbrain, sun: #field_prefix() and #field_suffix() work on textfields only. 2010-03-11 22:46:32 +00:00
Dries Buytaert cb66dfd766 - Patch #735628 by sun, Jacine: resizable textarea behavior leads to unpredictable results. 2010-03-09 11:45:37 +00:00
Angie Byron 47371be0a5 #414424 by sun, chx, Arancaytar, yched, et al: Introduce Form API #type 'text_format' for additional DX/security around rich text fields. 2010-03-07 23:14:20 +00:00
Angie Byron 903501822d #260934 by plach, ShawnClark, et al: Fixed Static caching: cannot call drupal_validate_form() on the same form more than once. 2010-03-07 07:49:26 +00:00
Dries Buytaert 7511394e32 - Patch #405832 by jhodgdon, arianek: documentation for hook_forms() was incorrect. 2010-03-06 12:43:45 +00:00
Dries Buytaert 0f4ec342a1 - Patch #727126 by jhodgdon: fixed drupal_execute()/drupal_form_submit() documentation. 2010-03-04 09:07:27 +00:00
Dries Buytaert 7818e2d460 - Patch #676800 by casey, sun, james.elliott, cosmicdreams, seutje, Jacine: made fieldsets work on all browser. 2010-03-03 19:46:26 +00:00
Dries Buytaert 02d6b122b5 - Patch #648170 by fago, sun: form constructors cannot enable form caching or form rebuilding. 2010-03-03 08:43:07 +00:00
Dries Buytaert aa11756416 - Rollback #642820 -- test results were green but actually failed. 2010-02-12 15:11:29 +00:00