Commit Graph

542 Commits (3950b0adba3d2b582d744e3db1c8ed646e6093ed)

Author SHA1 Message Date
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
Dries Buytaert 6618e07462 - Patch #642820 by c960657: fixed PHP notices when submitting form with disabled checkbox. 2010-02-12 12:25:49 +00:00
Angie Byron b7aae4f885 #539220 follow-up by mr.baileys: Fix test failures. 2010-02-04 03:34:21 +00:00
Dries Buytaert 67d3310d7c - Patch #539220 by dww, mr.baileys: missing validation handlers should not be silently ignored by FAPI. 2010-02-01 19:26:13 +00:00
Dries Buytaert 1e8da1f9ae - Patch #681538 by aspilicious, jhodgdon: improved documentation, better @see also links. 2010-01-30 07:54:01 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +00:00
Angie Byron 0dd1612770 #629794 by yched: Fix Scaling issues with batch API. (with tests) 2010-01-08 06:36:34 +00:00
Angie Byron ba6ef3017e #482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons. 2010-01-03 21:01:04 +00:00
Angie Byron 70e53b33c1 #370537 by chx, sun, effulgentsia, quicksketch, eaton, Heine, and yched: Allow buttons to only validate sections of forms, e.g. More buttons. (with tests) 2010-01-02 23:30:53 +00:00
Dries Buytaert 712929ea6a - Patch #357021 by Kars-T, yched: fixed #after_build_done() set after first after_build() function was run, instead of all after_build() functions. 2010-01-02 10:41:56 +00:00
Dries Buytaert 1b521566bb - Patch #437018 by JamesAn: convert form_options_flatten() in form.inc to use new static caching API. 2009-12-29 20:16:09 +00:00
Dries Buytaert 20dbb2f2aa - Patch #190867 by David_Rothstein: fixed function name. 2009-12-17 21:59:31 +00:00
Dries Buytaert 3e82f941ec - Patch #302240 by fago, sun: fixed button broken. 2009-12-17 17:18:03 +00:00
Dries Buytaert 527a054952 - Patch #644648 by sun: cleaned up, documented, and corrected some ['#token'] code. 2009-12-14 13:51:57 +00:00
Dries Buytaert 516d24d1cd - Patch #558666 by sun, dropcube: revamp text format/filter configuration for better usability. 2009-12-14 13:32:53 +00:00
Angie Byron 634d308b4f #658032 by Arancaytar: Fixed theme_tableselect() does not pass on #attributes key. 2009-12-13 14:18:31 +00:00
Dries Buytaert e8998ea07a - Patch #570314 by jhodgdon: more details for form_set_value() documentation. 2009-12-05 16:03:51 +00:00
Dries Buytaert 0014a64d37 - Patch #641356 by fago, sun: cache more of () when form caching is enabled. 2009-12-05 14:33:55 +00:00
Dries Buytaert 99128df8d0 - Patch #520946 by jhodgdon: fixed error in API documentation of form_set_error(). 2009-12-04 16:29:15 +00:00
Dries Buytaert 99833c6289 - Patch #558928 by brandonojc, mgifford, Owen Barton, Everett Zufelt: improved consistency, flexibility and accessibility of form element labels. 2009-12-02 15:09:16 +00:00
Dries Buytaert 92760988b9 - Patch #648410 by Dave Reid: standardize add 'empty' row functionality to all tables. 2009-12-02 14:56:32 +00:00
Dries Buytaert 65f1c9fa24 - Patch #647130 by fago, sun: cache only once when rebuilding a form. 2009-12-01 16:28:57 +00:00
Dries Buytaert d8429228ce - Patch #622922 by chx, fago, sun, effulgentsia: form API clean-up, bugfixes and extra tests. 2009-12-01 03:07:34 +00:00
Dries Buytaert 3db9fc144c - Patch #644150 by sun: () is stateless, even with enabled caching. 2009-11-30 19:57:20 +00:00
Dries Buytaert b608482678 - Patch #642702 by sun: form validation handlers cannot alter structure. 2009-11-28 14:39:31 +00:00
Dries Buytaert fda6b65d58 - Patch #644150 by sun: () is stateless, even with enabled caching. 2009-11-27 15:14:58 +00:00
Dries Buytaert ff0bdd3d5e - Patch #641544 by yched:FAPI #type 'container' ids generated twice. 2009-11-24 21:56:15 +00:00
Dries Buytaert 7624967bd7 - Patch #640050 by heyrocker: example code for drupal_form_submit() was incorrect. 2009-11-23 22:37:37 +00:00
Dries Buytaert c881694eb4 - Patch #639704 by casey: removed dead code from form_process_date(). 2009-11-22 18:27:11 +00:00
Dries Buytaert 5187fa6f21 - Patch #639418 by sun: #array_parents() do not always map to actual form structure. 2009-11-22 07:32:47 +00:00
Dries Buytaert 63f39bedf6 - Patch #634440 by fago, effulgentsia, sun: remove auto-rebuilding magic for ()['storage']. 2009-11-21 14:06:46 +00:00
Dries Buytaert 4788bf25fa - Patch #583730 by sun: fixed form caching. 2009-11-18 18:51:11 +00:00
Angie Byron 2d1ef531dc #601806 by sun, effulgentsia, and Damien Tournoud: drupal_render() should not set default element properties that make no sense. 2009-11-16 05:11:01 +00:00
Angie Byron 7fb94bda0d #179932 by Damien Tournoud, jromine, kenorb, deviantintegral, sun: Fixed Required radios/checkboxes are not validated. 2009-11-15 21:36:06 +00:00
Dries Buytaert e88a21782d - Rollback of #447816. 2009-11-12 20:07:06 +00:00
Dries Buytaert 8e19d799f6 - Patch #619902 by sun: performance improvement: dashboard, region and block building had unnecessary function calls. 2009-11-11 08:52:53 +00:00
Dries Buytaert 3213087441 - Patch #623992 by sun: fixed the tests. We can re-enable the test bot now. 2009-11-08 19:53:19 +00:00
Angie Byron 3e8344b5c4 #560944 follow-up by brandonojc, seutje, and Davy Van Den Bremt: Move collapsible fieldset logic from theme_fieldset() hook to form_process_fieldset(). 2009-11-08 13:37:34 +00:00
Angie Byron 5a5f34b0fa #528822 by jhodgdon: Batch example should explain that a file must be included when necessary. 2009-11-07 14:44:04 +00:00