Commit Graph

367 Commits (2f6d62343551c3aae79061157520355f7971854f)

Author SHA1 Message Date
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 43ad4ad140 - Patch #458566 by chx: work around PHP's curly bracket madness. 2009-05-10 16:46:24 +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 9066709443 - Patch #267333 by cwgordon7, David_Rothstein, lilou, et al: fixed batch api rounding. 2009-05-06 10:41:43 +00:00
Dries Buytaert 1883e93f14 - Patch #352872 by Damien Tournoud: clean-up xmlrpc() wrapper. 2009-05-04 10:38:47 +00:00
Angie Byron 17df77c3a4 #295864 follow-up by boombatower: Clarify when to use randomName() vs. randomString(). 2009-05-03 20:01:11 +00:00
Dries Buytaert 8c7fd11fd4 - Patch #419114 by boombatower: clean up assertions. 2009-05-03 09:30:21 +00:00
Dries Buytaert c5926f4961 - Patch #396578 by Damien Tournoud: added db_truncate_table() to the database layer. 2009-05-03 08:56:19 +00:00
Dries Buytaert ac5e86e05c - Patch #329015 by Damien Tournoud: improved error handling of batch API. 2009-05-03 07:35:37 +00:00
Dries Buytaert ce50ea5a20 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 19:17:46 +00:00
Angie Byron c1e05db993 #445950 follow-up: Committing missing simpletest.pages.inc. 2009-05-01 13:40:56 +00:00
Dries Buytaert 4b7943a257 - Patch #445950 by boombatower: interface improvements for SimpleTest. 2009-05-01 11:01:53 +00:00
Dries Buytaert 16cb95557d - Patch #295864 by boombatower, sun: fixed typos in the documentation. Nice catches, sun\! 2009-04-29 21:35:38 +00:00
Dries Buytaert e721147363 - Patch #295864 by boombatower: cleaned up the randomName() method by removing unnecessary prefix code, and added a new randomString() method which includes characters like spaces. 2009-04-29 12:08:28 +00:00
Dries Buytaert 7bf8e72aaa - Patch #340081 by dmitrig01, boombatower: clean-up of drupalCreateUser() 2009-04-29 12:04:47 +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
Angie Byron 9e5f8a037b #445094 by yched: Fix failing tests in SQLite/PostgreSQL due to passing in NULL values for ftid and ftvid. 2009-04-28 05:24:41 +00:00
Angie Byron fc7283235b #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. 2009-04-27 20:19:38 +00:00
Dries Buytaert 031ba7d665 - Patch #345591 by pwolanin, c960657: make the tests work when running with CGI. 2009-04-27 19:11:25 +00:00
Dries Buytaert 91e7dc1365 - Patch #368067 by catch: move testing to a 'Development' menu. 2009-04-27 07:44:09 +00:00
Angie Byron bda52632a5 #444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript. 2009-04-26 19:18:46 +00:00
Dries Buytaert b5201d3797 - Patch #445410 by Damien Tournoud: fix $ tags. 2009-04-26 15:14:55 +00:00
Angie Byron 279f33c6c5 #339210 by klausi and dmenefee: Allow SimpleTest module to work on sites with HTTP authentication. 2009-04-25 22:35:49 +00:00
Dries Buytaert e9946015c7 - Patch #345591 by pwolanin, JacobSingh: drupal_http_request() should return the original status message and protocol. 2009-04-25 13:56:06 +00:00
Dries Buytaert 598dc48357 - Patch #335756 by Damien Tournoud, hass: fixed simpletest file directory path. 2009-04-25 13:40:41 +00:00
Dries Buytaert 26395c843f - Patch #308296 by Dave Reid, Damien Tournoud: clean-up of drupalCreateNode(). 2009-04-22 09:57:10 +00:00
Dries Buytaert 526401c4c8 - Patch #147310 by c960657 et al: better cache headers for reverse proxies. 2009-04-22 09:45:03 +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
Dries Buytaert f09028107c - Patch #413732 by brianV: database code clean-up. 2009-04-20 20:02:31 +00:00
Angie Byron 4ffebc570c #368639 by puradata: Remove drupalCreateField/Instance in favour of standard API functions. 2009-04-20 02:46:25 +00:00
Angie Byron d30a41e791 Roll-back of #333054; needs more discussion. 2009-04-20 02:23:17 +00:00
Dries Buytaert 9179976227 - Patch #434336 by klausi: fixed simpletest on lighttpd. Curl header funkiness. 2009-04-17 07:07:09 +00:00
Angie Byron bb62eec3ce #396224 - SA-CORE-2009-03 - Disallow nulls and slashes from file names in theme. 2009-04-15 20:45:46 +00:00
Dries Buytaert bb253b0539 - Patch #423690 by Berdir: fixed bug in menu_link_maintain(). With tests. 2009-04-13 12:18:52 +00:00
Angie Byron c7095deb64 #423664 by Berdir: Fix dependency checking of non-existing modules. (with corrected tests) 2009-04-11 17:58:18 +00:00
Dries Buytaert 756784a62b - Patch #424094 by chx: fixed taxonomy tests. 2009-04-05 12:21:12 +00:00
Dries Buytaert 3a35e28f92 - Patch #254491 by chx, catch, justinrandell, pwolanin, David_Rothstein, et al: centralized static caching to improve testability of the Drupal code, and to remove $reset-parameters. Thanks for taking the time to convince me, catch! 2009-04-02 20:39:45 +00:00
Dries Buytaert 27d7455edb - Patch #333054 by c960657: page cache should be case sensitive. 2009-04-01 20:00:47 +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 f85f7cf8c1 #349237 by c960657: Fix assertTitle()'s encoding of HTML attributes (with tests). 2009-03-30 05:35:35 +00:00
Angie Byron a0cca9a472 #259368 by Rob Loach, mfer, and sun: Allow drupal_add_css() to add/aggregate inline CSS. 2009-03-30 05:13:45 +00:00
Angie Byron 2feffc2d61 #415762 by boombatower: Clean SimpleTest environment on module uninstall. 2009-03-29 23:14:53 +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 eecab1083a #369964 by yched and bjaspan: Refactor field validation and error reporting. Field API no longer coupled to Form API. Hooray. 2009-03-26 13:31:28 +00:00
Dries Buytaert 32076b4d32 - Patch #273137 by pwolanin, David_Rothstein, chx, et al: split navigation to user and administration menu. Will require follow-up patches. 2009-03-20 19:18: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
Angie Byron 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +00:00
Dries Buytaert 8a0d326a8e - Patch #400636 by mr.baileys: improve HTTP request assertion message. 2009-03-14 21:28:50 +00:00
Dries Buytaert 56e1c5d106 - Patch #401922 by Damien Tournoud: fixed parent link detection. 2009-03-14 20:56:06 +00:00
Dries Buytaert 3a7047c670 - Patch #12201 by mfb: added support for table descriptions. 2009-03-14 20:34:17 +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 193ba01e1f #343999 by Crell, chx, and Alexander Pas: Add facility for doing NULL / NOT NULL conditions to DBTNG. 2009-03-14 17:45:55 +00:00
Angie Byron b77475baf5 #360081 by quicksketch: Stop using global variables for JavaScript settings. 2009-03-13 23:15:09 +00:00
Dries Buytaert a4ee7092e1 - Patch #373613 by drewish, quicksketch: working around some Debian issues. They ship a different GD library. 2009-03-10 09:43:01 +00:00
Dries Buytaert 22cef75526 - Patch #395856 by mr.baileys: added HTTP request status code to request assertion message. 2009-03-09 17:11:59 +00:00
Dries Buytaert 0ea653502c - Patch #373613 by quicksketch and drewish: in order to operate on images multiple
times (such as crop, scale, then desaturate) without quality loss, we need to
  pass images by their raw GD (or other library) resources rather than re-opening
  the same image repeatedly, which causes wasted processing and loss of quality when
  using JPEG images.  This patch reworks the image toolkits, adds some new image
  manipulations and adds some impressive SimpleTests.
