Commit Graph

1059 Commits (7017f77cfccf6c131090301e735306a8d5ddafec)

Author SHA1 Message Date
Angie Byron ddc2604d69 #383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X. 2009-03-08 04:25:07 +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 b3e36d655c - Patch #299267 by Crell: add extender support to the SELECT query builder. 2009-02-22 16:53:41 +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 fb7347bc9d #371231 by JohnAlbin and EclipseGC: Rename clear-block CSS class to clearfix, which is the lingo that designers use for it. 2009-02-18 14:28:25 +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 4be0f043ba #349823 by Dave Reid: Fix query in recent comment block that results in fatal error (with tests). 2009-02-07 20:10:40 +00:00
Angie Byron 7842c3c14d #333478 by keith.smith: Remove extra comma and 'character sequences' in taxonomy tag description. 2009-02-06 16:25:09 +00:00
Angie Byron 9544110e01 #361130 by Dave Reid: Clean up comment variables on uninstall. 2009-01-31 16:31:59 +00:00
Angie Byron b1d7222c6b #352337 by catch: Avoid pager query if there are no comments on a node. 2009-01-31 16:19:29 +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
Dries Buytaert 2e8ca690ff - Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave. 2009-01-27 00:22:27 +00:00
Dries Buytaert 6d3d75fe4b - Removing whitespace. 2009-01-26 14:08:44 +00:00
Dries Buytaert cf43ce126c - Patch #353632 by catch et al: avoid sorting elements twice -- performance improvement. 2009-01-23 14:23:27 +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 3946b191a9 #276554 by stella and John Morahan: Tests for comments as part of an RSS feed. 2009-01-22 04:53:00 +00:00
Angie Byron b4c737a2a5 #287178 by justinrandell: Break up various hook_form_alter()s to hook_form_FORM_ID_alters(). 2009-01-22 03:11:54 +00:00
Dries Buytaert 3dc1157a1e - Patch #244904 by edkwh, keith.smith: renamed 'input format' to 'text format' based on UMN usability study. 2009-01-21 16:58:42 +00:00
Angie Byron 0c57b989f5 #360106 by Dave Reid: Allow comment module to be uninstalled. 2009-01-19 01:23:39 +00:00
Dries Buytaert 8d128023ef - Patch #201490 by lilou, keith.smith: fixed inconsistencies in the moderation queue related help texts. 2009-01-14 21:48:24 +00:00
Angie Byron 9a32ca468a #8 by sun and most of #drupal: Users can now cancel their accounts. Fixing the 8th issue, almost 8 years later, on January 8th, after working 8 days full-time on it. GREAT WORK :D 2009-01-08 08:42:13 +00:00
Dries Buytaert 27e01ade23 - Patch #350984 by Moshe: clean-up and bugfix of the 'kick comment rendering out of node module'. 2009-01-04 16:19:39 +00:00
Dries Buytaert 6690a4ec4c - Patch #353480 by dereine, justinrandell: remove from hook_comment(). 2009-01-04 16:10:48 +00:00
Dries Buytaert b3649703d5 - Patch #352911 by swentel: the comment status field was reversed. 2009-01-02 21:17:35 +00:00
Dries Buytaert 4e9116ca34 - Rollback of #352337. 2008-12-31 12:04:36 +00:00
Dries Buytaert 5ba50b3fe8 - Patch #350984 by Moshe: kick comment rendering out of node module. 2008-12-31 12:02:24 +00:00
Dries Buytaert a77601f669 - Patch #352337 by catch: avoid unnecessary query in comment render. 2008-12-30 20:15:43 +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 a04728577f - Patch #352054 by catch: convert calls to db_placeholders() in static queries. 2008-12-29 16:03:57 +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
Dries Buytaert 574a2e47ee - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). 2008-12-16 23:57:33 +00:00
Dries Buytaert 18d22419f3 - Patch #339929 by Moshe et al: move node links into ->content. 2008-12-16 22:05:51 +00:00
Dries Buytaert c0cb68abcc - Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups. 2008-12-09 11:30:25 +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 20295998e7 - Patch #296624 by Damien Tournoud: made search work on PostgreSQL. 2008-12-02 21:24:34 +00:00
Dries Buytaert 1bbafcc967 - Patch #339960 by Damien Tournoud: updated test explanation. 2008-11-28 09:34:42 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Angie Byron 66df602593 #314870 by Rob Loach, drewish, catch, and sun: Add hook API documentation to Drupal core. 2008-11-25 02:37:33 +00:00
Angie Byron f91cfba34f #302438 by maartenvg and cwgordon7: Only show the 'queued for approval' message for non-administrators. 2008-11-23 16:04:41 +00:00
Dries Buytaert 9c72e9209a - Patch #334826 by maartenvg: editing of anonymous comments was broken. Bugfix with test\! 2008-11-21 14:48: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 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert 97fdc49191 - Patch #334030 by justinrandell: replace module_list with module_implements when calling a hook. 2008-11-15 11:45:04 +00:00
Dries Buytaert 9d631d22f9 - Patch #314532 by jsaints, Crell, Arancaytar, CorniI, Rob Loach, et al: convert comment module to new DB layer. Doesn't break any additional tests so if we discover a regression, please submit a test with it. 2008-11-11 21:44:01 +00:00
Dries Buytaert bd108c7f10 - Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up. 2008-11-11 16:49:38 +00:00
Dries Buytaert 0290031d45 - Patch #319788 by stella, nedjo et al: pass language code to filters when available. 2008-11-08 20:43:54 +00:00
Dries Buytaert 424250196a - Patch #279516 by c960657: removed many PHP4-isms. Great patch. 2008-11-01 19:51:06 +00:00
Dries Buytaert 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Dries Buytaert 63d0ea9914 - Patch #296485 by johnskulski, catch: fixed problem with comment threading. 2008-10-14 20:39:42 +00:00
Dries Buytaert 126a5e3c88 - Patch #320784 by johnskulski: added test for comment threading. This test currently fails. 2008-10-14 20:34:56 +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 87567f8916 - Patch #310212 by justinrandell: killed in _node hook, as well as twelve sable tooth tigers. 2008-10-06 12:55:56 +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
Dries Buytaert 9f3d9f1115 - Patch #161301 by Eaton, Sun, moshe and webchick: make checking for node edit forms easier. DX improvement. 2008-09-27 20:37:01 +00:00
Angie Byron 4a0e68e838 #125315 by chx, sun, Gábor Hojtsy, drumm, and friends: Add #input_format FAPI property that can be used by WYSIWYG editors. WOOHOO. 2008-09-27 19:47:43 +00:00
Angie Byron 1fc0b924f2 #313044 by Amitaibu: Remove silly assertion. 2008-09-24 22:38:20 +00:00
Angie Byron 804b313a85 #296486 by lyricnz and boombatower: Tests for viewing an individual comment. 2008-09-19 03:11:53 +00:00
Angie Byron c32c0f517f #296487 by lyricnz and beeradb: Tests to make sure comment posting fails when it should. 2008-09-19 03:00:10 +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 7f29b14277 - Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience. 2008-09-17 07:11:59 +00:00
Angie Byron 54d2daec35 #302396 follow-up by catch: Fix typo in tests. 2008-09-09 00:29:24 +00:00
Dries Buytaert b6fd223d1a - Patch #302396 by chx, catch: made some tests more granular so they an be run in parallel or stand-alone. 2008-09-08 21:37:21 +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 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 d9c682e6af - Patch #66264 by boombatower: fixed typo in title. 2008-08-14 19:42:26 +00:00
Dries Buytaert 6f167edd7c - Patch #187061 by Rob Loach: give feedback when a comment was posted. 2008-08-03 18:52:27 +00:00
Dries Buytaert aade5fbf24 - Patch #237636 by marcingy: comment status field should match node status field. 2008-08-02 20:29:43 +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 1415340ce3 - Patch #191499 by catch: remove display order settings and cleaned up some white space. 2008-07-03 17:57:03 +00:00
Dries Buytaert 81c71bc891 - Patch #216515 by chx, Damien Tournoud, et al: fixed form API glitch with caching. 2008-06-24 17:01:33 +00:00
Dries Buytaert 928822d0a9 - Patch #272054 by David Rothstein: fixed code comment for comment_form(). 2008-06-20 16:52:55 +00:00
Dries Buytaert 95c66fa9fb - Patch #272848 by catch: update comment settings form help text. 2008-06-20 16:45:27 +00:00
Dries Buytaert 61cc35f2b0 - Patch #255918 by R.Muilwijk: performance improvement: comment_link querying for already retrieved data. 2008-06-18 16:06:42 +00:00
Dries Buytaert 6e2358b232 - Patch #270045 by drewish, Susurrus: clean up return values. 2008-06-18 03:36:24 +00:00
Dries Buytaert d8ff9967e6 - Patch #250729 by R.Muilwijk: fixed typo. 2008-06-17 00:52:00 +00:00
Dries Buytaert cf42d0c25a - Patch #250729 by R.Muilwijk: removed unnecessary SQL query. 2008-06-14 16:02:50 +00:00
Dries Buytaert 201e1dd356 - Patch #268449 by catch: fixed some tests that failed due to invalid permissions. 2008-06-09 16:33:20 +00:00
Dries Buytaert 5ed9cf76a0 - Patch #253577 by Morbus Iff: allow new comment timestamp to be passed. 2008-06-09 07:07:36 +00:00
Dries Buytaert dc613626d4 - Patch #266465 by R.Muilwijk: fixed the comment module tests. 2008-06-05 17:57:04 +00:00
Dries Buytaert 3f052180dc - Patch #66264 by boombatower: comment approval displayed on node view of comment. Comes with tests and everything. 2008-06-03 16:30:20 +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 8cc4aaeeae - Patch #258171 by Senpai: code cleanup. 2008-05-14 13:12:41 +00:00
Dries Buytaert 11aeff6016 - Patch #145242 by douggreen et al: refactor node_rank to modules can add scoring factors. 2008-05-14 11:10:54 +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 d1bc889242 - Patch #227830 by JohnAlbin: link attributes added to l() incorrectly. 2008-05-02 15:11:05 +00:00
Dries Buytaert 159bb6dd08 - Rollback. 2008-04-25 18:34:05 +00:00
Dries Buytaert d7f3c18d17 - Patch #250729 by R.Muilwijk: performance improvement. 2008-04-25 17:59:36 +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 d1779405d2 - Patch #249941 by John Morahan: fixed incorrect parameters of watchdog() calls. 2008-04-23 18:05:58 +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 46546ef478 - Patch #175841 by catch et al: remove comment controls for users. Yowza. 2008-04-16 11:26:29 +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 79b016d915 - Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php.  The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:

    block-user-0.tpl.php --> block-user-navigation.tpl.php
    block-user-1.tpl.php --> block-user-login.tpl.php

  You get the picture.
