Commit Graph

2560 Commits (961cf7af4404cca36ec31a5327a484d7ca818f08)

Author SHA1 Message Date
Dries Buytaert 64b100d19a - Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
    watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);

    * Specify a severity in case you are reporting a warning or error.
    * The $link-parameter is now the fourth parameter instead of the third.

  TODO: document this in the upgrade guide.
2005-01-09 09:22:40 +00:00
Dries Buytaert 0f91dce414 - Patch #15247 by Drumm: simplified the logout code. 2005-01-07 18:01:13 +00:00
Dries Buytaert 7f890fd1b1 - Patch #15184 by drumm: clean up user password mailing.
+ After mailing the password, set a message and go to the login form (was print a message as the entire page).
  + Provide feedback if neither field was filled in.
  + Make it a full menu callback instead of going through user_page().
  + Fixed some indentation.
  + Changed some double quotes to single quotes.
  + Made sure all if statements have {}.
2005-01-06 20:38:19 +00:00
Steven Wittens 9d6253374d #15185: Fix front page handling of blocks 2005-01-06 01:17:31 +00:00
Dries Buytaert fc143ca3af - Modified patch #15122 by killes: fixed some PHP5 problems. 2005-01-04 20:54:23 +00:00
Dries Buytaert fe58724f25 - Small bugfix + small improvement. 2005-01-04 19:52:33 +00:00
Steven Wittens 0bda8f4700 #14548: Add optional HTML help to filter.module's HTML filter. 2005-01-03 01:09:02 +00:00
Dries Buytaert ceb20b45e5 - Small change 2004-12-31 09:31:54 +00:00
Dries Buytaert 1dbe0dc2ee - Patch #14917 by UnConeD/Steven:
1) The different types of search, which used to be radio button options in the search form, are now subtabs of "search" (default "search/node"). This seems better from a UI point of view, but also has another advantage: modules which implement a custom search form (flexinode, project) can add it as a subtab of search. This means that all search forms will be located in the same place, and also without needing an extra api call to search.module.

2) The current code was a bit hackish, as the indexing of comments along with nodes was hardcoded in node.module. Instead, I created a nodeapi operation "update index" which allows modules to add more data for a node that is being indexed. Comments are now indexed using this mechanism and from comment.module, which is a lot cleaner.

3) The search results format was also hardcoded to include "N comments". I replaced this with a nodeapi operation "search result" and moved the comment code to comment.module where it belongs. This op is quite useful, as for example I also modified upload.module to add "N attachments" to a search result if any are present.
2004-12-31 09:30:12 +00:00
Dries Buytaert 26875e9b38 - Added missing space 2004-12-29 23:03:05 +00:00
Dries Buytaert 627699cc9e - Patch #14545 by nysus: don't grant access to files if the node is not accessible. 2004-12-29 23:01:01 +00:00
Dries Buytaert 09c55017f6 - Patch #14882 by Jeremy: removed some cruft: status = 2 is no more. 2004-12-29 18:41:52 +00:00
Dries Buytaert 5049c3e1e4 - Reorganized the code a bit 2004-12-28 22:42:47 +00:00
Dries Buytaert f4dfafe860 - Patch #14852 by Goba: show the number of posts at each day. 2004-12-28 18:47:44 +00:00
Dries Buytaert ddbec122dc - Forgot to close a tag in the help text. 2004-12-27 12:29:33 +00:00
Dries Buytaert f763bb731e - Made the ping module ping pingomatic.com, which in turn, will ping all the major ping services.
Less code to ping more services.
2004-12-27 12:27:02 +00:00
Dries Buytaert 49f4123976 - Fixed two SQL bugs in the queue.module. Fixes #14115. 2004-12-27 11:46:48 +00:00
Dries Buytaert 05ede21745 - Patch #6308 by gordon: allow node_submit() to be used by external interfaces. 2004-12-26 20:10:02 +00:00
Steven Wittens 57e402e0d0 #10949: Incorrect output with invalid term id 2004-12-24 06:48:57 +00:00
Steven Wittens 61b174e7d2 #11548: node.module - Ensure that only valid fields are saved 2004-12-24 06:44:11 +00:00
Dries Buytaert fde5f1bf6f - Patch #14709 by matteo: added missing call to the nodeapi's 'view' hook. 2004-12-23 23:26:14 +00:00
Dries Buytaert b2e04ead89 - Patch #14710 by tangent: only show post button if preview is optional or if we are in preview mode. We show the post button in preview mode even if there are form errors so that optional form elements (e.g., captcha) can be updated in preview mode. 2004-12-23 06:47:24 +00:00
Dries Buytaert 046536f470 - Patch #12366 by mathias: fixed missing book edit tab. 2004-12-22 20:47:47 +00:00
Dries Buytaert 9f2952aa3f - Bug #14609: improved the status messages and avoid empty roles being saved. 2004-12-22 08:51:39 +00:00
Dries Buytaert 0b18bf0e6b - Patch #14614 by Neil: made the archive module respect the node-level permissions. 2004-12-20 22:01:17 +00:00
Steven Wittens 9f7b16ada9 #12793: Remove dependency of node.module on search.module. 2004-12-20 14:34:41 +00:00
Steven Wittens e7b0b227b9 Making comment moderation query PGSQL/ANSI compatible. 2004-12-20 02:05:00 +00:00
Dries Buytaert 78c24e67c0 - Bugfix: the book module incorrectly assumed that there is an active revision if n.moderate = 0. We can (and need) to rewrite this when the revision changes hit core. In essence, we need an efficient query to retrieve the 'last puslished revision that is not in the moderation queue'. 2004-12-18 10:27:28 +00:00
Dries Buytaert 7307de5c9e - Patch #14532 by andre molnar: tidied up some block.module code. 2004-12-18 07:52:59 +00:00
Dries Buytaert 22869afd38 - Patch #14262 by Richard: help text improvements for the tracker module. 2004-12-16 21:42:30 +00:00
Dries Buytaert 2b17b3a966 - Patch #13907 by Neil: less ways to set the page title.
* Less logic in theme code.
   * Encourages use of the menu system.
   * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them.
   * Very slightly more efficient.
