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
Angie Byron
b006ec6cb4
#571086 follow-up by sun: Allow specifying a 'wrapper callback' before executing a form builder function.
2009-11-04 05:39:14 +00:00
Angie Byron
59b7e23b56
#367567 by sun, effulgentsia, yched, and quicksketch: Use AJAX framework for 'Add more' links.
2009-11-04 04:56:54 +00:00
Angie Byron
ae842168f9
#602522 by effulgentsia, sun, and moshe weitzman: Make links in renderable arrays and forms (e.g. 'Operations') alterable.
2009-11-03 05:27:18 +00:00
Angie Byron
bfedf56f9d
#582584 by dww, Jacine, and chx: Move required form element marker into its own theme function.
2009-11-02 03:00:28 +00:00
Angie Byron
ab91113c56
#617420 by ksenzee: Fixed batch system error on redirection.
2009-11-02 00:42:06 +00:00
Angie Byron
14c1c505e0
#607008 by dww, Gerhard Killesreiter, JacobSingh, and chx: Changed Fix bugs in https support and use https for authorize.php if available.
2009-11-01 23:02:13 +00:00
Angie Byron
0e05035b71
#610204 by effulgentsia, Gábor Hojtsy, sun, Damien Tournoud and ksenzee: API changes to support overlays: lays ground work for implementation.
2009-10-27 04:12:39 +00:00
Dries Buytaert
045074d4c5
- Patch #557272 by kkaefer, Rob Loach, quicksketch: added FAPI JavaScript States system.
2009-10-16 19:20:34 +00:00
Angie Byron
e1642603ea
#216098 by kwinters, jgoldberg, drawk, sun: Make drupal_goto() use the same parameters as url().
2009-10-15 16:18:46 +00:00
Dries Buytaert
c5c46c739c
- Patch #594650 by sun, c960657: provide central ()['values'] clearance.
2009-10-15 11:47:25 +00:00
Dries Buytaert
fbfa7a4150
- Patch #593522 by sun: a better and faster drupal_alter().
2009-10-13 16:38:43 +00:00
Angie Byron
d16bead147
#118345 by sun: Make user.module conform to standard presave/insert/update/form_alter hook paradigm.
2009-10-10 16:48:39 +00:00
Angie Byron
fc7366dc8d
#322344 follow-up by sun: Fix notice.
2009-10-09 08:12:07 +00:00
Dries Buytaert
c05f2181dc
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
2009-10-09 01:00:08 +00:00
Angie Byron
dd571ffe34
#464862 follow-up by kkaefer: Rename drupal_css_class() to drupal_html_class_X(), for better accuracy.
2009-10-05 01:18:26 +00:00
Dries Buytaert
0e161b661e
- Patch #555762 by gordon, sun | yched, chx, moshe weitzman, KiamLaLuno, lilou: improvements to batch API.
2009-10-03 20:17:46 +00:00
Dries Buytaert
b544777095
- Patch #464862 by JohnAlbin, sun, dereine | dvessel, Jacine, Zarabadoo: added drupal_css_class() to clean class names and rename form_clean_id().
2009-10-03 19:16:04 +00:00
Dries Buytaert
598e739208
- Patch #578520 by sun | c960657, mfb, Dries, catch, mattyoung: make in url() only accept an array. Another nice API clean-up!
2009-09-29 15:31:17 +00:00
Dries Buytaert
ee8aa910b9
Patch #579366 by sun, litwol | chx, Dries: simplified form API redirection handling. I can actually understand it now. ;-).
2009-09-21 06:44:14 +00:00
Dries Buytaert
7cf7f99878
- Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions.
2009-09-20 07:32:19 +00:00
Angie Byron
df02fa3ca4
#571086 by sun and merlinofchaos: Added a 'wrapper callback' that executes
...
before a form builder function, to facilitate common form elements. Clean-up
from form_builder changes from CTools patch. Has nice side-benefit of making
all form functions' signatures consistent.
2009-09-18 00:12:48 +00:00
Angie Byron
d8f91382e8
#539022 by dropcube: Use current theme during Batch API processes.
2009-09-11 04:09:26 +00:00
Dries Buytaert
d481f1cd36
- Patch #572932 by sun: rename hook_elements() to hook_elements_info() for consistency. Yay to API clean-ups during 'slush'.
2009-09-10 06:31:39 +00:00
Dries Buytaert
a539b0e00d
- Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures.
2009-09-05 15:05:05 +00:00
Dries Buytaert
6586b76465
- Patch by #1577 by chx, boombatower, Bèr Kessels, kkaefer: made SSL support a bit easier by providing two cookies and ... hook_goto_alter.
2009-09-05 13:05:31 +00:00
Angie Byron
d4d43f11ea
#560944 by seutje: Fixed collapsible fieldsets in Garland.
2009-08-29 16:30:14 +00:00
Angie Byron
0259ee968f
#367567 by effulgentsia, yched, quicksketch, sun, and chx: Move AHAH-'add more' to the new generic AHAH callback, and add support for form definition functions being kept in non-.module files.
2009-08-27 04:40:12 +00:00
Angie Byron
2c7e1f2a41
#505084 by Rob Loach: Added an #attached_library() FAPI property for drupal_add_library(), for consistency with #attached_css and #attached_js.
2009-08-25 21:16:31 +00:00
Angie Byron
542d69fbf9
#547846 by David_Rothstein: Fixed a missing reference operator that caused Drupal installation to fail on PHP 5.3.
2009-08-24 14:49:08 +00:00
Angie Byron
bf9c634123
#550572 by sun and c960657: Fixed CSS+JS regressions related to form-item-[name].
2009-08-24 03:11:34 +00:00
Angie Byron
2c55219315
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
2009-08-24 00:14:23 +00:00
Angie Byron
e63e85020b
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
2009-08-24 00:10:46 +00:00
Angie Byron
4ae238ea57
*** empty log message ***
2009-08-24 00:02:05 +00:00
Angie Byron
36ec189695
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
2009-08-22 14:34:23 +00:00
Angie Byron
024d4987c1
#552744 by drewish: Fixed incorrect documentation for the form.inc theme functions.
2009-08-19 08:15:36 +00:00
Angie Byron
b41323642b
#517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://.
2009-08-17 19:14:42 +00:00
Angie Byron
25b9f686a6
#544418 by merlinofchaos, sun, drewish, quicksketch, et al: Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework. Everything about AJAX/AHAH is more betterer now.
2009-08-17 07:12:16 +00:00