Commit Graph

140 Commits (56848319589f7bf88c6b3c434fbe6874e3fb96ab)

Author SHA1 Message Date
Steven Wittens 909d6928ac - #28159: Advanced search features (hello from DrupalCon)
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Dries Buytaert 53bdeae273 - Modified patch #30775 by timcn, Souvent22, m3avrck: give file uploads descriptions.
(Modified the form a bit.)
2005-09-27 15:54:39 +00:00
Dries Buytaert d43655c962 - Patch #31449 by chx: store session IDs in the accesslog table. 2005-09-18 17:09:56 +00:00
Dries Buytaert 5486af9dfe - Patch #31343 by Robert Douglas et al: fixed database table problem with forum table. 2005-09-18 17:01:06 +00:00
Dries Buytaert da74bce9bc - Patch #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems. 2005-09-14 21:37:11 +00:00
Dries Buytaert 6ea4bc6caa - Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module. 2005-09-12 18:26:59 +00:00
Dries Buytaert d9d6a6e05c - Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.

TODO:

1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
2005-08-30 15:22:29 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Steven Wittens c38da7886b - #27985: make node type column bigger 2005-08-08 18:51:48 +00:00
Dries Buytaert ce094a1323 - Patch #27633 by Tobias:
+ made it possible to specify a subject when submitting a message on the contact form.
  + fixed some bugs/glitches.
2005-07-31 10:12:47 +00:00
Steven Wittens f493c156d4 - #17116: Standardize whitespace in database.sql 2005-07-29 07:26:49 +00:00
Steven Wittens 354e0c1f83 - #23651: Display referrer info with watchdog messages. 2005-07-29 04:12:19 +00:00
Dries Buytaert d190e16c9e - Removed dead data 2005-06-27 04:45:36 +00:00
Dries Buytaert eb803411d1 - Patch #24003 by Steven: fix problems with node attribute checking (and improve defaults). 2005-06-06 18:59:37 +00:00
Dries Buytaert 500ea7480c - Patch #22909 by kinai: fixed various errors in the PostgreSQL database scheme.
(Yay, more PostgreSQL contributors! :))
2005-05-26 19:23:44 +00:00
Dries Buytaert 0c4db41309 - Patch by Mathias: database updates for path alias improvements. 2005-05-14 20:59:01 +00:00
Dries Buytaert 2b7f504dc8 - Added the ability to track page generation times in the statistics module.
(Made some improvements as per the suggestions in the issue.)

- Added extended timer implementation.
2005-05-12 11:21:35 +00:00
Dries Buytaert 228290553b - Patch #22531 by Morbus: the CHANGELOG for Drupal 4.5 claims that a URL alias of "rss.xml" for "node/feed" was added. This ONLY occurs in updates.inc however - if people grab a fresh 4.5 (or now, 4.6), they are never going to get this added alias. The attached patch adds this INSERT into the default database.* files, adds another update into the updates.inc (so that those who started with a fresh 4.5 or 4.6 will get it via update.php the next time around) and fixes some minor whitespace/style inconsistencies. 2005-05-10 20:48:32 +00:00
Dries Buytaert e4738f1a92 - Patch #22319 by Ber: updated default database schems not to use Xtemplate any more. 2005-05-08 19:11:31 +00:00
Dries Buytaert 39d0fe9a38 - User module improvements: added an 'access' column to the users-table to
keep track of the user's last access. In turn, this allowed me to:

  1. Optimize the "Who's online" block.  On drupal.org, the "Who's online"
     block requires 32 SQL queries.  With this patch, only 2 queries are
     left (eliminated 30 SQL queries), and one of the two remaining queries
     became appr. 20 times faster.

  2. Correct the "Last access" column in the user administration overview
     table.  The presented data was not accurate, which led to the column
     being removed.  You can now sort users by 'last access'.