2009-03-09 11:44:54 +00:00
Dries Buytaert 582fbf2828 - Patch #395228 by c960657: fixed sorting order in drupalGetTestFiles(). 2009-03-08 21:52:10 +00:00
Angie Byron 53ef28ec4a #350545 by Damien Tournoud: Remove unreliable invalid date test so that SQLite tests pass. 2009-03-08 03:02:46 +00:00
Angie Byron ec0dbd35c8 #91250 by ontwerpwerk, hass, profix898, Rob Loach, and mfer: Allow drupal_add_js() to reference external JavaScript files. 2009-02-28 07:36:06 +00:00
Angie Byron 665c9fdc2c Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. 2009-02-26 07:30:29 +00:00
Dries Buytaert d81310968a - Patch #373775 by sog_hadgraft: adjusted queries to confirm coding standards. 2009-02-24 16:48:18 +00:00
Dries Buytaert 001cd711bf - Patch #334554 by hass: prevent endless loops in the simpletests. 2009-02-22 20:12:03 +00:00
Dries Buytaert 5d658d0848 - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). 2009-02-22 17:55:30 +00:00
Dries Buytaert b3e36d655c - Patch #299267 by Crell: add extender support to the SELECT query builder. 2009-02-22 16:53:41 +00:00
Dries Buytaert e1652e99b6 - Patch #374940 by Dave Reid et al: fixed MergeQuery problem. 2009-02-22 16:31:24 +00:00
Angie Byron 08616351e1 #377564 by boombatower: Make run-tests.sh respect the 'simpletest_clear_results' variable. 2009-02-20 03:37:58 +00:00
Angie Byron ff9e842730 #330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency. 2009-02-18 15:19:57 +00:00
Angie Byron c03b4c5408 #255551 by drewish and c960657: Array-itize file_scan_directory()'s parameters (DX improvement). 2009-02-18 15:07:27 +00:00
Angie Byron ac484c277a #125030 by kkaefer, quicksketch, dvessel, Steven, and John Resig: Allow compatibility with other JavaScript libraries. 2009-02-18 13:46:55 +00:00
Angie Byron b6025a8820 #373613 interim commit: Adding some images that can be used in image API testing. 2009-02-15 05:18:54 +00:00
Angie Byron b83aa19bb2 #370846 follow-up by catch: Fix #weight sorting in drupal_render(). 2009-02-13 04:43:00 +00:00
Angie Byron 9b50597eb2 #369423 by nedjo: Fix drupal_write_record() bug with multi-field primary keys (with tests). 2009-02-13 02:25:59 +00:00
Angie Byron 52c17c6d3e #373502 by drewish and sun: Add function to delete unmanaged files recurisevely (with tests). 2009-02-13 00:39:01 +00:00
Angie Byron c591f4562d #370846 by catch: Further improve performance of drupal_render() sorting (with tests). 2009-02-09 03:29:54 +00:00
Angie Byron 341a95b803 #369562 by bjaspan and yched: Clean up a few minor things in field API. 2009-02-08 21:22:59 +00:00
Angie Byron c51b5c8b0b #368502 by catch: Make adjustment to file naming test in an effort to make testing bot stop erroneously marking patches code needs work. 2009-02-08 15:06:30 +00:00
Angie Byron f2e8aeff80 #369413 by bjaspan: Reset Field API caches in DrupalWebTestCase->tearDown(). 2009-02-06 00:30:36 +00:00
Angie Byron f3ed3283db #361683 follow-up by sun: Remove more windows line endings. 2009-02-05 03:42:58 +00:00
Angie Byron 993675ab6a #348627 by smk-ka and catch: Allow menu title callback property to bypass t() (+documentation and tests) 2009-02-05 01:05:17 +00:00
Dries Buytaert 607e9626d5 - Patch #361683by Barry, Yves, Karen, Moshe Weitzman, David Strauss, floriant, chx, David Rothstein: initial field API patch. More work to be done, but ... oh my! 2009-02-03 17:30:13 +00:00
Dries Buytaert 643ad121a6 - Patch #363391 by ShawnClark, Dave Reid: add SimpleTest's DomDocument requirement. 2009-02-01 17:11:00 +00:00
Dries Buytaert f12b1b637f - Patch #354812 by catch, mfer: filter_xss_bad_protocol is called hundreds of times on some pages. 2009-01-31 19:07:45 +00:00
Angie Byron 2c381622a5 #88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified. 2009-01-31 16:50:57 +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 f5a4f24b5e #364407 by catch: Fix drupal_render() sorting (with tests). 2009-01-27 02:14:42 +00:00
Dries Buytaert 6d3d75fe4b - Removing whitespace. 2009-01-26 14:08:44 +00:00
Angie Byron 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Angie Byron 15efe5d5f1 #362680 by catch: Put all taxonomy tests in one spot. 2009-01-22 18:25:59 +00:00
Dries Buytaert 938c7c07a3 - Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3. 2009-01-22 12:46:07 +00:00
Angie Byron d5968378ac #345973 by aaron and Rob Loach: Move parameter on drupal_add_css/js to a 'type' instead, to clean up calling code. 2009-01-22 03:56:12 +00:00
Angie Byron 7ac380aa05 #346285 by Damien Tournoud: forward-port HTTP_HOST fix from 6.x. 2009-01-22 03:05:18 +00:00
Dries Buytaert 60c06921ce - Patch #291026 by Dave Reid et al: further (usability) improvements to the E_NOTICE handling. 2009-01-21 14:22:33 +00:00
Angie Byron 4a99df11e9 #355225 by Josh Waihi and Damien Tournoud: Fix inconsistent behaviour with transaction support and insert queries. All tests should pass on PostgreSQL now. Woot! :) 2009-01-20 03:54:15 +00:00
Angie Byron cb07c9992b #30520 follow-up by Dave Reid: Fix error message about upload when not uploading a file (with tests, so we don't break it again). 2009-01-20 02:56:05 +00:00
Dries Buytaert 507836ab8c - Meh by Dries. 2009-01-19 12:41:44 +00:00
Dries Buytaert d20e457121 - Patch #201122 by c960657, Moshe Weitzman: never write anonymous sessions, unless something has been written to . This is an important performance improvements -- as long as you use modules that use carefully. It might be good to report some analytics about this in the performance settings page so administrators can see if there is a 'broken' module. 2009-01-19 10:46:52 +00:00
Dries Buytaert 8cef09a7e6 - Patch #308719 by jpetso, boombatower, et al: sanitze simpletest.js checkbox code. 2009-01-19 10:15:54 +00:00
Angie Byron 3b5035ae9c #314283 by jhedstrom: Adding tests for disabled checkboxes. 2009-01-17 19:27:32 +00:00
Dries Buytaert d3df2ff356 - Patch #225562 by Jody Lynn et al: clean up of the taxonomy module SQL table namespace. 2009-01-14 21:16:21 +00:00
Dries Buytaert a10731cedf - Patch #320451 by chx, Damien Tournoud: improved Drupal's module dependency system. This helps with fields in core. Comes with tests\! 2009-01-14 12:18:37 +00:00