2004-12-15 21:19:42 +00:00
Dries Buytaert 5628256e69 - Patch #14288 by Goba: "the archive module calendar indexes the array used to build up the header cells by the short names of the days. In Hungary, we have both Wednesday and Sunday start with the same two letters, so if I translate the short versions with the same two letters, the second associative array index will overwrite the first. The obvious soluion was to swap the array, and index by the full day name, which is expected to be unique in all languages." 2004-12-14 06:46:08 +00:00
Dries Buytaert 6e3eb60aab - Removed some cruft: left-over xxx_help_page() functions. 2004-12-11 14:13:24 +00:00
Dries Buytaert a0291bb936 - Patch #14209 by nysus: improved the clarity and readability for a group of radio buttons for a block's visibility settings. 2004-12-11 12:32:01 +00:00
Dries Buytaert 260f886699 - Fixed typo: db_queryd() -> db_query() 2004-12-11 12:26:40 +00:00
Dries Buytaert d61e7a663e - Bugfix: make sure to update the node_comment_statistics table when a node is updated. 2004-12-11 11:41:17 +00:00
Dries Buytaert 5520513879 - Modified patch by Goba: don't save user roles in the serialized data field of the user table. 2004-12-08 19:41:16 +00:00
Dries Buytaert 3d491defbd - Patch #14035 by Goba: fixed problem with UTF-8 conversion when mixing LOWER() and strtolower(). 2004-12-07 17:42:35 +00:00
Dries Buytaert 33baf53cdd - Added a simple contact module to core. 2004-12-07 17:03:46 +00:00
Dries Buytaert 60352821bf - Refactored the queue module: removed the queue module's field from the node table. With help from Gerhard.
- Slight addition to INSTALL.txt with regard to PHP versions.

- Updated/reworded some node type descriptions as per Boris' suggestions.

- Adding missing {} around a table name in update.php.
2004-12-07 16:55:38 +00:00
Dries Buytaert 1365740f6e - Patch #14006 by Neil:
* user/view/$n has been replaced with user/$n.
   * More blank lines in the right places.
   * Prevent unwanted case fallthrough.
2004-12-07 07:24:46 +00:00
Dries Buytaert 3cf4f14a9c - Patch #14005 by Richard: rewrote the ping module's built-in documentation. 2004-12-07 07:06:19 +00:00
Dries Buytaert 255e3b11eb - Fixed colspan bug reported by Steven. 2004-12-06 13:23:48 +00:00
Dries Buytaert 63f252113a - Added a special category for throttle messages. 2004-12-04 12:07:58 +00:00
Dries Buytaert 7ad0dfdc6d - Some aggegrator improvements:
+ Moved the block configuration settings to the block administration pages like we did with the other modules (also, administrators had to enable the aggregator blocks twice).
   + Small UI changes to the 'add news feed' page.
2004-12-04 12:02:09 +00:00
Dries Buytaert 5151a96f65 - Patch #13828 by Moshe: tidied up the story module.
- Updated the help text a bit.
2004-12-04 10:00:22 +00:00
Dries Buytaert e4a3b6f89f - Patch #13816 by Neil: tidied up the comment module code a bit. 2004-12-02 20:24:53 +00:00
Dries Buytaert 55df38710f - Patch #13786 by drumm: fixed handling of HTTP 301 response codes. 2004-12-02 18:37:04 +00:00
Steven Wittens 925bd41585 Search: wrong parameter order on search_wipe(). 2004-12-02 06:45:18 +00:00
Steven Wittens 2afd987398 Search: indexing should invoke nodeapi to catch all user-visible data (e.g. file attachment names). 2004-12-02 06:44:55 +00:00
Dries Buytaert aa1413d82e - Fixed #13643: increased the maxlength of the 'path to custom logo'-setting. 2004-11-30 18:40:24 +00:00
Dries Buytaert 8f049a4e75 - Modified patch #6475 by Killes: sites -> drupalsites -> drupal-sites 2004-11-30 18:25:39 +00:00
Dries Buytaert 95610bdd6c - Patch #13647 by Goba:
1. Fixed broken watchdog calls: two watchdog calls omitted the type parameter, and thus injected logs into the type field, instead of the message field.
   2. Removed t() functions from user contributed content.
2004-11-29 17:52:35 +00:00
Dries Buytaert 29337ad8bb - Patch #13581 by Steven: Db_query() allows a variable amount of parameters so you can pass the query arguments in. There is however an alternative syntax: instead of passing the query arguments as function arguments, you can also pass a single array with the query arguments in it. For example the following two statements are equivalent:
db_query($query, $a, $b, $c);
db_query($query, array($a, $b, $c));

This usage is particularly interesting when the query is constructed dynamically, and the amount of arguments to pass varies. In that case we use the second method to avoid using call_user_func_array(). This behaviour is not documented explicitly, but it is used in several places.

However, db_query_range() and pager_query() do not support this syntax properly, which means there are several pieces of code which still revert to the ugly call_user_func_array() call.

This patch updates db_query_range() and pager_query() so they support the array-passing method. I also added documentation about this method to each of the db functions.

I also cleaned up the code for db_query (it was weird and hard to understand) and moved db_query() and db_queryd() from database.xxxxx.inc to database.inc: it was the same between both mysql and pgsql, as it doesn't do anything database specific. It just prefixes the tables and inserts the arguments. The actual db query is performed in _db_query(), which is still in database.xxxxx.inc.

Finally, I updated several places with the new syntax, and the code is a lot cleaner. For example:
- array_unshift($params, "SELECT u.* FROM {users} u WHERE $query u.status < 3");
- $params[] = 0;
- $params[] = 1;
- $result = call_user_func_array('db_query_range', $params);
+ $result = db_query_range("SELECT u.* FROM {users} u WHERE $query u.status < 3", $params, 0, 1);

and

- return call_user_func_array('db_query_range', array_merge(array($query), $args, array((int)$pager_from_array[$element], (int)$limit)));
+ return db_query_range($query, $args, (int)$pager_from_array[$element], (int)$limit);

I've tested it on mysql. I didn't alter the actual db behaviour, so pgsql should be okay too.

