Commit Graph

466 Commits (40eeac9ebbb5a02ae9bebcd3191359734ed60176)

Author SHA1 Message Date
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
Dries Buytaert a83e5605c7 - Patch #546568 by quicksketch: consistently pass in to #value_callback functions. 2009-08-12 11:45:14 +00:00
Angie Byron 17e6076807 #433992 by David_Rothstein and Frando: Change #theme_wrapper to #theme_wrappers to allow multiple theme functions to execute on renderable objects. 2009-08-04 06:38:57 +00:00
Dries Buytaert aab51b9319 - Patch #524728 by David_Rothstein, JoshuaRogers, JacobSingh et al: refactor install.php to allow Drupal to be installed from the command line. 2009-07-28 12:13:47 +00:00
Dries Buytaert f350158f86 - Patch #531038 by quicksketch: #value_callback missing drupal_function_exists(). 2009-07-27 18:40:12 +00:00
Dries Buytaert 3295866fad - Patch #523034 by jhodgdon: better documentation for theme_fieldset. 2009-07-23 00:01:03 +00:00
Dries Buytaert 3ccd437530 - Patch #517318 by dmitrig01: tableselect needs to be able to give options weights. 2009-07-18 02:41:05 +00:00
Dries Buytaert ef09cf93e5 - Patch #517542 by David Strauss: renamed functions for clarity. We say 'yay' to clarity! 2009-07-14 10:22:17 +00:00
Dries Buytaert 01f3bc9f4d - Patch #512308 by JacobSingh: add the ability to provide attributes to rows in table select 2009-07-07 22:32:17 +00:00
Dries Buytaert 576a4cffed - Patch #483778 by Frando: some form API clean-up. 2009-07-06 13:31:47 +00:00
Dries Buytaert 19dd7c96a3 - Patch #510398 by asimmonds: incorrect CSS class for form element wrappers. 2009-07-05 18:02:08 +00:00
Angie Byron 4a4a6570d8 #315100 by Rob Loach, quicksketch, sun, skilip, aaron, et al: Add ability for modules to register JS/CSS libraries. 2009-07-04 18:26:42 +00:00
Dries Buytaert a0d19b0810 - Patch #482636 by quicksketch: further clean-up of the form IDs/classes. 2009-07-04 14:57:23 +00:00
Dries Buytaert cbbbd8302f - Patch #495598 by jrchamp: use explode() instaed of spit(). 2009-06-29 17:27:58 +00:00
Dries Buytaert 344aed13f5 - Patch #67211 by catch, Gábor Hojtsy, yoroy, cdale, et al: drop the colon after form titles. 2009-06-20 15:17:38 +00:00
Dries Buytaert 2352a0b5ed - Patch #265265 by jhodgdon, neochief: phpdoc fix. 2009-06-18 15:48:13 +00:00
Dries Buytaert ecc24c5afa - Patch #274947 by yched: removed the remaining bits from teaser splitter. 2009-06-15 09:51:49 +00:00
Dries Buytaert 529713d8aa - Patch #43493 by sime, sun, et al: add name/type as CSS class for form elements. 2009-06-14 08:04:25 +00:00
Dries Buytaert 4f2e13f503 - Patch #422362 by JamesAn: convert form.inc to use new static caching API. 2009-06-02 13:47:26 +00:00
Dries Buytaert e474fbbd6c - Patch #477944 by Damien Tournoud: fix and streamline page cache and session handling. 2009-06-02 06:58:17 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron 45731a4e60 #398902 by kscheirer and alexanderpas: Type-check passwords. 2009-05-22 07:39:09 +00:00
Angie Byron 679e9011d9 #292565 follow-up by Jody Lynn: Remove ['destination'] hacks to get login redirection working again. 2009-05-13 17:23:48 +00:00
Dries Buytaert 847304a293 - Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms. 2009-05-12 08:37:45 +00:00
Dries Buytaert 0e0ca3b589 - Patch #457532 by Berdir: more PHP5 'fixes'. 2009-05-09 18:28:13 +00:00
Dries Buytaert 81c436fb8e - Patch #360128 by chx, quicksketch, Frando et al: security fix for simplified AHAH callbacks. 2009-05-01 14:51:41 +00:00
Dries Buytaert 13c9e7f94b - Rolled back patch #343415. Needs more work and discussion. 2009-04-30 15:20:06 +00:00
Dries Buytaert f918903428 - Patch #408024 by brianV et al: rename drupal_execute() to drupal_submit_form(). 2009-04-29 07:18:04 +00:00
Dries Buytaert 33368da1a6 - Patch #343415 by Damien Tournoud: form cache is not cleared on submit when page cache is activated. 2009-04-27 07:35:48 +00:00
Dries Buytaert 2bc19555bf - Patch #302240 by fago: fixed various problems with form storage and added tests. Yay. 2009-04-22 09:12:44 +00:00
Angie Byron e888f0061c #323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future. 2009-04-11 22:19:46 +00:00
Angie Byron 28aaa036e4 #304330 follow-up by sun: Clean-up of text format widget patch. 2009-03-30 03:15:41 +00:00
Angie Byron 95023b8c13 #297972 by scor, yched, Steven Jones, and heyrocker: Allow drupal_execute() to be performed within batch API (with tests). 2009-03-28 18:09:11 +00:00
Dries Buytaert b46e90ad36 - Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views. 2009-03-14 20:13:27 +00:00
Dries Buytaert 78027e1a1a - Patch #394616 by csevb10: converted to new database abstraction layer. 2009-03-14 16:27:58 +00:00
Dries Buytaert 6fe3c7c059 - Patch #244904 by keith.smith, edmund.kwok, xano, David_Rothstein: rename 'input formats'. 2009-03-08 21:25:18 +00:00
Angie Byron ce81be0c8c #292565 by John Morahan and lyricnz: Fix 404 on search form from a 404 page (with tests). 2009-03-08 05:16:20 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Angie Byron 5e2ad8e43c #360128 by quicksketch: Create centralized ahah callback to reduce duplicate code. 2009-02-01 06:48:15 +00:00
Angie Byron ad99dd761a #242962 by Heine: Add a 'tablesort' Form API element to unify various places we use a big table with JS-enabled checkboxes next to each item (with tests). 2009-01-28 07:43:26 +00:00