2008-04-10 10:28:23 +00:00
Dries Buytaert 23602afbe1 - Patch #195072 by webchick and coltrane: make _comment_load() a public API function by renaming it to comment_load(). 2008-04-10 10:13:57 +00:00
Dries Buytaert 91824358be - Patch #216504 by webchick et al: added missing table alias in comment_render function. 2008-04-10 01:45:38 +00:00
Dries Buytaert 1dfd1717c1 - Patch #240387 by matt2000 et al: move 'content types' to 'site building' per the UMN usability study results. 2008-04-06 18:50:12 +00:00
Dries Buytaert f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +00:00
Dries Buytaert 33853f6d9c - Patch #228120 by jvandyk: fixed code comment. 2008-03-10 18:25:48 +00:00
Dries Buytaert 6030a5b2e4 - Patch #81931 by keith.smith: improved wording of help text. 2008-02-23 08:02:48 +00:00
Dries Buytaert 657935c263 - Patch #81931 by webchick et al: made the recent comments block configurable. Somme minor changes by me. 2008-02-21 19:38:07 +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 b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 85cae0d01a #204411 by chx, slightly modified: heal a possible MySQL import error when the anonymous user becomes broken 2008-01-25 16:19:13 +00:00
Gábor Hojtsy 7f85bc5bc4 #208938 by bjaspan, scor: use schema PI for index updates instead of database dependent code 2008-01-16 21:45:30 +00:00
Gábor Hojtsy c5aa55b38e #204705 by pwolanin: abort user_save on SQL errors, to avoid data corruption 2008-01-10 15:03:53 +00:00
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Dries Buytaert 7127adabb0 - Patch #205465 by jvandyk: add missing index on comment table. 2008-01-05 22:45:40 +00:00
Gábor Hojtsy 258b576020 #199809 by theborg: comment templates were not checking status properly (fix notice, allows themes to theme in-preview comments differently) 2008-01-04 19:24:24 +00:00
Gábor Hojtsy a555202276 #195161 follow up by keith.smith: fix typo in code comment 2008-01-04 15:11:59 +00:00
Gábor Hojtsy 9bc7c07cb7 #195161 by mcarbone with some modifications: only show 'login to post comments' if logging in actually lets you post comments 2008-01-04 11:34:19 +00:00
Dries Buytaert a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 1d4fc1b1af #202473 by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +00:00
Gábor Hojtsy fcbd175337 #189878 by O Govinda, keith.smith: comment module help updates, removing help on features which are not there, and adding help on Drupal 6's new per content type comment settings 2007-12-19 19:17:20 +00:00
Gábor Hojtsy d17b6ad1cf #199336 by JirkaRybka: remove improper t() use in update code (update goes all in English, but there were some mistakes), and add messages to updates where there was no return value otherwise, so users know what happens in each update 2007-12-19 10:34:51 +00:00
Dries Buytaert b339b47fc0 - Patch #199510 by Pancho: fixed form API conversions. 2007-12-18 22:16:55 +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 191beee5fa #194310 follow up by chx and myself: only load comment module when we can actually do it, and when we need it in comment.install 2007-12-17 16:26:12 +00:00
Gábor Hojtsy dfe1225147 #194310 by chx, catch, KarenS: run updates for disabled but previously installed modules, if they are compatible with the current system 2007-12-17 12:23:01 +00:00
Gábor Hojtsy b7a2becd15 #197314 by vitezslav.smid (as GHOP 39): improve/add/update phpdoc in aggregator, comment and system modules 2007-12-16 21:01:45 +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 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy d83289f857 #196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Gábor Hojtsy 259e2f5c7e #195678 by catch: standardise on Save and Preview button terminology (for comments) and button placement for comments and nodes, so Save is always the leftmost button, and there is no guessing to find it 2007-11-29 11:54:37 +00:00
Gábor Hojtsy f77b60f291 #195543 by hass and yhager: CSS inherit was completely misused in RTL CSS files 2007-11-27 12:09:27 +00:00
Gábor Hojtsy 22a4c039da Rollback the accidentally committed #194310 2007-11-26 19:55:15 +00:00
Gábor Hojtsy e6a88be5d1 #193333 by quicksketch et al: taxonomy drag and drop support 2007-11-26 19:46:52 +00:00
Gábor Hojtsy c856eac135 #191104 by keith.smith: (usability) change occurances of node to 'post' and 'content' as appropriate 2007-11-12 19:06:33 +00:00
Dries Buytaert beb7cfa80e - Patch #190483 by webernet et al: tiny code cleanup. 2007-11-09 07:46:10 +00:00
Gábor Hojtsy 678773e364 #189837 by chx: remove temporary table usage from comment_enable(). Now we require MySQL 4.1 and it has constructs which make this unnecessary. 2007-11-07 15:54:49 +00:00
Gábor Hojtsy e9f7072edd #186749 by Rob Loach and myself: (regression) only override comment submitter name with anonymous name, if it was not provided already 2007-11-05 14:25:58 +00:00
Gábor Hojtsy d1c46eadeb #187391 by jrbeeman, catch: redirect user to proper node comment page after submitting a new comment 2007-11-04 16:11:33 +00:00
Gábor Hojtsy 510bb1a42f #93425 by bjaspan: remove pre-Drupal 4.6 era destination handling cruft carried over in comment module 2007-11-04 15:15:47 +00:00
Gábor Hojtsy 91e980a271 #187881 by mooffie: fix misnamed database table names in schema documentation 2007-11-04 14:33:07 +00:00
Dries Buytaert b99aab8381 - Patch #163499 by Crell et al: split up comment module. 2007-10-31 17:50:47 +00:00
Gábor Hojtsy b036bef620 #185867 by hunmonk: (usability) add node title to comment overview page for easier identification 2007-10-25 10:28:05 +00:00
Gábor Hojtsy 4e187261ab #177497 by chx and Desbeers: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code. Also fixing some misuse of menu_set_location() by using drupal_set_breadcrumb() instead. 2007-10-25 08:24:43 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy b64adf07c8 #182645 by scor: clean up concatenations to be in line with core coding standards 2007-10-19 10:19:03 +00:00
Gábor Hojtsy 6417a6ade4 #55277 by catch and JirkaRybka: when flat comment view is used, order comments by cid (ie. original submission order) instead of timestamp (ie. last editing time order) to avoid comments jumping around when being edited 2007-10-16 14:22:00 +00:00
Gábor Hojtsy 0a61aff251 #183390 by hunmonk: forms should use form_state['redirect'] for redirection, not drupal_goto() - fix this in comment_admin_overview_submit() 2007-10-15 15:57:15 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 09e2701892 #181088 by fajerstarter, catch and JirkaRybka: rename 'access control' to 'permissions' for usability reasons 2007-10-12 10:41:48 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Gábor Hojtsy 1a2bf588e6 #63990 by several people: fix comment submission on nodes where a form is displayed 2007-10-08 14:22:31 +00:00
Dries Buytaert ca8e9a1e18 - Patch #180432 by hunmonk, sun, et al: make comment settings per node type. This is a new feature that slipped in because it is required for the project module on drupal.org. 2007-10-07 19:25:57 +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
Gábor Hojtsy 071d4b010e #180559 by hunmonk: do not try to display the comment addition form at th end of comments, if we are already on the page, so it is displayed anyway 2007-10-03 17:59:50 +00:00
Gábor Hojtsy b03af772d7 #174233 by webernet: fix notices when editing comments and also fix a moderation bug along the way 2007-09-28 17:15:04 +00:00
Dries Buytaert be091880f4 - Patch #124979 by chx: remove the auto_increment. 2007-09-26 18:31:34 +00:00
Gábor Hojtsy cd517f16e9 #177927 by chx: use path=/ in PHP comment settings cookie creation, so cookies set around the site are available in other 'directories' 2007-09-25 14:58:43 +00:00
Gábor Hojtsy 21ac9f1917 #174708 by multiple contributors: update jQuery to 1.2 2007-09-12 18:29:32 +00:00
Gábor Hojtsy ac7637bc9b #172773 by numerous contributors: Make the actions interface usable by mere mortals (including rename of actions.module to trigger, but keeping the actions themselfs).
Complete previous history of actions module:
 - #148410 by jvandyk: added rewrite of the actions module!
 - #155986 by Uwe: fixed typos.
 - #155828 by Eaton, pwolanin and jvandyk: let actions live even if actions.module is not turned on
