Commit Graph

112 Commits (7.x)

Author SHA1 Message Date
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 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
Angie Byron 25171a17f6 Reverting #500866. Needs more discussion. 2010-08-05 23:53:39 +00:00
Angie Byron cacd044a63 #500866 by boombatower, solotandem: Remove t() from assertion messages in SimpleTest, so translators do not get 1000s of bogus strings. 2010-08-05 23:26:36 +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 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
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 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 9a67fb99ef - Patch #174972 by rfay, stBorchert, gaele: user creation setting should be 'Visitors, with admin approval'. 2010-05-27 12:29:39 +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 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 ff301288f2 - Patch #348448 by mfb, c960657, marvil07, cdale, jpmckinney: fixed PHP strict warnings when running tests and for PHP 5.3. 2010-04-11 18:33:44 +00:00
Dries Buytaert d5ce7f5281 - Patch #384992 by effulgentsia, sun: drupal_html_id() does not work correctly in AJAX context with multiple forms on page. 2010-04-07 17:30:43 +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 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 7d4b84b878 #707724 follow-up by yched: Fix more confusing field/entity api arguments. 2010-03-27 05:52:50 +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 3a60a9b8cf - Patch #735808 by fago: fix multiple field value form to work with form API persistence. Added tests. 2010-03-21 21:31:34 +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
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 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 f75d1a9e77 #567192 follow-up by Berdir: Remove tests for functionality that has not yet been committed. Oopsie. 2010-02-08 22:16:11 +00:00
Angie Byron 32fc5ac835 #567192 by mgifford: Fixed Expanding simpletest groups not accessible via keyboard. 2010-02-07 05:36:57 +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 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 3e82f941ec - Patch #302240 by fago, sun: fixed button broken. 2009-12-17 17:18:03 +00:00
Angie Byron cc42c55f86 #410926 by Damien Tournoud: Tests to ensure disabled Form API fields are working properly. 2009-12-08 07:01:19 +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 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 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 b608482678 - Patch #642702 by sun: form validation handlers cannot alter structure. 2009-11-28 14:39:31 +00:00
Dries Buytaert 4788bf25fa - Patch #583730 by sun: fixed form caching. 2009-11-18 18:51:11 +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 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 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 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
Dries Buytaert c5c46c739c - Patch #594650 by sun, c960657: provide central ()['values'] clearance. 2009-10-15 11:47:25 +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 142003cd01 - Patch #582956 by dww | Damien Tournoud: fixed FormsTestCase::testRequiredFields(). 2009-09-25 17:18:41 +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 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +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 e2184e25ac - Patch #464714 by chx, DamZ: speed up the tests by bringing unit tests backt to live. Unit tests bootstrap faster and have the potential to speed up testing. We'll need help converting tests where possible. 2009-05-25 05:20:16 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron d70915b1ab #453962 by neclimdul: Change all instances of getInfo() to static functions. 2009-05-06 19:56:21 +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 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 f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +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
Angie Byron ee2e63d7f9 #402804 by roychri and Damien Tournoud: Add assertions to check if text was found only once or more than once. 2009-03-17 23:26:33 +00:00
Dries Buytaert b46e90ad36 - Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views. 2009-03-14 20:13:27 +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
Angie Byron 3b5035ae9c #314283 by jhedstrom: Adding tests for disabled checkboxes. 2009-01-17 19:27:32 +00:00
Dries Buytaert 207284675e - Patch #268063: move tests from includes/tests to modules/simpletests/tests. 2008-08-14 09:18:28 +00:00