Commit Graph

214 Commits (f0a8150b1160e47d7d2865836240f973292ac68d)

Author SHA1 Message Date
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 f9693e5815 #413060 by pp: Fix typo preventing contact categories from appearing in table. 2009-03-25 13:45:00 +00:00
Angie Byron d7fa0f82d0 #302219 by R.Muilwijk and cyberswat: DBTNGify the Contact module. 2009-03-08 05:08:22 +00:00
Angie Byron bdd5fa186d #369653 by rszrama: Add 'No categories' message to Contact module when no categories exist. 2009-02-05 19:26:21 +00:00
Dries Buytaert bdbd0dffe5 - Patch #266246 by David Strauss: added smart defaults for system_settings_form(). 2009-01-11 21:19:19 +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 eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Angie Byron 8292bdd40a Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default. 2008-10-13 00:33:05 +00:00
Angie Byron a3a420c3e6 Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. 2008-10-12 06:27:06 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron ecf7ad41d0 #242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default. 2008-10-11 21:11:02 +00:00
Angie Byron 7e02f2f782 #318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI. 2008-10-11 02:33:14 +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 d59ba41f65 #313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names 2008-10-09 15:15:55 +00:00
Dries Buytaert 026af5df34 - Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens. 2008-10-06 11:30:12 +00:00
Angie Byron 893942bb4f #108979 by ewhipple, catch, and sun: Order permissions consistently, keep node type related permissions together. 2008-09-17 20:37:32 +00:00
Dries Buytaert 21aab5e667 - Patch #276588 by boombatower, jpetso: tests for contact module categories. 2008-09-17 06:54:11 +00:00
Dries Buytaert 8868a4dc6a - Patch #296496 by McJim, jpetso: added tests for contact form flood control. Yay. 2008-09-16 18:18:02 +00:00
Dries Buytaert ae31a4ab76 - Patch #308138 by mfer, Dave Reid: replace valid_email_address with filter_var and FILTER_VALIDATE_EMAIL. 2008-09-16 17:50:02 +00:00
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 7f965d0b4b - Patch #276581 by andreiashu and cwgordon7: added tests for contact form categories. 2008-08-02 05:16:47 +00:00
Dries Buytaert ccf1af94fa - Patch #245329 by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert b305732e5d - Patch #285184 by Arancaytar: fixing e-mail address in tests. 2008-07-22 20:08:44 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert fe06b4ccd8 - Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace. 2008-07-02 20:05:11 +00:00
Dries Buytaert 9b82787b22 - Patch #243773 by chx, catch, boombatower, yched, dmitrig01, et al: use the batch API for running the tests instead of an all-in-one approach. Great work. 2008-06-24 21:51:03 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert ddea5c448d - Patch #260882 by boombatower: refresh variables after install and page requests. This actually fixes one failure. 2008-05-28 13:11:11 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert a7f12c0326 - Patch #251263 by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert 1db338e0e1 - Patch #248140 by thehong: usability: add destination to user editing page link on personal contact form. 2008-04-19 14:44:34 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 597194fa58 - Patch #223175 by cwgordon07: administers should be able to send as many contacts as they want. 2008-03-25 14:07:34 +00:00
Dries Buytaert 584f3e886a - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert b05db1f176 - Patch #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 01a4c0d827 - Patch #222385 by pwolanin: removed drupal_clone() hack in favor of the real PHP5 clone(). 2008-02-17 19:29:07 +00:00
Gábor Hojtsy 9c4ff53d92 #210260 by dropcube: kill notice when anonymous users uses site-wide contact form 2008-01-16 22:56:21 +00:00
Gábor Hojtsy a8360ea7c9 #189785 by dropcube: anonymous users did not have permission to view the personal contact form, so catch them early 2008-01-16 12:46:52 +00:00
Gábor Hojtsy 196856f59c #100577 by O Govinda, keith.smith, catch: improve contact module help, more links to where settings are located 2007-12-19 17:42:13 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy c6d841c096 #197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc 2007-12-13 09:34:40 +00:00
Gábor Hojtsy 18dfcb30ed #199016 by blackdog, slightly modified: default_category variable was not set in category form builder 2007-12-10 10:38:00 +00:00
Dries Buytaert 9a96837b89 - Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues. 2007-11-26 16:36:44 +00:00
Dries Buytaert 336dd18700 - Patch #136970 by catch and wmostrey: added permission to administer contact forms (usability improvement). 2007-11-09 09:21:00 +00:00
Dries Buytaert 422f85d807 - Patch #189852 by hswong3i: use schema API to update/insert the contact form records. 2007-11-09 07:55:13 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Dries Buytaert c389c90529 - Patch #144634 by chx: fixed critical bug that prevented language negotiation to work after/when drupal_goto() is called. 2007-10-02 16:03:17 +00:00
Gábor Hojtsy c3685d60f7 #172791 by dmitrig01: fix notices when contact page is called, but contact module is not configured yet 2007-09-06 12:42:50 +00:00
Gábor Hojtsy fb71555204 #166237 by jbratton: fix two notices on contact pages for anonymous users 2007-08-11 16:13:45 +00:00
Gábor Hojtsy 64def7cb3e #100641 by kkaefer, ChrisKennedy and RobRoy: change 'Submit' buttons to 'Save' to compliy with the desktop metaphor and actually tell what the button does ('we know it submits the form, but what it does?') 2007-07-16 12:43:06 +00:00
Dries Buytaert 239c713043 - Patch #159539 by pwolanin and Crell: split up contact module. 2007-07-16 06:37:49 +00:00
Dries Buytaert 08c059ec77 - Rollback of patch #147947: lacks proper upgrade path. 2007-07-15 10:09:21 +00:00
Dries Buytaert 20093d5fc8 - Patch #111086 by webchick: fix contact module error message. 2007-07-03 19:53:01 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 8caf4da7f1 #82499 by Jose A Reyero and a little bit from myself: send emails localized in the language needed in specific situations, and centralize mail composing operations with hook_mail() 2007-07-01 19:49:19 +00:00
Dries Buytaert e59852d336 - Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API.  We all support the
  features this patch added, yet not its actual design and implementation.
  After some talk, we decided that it would be better for Drupal -- in the
  long term -- not to go with a solution that isn't 100%. We also recognize
  that in the short term, this patch would have been useful addition. So
  let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Gábor Hojtsy cc9f167e49 #154218 by Steven: HTML to text email converter, centralizing email wrapping in Drupal core and providing a solid conversion function for contributed modules 2007-06-26 22:21:08 +00:00