2007-09-11 14:50:05 +00:00
Gábor Hojtsy 67e5859a7f #172376 by ChrisKennedy: fix 8 E_ALL issues in comment module and fix approval queue 2007-09-06 12:21:39 +00:00
Dries Buytaert ab1715750a - Patch #172961 by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Dries Buytaert 2db2c039fb - Patch #172950 by webernet: code style fixes. 2007-09-04 21:10:45 +00:00
Gábor Hojtsy e310d9e4a4 #6162 by various people: actually point new anchors to the page the first new comment is displayed (in a multipage comment view) 2007-09-02 14:56:18 +00:00
Gábor Hojtsy c07305d060 #172149 by dvessel: add semicolons, so the JS aggregator works 2007-09-01 07:08:11 +00:00
Dries Buytaert 00181ecb39 - Removing whitespace. 2007-08-30 19:54:22 +00:00
Gábor Hojtsy 4e0071fb8a #111127 rollback by chx, slightly extended: roll back node_load cache, it needs more thought and discussion, so postponed until at least Drupal 7 2007-08-30 15:31:46 +00:00
Gábor Hojtsy d8b17c9f19 #156475 by Christoph C. Cemper and greggles: actually call the publish op on hook_comment when a comment is first (automatically) published 2007-08-29 17:01:33 +00:00
Dries Buytaert 5e73b66f3a - Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches. 2007-08-26 07:46:11 +00:00
Gábor Hojtsy 801756e7e6 #111127 by chx: cache node_load(), so heavy operations loading data from external sources and only invoked once (note that you should do everything dynamic in the view op, not the load op) 2007-08-25 09:25:49 +00:00
Dries Buytaert c17499b6fe - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. (Correct version this time.) 2007-08-12 16:12:00 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Dries Buytaert a5fcb369fb - Patch #166205 by hswong3i: improved database compatibility of db_result(). Makes it work with DB2, Oracle, etc. 2007-08-11 14:14:46 +00:00
Gábor Hojtsy f23c24c8a3 #164935 by Ralf Stamm: standardize CVS Id tags in files:
- always include CVS Id tags in all files
 - add a new line after the CVS Id, if more code or phpdoc follows in the same code block
 - fix bogus Id tags previously added