2005-05-07 11:39:54 +00:00
Dries Buytaert c085f12868 - Patch #21252 by patryk: fixed size of location field. 2005-05-03 05:19:34 +00:00
Dries Buytaert 15cf9e1a72 - Patch #21252 by patryk: increased the length of the location field in the locale_sources table. 2005-05-01 16:05:26 +00:00
Dries Buytaert a93cf89665 - Patch #21353 by chx: implemented PHP-mode for blocks. 2005-04-30 18:16:38 +00:00
Dries Buytaert 4650917cb1 - Moving the queue module to contrib. This has been discussed months ago. Who wants to be the maintainer? 2005-04-24 13:49:58 +00:00
Dries Buytaert e2b256dcf6 - Patch #18719 by Jose: reworked the 'request new password' functionality. 2005-04-24 11:43:08 +00:00
Dries Buytaert cb420f7121 - Work by chx and myself: added a site-wide contact form to the contact module. 2005-04-24 08:23:33 +00:00
Dries Buytaert 1c83d51741 - Patch by Adrian: postgresql fixes 2005-04-14 19:37:11 +00:00
Dries Buytaert f33f9a5fcd - Patch #19965 by Robin Monks: fixed problem with duplicate block titles. 2005-04-12 18:52:47 +00:00
Dries Buytaert e3d62d907b - Patch #19298 by Jeremy: loose caching!
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds.  Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.

(I rewrote the help text a bit and made minor changes to the code comments.)
2005-04-11 19:05:52 +00:00
Dries Buytaert bf9d98d664 - Patch #19697 by Morbus: FOLKSONOMY.
This patch adds folksonomy support to Drupal (named internally as "Free tagging"). In a nutshell, the core difference is the input method: unlike normal taxonomies which are administratively controlled, a "free tagging" vocabulary allows tag creation when the node is submitted. It does this through an text input box, as opposed to a dropdown or selectbox. This patch:

    * Removes the useless "Preview form" of a vocabulary.
    * Alters the vocabulary table to include a new "tags" column.
    * Adds a new "Free tagging" preference on vocabulary creation/editing.
    * Modifies the vocabulary overview to support pagers for free tagging vocabs.

The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same.
2005-04-08 14:59:14 +00:00
Dries Buytaert 6e1431705e - Patch #19768 by danielc: line 593 in version 1.109 of database.pgsql is problematic. The line creates a unique index for sid. But, sid is already a primary key so doesn't need a unique index on it. Let alone, the syntax is wrong due to wrapping the table name in {}'s. This patch removes the line. 2005-04-03 08:56:48 +00:00
Dries Buytaert 2584b1957d - Updated the start date of the updates. 2005-03-23 20:36:41 +00:00
Dries Buytaert eb2fb414fa - Patch by Matt and chx: improved performance of taxonomy queries. When many
terms are matched, the query would become very slow.
2005-03-23 06:12:30 +00:00
Dries Buytaert 73b93b903c - Bug #18597: updated the database scheme. Renamed poll.voters to poll.polled. 2005-03-20 19:11:34 +00:00
Dries Buytaert 39adda1687 - Patch #17747 by Adrian: more PostgreSQL fixes. Committed part of the patch:
1. Removed a duplicate line from the changes to update.inc.
   2. Excluded the session.inc changes: they did not make sense to me.
   3. Excluded the search related changes in the node and search module. According to Steven these are not correct.
2005-02-27 15:40:35 +00:00
Dries Buytaert 1e15bed312 - Patch #17687 by Gerhard: removed some cruft. 2005-02-21 19:47:44 +00:00
Dries Buytaert 9c5646288c - Patch #11366 by Junyor: fixed twin comment problem in HEAD. 2005-02-11 19:01:53 +00:00
Dries Buytaert 1f91662123 - Patch #16074 by Andre Molnar: add configuration option to show blocks only on pages of certain node type. 2005-01-27 19:41:01 +00:00
Dries Buytaert 7bdca92aad - Patch #6847 by Gerhard: replaced vocabulary->nodes by a separate table and tidied up the taxonomy API a bit. This fixes a number of issues. 2005-01-19 16:22:52 +00:00
Steven Wittens beada9364d Remove left-overs from admin.module. 2005-01-14 17:30:00 +00:00
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 23473ee290 - Patch #14241 by fungy: fixed brokeness in the PostgreSQL database scheme. 2004-12-12 08:38:23 +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 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 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 4dafd85f54 - Adding the missing flood tables. Sorry. 2004-11-16 18:46:48 +00:00
Dries Buytaert e86b041fa3 - Modified patch #11689 by Adrian: made the locale module work with PostgreSQL. 2004-10-18 18:35:19 +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
Steven Wittens 39e40b5bbd Bug: the default filter setup had the wrong filter delta for the linebreak filter. Now it matches updates.inc. 2004-10-13 20:57:54 +00:00
Steven Wittens 4ffb22a81c Changing the value of variable "update_start" to match updates.inc. 2004-10-08 18:15:15 +00:00