This patch is important because many people avoid the call_user_func_array() method and put data directly into the db query.  This is very, very bad because the database prefix will be applied to it, and strip out braces. It's also generally bad form as you have to call check_query() yourself.  With the new, documented syntax, there is no more excuse to put data directly in the query.
2004-11-29 13:13:29 +00:00
Dries Buytaert e35137a5ad - Patch #12555 by svemir: fixed problem with the 'Preview comment' button not being present when previews are optional. 2004-11-29 12:59:21 +00:00
Dries Buytaert e7ce1e3ccb - Patch #11977 by matteo: added extra DISTINCT()s to two SQL queries to make them work with node-level permissions. 2004-11-29 12:52:44 +00:00
Dries Buytaert b83b34018f - Patch #10697 by matteo: avoid that administrators can create nodes with the wrong node type. 2004-11-29 12:49:17 +00:00
Dries Buytaert d8113fda7e - Small code improvements. 2004-11-29 09:31:28 +00:00
Dries Buytaert 254233da61 - Fixed typo and reworded the filter. 2004-11-28 14:15:12 +00:00
Dries Buytaert 167c59e4da - Beautified the contents of the table.
- Removed some dead code.
2004-11-28 13:55:17 +00:00
Dries Buytaert a9ae831493 - Made it possible to sort the referrers by last visit. 2004-11-28 13:46:26 +00:00
Dries Buytaert 3981e571f9 - Fixed typo. 2004-11-28 13:31:51 +00:00
Dries Buytaert 70fcf51e84 - Refactored the statistics and watchdog module (views). The most important
changes are:

  1. Simplified the statistics pages: there are less pages and on the
     remaining pages there is a lot less visual clutter (less columns and
     better presentation).

  2. Reorganized the 'administer - logs' menu: flattened the menu structure
     and removed a number of links.

  3. Improved performance.  Most statistics pages used about 160 slow SQL
     queries which made the statistics pages fairly unusable on my system.
     The new pages use at least 10 times less SQL queries and render much
     faster.  They are actually usable.

  4. There is now a 'track'-tab on node pages, and a second subtrab on the
     user accounts 'track'-tab for people with the 'access statistics'
     permission.  They can be used to resp. track the node and the user.
     This makes the statistics more accessible.

  5. Changed the way watchdog messages are filtered.  This makes it easier
     to introduce new watchdog types.

  6. Reworked the statistics module's permissions.

  7. Less code: 223 insertions(+), 343 deletions(-).

  8. Fixed several glitches: for example, the statistics pages sorted the
     'Name' column by user ID instead of by name.  Unfortunately, it is
     too difficult to backport these to DRUPAL-4-5.

  TODO:

  1. Review the statistics modules help pages.

  2. Help fine-tune the interfaces/views.

  NOTES:

  1. You'll want to run update.php.
2004-11-28 12:28:35 +00:00
Dries Buytaert e1cf88e7f8 - Modified patch #11840 by Stefan: added conctext-sensitive help text to the 'revision'-page. 2004-11-27 10:02:06 +00:00
Dries Buytaert b8a556b81b - Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache. 2004-11-27 09:52:57 +00:00
Dries Buytaert 8b2f6699e4 - Patch #10693 by Ax: fixed broken (external) link in the taxonomy module's help. 2004-11-27 09:30:32 +00:00
Dries Buytaert 0c6a18cb44 - Patch #5942 by TDobes: fixed theme stuff after multi-site configuration patch. 2004-11-25 06:17:03 +00:00
Dries Buytaert 4726c93156 - Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly. 2004-11-24 22:56:21 +00:00
Dries Buytaert 5d759ccbb9 - Patch #5942 by jhriggs and Adrian:
+ added support for multi-site configurations.
    + tidied up some old cruft and added code comments.
2004-11-24 22:44:01 +00:00
Dries Buytaert 062a8abdea - Patch #10990 by TDobes: adds a "create new blog entry" link at the top of each user's own blog page, similar to the "post new forum topic" link displayed at the top of forum pages. This adds consistency as well as convenience for users. 2004-11-24 20:06:10 +00:00
Dries Buytaert 30110a8770 - Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
TODO:
    1. Update theme upgrade instructions in the handbook: node_link() is gone.
    2. Remove page_link() just like we removed node_link().
2004-11-23 23:11:59 +00:00
Dries Buytaert 9574766ad8 - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency. 2004-11-23 22:20:41 +00:00
Dries Buytaert e19a3cf42d - Patch #12363: fixed glitch in user_access() as pointed out by TDobes. 2004-11-23 21:52:13 +00:00
Dries Buytaert b442fad027 - Patch #13263 and #13265 by arnab: added word-based truncation and made the comment module use it to extract subjects. 2004-11-21 20:17:44 +00:00
Dries Buytaert fa97839088 - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
2004-11-21 08:25:17 +00:00
Steven Wittens dc32e54f31 Search.module:
- Caching index statistics
- Minor code cleanup
2004-11-18 21:28:34 +00:00
Steven Wittens 90e67a3acb Search indexing bug: last updated timestamp needs to take last comment timestamp into account. 2004-11-18 21:16:30 +00:00
Dries Buytaert 38c91a8d95 - Patch #8506 by Gerhard: added basic node_load() caching. 2004-11-17 22:14:43 +00:00
Dries Buytaert 9bf33e5ac8 - Added generic flood control mechanism to throttle certain operations per hostname (eg. posting comments, requesting passwords, sending e-mails). See flood_register_event() and flood_is_allowed() for details. 2004-11-15 21:17:25 +00:00
Dries Buytaert f67c046d40 - Modified patch #8552 by Gerhard: added 'add child page' link to book pages you can edit. 2004-11-15 12:49:59 +00:00
Dries Buytaert f37a65cab9 - Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled. 2004-11-15 11:26:04 +00:00
Dries Buytaert 9979aceab0 - Patch #12783 by Stefan: various small consistency/usability improvements. 2004-11-15 11:16:39 +00:00
Dries Buytaert 52d9dd1b01 - Patch #11977 by matteo: taxonomy_term_count() did not take node-level permissions into account and could return an incorrect number. 2004-11-15 10:00:50 +00:00
Dries Buytaert 40f6197c5b - Patch #11940 by kps: if the user is not allowed to view a newly submitted node, redirect him to the main page. 2004-11-15 09:55:28 +00:00
Dries Buytaert ef95773b1c - Modified patch by Jeremy: throttle module improvements and fixes:
+ throttle module: flush cache when the throttle enables/disables
   + throttle module: prevent throttle being enabled by 0 users or guests when disabled
   + system module: remove requirement for statistics.module
   + block module: update help text to reflect access log is no longer required
   + statistics module: throttle is now enabled/disabled, not using levels 0-5