2007-08-07 08:39:36 +00:00
Dries Buytaert d746d35a8f - Patch #163073 by Robert Douglas: removing dead code. 2007-07-30 21:27:34 +00:00
Gábor Hojtsy f180790bb7 #161979 noticed by bboyjay, patch by myself: kill noticedisplayed when no comments were selected for the mass operation 2007-07-25 14:57:58 +00:00
Gábor Hojtsy e3fa6893c2 #124485 by Wesley Tanaka: move some remaining node.css comment styles to the actual comment.css 2007-07-24 21:33:53 +00:00
Dries Buytaert 7d0cf742f7 - Patch #160589 by dvessel: tpl-ify the comment module's theme functions. 2007-07-20 08:51:13 +00:00
Dries Buytaert 0ddff5ee26 - Patch #160491 by dvessel: fixed E_NOTICE warnings. 2007-07-20 08:39:00 +00:00
Dries Buytaert 08c059ec77 - Rollback of patch #147947: lacks proper upgrade path. 2007-07-15 10:09:21 +00:00
Dries Buytaert a771c6c45a - Patch #57106 by Steven et al: future timestamps break search indexing. 2007-07-15 10:05:18 +00:00
Gábor Hojtsy 51b789c0d3 #156778 by asimmonds: revert node and comment deletions to the pre-deletion API state 2007-07-13 20:04:47 +00:00
Dries Buytaert 4ff46202cb - Patch #157773 by pwolanin: remove node/%/% from comment_menu. 2007-07-09 17:05:49 +00:00
Gábor Hojtsy 806d0a3dee #156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes 2007-07-05 08:48:58 +00:00
Gábor Hojtsy 1b503eaac9 #128165 by joshk and webchick: missing db_rewrite_sql() calls in comment queries 2007-07-04 22:24:40 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 3409019929 #146386 by kbahey: refactor 'submitted by user - date' themeing and make it more verbose to translate 2007-07-01 23:15:41 +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
Dries Buytaert c11cb4ec24 - Patch #120360 by nedjo: enable AJAX by making all behaviours reattachable. 2007-07-01 15:37:10 +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
Dries Buytaert 2348e7de6f - Patch #148410 by jvandyk: added rewrite of the actions module!
This is a very important patch, but one that is merely an enabler.
  Hopefully we'll see more people submitting "action patches" in the
  near future.

  Thanks for the hard work and persistence, John.  *If* you decide
  to update the Drupal Pro Development book to Drupal 6, make sure
  to add a chapter on actions. ;)
