Commit Graph

271 Commits (ff477cd6eafd99d5a3a36e06e0e20c5883b19682)

Author SHA1 Message Date
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
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 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 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 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
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 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 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 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 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 5657765d63 #338239 follow-up by c960657: Fix file test failure. 2008-11-27 08:41:45 +00:00
Dries Buytaert 63e195eb30 - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Dries Buytaert 96dc47665e - Patch #280934 by pwolanin, swentel, et al: harden session regeneration. It took a while, but it comes with tests and extra features now. 2008-11-24 06:12:46 +00:00
Dries Buytaert 6a93b9d4c4 - Patch #336043 by c960657: skip calls to curlExec() in curlConnect(). Nice find, c960657\! 2008-11-23 18:12:08 +00:00
Angie Byron 1b4dd805ca #315801 by Rob Loach, Grugnoh2, mfer and dmitrig01: Add a hook_js_alter() to modify JavaScript being printed to the page. 2008-11-23 16:00:08 +00:00
Angie Byron 3a5f422cc5 #323474 follow-up by gpk: Some comment improvements to hook_boot/exit simpletests. 2008-11-22 15:29:50 +00:00
Dries Buytaert 33cf35a6e8 - Patch #335614 by Damien Tournoud: getActiveConnection() and getConnection() were broken when was not found. Now with tests\! 2008-11-22 13:51:38 +00:00
Dries Buytaert 653e63bd05 - Patch #323474 by Dave Reid and catch: hook_boot() was not invoked on uncached page views if cache mode is aggressive. 2008-11-22 13:33:00 +00:00
Dries Buytaert 738b58ec5e - Patch #310607 by mfb: added tests for db_column_exists() and db_table_exists(). Yay\! 2008-11-21 15:04:21 +00:00
Angie Byron 328982747d #293514 by mikey_p: Add tests for menu_rebuild_needed. 2008-11-20 07:18:59 +00:00
Dries Buytaert dc65b62ace - Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up). 2008-11-16 19:41:14 +00:00
Dries Buytaert 5fbdca023f - Patch #267883 by MadHarold, boombatower: parse_size() and format_size() do not use the same kilo standard. 2008-11-16 15:19:34 +00:00
Angie Byron abcebbfee2 #333095 by chx and Damien Tournoud: Lay groundwork for SQLite patch. 2008-11-16 04:38:15 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert 8fb1fc5c90 - Patch #302399 by Damien Tournoud: fixing the schema api tests. 2008-11-13 21:25:05 +00:00
Dries Buytaert 44c8391d32 - Patch #321100 by hswong3i: empty insert statements are better handled now. Comes with tests. 2008-11-13 21:08:16 +00:00
Dries Buytaert a269b9cc1d - Patch #322458 by hswong3i: tests for queryRange(). 2008-11-13 21:02:10 +00:00
Dries Buytaert a56f3a8773 - Patch #302399 by chx, Damien Tournoud: tests for schema API. 2008-11-13 20:49:17 +00:00
Dries Buytaert a56f520fad - Patch #331213 by chx and Damien Tournoud: welcome weird database drivers. 2008-11-11 20:37:46 +00:00
Angie Byron 0762f60073 #315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js(). 2008-11-10 05:23:01 +00:00
Angie Byron 8f8cdb6197 Further rollback of patch #74645 - hunk got skipped for some reason. 2008-11-09 05:38:50 +00:00
Dries Buytaert a7f6efc8a1 - Patch #329080 by chx, Damien Tournoud, pwolanin: statics in objects are not per-instance. 2008-11-08 22:52:24 +00:00
Dries Buytaert ceaf8a0c74 - Patch #74645 by drewish, Robin Monks, tayknight: clean up file_scan_directory API to use regex. 2008-11-08 21:49:47 +00:00
Dries Buytaert 4447e45ac4 - Patch #331013 by drewish: remove file_set_status in favor of file_save(). 2008-11-08 21:35:10 +00:00
Angie Byron b0e2635675 #331737 by Crell: Fix nested conditions (plus test) 2008-11-08 07:06:03 +00:00
Angie Byron 1632855a9f #325895 by chx and hswong3i: Fix queryTemporary and add test case. 2008-11-08 04:45:36 +00:00
Angie Byron ee6ca83959 #329226 by drewish and c960657: Remove ugly GLOBALS from file tests to fix file tests. 2008-11-08 04:02:56 +00:00
Dries Buytaert 57d35b7fb1 - Patch #243532 by Damien Tournoud et al: catch notices, warnings and fatal errors during testing. Woop, woop. 2008-11-05 17:06:18 +00:00
Dries Buytaert 2bc3b99bc7 - Patch #314147 by catch: more taxonomy standardization. 2008-11-05 14:08:11 +00:00
Dries Buytaert ba1af44375 - Patch #306224 by catch, sun: add proper taxonomy term hooks. 2008-11-02 17:46:47 +00:00
Dries Buytaert bd22265b45 - Patch #306224 by catch et al: improving the taxonomy hook system. 2008-11-02 14:42:45 +00:00
Dries Buytaert 72e81af12d - Patch #324875 by pwolanin, Damien Tournoud, goba: improved conf_path() header injection checking. 2008-11-02 10:56:35 +00:00
Dries Buytaert fa94c66c92 - Patch #328719 by c960657: make the module list tests succeed again. 2008-11-01 21:21:35 +00:00
Dries Buytaert e2a6a3ed61 - Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase. 2008-10-31 02:18:22 +00:00
Dries Buytaert df2cf40d2c - Patch #266358 by Rob Loach, mfer: use array in drupal_add_css(). 2008-10-26 18:06:39 +00:00
Angie Byron a406555460 #318440 by Crell: Make it easier to add multiple fields in a dynamic SELECT statement. 2008-10-25 04:26:30 +00:00
Angie Byron 994cc4a8e4 #325869 by pwolanin: Restore missing hidden property in test module .info file. 2008-10-24 23:32:44 +00:00
Dries Buytaert d1d3ce0be7 - Patch #315797 by mfer, Rob Loach, et al: rework the parameter of drupal_add_js. 2008-10-22 19:39:36 +00:00
Angie Byron f4315766fe #316868 by Crell: Make addField() alias to the field name, rather than the table and field name when there are no conflicts. 2008-10-22 04:01:03 +00:00
Dries Buytaert 458f8f7882 - Patch #323137 by Crell: clean-up of database tests. 2008-10-20 17:56:52 +00:00
Dries Buytaert cbec05812d - Patch #298669 by Crell, moshe et al: add query logging per connection. 2008-10-16 14:58:48 +00:00
Dries Buytaert 967d8f67ac - Patch #304924 by Damien Tournoud: extend error handler to manage exceptions. I have one exception and one fail. 2008-10-15 16:05:51 +00:00
Dries Buytaert 305d14412c - Patch #321165 by Dave Reid: fixed exceptions in XML-RPC library and its tests. 2008-10-15 13:56:08 +00:00
Angie Byron bc22653541 #320155 by Dave Reid: Fix silly exceptions in file.test. 2008-10-12 06:37:40 +00:00
Angie Byron 4d20274076 #253569 by aaron, agentrickard, and Dave Reid: Add hook_modules_X to allow modules to react when other modules are enabled, disabled, installed, or uninstalled. 2008-10-11 22:46:22 +00:00
Angie Byron 464be0b8bd #318892 by justinrandell and chx: Add .install files to the list of files added to .info files. 2008-10-09 22:51:41 +00:00
Angie Byron f841d1a764 #142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :) 2008-10-09 00:02:29 +00:00
Dries Buytaert 72e09d7beb - Patch #318593 by hswong3i: clean up of tabs. 2008-10-08 18:34:30 +00:00
Angie Byron 853ce2487a Temporary roll-back of #298669: This wasn't quite ready yet and broke SimpleTest in a big way. 2008-09-28 21:52:08 +00:00
Dries Buytaert 5b86f43a75 - Patch #298669 by Crell, moshe weitzman: added query logging per connection. 2008-09-28 00:03:33 +00:00
Angie Byron f19d83c4c2 #302300 follow-up by Crell: Fixes to database connection tests. 2008-09-27 07:08:44 +00:00
Angie Byron 40e2b52116 #302300 by Crell: Support adding and ignoring database targets, for better replication support. 2008-09-26 19:10:32 +00:00
Dries Buytaert d83a75125e - Patch #310447 by Damien Tournoud, Crell, catch: add back SET NAMES='utf8' -- we love UTF-8 2008-09-21 15:27:20 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Angie Byron a4b0bb58a2 #310358 by drewish: Add a test for file_save_upload and clean up file.test. 2008-09-20 07:35:53 +00:00
Angie Byron 867304f3bc #307477 by clemens.tolboom and boombatower: Test how XML-RPC responds to large messages. 2008-09-17 16:49:41 +00:00
Dries Buytaert 7f29b14277 - Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience. 2008-09-17 07:11:59 +00:00
Dries Buytaert 6f8b5f9a5b - Patch #296297 by beeradb, boombatwoer: tests for drupal_get_content and drupal_set_content. Yay. 2008-09-17 07:01:31 +00:00
Angie Byron 2f3146f041 #308434 follow-up by drewish: Small clean-ups to file.inc clean-ups. 2008-09-15 21:06:07 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Angie Byron cf987be12d #253702 follow-up by catch: Fix file.inc tests. 2008-09-15 16:10:12 +00:00
Dries Buytaert 312b97e9e9 - Patch #253702 by Damien Tournoud et al: further clean-up of the session handling code. 2008-09-15 15:18:59 +00:00
Angie Byron e875378518 AHEM. Aaaaand... tests! :D 2008-09-15 09:30:03 +00:00
Dries Buytaert e4ff0cd6f4 - Patch #304139 by Rob Loach, beeradb, Damien, et al: tests for the variable_*() functions. 2008-09-08 20:49:47 +00:00
Angie Byron af884c3888 #302763 by DamZ: Fixing test failures, removing legacy globals check cruft. 2008-09-06 15:20:09 +00:00
Angie Byron 73356fde8b #296310 by DamZ: Fixes to drupal_http_request() and accompanying tests. 2008-09-06 15:06:10 +00:00
Dries Buytaert e5b0e5f76c - Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency. 2008-09-06 08:36:22 +00:00
Dries Buytaert 2b07665033 - Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support. 2008-09-05 09:25:52 +00:00
Angie Byron c17a5e70bc #285309 by pwolanin: menu_name in hook_menu is ignored on updates 2008-09-02 19:23:02 +00:00
Dries Buytaert 32981b119b - Patch #296310 by domas, dmitrig01, boombatower: drupal_http_request tests. 2008-09-02 17:00:34 +00:00
Angie Byron f60cdab373 #276276 follow-up by Crell: Fixing a notice in db test. 2008-08-31 15:05:29 +00:00
Angie Byron 382f4a8c5f #276276 by Crell and florbuit: New database system unit tests. WOOHOO! :D 2008-08-31 11:43:41 +00:00
Dries Buytaert fadcc4f9c1 - Patch #295564 by mustafau, Damien Tournoud et al: drupal_http_rqeuest triggers error. 2008-08-29 14:45:19 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 1065e3805f - Patch #276430 by jhedstrom, chx, boombatower et al: added tests for session handling. 2008-08-16 21:11:02 +00:00
Dries Buytaert c639b5135f - Patch #295564 by boombatower, Damien Tournoud: fixed drupal_http_request error and cleaned up some simpletest stuff. We should have a much more funky 'all tests passed' screen. Having all tests pass shouldn't be this boring. Let's be a bit more creative and injest some fun ... ;-) 2008-08-16 07:31:01 +00:00
Dries Buytaert 207284675e - Patch #268063: move tests from includes/tests to modules/simpletests/tests. 2008-08-14 09:18:28 +00:00
Dries Buytaert ab4e39da83 - Patch #283806 by mustafau: fixed bug in drupal_http_request() and added some first drupal_http_request() tests to core. Yay. 2008-08-13 07:11:18 +00:00
Dries Buytaert 0d1995a828 - Patch #268063 by boombatower, chx, cwgordon7, Damien Tournoud: move includes/tests to simpletest/tests and provide hidden .info propery 2008-08-09 12:41:23 +00:00