2004-11-14 20:20:09 +00:00
Dries Buytaert 05676eda20 - Patch #12713 by Goba: remove useless t() function from help module. 2004-11-08 22:27:34 +00:00
Dries Buytaert 3769665b33 - Refactored the throttle module. Patch by Jeremy and me.
* There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'.  This makes it a _lot_ easier to predict when the throttle will kick in.  However, if you maintain a module that is throttle-aware, it needs to be updated!

  * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in.  This is a _lot_ more intuitive than the old throttle mechanism.

  * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings.

  * Most of the documentation has been removed because it was deprecated.

  * It's less code!
2004-11-07 22:47:00 +00:00
Dries Buytaert f01bd675c0 - Performance improvement: made 'sid' the primary key of the sessions table.
That should improve performance of session handling as well improve
  performance of the "Who's online"-block.  Drupal.org's sessions table
  contains appr. 40.000 sessions on a slow day and rendering the "Who's
  online"-block became a performance bottleneck.

  This change has yet to be tested on a busy site so things might go wrong.
2004-11-07 21:53:55 +00:00
Dries Buytaert 7a5884cd74 - Patch #11427: added 'edit own forum topics' permission. 2004-11-07 19:28:24 +00:00
Dries Buytaert a16be3495e - Patch #12658 by menesis: when an administrator adds a user, the 'authenticated user' role was not assigned to the new user. 2004-11-07 07:54:35 +00:00
Dries Buytaert 1486dc8f92 - Make Drupal ping Yahoo.com. 2004-11-06 12:56:05 +00:00
Dries Buytaert c214cee319 - On popular demand, patch #10178 by jhriggs: made it possible to expand menu items. 2004-11-06 12:11:02 +00:00
Dries Buytaert 6f7aa2a095 - Patch #11871 by killes: forum topics could be displayed multiple times when node-level permission were used. 2004-11-06 11:59:48 +00:00
Dries Buytaert 1821eb13e6 - Removed some dead code. 2004-11-06 11:54:09 +00:00
Dries Buytaert bb3df8a1a9 - Patch #10632 by Gerhard: the book permissions in today's cvs are not consistent with the rest of Drupal. We have a "maintain books" and a "edit own book pages" permission. All other modules have a "create foo" permission. Thus the existing "maintain books" permission should be renamed to "create book pages" and a new "maintain books" permission should be introduced that allows editors to update book pages they haven't created themselves even without having "administer nodes" permission. 2004-11-04 22:31:46 +00:00
Dries Buytaert b3e3f8ae37 - Updated forum_block() to pass comment_count's to node_title_list(). This eliminates up to 10 SQL queries (sometimes less) for each non-cached page view on drupal.org. Derived from ccourtne's patch. 2004-11-04 21:05:06 +00:00
Dries Buytaert 14353d18ad - Slightly modified the API of node_title_list(): it will no longer call comment_num_all() for each node. Instead, it checks for the availability of the node_comment field, available through the node_comment_statistics table. If updated the Doxygen comments accordingly.
People were using node_title_list() without realizing it would do numereous database queries.  This change greatly reduces the number of database queries required to render the node statistics block as well as to render the forum block (coming up next).

  If your module is using node_title_list() and you want the number of comments to be shown as title attributes, chances are you have to update your SQL query to join node_comment_statistics.
2004-11-04 21:02:30 +00:00
Dries Buytaert 7ad36e3f59 - Modifed patch by ccourtne: made the tracker module take advantage of the node_comment_statistics table. Improves performance of the tracker page by facter 10 because it eliminates up to 20 SQL queries. 2004-11-04 20:17:07 +00:00
Dries Buytaert b6eee48c88 - Patch #12232 by Steven: more search improvements:
+ When a comment is posted, a node needs to be re-indexed. Luckily, we can use node_comment_statistics for this easily.
   + When a node is deleted, it should be deleted from the search index as well.
   + The search wipe didn't properly remove links to nodes from the index.
   + Section url was faulty in _help.
   + Minor code rearrangement.
2004-11-04 06:47:03 +00:00
Steven Wittens d13943e245 Fixing bad UTF-8. 2004-11-04 03:33:26 +00:00
Dries Buytaert 4fa64b57c2 - Patch #12502 by Axel: fixed typo in SQL query: h.hid -> h.nid 2004-11-03 22:46:53 +00:00
Dries Buytaert b63d529a15 - Patch #12515 by Goba: fixed problem with cookies not being set properly, causing users getting logged out. 2004-11-03 22:39:55 +00:00
Dries Buytaert bd6ae69345 - Patch by Steven:
+ Display 'friendly' name rather than module name in search watchdog
     messages.
   + Remove left-over from search_total table.
   + Add index wipe button to the admin
   + Moved the admin to admin/settings/search
   + Prevented menu bug when node modules update the breadcrumb in view
     (thanks JonBob).
   + Changed search_total table's word key to PRIMARY.
2004-11-03 16:46:58 +00:00
Dries Buytaert b94f9af24f - Patch #12455 by Steven: optimized SQL query. This problem caused Drupal.org's
cron runs to time out.
2004-11-02 15:09:09 +00:00
Steven Wittens 95595ae6f8 #12384: Test if clean URLs work before allowing them to be turned on. 2004-11-02 12:47:10 +00:00
Steven Wittens f69437dead #12363: Bug in user_access() with uid 1 and $account parameter. 2004-11-02 12:20:59 +00:00
Dries Buytaert b3adcf05a3 - Patch #11875 by Neil Drumm: block module configuration improvements.
The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions.

Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook.

The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path.

An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
2004-10-31 07:34:47 +00:00
Dries Buytaert 8daed9cbf3 - Patch #12232 by Steven/UnConed: search module improvements.
1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ...

2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes.

3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results.

4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first).

5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic.

6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI).

7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen.

8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency.

9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found.