2007-06-29 18:06:51 +00:00
Steven Wittens 7093495f7c #154046: Optimize confirm_form syntax for common usage (and fix some $form_state bugs). 2007-06-24 10:09:53 +00:00
Steven Wittens 028c8e6050 #148678: Fix notices/warnings on invalid paths like 'node/zzz'. (chx/pwolanin/webernet) 2007-06-24 00:38:40 +00:00
Steven Wittens 38a1300df2 #147723: Deletion API (by hunmonk). Woop woop. 2007-06-22 05:44:21 +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 0d5e968823 - Patch #82526 by Moshe: simplified APIs -- use form_alter now. 2007-06-15 07:10:47 +00:00
Dries Buytaert 42667a6328 - Patch #142829 by webchick and gurpartap singh: pave the path to allow comment-.tpl.php. 2007-06-11 14:56:40 +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 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert 2a3744c572 - Patch #149339 by Ted: removed unnecessary heavy query. 2007-06-05 09:22:22 +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 556ef56c52 - Patch #147417 by robertDouglas: only save cookie for anonymous users. 2007-05-29 06:27:37 +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
Gábor Hojtsy 860947d3c8 #145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.

This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
2007-05-27 17:57:48 +00:00
Dries Buytaert 4a6f5869e5 - Patch #142773 by kbahey: made Drupal work correctly when behind a reverse proxy. 2007-05-25 15:04:42 +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 2934a3d9bd - Patch #144859 by dww: added optional e-mail notifications when user are approved, blocked, or deleted. 2007-05-20 12:34:48 +00:00
Dries Buytaert b86d106e0e - Patch #141131 by mfer: fixed UTF-8 problem. 2007-05-20 07:30:03 +00:00
Dries Buytaert da7f952a45 - Patch #141131 by mfer: remember anonyous comment posters. 2007-05-17 21:05:38 +00:00
Dries Buytaert d1e28d4273 - Patch #141131 by mfer: remember anonyous comment posters. 2007-05-17 20:57:19 +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 29055d34d6 - Patch #137236 by merlinofchaos: provide a way to secure the theme variables system. 2007-04-27 07:42:54 +00:00
Gábor Hojtsy 359ace36e6 #76588 patch by alienbrain: some localization-unfriendly watchdog() calls 2007-04-24 18:23:48 +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
Dries Buytaert 083a6a274d - Patch #134185 by Ralf Stamm: missing CVS IDs in files. 2007-04-13 07:33:24 +00:00
Dries Buytaert b9b015ff19 - Patch #130366 by webchick and Steven: make signatures pretty. 2007-04-09 13:41:10 +00:00
Dries Buytaert 5bbbf10ba8 - Patch #130987 by merlinofchaos: added theme registry for easier themability. 2007-04-06 13:27:23 +00:00
Steven Wittens f3cd2da113 #130991: Custom menu items, part 1 2007-04-06 04:39:51 +00:00
Steven Wittens a2baa44499 #130366: Better styling for signature separator (thanks webchick). 2007-04-01 05:04:20 +00:00
Dries Buytaert 9e94bb6101 - Patch #130366 by webchick and steven: improved signature handling. Step 1 of 2. 2007-03-30 07:45:20 +00:00
Dries Buytaert 630277cc89 - Patch #110888 by Heine: fixed drupal_alter glitch(). 2007-03-29 23:19:33 +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 eb6b848de6 - Patch #110888 by Eaton: unify hook _alter() 2007-03-26 00:35:59 +00:00
Dries Buytaert 69eb6a883d - Patch #123940 by Gman: anchor to comment form is mis-labeled. 2007-03-12 13:08:02 +00:00
Dries Buytaert 273a653f56 - Patch #111830 by pwolanin: comment block sql incompatible with db_rewrite_sql. 2007-03-06 16:15:19 +00:00
Dries Buytaert 1e9c517796 - Patch #124742 by ChrisKennedy: fixed comments in CVS HEAD. 2007-03-06 16:14:04 +00:00
Dries Buytaert b95f496bbc - Backporting comment module validation fixes. Already went into DRUPAL-5. 2007-03-01 19:53:04 +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 301d377986 - Patch #107440 by webchick and add1sum: code cleanup. 2007-01-23 19:11:18 +00:00
Dries Buytaert 1ec2b45be7 - Patch #104156 by chromeyellow and Heine: avoid redundant SQL queries. 2007-01-03 11:32:38 +00:00
Dries Buytaert dbcf525d42 - Patch #106351 by hickory: fixed comment forms. 2007-01-03 11:04:50 +00:00
Neil Drumm 36fce2f001 #18870 by zen. Only allow the new comment anchor to be output forthe first new comment. 2006-12-30 21:20:38 +00:00
Neil Drumm 8b9a3326c3 #60664 by Heine. Only check if new comments are duplicates. 2006-12-25 22:39:08 +00:00
Neil Drumm f4ed6e1a14 #69111 by robertDouglass. Speed up the new comments block. 2006-12-19 09:02:28 +00:00
Steven Wittens 46392b264c #92242: Don't indent when comment view is flat. 2006-12-15 01:33:00 +00:00
Steven Wittens 17b8327efc #102353: More efficient query for comment.module fix 2006-12-13 22:44:54 +00:00
Steven Wittens a043194e3f #102353: Fix comment tracking when comment module has been disabled. 2006-12-13 10:24:58 +00:00
Steven Wittens a10ca909a0 #93897: Fix comment de-indenting multiple levels at a time. 2006-12-12 09:20:17 +00:00
Steven Wittens 27db2cb8b5 #102606: More documentation for constants (webchick) 2006-12-12 06:14:21 +00:00
Steven Wittens fcde99a4dd #60916: Fix comment subject being empty when comment only contains HTML tags. 2006-12-12 06:06:41 +00:00
Steven Wittens 59fe44368f #102783: link to right permissions section in comment help 2006-12-12 05:39:45 +00:00
Dries Buytaert 711378019d -Patch 2006-12-11 17:13:45 +00:00
Dries Buytaert cbb4504574 - Patch #102026 by robert douglas: improved PHPdoc comments. 2006-12-08 16:16:30 +00:00
Dries Buytaert eade0808a3 - Patch #102151 by robert douglass: removed unneeded 'GROUP BY' clause in thread-building code. 2006-12-08 15:32:10 +00:00
Dries Buytaert 627d426735 - Patch #100836 by webernet: make collapsed comments work again. 2006-12-06 15:44:09 +00:00
Dries Buytaert 00758e24dc - Patch #92149 by Chris Kennedy: more sentence capitalization. 2006-12-05 17:48:03 +00:00
Dries Buytaert 46a6e08cea - Patch #51314 by kjartan, eafarris, et al: hide the last comment block if there are no comments. 2006-12-01 16:50:36 +00:00
Neil Drumm a2dbfc9034 #99579 by Heine. Don't placeholder the number of comments per page. 2006-11-27 02:14:33 +00:00
Neil Drumm 760e495554 #97824 by webchick. Move enclosing elements out of t(). 2006-11-26 23:10:29 +00:00
Neil Drumm 8bf48bf999 #99645 by chx. Reshuffle some comments. 2006-11-26 22:35:20 +00:00
Neil Drumm 8b1e5d0505 #97231 by pwolanin. Keep the node type in a property and use it consistently. 2006-11-26 02:43:48 +00:00
Dries Buytaert 827f064deb - Patch # #98366 by webchick and ac: simplified strings for translators. 2006-11-24 10:18:24 +00:00
Dries Buytaert d721a4f0d9 - Patch #98365 by webchick and RobRoy: added missing t() functions. 2006-11-24 09:01:57 +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
Steven Wittens 001d54f663 #84961: Add 'select all' and range select feature to admin tables. 2006-11-21 08:16:39 +00:00
Neil Drumm 7f25862f95 #93821 by lyricnz. Fix an undefined variable. 2006-11-12 00:11:15 +00:00
Neil Drumm 337c2f9b5d #92149 by Egon Bianchet. Fix an uncapitalized link. 2006-11-10 08:37:20 +00:00
Dries Buytaert 87f1359158 - Patch #82938 by edkwh and natrak: error in comments admin page after clicking on Update without selecting any comments. 2006-10-24 20:31:25 +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 8306444494 - Patch #78399 by Eaton and chx: don't allow HTML in the title. 2006-10-18 18:00:40 +00:00
Neil Drumm ea38bae2a7 #84443 by Shakur. Do not depend on a url argument being defined. 2006-10-17 08:45:51 +00:00
Dries Buytaert 8d74e4c132 - Patch #87995 by merlinofchaos: added missing css. 2006-10-15 19:57:06 +00:00
Dries Buytaert 7cb0c537c1 - Patch #87995 by merlinofchaos: cleaned up CSS and simplified the code. 2006-10-11 13:17:23 +00:00
Dries Buytaert 6e8a0a1602 - Patch #87755 by kjartan: anonymous comments can't save names. 2006-10-09 06:59:01 +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 cb8201c337 - Patch #83007 by edkwh: fixed multi-comment delete. 2006-09-17 19:09:34 +00:00
Neil Drumm d48100eb88 #73584 by keve an flk. Properly check if a variable is set. 2006-09-09 00:23:11 +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 208090eeb0 #82336 by jvandyk. Set the default input format if we don't have one. 2006-09-05 02:36:02 +00:00
Dries Buytaert 49fa25fb76 - Rollback of patch #68418: clean up node submit hooks. Needs more thinkering.
Restores the old node API.
2006-08-31 21:58:36 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Neil Drumm e051f5bd90 #81481 by erdemkose. Show the comment subject on delete confirmation. 2006-08-31 08:55:45 +00:00
Dries Buytaert 5524604a95 - Patch #68418 by Moshe et al: clean up node submit hooks. 2006-08-29 18:43:26 +00:00
Neil Drumm bceaf8f0da #80574 Eaton and chx. Replace $_POST['edit'] with $_POST. 2006-08-29 09:12:03 +00:00
Dries Buytaert f8534504b3 - Patch #80895 by webchick et al: make it easier to disable form elements. 2006-08-27 12:54:01 +00:00
Dries Buytaert c4f1e4ba13 - Patch #76444 by chx, moshe, eaton, angie et al: make it possible to control access to form elements. 2006-08-22 11:13:04 +00:00
Dries Buytaert e14c3aa6c0 - Patch #79498 by Eaton: fixed editing comments and nodes. 2006-08-19 21:40:58 +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
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Dries Buytaert ce85b7c7f8 - Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert d2eb90c45e - Patch #77896 by killes: don't clear cache inside loop. 2006-08-10 05:47:37 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Neil Drumm 129c8eb18c #62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types. 2006-08-06 23:00:42 +00:00
Neil Drumm cd430165d7 #73884 by RobRoy, various code cleanup. 2006-08-05 00:26:36 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Neil Drumm c11c1c2800 #73605 by RobRoy, make hook_link() implementations consistent with documentation. 2006-07-19 07:15:35 +00:00
Neil Drumm e616f2b580 #73748 by RobRoy, add a themeable wrapper for comments 2006-07-19 06:19:17 +00:00
Steven Wittens dafb146b27 #74070: urlencode to drupal_urlencode() 2006-07-18 10:44:45 +00:00
Dries Buytaert e4e416d1f7 - Patch #73351 by Kris, Goba et al: only display comment link in RSS, if applicable. 2006-07-13 12:29:15 +00:00
Dries Buytaert 58752cfaa2 - Patch #72284 by me:
+ reorganized ?q=admin/settings
   + deprecated the _settings hook
