Commit Graph

315 Commits (6bf31cfefc854c09cf5378a19494cccf30cf84ab)

Author SHA1 Message Date
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
Dries Buytaert dba81743a6 - Patch #346285 by grendzy, Damien Tournoud, thekevinday et al: fixed problem when HTTP_HOST is not transmitted. 2009-01-14 12:15:38 +00:00
Dries Buytaert 77936aef4c - Rollback of #225562 -- I think there is still something wrong. 2009-01-13 22:41:39 +00:00
Dries Buytaert b86354c55c - Patch #225562 by Jody Lynn: change DB table names from eg. term_data to taxonomy_term_data. 2009-01-13 22:25:13 +00:00
Dries Buytaert 2eb8f6b5da - Patch #357595 by Damien Tournoud: rename SimpleTestTestCase to SimpleTestFunctionalTest. 2009-01-12 16:53:09 +00:00
Dries Buytaert bcdf13394a - Patch #329407 by dereine, birdmanx35, hswong3i et al: report running time of simpletests. 2009-01-12 06:23:57 +00:00
Dries Buytaert f80c618427 - Patch #349500 by Damien Tournoud et al: made db_query_temporary() generate its own temporary table names. 2009-01-11 10:57:20 +00:00
Dries Buytaert 388fe5b6d7 - Patch #124492 by mfer: added support for IPv6 and % characters. Comes with tests\! 2009-01-11 08:39:08 +00:00
Dries Buytaert f7cd2518fa - Patch #356747 by chx: fix hidden module dependencies. 2009-01-11 07:50:03 +00:00
Dries Buytaert f088ccfb98 - Patch #301049 by Josh Waihi, Damien Tournoud, et al: fixed bug with transaction support (on PostgreSQL). 2009-01-11 07:47:03 +00:00
Angie Byron c3d9c5285a #334303 by drewish: Handle overwriting of managed files, with tests. 2009-01-10 06:09:54 +00:00
Dries Buytaert 18ad0f6933 - Patch #124492 by mfer, c960657 et al: valid_url() does not support all valid URL characters. 2009-01-08 19:09:49 +00:00
Dries Buytaert 00b9dd4170 - Patch #356116 by Jody Lynn: fixed typo. 2009-01-08 18:57:32 +00:00
Dries Buytaert a7b4bdef1d - Patch #301049 by David Strauss, Josh Waihi, Crell, et al: transaction nesting was not tracked by connection, better documentation, and better tests. 2009-01-08 09:39:48 +00:00
Dries Buytaert ea39388e48 - Patch #351805 by chx: worked around endless loops in tests. 2009-01-06 12:44:20 +00:00
Dries Buytaert 2e1827d040 - Patch #341910 by Josh Waihi, drewish et al: file_space_used() was not properly checking bitmapped status values. Added unit tests too. 2009-01-06 12:00:40 +00:00
Dries Buytaert cce322378c - Patch #353618 by sun: drupalLogin does not update passed-in user object -- improved documentation. 2009-01-06 11:04:59 +00:00
Dries Buytaert 9e59ef8ed0 - Patch #354715 by yched: removed unused and unsupported js entry in batch definition. 2009-01-05 21:57:12 +00:00
Angie Byron 20421ee64d #276280 by jhedstrom, drewish: Tests for private downloads and file name munging. 2009-01-05 05:01:38 +00:00
Dries Buytaert 634379299f - Patch #320591 by Moshe, Crell et al: tag specific alter hook for database queries. 2009-01-04 19:56:51 +00:00
Dries Buytaert 76138ea8a6 - Patch #275796 by Gribnif, Damien Tournoud and Dave Reid: module_list() tried to reset a static using unset(). Added tests too. 2009-01-03 08:45:28 +00:00
Dries Buytaert 45f34467fb - Patch #212130 by Damien Tournoud, grendzy: decode_entities() should support all (X)HTML entities. 2009-01-02 22:09:53 +00:00
Dries Buytaert 86aa636c8b - Patch #353207 by CitizenKane and drewish: cleaned up the FILE_STATUS_TEMPORARY field. 2009-01-02 21:45:11 +00:00
Dries Buytaert d813e3679c - Patch #348201 by catch: make it possible to load multiple files with fewer queries. 2008-12-31 11:08:47 +00:00
Dries Buytaert 82727ed8aa - Patch #352359 by Damien Tournoud: provided unit tests for the unicode library and fixed some bugs. 2008-12-31 11:01:49 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 48673b7506 - Patch #320363 by mikey_p: renaming module for consistency. 2008-12-28 18:27:14 +00:00
Dries Buytaert 445823f6bb - Patch #337783 by Dave Reid, drewish: array-itize drupal_http_requests()'s parameters. 2008-12-26 21:01:57 +00:00
Dries Buytaert 0d100b57dc - Patch #332002 by Crell et al: MergeQuery should refuse to execute if there are no key fields. With tests. 2008-12-26 14:23:38 +00:00
Dries Buytaert fc063806de - Patch #314464 by Crell: fixing up the db_placeholder() patch that I committed incompletely. 2008-12-26 11:48:18 +00:00
Dries Buytaert 779a70a0d4 - Patch #344575 by cdale: made the ANSI compatibility mode less strict to work around a MySQL 5 bug. 2008-12-24 10:21:32 +00:00
Dries Buytaert e5ddb46d12 - Patch #314464 by Crell, Dave Reid et al: convert db_placeholders() to the new DB layer. 2008-12-24 09:53:40 +00:00
Dries Buytaert 1c0f4ac3aa - Patch #344575 by cdale et al: force MySQL to run in ANSI compatibility mode. Comes with tests. 2008-12-23 07:48:24 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Angie Byron a7d66871bd #283246 by Damien Tournoud, Dave Reid, drewish, boombatower: Store original user when prior to running tests. 2008-12-18 00:42:55 +00:00
Dries Buytaert 0f99a1fb2d - Patch #346529 by Dave Reid: fixed bug in assertFieldByXPath. 2008-12-13 14:03:21 +00:00
Dries Buytaert 4c5221a939 - Patch #299178 by Crell et al: add support for subqueries in FROM and JOIN clauses in dynamic query. Cool feature/syntax. 2008-12-12 16:21:58 +00:00
Dries Buytaert 01ed110a6b - Patch #345838 by Dave Reid: remove user creation from drupalLogin(). drupalLogin() should only do one thing, and do it well. :) 2008-12-11 20:35:37 +00:00
Dries Buytaert 60524be44b - Patch #345632 by boombatower: corrected assertTitle logic and added assertNoTitle for completeness. 2008-12-11 20:11:40 +00:00
Dries Buytaert 6f859fdd8f - Patch #328781 by Damien Tournoud and Dave Reid: fixed simpletest error reporting. 2008-12-09 11:09:26 +00:00
Dries Buytaert c50651f7fb - Patch #340557 by Dave Reid: use static caching in drupal_is_front_page(). 2008-12-09 07:16:10 +00:00
Dries Buytaert 1ffa4fe38b - Patch #343631 by Dave Reid: cleaned up the database tests. 2008-12-08 22:02:45 +00:00
Dries Buytaert 55382d04a7 - Patch #318016 by Dave Reid: step one to standardizing type-hinting. 2008-12-08 21:41:54 +00:00
Angie Byron baa9c7e2b0 #343765 by Dave Reid: Initialize SimpleTest with a value for required site_mail variable. 2008-12-07 07:55:24 +00:00
Angie Byron 6d84974ff5 #343620 by Dave Reid: Fix db_update() failure on expression-only SQL (with test). 2008-12-07 07:51:55 +00:00
Dries Buytaert 58b0235a72 - Patch #324313 by catch et al: load multiple nodes and terms at once. 2008-12-05 22:18:46 +00:00
Dries Buytaert cadd9bd54c - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. 2008-12-03 16:32:22 +00:00
Dries Buytaert 5c72eb294a - Patch #327269 by c960657: when drupal_page_cache_header() compares the client's If-Modified-Since header to $cache->created, it assumed a certain date format. However, HTTP/1.1 allows several variations of the date format, i.e. the same time may be represented in slightly different ways. If the client sends the date in a different format than the one generated by Drupal, it would never receive a 304 Not Modified response. Also added a good amount of tests for the drupal_page_cache_header() code. 2008-12-03 14:51:53 +00:00
Dries Buytaert 99afbc53a7 - Patch #330582 by Darren Oh, c960657 et al: better API for retrieving HTTP headers and working with HTTP headers in tests. 2008-12-02 20:03:57 +00:00
Angie Byron f3ad4d9568 #340052 by justinrandell: Speed up SimpleTest by 15,000 orders of magnitude by pre-loading the registry. 2008-11-30 07:04:45 +00:00
Dries Buytaert bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Angie Byron 5657765d63 #338239 follow-up by c960657: Fix file test failure. 2008-11-27 08:41:45 +00:00
Angie Byron d7f706f291 Reverting #337820 once more, as it causes mysterious test failures. 2008-11-27 07:07:01 +00:00