10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
2004-10-31 03:03:27 +00:00
Steven Wittens 83dc5f9bab #12295: missing </p> in filter help. 2004-10-30 16:58:51 +00:00
Steven Wittens 979b482c7a - #12305: Blog it icon was broken due to missing parameter. 2004-10-29 19:43:51 +00:00
Steven Wittens f46a82da51 #7607: Sort node types in node/add by translated names. 2004-10-29 00:51:49 +00:00
Steven Wittens 3e406e8f40 #12128: Change label for comment subject settings to match behaviour; 2004-10-28 23:56:14 +00:00
Steven Wittens 11b0b805fa #12186: Add xml icon to taxonomy listings. 2004-10-28 23:46:10 +00:00
Steven Wittens 1cbf2f63b2 #12146: Improve locale import/export messages (Stefan) 2004-10-26 17:20:58 +00:00
Dries Buytaert c2f174e1f1 - Patch #11725 by mrrowe: custom menus are not wrapped in <div class="menu"> tags which made their appearance differ from the built-in "navigation" menu. 2004-10-23 17:24:49 +00:00
Dries Buytaert f1a087e376 - Patch #11879 by Moshe: deprecated the _content hook.
TODO:
   + Update Doxygen hook list (if required).
   + Document this in the developer's upgrade section.
2004-10-23 17:18:23 +00:00
Dries Buytaert c6df88ddf0 - Patch #11868 by Neil Drumm: fixed broken link in the help text and made the help text more accurate. 2004-10-23 16:29:31 +00:00
Dries Buytaert 89db09746f - Patch #11935 by Neil Drumm: removed left-over documentation from archive module. 2004-10-23 16:15:29 +00:00
Dries Buytaert 1400f75737 - Patch #11952 by Neil Drumm: the path module's help text contained information that was no longer up-to-date. 2004-10-23 13:47:11 +00:00
Dries Buytaert a73f63f10c - Patch #11947 by puregin: ensured that a book node's weight is captured when the book node lists returned by book_location() and book_location_down() are generated. This information is required when selecting next page candidates in book_next().
Note that book_location_down() was missing an explicit field b.weight in the SQL SELECT statement, but this value would usually be supplied implicitly because it is used to ORDER the result.
2004-10-23 13:41:37 +00:00
Steven Wittens 474beff640 Missing check if file upload fails. 2004-10-20 16:57:35 +00:00
Dries Buytaert 10f329c057 - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Steven Wittens b2f8787c90 Comment deleting broken 2004-10-18 20:10:18 +00:00
Dries Buytaert 25bbc0d4c4 - Fixed parentheses. 2004-10-18 18:40:53 +00:00
Dries Buytaert 07cdcb439b - Patch by James: made the blogapi module work again. 2004-10-18 18:29:15 +00:00
Dries Buytaert 1362571d09 - Patch #11510 by Adrian: turned a non-ANSI SQL query into ANSI SQL so it works with PostgreSQL. 2004-10-18 17:46:19 +00:00
Dries Buytaert c9d1894911 - Patch #11682: changed FILTER_DEFAULT_FORMAT to FILTER_FORMAT_DEFAULT to make the Blog API work. 2004-10-18 08:00:41 +00:00
Dries Buytaert a423eefe95 - Patch #11670 by TDobes: comment.module did not properly set a breadcrumb for creating/previewing new comments. The node on which your commenting and its location within the menu is not displayed. Instead, there is only a "Home" link. This is especially apparent when the "add new comment" form is set up to display on a separate page. 2004-10-17 19:09:09 +00:00
Dries Buytaert 869a91b72e - Patch #11505 by Steven: 'my account' information is not saved.
+ Drupal 4.4 stored profile data in the serialized user->data column. Drupal 4.5 stores profile data in tables (but user->data is still available and used for other stuff, like locale or themes).  The update from 4.4 to 4.5 didn't remove the old data from the user->data column properly, because there is no mechanism in user_save to do so (it did try to unset the fields, but this has no effect).

  + On registration, hook_user('insert') is invoked after saving the data column. This means that any module-specific data is put into the data field. We cannot move hook_user('insert') higher up, because before that point, we do not have a complete $user object yet.
2004-10-16 16:59:59 +00:00
Dries Buytaert 5a2e0d0377 - Patch #11642 by Steven: when editing a user as an admin, you can choose the user's roles through form checkboxes. If the form validation fails and the form is redisplayed, the roles are lost. This is because the format for $user->roles is different from what form_checkboxes uses. 2004-10-16 16:48:04 +00:00
Dries Buytaert 2c45ab85fb - Fixed bug #9948: added some checks to system_setting_save() to avoid PHP warnings/errors. 2004-10-16 07:35:29 +00:00
Dries Buytaert 7ebd772f41 - Patch #10664 by TDobes: fixed collapsed comments + updated the code comments. 2004-10-16 07:22:26 +00:00
Steven Wittens a35ff36673 search: Removing iso-8859-1 characters from update_index() and adding the same stripping to do_search().
This fixes the embarrasing bug of not being able to search for "4.5.0" because it is indexed as "450".
2004-10-15 22:01:41 +00:00
Dries Buytaert 7cf0e9af33 - Patch #9252 by TDobes: admins should be able to edit anonymous commenters' names. 2004-10-15 16:57:20 +00:00
Dries Buytaert 49dcf84fdf - Patch #11605 by TDobes: if a user happens to have uid=0 defined in their database, the name assigned to that user will always override any name submitted by an anonymous commenter. Checking against $user->uid instead of $user->registered_name fixes this problem. 2004-10-15 11:13:11 +00:00
Dries Buytaert 1f1a772a11 - Mofified patch #8862 by puregin: improved book module documentation. 2004-10-15 10:56:23 +00:00
Dries Buytaert dfb3c3aec4 - Patch #11577 by drumm: changed t('ago') -> t('%time ago', ...) to make it
translatable in languages such as Spanish.
2004-10-15 05:10:35 +00:00
Dries Buytaert 6a8e394301 - Fixed bug #11312: menu caching to aggresively. I did not apply the proposed
patch but moved the menu-logic to the $may_cache clause and added some checks
  to avoid SQL overhead.  I think this is the most performant solution.