2006-07-10 19:27:52 +00:00
Neil Drumm 84bad29516 #72865 by AjK, use more standard is_numeric() instead of ctype_digit(). 2006-07-10 18:00:37 +00:00
Neil Drumm 59aa2ae8e8 #71925 by Steven, remove # prefix from link array keys. 2006-07-04 08:59:05 +00:00
Neil Drumm d048681f03 #63990 by Heine and chx, allow commenting on nodes containing forms 2006-07-02 20:24:17 +00:00
Neil Drumm 2a89ab89f9 #67745 by AjK, handle deleting non-existant comments better. 2006-07-02 02:59:21 +00:00
Neil Drumm 4f078eb274 #51556 by greggles, Fixing an inaccurate comment. 2006-05-20 08:14:09 +00:00
Dries Buytaert 1b291a2917 - Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules 2006-05-18 14:58:57 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Neil Drumm 79598dc723 #61678 by Zen, Comment body validation should rely on fapi 2006-05-04 09:34:56 +00:00
Steven Wittens 546f5930a4 #58953: Flat collapsed mode and newest first order broken 2006-04-27 22:03:20 +00:00
Dries Buytaert 326f49b646 - Patch #58953 by tenrapid: critical bugfix: Flat Collapsed mode and Newest First order broken. 2006-04-24 18:42:53 +00:00
Gerhard Killesreiter 297ed741f8 #58221, Turn #after_build into a functions array in order to make validation of date fields possible. Patch by yched, tenrapid
Also makes forms API more consistent (see #pre_render)
2006-04-20 07:11:37 +00:00
Dries Buytaert 0484fcd1ed - Patch #58921 by markus_petrux: critical bug: database error when rendering comments in PostgreSQL.
Tested with MySQL only!
2006-04-17 20:45:00 +00:00
Steven Wittens 8b04c7f0db #51002: Admins could not see unpublished comments (plus minor usability enhancements for previewing/unpublished) 2006-04-15 04:07:18 +00:00
Gerhard Killesreiter d6a164c400 #5371, drupal_get_destination, pager and tablesort array handling, patch by Steven 2006-04-13 08:25:27 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Steven Wittens 4c3fe45fe9 #56942: Comment cids should belong to the associated nid 2006-04-04 07:07:45 +00:00
Steven Wittens 57be840338 #57133: admin/comment needs to remember sort order in page 2006-04-04 01:26:05 +00:00
Steven Wittens b3cb4f0d9b #56346: XHTML validation error due to comment.module links 2006-03-30 17:23:29 +00:00
Gerhard Killesreiter a76ee6c9ed #34132, remove remnants of nodeapi('fields'), patch by myself 2006-03-28 06:12:15 +00:00
Steven Wittens d6f15f3051 - #55666: Comment reply form anchor fixes 2006-03-27 08:08:31 +00:00
Gerhard Killesreiter 5885925b0d #53348, Handling of deleted/blocked user accounts, patch by jreyero and Zen 2006-03-26 19:31:00 +00:00
Gerhard Killesreiter 0fad496ca0 #55622, Security threat -- any user can delete comments, patch by robertgarrigos 2006-03-24 11:38:00 +00:00
Gerhard Killesreiter 63b3fea2b3 #54687, Typo with page redirection upon login, patch by matt westgate 2006-03-20 16:40:06 +00:00
Dries Buytaert f51bc544f2 - Patch #51142 by markus: hook_comment not called for all update operations. 2006-03-06 20:52:55 +00:00
Dries Buytaert c54a0f575f - Patch #51543 by wtanaka: clicking on 'add new comment' takes you to the wrong place. 2006-03-06 18:09:17 +00:00
Dries Buytaert 5de716f100 - Patch #50835 by markus: print message when replying to non-existing comment. 2006-03-04 18:01:54 +00:00
Gerhard Killesreiter 784202418f #50771, Wrong user name in admin/comment, patach by Markus Petrux 2006-02-27 14:54:24 +00:00
Dries Buytaert 66576708a0 - Patch #51347 by eafarris: fixed typo: coment -> comment. 2006-02-26 19:52:09 +00:00
Dries Buytaert 3489651659 - Patch #46690 by Zen: 'user comments' -> 'comment settings'. 2006-02-26 19:47:55 +00:00
Dries Buytaert c94a2dabb0 - Patch #50755 by markus: = -> ==. 2006-02-22 19:02:58 +00:00
Dries Buytaert cb05945caf - Patch #47699 by wtanaka: performance improvement. 2006-02-22 10:05:06 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert 7489c87476 - Patch #43572 by Tobias: don't accept spaces. 2006-02-14 19:17:00 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Steven Wittens 1819de963f - #48518: Editing own comment broken under postgresl 2006-02-09 09:09:03 +00:00
Steven Wittens c9a19e3084 - #48239: Comment thread coding inefficient 2006-02-09 08:33:36 +00:00
Dries Buytaert 91e152b8b8 - Patch #47705 by DriesK: comment moderation/approval wasn't working due to a bug with its forms. 2006-02-04 09:54:16 +00:00
Dries Buytaert baa2ecc81c - Patch #47045 by Cvbge: fixed problem with deleting comments. 2006-02-01 14:04:50 +00:00
Dries Buytaert a6dac9d2ab - Modified patch #46227 by chx: comment token is broken. 2006-01-31 15:26:39 +00:00
Dries Buytaert 20154df528 - Modified patch #45723 by wtanaka: creating a comment, editing a comment, or anything that validates a comment fails on PHP5. 2006-01-26 08:48:57 +00:00
Dries Buytaert 5d43619ca7 - Patch #40752 by moshe/wtanaka: login and regsiter links on each comment don't redirect back to the topic. 2006-01-26 08:27:58 +00:00
Dries Buytaert b8832d76a0 - Patch #40753 by wtanaka/killes: #comment-form has disappeared from comment.module 2006-01-25 08:54:40 +00:00
Dries Buytaert b6b98bb60d - Patch #44101 by Cvbge: deleting a comment creates incorrect entry in node_comment_statistics. 2006-01-22 07:26:33 +00:00
Dries Buytaert 4da1540a9f - Patch #45380 by Neil: usability improvement: disable anonymous commenting options when anonymous people can't comment. 2006-01-20 09:33:03 +00:00
Dries Buytaert 8c02d4ec93 - Patch #45530 by Morbus: filter_form shouldn't default to #weight 0
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:

# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
  $form[$key]['#weight'] = $count/1000;
}