Steven Wittens fe8b35f527 #153781: Convert all remaining confirm_forms() to deletion api. 2007-06-22 08:32:28 +00:00
Dries Buytaert ae0392b2eb - Patch #147947 by hswong3i: some files shouldn't defined as text:big for Oracle compatibility. 2007-06-15 07:15:25 +00:00
Dries Buytaert b69a8e39a6 - Patch #149588 by David Lesieur: corrected API after FAPI changes. 2007-06-14 05:44:51 +00:00
Dries Buytaert 29eb5a6284 - Patch #146910 by dww: only allow enabling modules with the same Drupal core compatibility version. 2007-06-08 05:50:58 +00:00
Dries Buytaert e629deb94d - Patch #146667 by Jeff Eaton: form API fixes. 2007-06-04 15:56:34 +00:00
Dries Buytaert 1fe90cba4f - Patch #146667 by Eaton: correct builder argument ordering, eliminate redundant arguments 2007-06-04 07:22:23 +00:00
Dries Buytaert 24038816f3 - Patch #141957 by add1sun: improved consistency of messags. 2007-05-31 12:03:18 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert ac65ff9074 - Patch #138706 by eaton, chx, webchick, yched et al: form api 3 ... yay. :) 2007-05-14 13:43:38 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert 248703477d - Patch #76588 by kbahey and RobRoy: made the syslog deamon strip HTML tags. 2007-04-30 14:25:14 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert dc5843bd30 - Patch #111347 by Steven: refactor url() and l(). 2007-02-15 11:40:19 +00:00
Dries Buytaert a1e6728a46 - Patch #113603 by chx: first crack at re-implementing tabs. 2007-02-11 09:30:51 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert 74e3c74b81 - Always check the username. 2007-01-10 15:17:51 +00:00
Neil Drumm f58b4e1a5a #106266 by webchick. Blob and text columns can't have default values in MySQL. 2007-01-02 05:30:29 +00:00
Neil Drumm dfd86399c0 #106232 by chx. Add spaces for code style. 2007-01-02 05:05:38 +00:00
Dries Buytaert d24e8315f1 - Patch #100987 by dvessel: paragraph tag to help text. 2006-12-04 10:43:34 +00:00
Dries Buytaert 6ae6dc0d85 - Patch #87298 by webchick, neil, dww et al: show version numbers on modules page. 2006-11-21 20:55:36 +00:00
Dries Buytaert b004f328ee - Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard. 2006-11-21 20:14:19 +00:00
Dries Buytaert e8e97f2bbd - Patch #98688 by greggles: string cleanup. Follow RFC2606 and use example.com for domain name examples. Core uses that consistently so make sure your contributed modules do too. 2006-11-21 19:12:01 +00:00
Dries Buytaert dd7b44c417 - Patch #92845 by chx: fixed contact module placeholders in e-mail messages. 2006-11-07 12:09:55 +00:00
Steven Wittens 36d44fbfb0 #84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc 2006-10-22 08:28:47 +00:00
Dries Buytaert 04db6f2c41 - Patch #88945 by webernet: to field in personal contact form always blank. 2006-10-18 17:57:05 +00:00
Dries Buytaert 8f535993ed - Patch #69202 by AjK, dopry, chx et al: don't allow anonymous users to send
themselves a copy.  Prevents spam.
2006-10-08 06:09:41 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Dries Buytaert 6f0e54b037 - Patch #82465 by webchick: renamed variables in hooks for consistency. 2006-09-08 16:33:02 +00:00
Neil Drumm 94098f7e93 #81033 by webchick and neclimdul. Uninstall module API. 2006-09-01 07:40:08 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert 7178f2f99e - Patch #79428 by Chris Johnson: remove int display width declarations from MySQL create table statements. 2006-08-20 06:38:50 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 7de41539df - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. 2006-08-18 18:58:47 +00:00