2004-10-14 21:45:37 +00:00
Dries Buytaert 4a0e047469 - Patch #10869 by JonBob: the menu.module forget the parent item on form error. 2004-10-14 21:35:12 +00:00
Dries Buytaert df4ec83120 - Patch #10677 by drumm: removed dead code. Leftover. 2004-10-14 21:27:33 +00:00
Steven Wittens 9e4399aae8 #10677: Confirmation when deleting a block + unifying confirmation screens. 2004-10-14 15:28:24 +00:00
Steven Wittens 63061bd745 fixing typoes. 2004-10-14 05:34:12 +00:00
Steven Wittens 583e63c136 Theme system bug: only show search box if search.module is enabled. 2004-10-14 02:38:33 +00:00
Steven Wittens aaa214e4a8 #6595: Unifying profile.module textbox widths with user.module. 2004-10-13 20:35:46 +00:00
Steven Wittens b5806c7595 #11503: Fixing bad t() 2004-10-13 20:29:12 +00:00
Dries Buytaert 551782a5b2 - Modified patch #10424 by Jeremy: deleting terms can orphan child terms in the database.
I rewrote this patch for simplicity.
2004-10-13 18:38:33 +00:00
Dries Buytaert 4bc031b13e - Patch #11530 by Frodo: fixed long filter tips. 2004-10-13 17:03:06 +00:00
Dries Buytaert 2510f322a1 - Modified patch #10613 by killes: generate a 'page not found'-page when a requested node does not exist. I modified the patch to avoid duplicate 'not found'-checking in the second bulk. 2004-10-12 20:01:25 +00:00
Dries Buytaert 8ce9d2aca4 - Patch #11298 by nato: the function _forum_topics_read was not returning only nodes of type 'forum' resulting in the forum overview listing counting all node types as topics; attached patch modifies queries to return counts of only 'forum' type nodes. 2004-10-12 19:44:16 +00:00
Steven Wittens a185443ed3 #11503: consistency improvements by Stefan 2004-10-12 16:16:22 +00:00
Steven Wittens 2c4a82bda2 #11503: (more) missing t() 2004-10-12 16:10:54 +00:00
Steven Wittens 7a536c06d4 #11503: missing t() in throttle and filter modules. 2004-10-12 15:56:02 +00:00
Dries Buytaert 63e9b06e75 - Bugfix: provide an absolute URL to the 'ping servers'. 2004-10-10 19:43:23 +00:00
Dries Buytaert abcfd21927 - Code improvement: removed some redundant code from the node module. 2004-10-10 11:17:24 +00:00
Dries Buytaert 5407b630e3 - Orphaned the node_link() hook as per #9769. 2004-10-10 11:12:57 +00:00
Dries Buytaert e769215e2d - Code improvement: removed some redundant code from the book module. 2004-10-10 11:11:38 +00:00
Dries Buytaert bc5ec8ea09 - Fixed critical bug #10664: made comment in collapsed mode work. One more down. 2004-10-10 10:56:59 +00:00
Dries Buytaert 2aae0af5d7 - Patch #11426: the forum module generated an empty table for forums with no child forums. 2004-10-09 17:15:55 +00:00
Dries Buytaert 50bf139960 - Fixed bug #11405: unchecking the "publish" box in the default workflow admin page (admin/node/configure/defaults) did not cause the default workflow to change. This was caused by the fact that node_validate() forced the value of the status field to "1". 2004-10-09 16:27:59 +00:00
Dries Buytaert 489903fd90 - Bugfix: the filter tips contained a non-existing ID which resulted in invalid XHTML code. 2004-10-09 16:01:07 +00:00
Dries Buytaert a56f9b5c9f - Bugfix: the filter module generated an empty <ul></ul> (= invalid XHTML) when no filter tips are present. 2004-10-09 15:47:44 +00:00
Dries Buytaert 48bcc19ca2 - Patch #10613 by Gerhard: calling a non-existent username or user ID in the blog module URL now returns a 404 error instead of an empty blog page. 2004-10-09 06:52:35 +00:00
Dries Buytaert f8e532f714 - Patch #4925 by erikhopp: comment module emits too many id="comment"s, so the comment form's one has been renamed to 'comment-form'. This is also more consistent with the 'node-form' one. 2004-10-09 06:43:50 +00:00
Dries Buytaert cca3c34faa - Patch #11401 by Goba: documentation updates:
+ Made error strings in blog.module consistent.
   + Explained a bit better what the RSD setting is for in the blog module.
   + Removed the notes about PHP content from block module and book module, since everything is handled via the input formats now.
2004-10-09 06:29:16 +00:00
Dries Buytaert 57a96cbb78 - Bug #10530: added a missing period to a sentence in the help text. 2004-10-08 16:54:35 +00:00
Dries Buytaert 673f35037d - Patch #11179 by stefan: fixed broken URL in context sensitive help. 2004-10-08 16:52:02 +00:00
Dries Buytaert 44f89e5aef - Patch #11388 by pss0ft/Stefan: fixed time offset bug in archive module. 2004-10-08 11:29:31 +00:00
Dries Buytaert af1eb3b9db - Reintroduced the book outline feature: non-book pages now have an outline-tab on their node page, given you have permission to maintain books. Using the outline-tab, nodes can be added to a book's hierarchy. Also added some context sensitive help and fixed some quotes. 2004-10-08 11:17:59 +00:00
Dries Buytaert 5f5b02af92 - Patch #11375 by Robert Douglass: removed redundant 'global $user' from forum_insert(). 2004-10-07 19:07:57 +00:00
Steven Wittens bd7d38bd5b Hopefully fixing all filter issues with comments. 2004-10-07 14:33:54 +00:00
Dries Buytaert 96121dbbe2 - Small refinement with regard to the page title. 2004-10-06 20:43:05 +00:00
Dries Buytaert 36c0cda221 - Rewored 'track posts' to 'track'. 2004-10-06 20:00:56 +00:00
Dries Buytaert 67e4f74449 - Usability improvement: the 'recent posts' feature on the user pages lead
to a page with a confusing (wrong) title so I shuffled things around a bit
  and tab-ified it as 'track'.
2004-10-06 18:26:01 +00:00
Dries Buytaert 9a8cd6a2e7 - Patch #11312 by killes: fixed problems with menu caching. 2004-10-06 11:51:48 +00:00
Dries Buytaert f9b92e0f68 - Patch #11316 by ankur: added missing %d in INSERT-query. 2004-10-05 21:42:58 +00:00
Steven Wittens c539391656 Fixing problems with filter formats and comments. 2004-10-05 19:45:32 +00:00
Dries Buytaert 407af36656 - Patch #11286 by Neill: fixed broken link in form description. 2004-10-05 05:08:01 +00:00
Dries Buytaert 503c784557 - Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when writing to cache. 2004-10-04 22:04:07 +00:00
Steven Wittens dbead89c1f Part of #11280: node_preview() should only generate a teaser if none is present (e.g. provided by a module like excerpt.module). 2004-10-04 20:34:23 +00:00
Dries Buytaert 57def735f4 - Patch #11166 by drumm: removed redundant help page from the taxonomy module. 2004-10-04 18:32:05 +00:00
Dries Buytaert aa6d81c19e - Modified version of patch #11099 by Alan Chandler:
+ Fixed problem with channel data not being trimmed.
   + Made some queries ANSI SQL so they work with PostgreSQL.