The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).

Consider the following pseudo example:

$form['game_title'] = array(
    '#type' => 'textfield',
    ...
    );
$form['game_description'] = array(
    '#type' => 'textarea',
    ...
    );
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;

Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).

The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
2006-01-20 09:04:34 +00:00
Dries Buytaert e84a98a22b - Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API. 2006-01-19 08:54:41 +00:00
Dries Buytaert 47dd0142e6 - Patch #43325 by chx/drumm/merlinofchaos: critical bugfix: made editing comments work. 2006-01-18 15:09:39 +00:00
Dries Buytaert cb45cf58fb - Patch #40755 by wtanaka: make the comment block themable. 2006-01-17 18:02:23 +00:00
Dries Buytaert 226a26a556 - Removed reference to comment moderation. 2006-01-10 19:41:15 +00:00
Steven Wittens 49e5e1cd47 - #43097: restore admin/comment tablesort 2006-01-08 00:29:37 +00:00
Steven Wittens 030fd1798a - Comment bug: anchor links should be specified using $fragment in url() and drupal_goto(). 2006-01-06 01:14:17 +00:00
Dries Buytaert 24899dba42 - Patch #40563 by chx, merlingofchaos, et al: bug fix: fixed the default comment settings on node sumbission forms. 2006-01-05 14:35:55 +00:00
Dries Buytaert 8d7ff5aea2 - Patch #39743 by merlinofchaos: critical bugfix: fixed comment ordering setting. 2006-01-05 10:53:47 +00:00