2004-10-03 10:03:52 +00:00
Dries Buytaert 327a256a2e - Removed the title attribute from the taxonomy links. Temporary fix for #7468. 2004-09-30 19:12:44 +00:00
Dries Buytaert f97999d1a4 - Patch #10920 by jhriggs: fixed bug with comment moderation. 2004-09-30 18:13:25 +00:00
Dries Buytaert 98b116555d - Removed the link feature. It was death code, bound to confuse people.
TODO after Drupal 4.5.0: clean up the page module and remove additional cruft.
2004-09-29 18:05:11 +00:00
Dries Buytaert 014bbd32ee - Fixed SQL query in book module. Patch by killes. 2004-09-29 14:15:44 +00:00
Dries Buytaert f4b076bc01 - Patch #10977 by killes: review node access checks in book module. 2004-09-29 05:42:37 +00:00
Steven Wittens 1298d2b9c9 Modified version of #10230: Put placement of filter format selector in a module's hands, and move it below the relevant textarea. 2004-09-28 19:13:03 +00:00
Dries Buytaert 60f945bcc7 - Patch #11138 by Al: fixed GUI problem with deleting users. 2004-09-28 18:31:11 +00:00
Dries Buytaert ff17aa0b94 - Patch #11045 by Stefan: improved consistency of node modules:
+ made the helptext under the 'Explanation or submission guidelines', more the same (blog & story);
  + made the form_set_error() texts consistent when the body of a blog/story does not match or exceeds the specified minimal numer of words.
  + used the $options for form_select() and form_radios() inline like we do in the rest of drupal;
  + made the textarea sizes for the submission pages the same for all node types and also for the 'Explanation or submission guidelines';
2004-09-27 20:15:54 +00:00
Dries Buytaert fc3676d50b - Patch #10977 by Gerhard: added node permission checks to the SQL queries.
NOTE: I had to modify the book module patch for it to work -- it was throwing SQL errors at me.
2004-09-27 20:10:29 +00:00
Dries Buytaert 8d2eb9a55f - Patch #11083 by Allan Chandler: fixes PostgreSQL specific issue with the statistics pages. 2004-09-27 19:59:09 +00:00
Steven Wittens eecbda5635 - Fixing user_load() to use sprintf db_query syntax. Uglier, but safer. 2004-09-24 20:04:54 +00:00
Dries Buytaert 309b411803 - Modified patch #10904 by JonathanS: fixed book teasers not being check_output'ed. 2004-09-24 05:48:21 +00:00
Steven Wittens f298481316 - user.module: allow non-ascii usernames. 2004-09-24 02:38:29 +00:00
Dries Buytaert db24d26dbb - Fixed HTML typo in the documentation: <p> -> </p>. Fixes bug #10412. 2004-09-22 21:36:47 +00:00
Dries Buytaert 86b9c40c88 - Patch #11001 by Philippe: added support for dates in ISO-8601 format. 2004-09-22 17:50:55 +00:00
Dries Buytaert 7823ee8afd - Patch #10997 by Philippe: the forum submission guidelines were not always shown. 2004-09-22 17:46:44 +00:00
Dries Buytaert d37c39dce2 - Revert some changes. 2004-09-21 21:30:26 +00:00
Dries Buytaert de93655e36 - Patch #10993 by walkah: fixed problem with blogapi's error checking. 2004-09-21 20:18:24 +00:00
Dries Buytaert 1c592921ba - Patch #10961 by Gerhard: fixed PHP warning in the 'add menu item' form. 2004-09-21 18:49:54 +00:00
Dries Buytaert 4f5164c980 - Patch #10977 by Gerhard: added missing node access controls for RSS feeds. 2004-09-21 18:43:54 +00:00
Dries Buytaert 4a6e2258ba - Patch #10982 by TDobes: usability improvement: changed the link in search.module watchdog entries from "view results" to "results". This better matches watchdog entries from other modules. 2004-09-21 18:35:30 +00:00
Dries Buytaert 1a91e6e1bc - Patch #10730 by Adrian: made it possible to upload a logo. 2004-09-21 18:33:51 +00:00
Dries Buytaert f8080719f2 - Patch #10983 by TDobes: failed logon attempts produce nonsensical watchdog message. 2004-09-21 17:46:22 +00:00
Steven Wittens c6281c464c Profile.module: removing incorrect use of strtolower which messes up UTF-8 data. 2004-09-20 23:42:11 +00:00
Dries Buytaert 293c283c3b - Patch #10884 by killes: node_access_where_sql() lost a parameter. 2004-09-20 20:06:29 +00:00
Dries Buytaert 002f6c9361 - Patch #10722 by drumm: the user's signature was not remembered when the 'my account' form was found to be invalid. 2004-09-20 20:02:42 +00:00
Dries Buytaert 16d3f9bc60 - Patch #10845 by James: fixed the user/help page. 2004-09-20 19:27:51 +00:00
Dries Buytaert 228b3c7cc8 - Patch #10945 by Adrian: more PostgreSQL fixes/updates. 2004-09-20 17:58:14 +00:00
Dries Buytaert 8ae5e4417a - Bugfix: it was not possible to delete nodes. Reported by Philippe. 2004-09-20 12:05:31 +00:00
Steven Wittens 710d76171e #10441: Splitting up upload permissions in 2: one for uploading and one for viewing/downloading. It does not make sense to only allow downloading for people who can upload themselves. 2004-09-19 22:56:26 +00:00
Dries Buytaert bc58116129 - Usability improvement: on the registration page, mark the username and e-mail
address as required fields.  This makes for more consistent behavior, as the
  profile module might add required fields that are marked as such.
2004-09-19 13:43:29 +00:00
Dries Buytaert 5281a22070 - Usability improvement: made the status messages use <em>foo</em> rather than "foo". 2004-09-19 13:39:46 +00:00
Dries Buytaert 2b9aaf7159 - Bugfix: making changes to the user profiles should flush the cache. 2004-09-19 13:33:08 +00:00
Dries Buytaert 6dbd0bcfb4 - Patch #6500 by Mathias with help from Steven: made it possible to add fields to the registration form. This feature used to exist. 2004-09-19 13:28:11 +00:00
Steven Wittens 0ca171f2a9 - Adding menu callbacks to taxonomy admin. Before this patch, some admin pages only showed tabs and the wrong title. 2004-09-19 12:47:00 +00:00
Dries Buytaert 4e3a3aaed0 - Bugfix: using non numeric terms in taxonomy-page URLs would result in SQL errors. 2004-09-19 08:41:50 +00:00
Dries Buytaert 34fc0b882d - Patch #10922 by drumm: usability improvment: tabified the user account pages (login, register, request new password). 2004-09-19 08:33:53 +00:00
Steven Wittens a51fdd781a #9292: Minor PHP 5 fixes. 2004-09-19 00:27:46 +00:00
Steven Wittens ec287382ca - #10909: Aggregator's menu depends on its categories and sources, so when they change, menu_rebuild() needs to be called. 2004-09-18 02:09:03 +00:00
Steven Wittens cb953f8fde Removing dead code from poll.module. 2004-09-18 00:15:54 +00:00
Steven Wittens 30b69380af - #10689: Group permissions by module in UI + minor code cleanups.
- Adding a drupal_goto to the block admin.
2004-09-17 22:07:17 +00:00
Dries Buytaert 4b9926263c - Patch #10896 by ccourtne: user access rules for name were not enforced due to an incorrect URL. 2004-09-17 18:24:32 +00:00
Dries Buytaert 3ffde628c5 - Patch #8179 by JonBob: the legacy handlers and file upload previews were mistakenly cached when they cannot be. Attached patch fixes this as well as a reference to an undefined constant in legacy_menu(). 2004-09-17 18:08:28 +00:00
Steven Wittens 2f0221e9dd Fixing default of node_promote_blog to match node.module. 2004-09-17 18:00:16 +00:00
Dries Buytaert c4403eed12 - Patch #10603 by TDobes: bugfix: URL aliases got lost when deleting revision. 2004-09-16 14:32:51 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Steven Wittens f8b429e963 #10862: Smarter filter cache wiping. 2004-09-15 20:34:35 +00:00
Steven Wittens 5595bc79c6 #10279: Adding a note to taxonomy_render_nodes when there are no nodes to show, rather than showing an empty page. 2004-09-14 22:55:40 +00:00
Steven Wittens a82b5143cf Removing useless 'read more' title attribute, as discussed. 2004-09-14 21:03:23 +00:00
Dries Buytaert bf3e513be3 - Roll back of earlier patch. 2004-09-14 20:59:04 +00:00
Dries Buytaert 1606163718 - Fixed SQL problem in _comment_update_node_statistics(). 2004-09-14 20:29:34 +00:00
Steven Wittens 9c9905d9a0 #10648: Fix watchdog-related tablesort coloring bug in IE, add support for <tr> attributes to theme_table() and reduce specificy of watchdog coloring CSS rules. 2004-09-14 20:01:00 +00:00
Dries Buytaert 5dfcdf0e28 - Patch #10830 by killes: bugfix: made sticky post feature work for blogs. 2004-09-14 20:00:03 +00:00
Dries Buytaert c09158c3f3 - Patch #10308 by Bart Jansens/ccourtne: fixed shadow copies.
- Patch #10308 by ccourtne: performance improvements: comment statistics are now cached in a new SQL table which significantly improves performance of the forum block and the forum pages.  These pages are about 3 times faster now!
2004-09-14 05:48:02 +00:00
Steven Wittens 93f193d7ad #8424: more meaningful link title=".." attributes for node_title_list(). 2004-09-14 02:28:37 +00:00
Steven Wittens 7771fab25c Aggregator.module: code comments say items older than 3 months get discarded automatically, but the limit in the code is in fact set for 2 weeks.
Changing to 3 months (caught by drumm).
2004-09-14 01:58:00 +00:00
Steven Wittens ad864fae9e Filter.module usability: the default format is implicitly accessible to everyone (prevents misconfigurations).
The role checkboxes are disabled in the admin interface for the default format.
2004-09-13 23:24:48 +00:00
Steven Wittens 9a38369d0c #10560: Upload.module
- removing file checks for uid #1 to be consistent with the roles/permissions.
- renaming script files to .txt's to prevent accidental execution (we don't allow them by default, but you never know)
2004-09-13 19:14:32 +00:00
Dries Buytaert 00ceea0986 - Fixed stupid 'SELECT u.* FROM users u WHERE LOWER(u.uid) = 'S' AND u.status < N LIMIT N, N' query. 2004-09-13 18:07:54 +00:00
Dries Buytaert 04ef7b1636 - Patch #10777 by ccourtne: performance improvement: the user module executes a query and never uses the results. 2004-09-13 09:00:27 +00:00
Dries Buytaert 2446f32c92 - Renamed the 'first day of week' setting to be more consistent with the other date settings. 2004-09-12 17:18:36 +00:00
Dries Buytaert d186dcc8c8 - Patch #10668 by drumm: moved the 'first day of week' settings to the system module for other modules to reuse. This is considered to be a usability improvement because it simplifies some pages/workflow. 2004-09-12 17:16:17 +00:00
Steven Wittens 8c07aaa9c7 #10733: fixing problems when creating users. 2004-09-12 12:47:51 +00:00
Steven Wittens f6033d29e7 #10733: fixing broken user registration due to roles selection patch. 2004-09-11 22:49:20 +00:00
Steven Wittens 90c1623b4d Typo: "are be" 2004-09-11 16:40:53 +00:00
Dries Buytaert 0308b8c3be - Usability improvement: made the page titles better match the link titles.
- Bugfix: fixed some incorrect colspan's.
2004-09-11 14:43:52 +00:00
Dries Buytaert 841d5a0cf8 - Bugfix: comment subject where not always enabled by default because the default value of comment_subject_field varies. 2004-09-11 13:45:23 +00:00
Kjartan Mannes c054ce2c3f - Fixing taxonomy descriptions in node_view links. 2004-09-11 13:19:03 +00:00
Dries Buytaert 2fddec3f6e - Removed 'aggressive' message. 2004-09-11 10:26:50 +00:00