Commit Graph

404 Commits (f00396acc7123eff2fef42aa8c2d5bc088a5504e)

Author SHA1 Message Date
Dries Buytaert 9e32e74e66 - Patch #12497 by Morbus: Just working on a profile reporting idea and spotted that the following fields appear to have incorrect type definitions:
profile_values.fid = int(11)
profile_values.uid = int(11)

These both appear inconsistant with the rest of the database (that I have seen i.e. user tables) where they are defined as int(10). The profile_fields.fid is defined as int(10) also.
2005-03-16 21:25:27 +00:00
Dries Buytaert 3295058fae - Fixed parse error. 2005-03-03 20:21:51 +00:00
Dries Buytaert 7008cd716d - Better upgrade path. Suggested by Neil. 2005-03-03 20:14:53 +00:00
Dries Buytaert 749f15e7c0 - Modified patch #18328 by Neil: currently the two forum topic blocks share a number of topics in block setting. This is a bit confusing since configuring one blockshould not affect another block. Fixed some indentation as well. 2005-03-03 20:02:07 +00:00
Steven Wittens ff386b90bb #17747: PGSQL improvements 2005-02-28 18:00:59 +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 4d65069f25 - The update for the twin comments was 'borken' and had several bugs. 2005-02-27 14:35:07 +00:00
Dries Buytaert 05b3fcf7e9 - Patch #17747 by Adrian: first round of PostgreSQL updates! 2005-02-23 06:04:59 +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 92320b2b21 - Patch #10425 by ccourtne and walkah: added admin screens to maintain forums instead of forcing the user to add a taxonomy. 2005-01-28 15:47:03 +00:00
Dries Buytaert 88e4b14538 - Patch by andre: fixed typo: type -> types. 2005-01-27 22:50:02 +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 3c21bdfd5d - Patch #16237 by Neil: removed dead code from page.module. 2005-01-26 23:09:29 +00:00
Dries Buytaert e3268ba79b - Wrong update slipped in. 2005-01-25 21:54:00 +00:00
Dries Buytaert dbcda92b76 - Patch #16021 by tangent: changed the format "/blog/feed/52" to "/blog/52/feed". 2005-01-25 20:38:03 +00:00
Dries Buytaert 173f528f59 - Modified patch #14170 by Neil: improved default workflow (default node type) configuration page.
Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
2005-01-24 21:20:16 +00:00
Dries Buytaert 8d72382662 - Patch #15962 by Goba: fixed the association between the accesslog data and the nodes. 2005-01-23 15:32:32 +00:00
Dries Buytaert ee65e19aeb - Patch #15962 by Goba: no need to drop the accesslog table to add a new primary key. 2005-01-22 09:43:52 +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 0830efe9a6 - Patch #15337 by Gerhard: fixed a broken date query in the database scheme. 2005-01-09 09:04:24 +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 c9f8c6697b - Changed aid from tinyint to int. 2004-11-28 13:35:11 +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 bb0f78ecb5 oops 2004-11-08 08:50:23 +00:00
Dries Buytaert b6172b6653 - Remove old variables from variable-table. 2004-11-08 08:27:42 +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 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
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 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
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
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
Dries Buytaert 67925ce081 - Patch #11232 by David: fixed bug in upgrade path of the aggregator module. 2004-10-06 18:09:34 +00:00
Dries Buytaert 3525d9df09 - Patch #11094 by Allen Chandler and Adrian: fixed PostgreSQL related SQL problem in aggregator module. 2004-09-27 19:56:51 +00:00
Steven Wittens 4d24853482 Fixing stray comma in database.*sql 2004-09-23 16:56:58 +00:00
Dries Buytaert 29b8977a82 - Bugfix: the access rule mask does not have to be unique. It should be possible to use a particular mask for both e-mail and username rules. This also avoids an SQL query error. Fixes bug report #10551. 2004-09-22 21:33:28 +00:00
Dries Buytaert 228b3c7cc8 - Patch #10945 by Adrian: more PostgreSQL fixes/updates. 2004-09-20 17:58:14 +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 f8b429e963 #10862: Smarter filter cache wiping. 2004-09-15 20:34:35 +00:00
Steven Wittens 318ce81a58 updates.inc:
Fixing some missing db prefix braces and some bad indentation. Adding a TODO for PGSQL to update_105.
2004-09-14 21:13:01 +00:00
Dries Buytaert d3fff02f06 - Fixed typo in upgrade script 2004-09-14 20:15: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
Dries Buytaert 5a90260d95 - Patch #10775 by crackermackjack: fixed error in the database.mysql file that is incompatible with Mysql > 4.1.x.
- Patch #10786 by crackermackjack: fixed bug in session keys (bug in particular MySQL version).
2004-09-13 13:50:06 +00:00
Steven Wittens 94e759a864 Adding upgrade path from old xtemplate settings to new theme system settings. 2004-09-11 17:49:52 +00:00
Dries Buytaert b84b6e42cf - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments. 2004-09-09 05:51:08 +00:00
Dries Buytaert 7b716e8e77 - Patch #10622 by Adrian: fixes various PostgreSQL related problems.
1) Menu problems with Postgres (this is a highly critical 1 line fix)
  2) Archive module fails with Postgres
  3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch)
  4) Book module fails with Postgres
  5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug.
  6) Creating accregator_item_table in PostgreSQL
  7) Postgres - Polls not displayed on Poll Page
  8) Blog module has sql errors with postgres

  This should not affect MySQL users (hopefully).
2004-09-08 15:38:26 +00:00
Steven Wittens 7c80820af2 Fixing bad bluemarine/pushbutton paths in updates.inc. 2004-09-07 12:44:24 +00:00
Steven Wittens 55f5bd85ed Fixing problem with locale update for 'en' -> 'en-local' translations. (patch by killes) 2004-09-06 12:40:12 +00:00
Steven Wittens 7c4f8bae87 #9861: Updates.inc/database.pgsql: incorrect menu sequence when $db_prefix was used. 2004-09-05 16:22:16 +00:00
Steven Wittens 9d517a7340 Fixing URL in taxonomy path update (taxonomy/terms -> taxonomy/term). 2004-09-01 11:45:24 +00:00
Steven Wittens 95cb7f3222 - #10269: Missing db_prefix braces in updates.inc. 2004-08-22 15:03:47 +00:00
Steven Wittens f52898718b The patch for renumbering the filter.module filters (after the legacy.module patch) forgot about updates.inc. Fixed. 2004-08-21 19:52:46 +00:00
Dries Buytaert cfe20d0b8e - Patch #9654 by Bart Jansens: added some missing {} and fixed the upgrade path from Drupal 4.4.x. 2004-08-21 15:52:45 +00:00
Dries Buytaert 94e30bf776 - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks. 2004-08-21 06:42:38 +00:00
Dries Buytaert 6ea5c56ded - Theme system changes. Please consult http://drupal.org/node/view/9576 for details. 2004-08-20 07:51:27 +00:00
Dries Buytaert 6e14528192 - Patch #10196 by drumm: fixed off by one error. 2004-08-20 05:40:16 +00:00
Dries Buytaert 78b052a6af - The upload (filehandler) module has landed! 2004-08-17 21:35:26 +00:00
Steven Wittens 6a380525d4 #10012 - Profile.module:
- Restoring broken update path.
- Adding birthday/date function back, with update path.
- Show private fields when viewing your own profile, or for admins.
- Do not allow browsing of private fields for non admins (403)
- Throw a 404 for browsing unbrowsable fields, rather than an SQL error
- Fixing input processing: nothing is filtered twice anymore, and I replaced several strip_tags with specialchars (more flexible).
- Minor admin UI tweaks + added friendly field type names.
2004-08-14 11:54:31 +00:00
Dries Buytaert 0f088b79ca - Patch #9983 by Stefan: various code style improvements. 2004-08-12 18:00:11 +00:00
Steven Wittens c1ca7c326f *bangs head against wall* 2004-08-12 15:16:15 +00:00
Steven Wittens 441b63accd Moving all legacy handlers into legacy.module. 2004-08-12 15:12:26 +00:00
Dries Buytaert 1831e1b690 - New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).

  Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
2004-08-11 11:26:20 +00:00
Steven Wittens 660f99287d The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs.
Here's an overview of the changes:
1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations.
The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before.

The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs.

2) Filters have toggles
Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it.

3) Multiple filters per module
This was necessary to accomodate the next change, and it's also a logical extension of the filter system.

4) Embedded PHP is now a filter
Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter.
This change means that block.module now passes custom block contents through the filter system.
As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters.

5) User-supplied PHP code now requires <?php ?> tags.
This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code.

Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal.

6) Filter caching was added.
Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table.

7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists.

8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
2004-08-10 18:34:29 +00:00
Steven Wittens daf175182e - Adding an update to convert old taxonomy URL aliases to new ones. 2004-08-07 21:20:41 +00:00
Steven Wittens 3e39fa864a Added an upgrade path for old URL aliases to node/view, book/view and user/view. This is amongst other things required for old node aliases to appear in the node form. 2004-08-06 22:43:12 +00:00
Dries Buytaert 9bbdb71ee4 - Patch #9330: ucfirst() gives problem when used with multibyte charset.
Replaced the use of ucfirst() with a CSS-based solution.
2004-08-06 20:15:32 +00:00
Steven Wittens cabd6c892c #9810: PostgreSQL updates by Adrian. 2004-08-06 09:49:25 +00:00
Dries Buytaert 0b15fd476a - Patch #9740 by Bart: added missing {} for table prefixing. 2004-08-04 17:38:24 +00:00
Dries Buytaert c0f6fccac3 - Patch #7336 by TDobes: in various parts of Drupal, we use the title attribute for links to provide a slightly more detailed explanation as to the purpose of a link or where it goes. 2004-08-03 18:01:48 +00:00
Dries Buytaert 0582a304fd - Patch by Jeremy: statistics module improvements. 2004-08-03 09:27:00 +00:00
Dries Buytaert 64dae93af7 - Patch #9654 by Bart: since the $category paramater was added to user_save,
update 80 (moving the profile fields to their own tables) no longer works.
2004-07-31 16:25:04 +00:00
Dries Buytaert ca3e769fa6 - Patch by Matt: fixed small typo. 2004-07-31 16:18:26 +00:00
Dries Buytaert 202eee42a9 - Patch #9543 by JonBob: added node-level access control! 2004-07-31 09:30:09 +00:00
Steven Wittens c16ada8c46 - #7295: Fixing issue with latest comments being incorrectly displayed on PostgreSQL 2004-07-22 01:31:33 +00:00
Steven Wittens 6316803373 - Fixing static -> sticky update so it works for node types with underscores in the name. 2004-07-21 14:56:08 +00:00
Dries Buytaert 71eca36547 - RDF is not RSS so removing that for now. 2004-07-12 07:25:49 +00:00
Dries Buytaert 6d0971ff4c - Added URL aliases for 'index.rdf' and 'rss.xml'. Google, Feedster and
possibly other crawlers try fetching these frequently as can be seen
  from the watchdog logs.  Made possible by the recent path module change.
2004-07-11 07:19:22 +00:00
Dries Buytaert 9e43afadc7 - Patch by Matt: made it possible to alias an URL multiple times. 2004-07-11 06:53:39 +00:00
Dries Buytaert a95d597c53 - Fixes small warning 2004-07-10 16:03:30 +00:00
Dries Buytaert a067187711 - Patch #8509 by Killes and Steven: added support for sending compressed
pages.  Useful to reduce your site's bandwidth.
2004-07-08 19:22:48 +00:00
Dries Buytaert 747db4763f - Added missing homepage column to the comments table in the PostgreSQL scheme. 2004-07-07 21:12:06 +00:00
Dries Buytaert e3e051cc0d - Patch #8585 by Junyor: sort blog items by creation date. Added some database indices. 2004-06-30 07:26:02 +00:00
Dries Buytaert 1b1c47025a I refactored quite a bit of the user.module:
$ diffstat user.patch
database/database.mysql |    4
database/database.pgsql |    2
database/updates.inc    |   10 -
modules/block.module    |   20 +-
modules/locale.module   |    9
modules/profile.module  |  108 +++++++----
modules/system.module   |    8
modules/user.module     |  456 +++++++++++++++++++-----------------------------
8 files changed, 289 insertions(+), 328 deletions(-)

More functionality, less code.  Here is a list of the changes:

- Some user API changes:
   + When $type is 'form', you have to return an associative array of groups.  In turn, each group is an array with a 'title', 'data' and 'weight'.
   + A new $type has been added, namely 'categories'.  User settings can be organized in categories.  Categories can be sorted, as can the groups within a category.  (Ordering 'categories' is somewhat broken due to a bug in the menu system.)

- The 'my account > edit' page will use subtabs for each 'category'.  Read: you can break down the account settings into multiple subpages.

- Profile module improvements:
   + Added support for private fields to the profile module!
   + Improved workflow of profile administration pages.
   + Improved the form descriptions.

- Code improvements:
   + Unified user_edit() and user_admin_edit().
   + Unified and cleaned up the validation code.  Fixed some validation glitches too.
2004-06-27 19:10:52 +00:00
Dries Buytaert cbc230a36c - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a more
logical name.  Requires a database upgrade.
2004-06-19 10:39:36 +00:00
Dries Buytaert 54b77d6435 Tabs patch!
CHANGES
-------

 + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.

 + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.

 + Grouped settings. All settings have been grouped under 'administer > settings'.

TODO
----

 + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.

 + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
2004-06-18 15:04:37 +00:00
Dries Buytaert 059534b079 Patch #7938 by moshe: menu -> {menu} 2004-05-22 21:28:51 +00:00
Dries Buytaert d0090e69e6 - Patch #7614 by jhriggs: fixed some role related problems. 2004-05-19 14:55:19 +00:00
Dries Buytaert 10c5e95a2f - Made it possible for anonymous users to leave their name, e-mail address
and the URL of their homepage.  Patch by Pablo.
2004-05-18 18:41:46 +00:00
Dries Buytaert 4e5872faa8 - Return to avoid warning message. 2004-05-13 18:19:29 +00:00
Dries Buytaert 1ad9afb8a7 - Added support for multiple user roles. Patch by Jim Hriggs. 2004-05-10 20:34:25 +00:00
Dries Buytaert 3c604109dc - Patch #7498 by nereocystis: PostgreSQL updates for HEAD 2004-05-03 05:41:21 +00:00
Dries Buytaert 3117258552 - Various aggregator module improvements. Modified patch by drumm. 2004-04-27 20:10:09 +00:00
Dries Buytaert 5403982589 - Patch #6009 by Matthias: reworked the help texts of the taxonomy module generated forms. The help text can now be customized. 2004-04-24 16:42:39 +00:00
Dries Buytaert df97450834 - Patch #7286 by LiDave: improved filter table indices. I updated database/updates.inc as well. 2004-04-24 07:50:39 +00:00
Dries Buytaert 10bdb51c37 - Patch by JonBob/Jonathan: reworked the menu system so that menus are
configurable!  Menu items can be disabled, repositioned, added and
  so on.

  Upgrading to requires you to run update.php.

  This functionality depricates some of the 'navigation modules' in the
  contributions repository.  Furthermore, modules can now 'suggest'
  menu items and site adminstrators can choose to enable them.  Modules
  in the contributions repository should try to take advantage of this.
2004-04-15 20:49:42 +00:00
Dries Buytaert 57f52eb93c - Patch #7121 by Adrian: added missing PostgreSQL update function. 2004-04-13 18:04:36 +00:00
Dries Buytaert 5f17ad3c2d - Profile module improvement:
* Made it possible to set certain fields as 'required'.

  To do:
   * Mark them as required visually.
   * Add required fields to the subscription page.
2004-03-27 14:50:56 +00:00
Dries Buytaert 93cf70d72e - Profile module improvements: added a URL-type field to the profile module.
We can use this for the 'URL of homepage' field on drupal.org.  URL fields
  are rendered as links and are being validated.
2004-03-21 10:28:10 +00:00
Dries Buytaert b5c441a926 - Profile module improvements:
+ Made it possible to define the page title of the user listing pages.

   + Used form_group()s for the profile administration page.

   + Fixed bug in database/updates.inc.
2004-03-20 19:41:42 +00:00
Dries Buytaert a71c5ef538 - Fix #6393 by TDobes: fixed users table after. It was not updated properly after the recent profile module changes. 2004-03-12 18:30:27 +00:00
Dries Buytaert 2101f6c454 - Rewrote the profile module:
+ Added a 'created' field to the users table and renamed the 'timestamp'
     fied to 'changed' (cfr. node table).  Update.php will try to determine
     a 'created' timestamp for existing users.

   + The profile module no longer uses serialized data but has its own set
     of tables.  Known existing profile data is migrated by these new tables.
       TODO: migrate the birthday field.

   + The profile fields can be grouped, and within each group, profile fields
     can be sorted using weights.

   + The profile pages can be themed.

   + The profiles can be browsed based on certain properties/settings.

   + Change the _user hook: (i) 'private_view' and 'public_view' are merged
     into 'view' as there are no private fields and (ii) 'edit_form' has
     been renamed to 'edit'.

   + Avatar handling has been refactored and is now part of the user module.
     The users table has a dedicted 'picture' field.

   + Simplified the way themes should use display/visualize pictures or
     avatars.

   + Made it possible for administrators to replace or delete avatars.

   + ...

  I hope this make for a good base to build on collectively.
2004-03-11 20:33:59 +00:00
Dries Buytaert d3069eefdd - Removed the MSSQL port as discussed with Moshe. 2004-03-06 19:12:44 +00:00
Dries Buytaert a283a3b7b8 - Patch by Gerhard: move the updates to database/updates.inc so packaging
systems can by-pass update.php.
2004-02-25 22:20:09 +00:00
Dries Buytaert bb82569cee - Patch 6012 by Adrian: syncs the PostgreSQL port with the current state of HEAD,
and adds a user notice to add the throttle and bootstrap columns to the
  system table manually, else update.php will not run.  The message includes the
  SQL statements required for both MySQL and PostgreSQL.
2004-02-23 17:45:03 +00:00
Kjartan Mannes dccc295504 - Updating update_start value. 2004-02-21 22:38:01 +00:00
Kjartan Mannes fa1d8916fb - Cleaning up database definition. 2004-02-21 19:16:48 +00:00
Dries Buytaert 9d3d374bc8 - Patch by Killes: drop the 'attributes' field from the 'users' table. It
is no longer used.
2004-02-21 19:01:04 +00:00
Dries Buytaert bfba335376 - Added the possibility to reorder filters. Patch by UnConeD. 2004-02-06 19:07:56 +00:00
Dries Buytaert 8a913ffe7c - Removed the 'Page not found' message after the initial install and removed
some old user module logic to install the initial role IDs.
2004-01-24 16:54:22 +00:00
Dries Buytaert f3f76309cf - Added default permissiona to the MySQL and PosgreSQL database scheme to
prevent 404s.  The MS SQL database scheme still needs to be updated ...
2004-01-15 20:20:34 +00:00
Dries Buytaert 6fc2070a22 Patch 5114 by Kjartan:
- Adds drupal_set_header() and drupal_get_headers().
 - Cache now stores custom headers.
 - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head().
 - Added RSS autodiscover links to node, blog and taxonomy pages.
2004-01-14 22:30:09 +00:00
Dries Buytaert ee305ae144 Round 3 of aggregator improvements:
- Added support for new tags:
   + Optinal feed image: <image> tag.
   + Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>,
     <dcterms:modified>.
 - Usability improvements:
   + On the administration page, made the feed/bundle titles link
     to the feeds/bundles' pages.  On the feed/bundle's page, made
     the 'Last updated' field link to the administration page.
   + Moved the 'syndication' menu one level down.
 - Updated some content sensitive help.
 - Further improved themeability.
 - Fixed some invalid HTML.
2004-01-11 15:05:21 +00:00
Dries Buytaert 94f6e94ffd - Many excellent news aggregator improvements by Kjartan:
+ Added drupal_http_request().
    + Replaced rssfeeds with OPML feed subscription list.
    + Added support for pubDate.
    + Added support for conditional gets using ETag and Last-Modified.
2004-01-07 19:52:10 +00:00
Steven Wittens bb1860a5df Fixed odd typo in the MySQL comments 2003-12-30 18:33:44 +00:00
Dries Buytaert 7c791a7c86 - Updated the database schemes: the default rows that are inserted into
the database did not have the throttle column.  Patches by Matt and
  Goba.
2003-12-08 17:57:03 +00:00
Dries Buytaert bea3dbb775 - Patch 0185 by Jeremy: made it possible to automatically disable modules when
under heave load.
2003-12-07 18:25:09 +00:00
Dries Buytaert 4fc259d78d - Patch #177 by UnConeD: updated MySQL backend to use 'longtext' instead of
'text'.  This should depricate 0112.HEAD.killes.fix-unserialize-revision.patch
  and 0182.HEAD.anarcat.revisions-unserialize-failure-fallback.patch.
2003-12-03 14:35:03 +00:00
Dries Buytaert 733d286b89 - Made it possible to auto-throttle blocks. That is, blocks can be
configured to be disabled when under excessive load.  Patch by Jeremy.
2003-11-28 20:03:00 +00:00
Dries Buytaert 572db7f731 - Updated the INSERT statements at the bottom of the database schemes to
reflect the bootstrap changes.  Patch #152 by Tom Dobes.
2003-11-19 18:00:42 +00:00
Dries Buytaert a0640e66b7 - Improved module loading when serving cached pages. Moshe's bootstrap patch.
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00
Dries Buytaert 4317747eee - Moving the cloud module to the contributions repository. 2003-11-15 19:53:53 +00:00
Dries Buytaert 4b4da3fbb1 - Set the update_start variable for the Drupal 4.4.0 release. 2003-10-31 19:42:08 +00:00
Dries Buytaert cf92958f3c - Bugfix: fixed usernames being shown in the "Who is online" block after
you logged out.  Patch by Jeremy.

- Bugfix: fixed the authmap table in the MSSQL scheme.  Patch by Moshe.

- Bugfix: properly themes some error messages in the user module.  Patch
  by Moshe.
2003-10-28 19:27:52 +00:00
Dries Buytaert 48fd8bfade - Bugfix: increased the size of variable's tables the 'name' field. Patch
by Gerhard.
2003-10-26 21:39:20 +00:00
Dries Buytaert f2fe2f0255 - Bugfix: don't set a name and e-mail address for the anonymous user. Fixes
bug #3740.
2003-10-23 15:31:10 +00:00
Dries Buytaert 72ae2d3995 - Bugfix: renamed the 'statistics' table to 'node_counter' as 'statistics' is
a reserved SQL keyword.  Required for both PostgreSQL and MSSQL.  Patch by
  Adrian.

- Bugfix: renamed the 'path' table to 'url_alias' as 'path' is a reserved SQL
  keyword.  Required for both PostgreSQL and MSSQL.  Patch by Adrian.
2003-10-22 20:20:35 +00:00
Dries Buytaert d64bc008fd Patch by Moshe:
- comment.module: fixed an ambigous 'timestamp' query

- forum.module: prev/next links no longer excerpt from the title+body in
their title attribute. they now excerpt from only their title. this is
more consistent with rest of drupal, and GROUP BY on node.body which
isn't appreciated by MSSQL. also replaced some '' with NULL which caused
errors in MSSQL

- statistics.module: replaced a USING join with a standard ON join. USING
is not as widely supported, and functionally equivalent.
2003-10-17 16:10:48 +00:00
Dries Buytaert 2ff3222458 - Fixed translation bugs with statistics module. Patch by Gabor.
- Removed 'homepage' field from user table.  Patch by Gabor.

- Added 'real name' field to the profile module.  Patch by Gabor.
2003-10-12 21:25:42 +00:00
Dries Buytaert a30f75f050 - MSSQL improvements/fixes from Moshe:
> brings mssql schema into modern era. mainly adds path table and a few
> defaults and indexes.
2003-10-08 21:01:36 +00:00
Dries Buytaert fa2581edcf - Modifies path.module to get rid of pgsql reserved word. Patch by Adrian.
- Updates database.pgsql and database.mysql to work with current cvs. Patch
  by Adrian.

- Updates update.php to be able to update postgres from 4.2 to current.
  Patch by Adrian.

- Small fixes by me.
2003-10-01 05:18:03 +00:00
Dries Buytaert 6baa7d7c21 - Some URL alias fixes by Matt. 2003-09-30 20:59:26 +00:00
Dries Buytaert 5a667eb580 - Url aliasing improvements. Patch by Matt. See mailing list for more
information.
2003-09-30 17:01:34 +00:00
Dries Buytaert 52c4240600 - Added PostgreSQL support to the update script. Patch by Adrian.
- Making Adrian the new PostgreSQL maintainer.
2003-09-30 08:55:03 +00:00
Dries Buytaert b9633dcded - Patch by Bart Jansen:
<quote>

  This adds session support for anonymous users and fixes a bug/typo.

    1. changed rid for user #0 from 0 to 1 (rid 1 == anonymous user) to make
       inner join work.

    2. replaced "if ($user .." by "if ($user->uid .." because now $user is
       always set (my previous change probably caused this).

    3. db_next_id("user_uid") -> db_next_id("users_uid");
  </quote>

  I repeat:

  "This adds session support for anonymous users and fixes a bug/typo."
2003-09-10 19:30:34 +00:00
Dries Buytaert 8e657f64ef - Gerhard's uid 0 patches. These patches bring various performance
improvements.  Requires a database update.
2003-09-09 18:18:43 +00:00
Dries Buytaert 99400fa334 - Small bugfix for the database.mysql sql structure with the new indexes
introduced in yesterday's forum query patch.  Patch by Matt.
2003-08-28 18:03:40 +00:00
Dries Buytaert 89005902e4 - Tested and committed Kjartan's performance patches. (Fixed the access check
in update.php though.)
2003-08-27 05:49:52 +00:00
Dries Buytaert 4e2ee96d4c - Removed left-overs from the rating module. Patch by Gerhard. Updated the
PostgreSQL and MSSQL database scheme as well.

- Made sure the update script updates the correct tables when database
  prefixing is enabled.  Patch by Bart Jansens.

- Improved the breadcrumb navigation of the book and the forum module as per
  Keith Instone's suggestions.

- Updated page titles (or block titles) and links to match.  Suggested by
  Keith Instone.

- Added missing 'thread' field to the comment table of the MySQL database scheme.
  Fixes bug #2590.
2003-08-22 17:06:44 +00:00
Dries Buytaert 405d2a3f10 - Fixed typo in database.pgsql. Patch by Michael. 2003-08-21 19:30:48 +00:00
Dries Buytaert 0bbe58901e - Fixed braino in PostgreSQL database scheme. 2003-08-21 14:26:37 +00:00
Dries Buytaert 881956cae7 - Fixed braino in MySQL database scheme. Patch by Gerhard. 2003-08-21 14:25:49 +00:00
Dries Buytaert 0431f0700f - Committed Jeremy's session patch: this brings us one step closer to having
session for anonymous users.
2003-08-20 19:19:13 +00:00
Dries Buytaert a078e515f6 - Fixed typo: 'vharchar' -> 'varchar'. Patch by Michael Frankowski. 2003-08-13 17:30:25 +00:00
Dries Buytaert 7af49ab274 - Committed Marco's comment module patch:
+ Dramatically improves performance of large discussions/threads: only
      very few SQL queries are required.
    + Replaces custom pager with standard pager.

  Modifications by me:

    + Reworded some code comments.
    + Removed dependencies on pager internals.
2003-08-12 18:32:54 +00:00
Dries Buytaert 24de26c13d - Changing the node body to type 'mediumtext'. Addresses bug #2155. 2003-07-26 18:27:16 +00:00
Dries Buytaert 8759ca7368 - Commited the URL aliasing patch. Thanks Matt.
This update requires you to run update.php!
2003-07-16 20:14:26 +00:00
Dries Buytaert 3b8c99d91e - Bugfix: fixed the CREATE FUNCTION in database.mssql as it needs to be prefixed with GO for some obscure reason. Patch by Kjartan.
- Bugfix: fixed the defaults for blocks in database.mssql so the NOT NULL fields get values.  Patch by Kjartan.

- Bugfix: changed check_form() to use htmlspecialchars() instead of drupal_specialchars() as this caused Drupal to emit incorrect form items in presence of quotes.  Example:

  <input type="submit" class="form-submit" name="op" value="Submit "top nodes" block changes" />

  IMO, drupal_specialchars() is better called xmlspecialchars() to avoid confusion.

- Bugfix: when an anonymous user visits a site, they shouldn't see any content (except the login block, if it is enabled) unless they have the "access content" permissions.  Patch by Matt Westgate.

- Improvement: improved the error checking and the error messages in the profile module.  Updated the code to match the Drupal coding conventions.  Modified patch from Matt Westgate.

- Improvement: don't generate the <base href=""> tag in the base theme; it is already emitted by theme_head().  Patch by Kristjan.

- Improvement: don't execute any SQL queries when checking the permissions of user #1.  Patch by Kjartan.

- Improvement: made a scalable layout form that works in IE and that behaves better with narrow themes.  Part of patch #51 by Al.

- Improvement: removed some redundant print statements from the comment module.  Modified patch from Craig Courtney.
2003-06-11 18:16:32 +00:00
Dries Buytaert 355d25e73d - Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco.
==> This fix requires to run update.php!

- Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register().  This fixes critical bug #1797.  Patch by Marco.

- Bugfix: sometimes error messages where being discarded when previewing a node.  Patch by Craig Courtney.

- Bugfix: fixed charset problems.  This fixes critical bug #1549.  Patch '0023.charset.patch' by Al.

- Code improvements: removed some dead code from the comment module.  Patch by Marco.

- Documentation improvements: polished the node module help texts and form descriptions.  Patch '0019.node.module.help.patch' by Al.

- CSS improvements all over the map!  Patch '0021.more.css.patch' by Al.

- GUI improvements: improved the position of Druplicon in the admin menu.  Patch '0020.admin.logo.patch' by Al.

- GUI improvements: new logos for theme Marvin and theme UnConeD.  Logos by Kristjan Jansen.

- GUI improvements: small changes to the output emitted by the profile module.  Suggestions by Steven Wittens.

- GUI improvements: small fixes to Xtemplate.  Patch '0022.xtemplate.css.patch' by Al.

TODO:

- Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register().  They should be updated.  We should setup a task on Drupal.

- There is code emitting '<div align="right">' which doesn't validate.

- Does our XML feeds validate with the charset changes?

- The forum module's SQL doesn't work properly on PostgreSQL.
2003-06-04 18:24:39 +00:00
Dries Buytaert e5033fe1cf - Fixed critical bug #1788: cloud module pings too much. Modified patch by
Kjartan.

  This update requires some database changes so make sure to run update.php.
2003-06-01 06:46:55 +00:00
Dries Buytaert 17e5b5c2d7 - Changed the type of the string fields in the locale table to BLOB.
This fixes bug #987.  For PostgreSQL this is not required because
  its string comparisons are case-senitive.  Not idea about MSSQL.
2003-05-24 14:31:36 +00:00
Dries Buytaert 7e8aa5268b - Fixed bug in book_prev(). Patch by Andy Colson.
- Book optimizations: updated to use inner joins.  Patch by Andy Colson.
  This should address bug #1373.

  TODO: add index to MSSQL database scheme.
2003-05-18 16:43:56 +00:00
Dries Buytaert c2d2fb7309 - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.

- Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.

  Notes:

  + Updated the patches to use $foo["bar"] instead of $foo['bar'].
  + Updated the INSTALL and CHANGELOG files as well.

- Tiny improvement to the "./scripts/code-clean.sh" script.
2003-05-13 18:36:38 +00:00
Dries Buytaert fd37c0db4b - Added default table values to MSSQL database scheme. Patch by Moshe. Fixes bug #1571. 2003-04-28 20:53:42 +00:00
Dries Buytaert b85cf71962 - Applied modified version of Al's "block delta" patch. I left out the
blogroll feature as I think it would get very confusing.  I don't mind
  to add it but it need some thought and documentation as it somewhat
  conflicts with the existing cloud module.

  These changes require you to run update.php.
2003-04-19 16:42:42 +00:00
Dries Buytaert 9d5fb1029a - Made sure the admin menu is enabled after a fresh install. This is
required to make the menu show up.

  This partly fixes bug #1508.
2003-04-18 22:33:15 +00:00
Dries Buytaert fd9635e63a - Some MSSQL related fixes by Moshe. 2003-04-13 17:12:52 +00:00
Dries Buytaert 164003ed91 - Added missing tid-column to the forum table. Patch by Anarcat. 2003-04-13 15:26:52 +00:00
Dries Buytaert 2e2e247979 - Added missing 'created' field to 'cache' table. 2003-03-19 21:55:32 +00:00
Dries Buytaert 2976bc59f0 - The link field got accidentically removed. Thanks Stephane. 2003-03-18 21:03:42 +00:00
Dries Buytaert 170b674a09 - All LIMIT queries must go through the pager or through db_query_range().
The syntax for db_query_range() was enhanced so it matches db_query(). So
  you may pass extra arguments of the SQL statement which are checked via
  check_query() and then substituted into the SQL statement. After these
  optional arguments, you always pass $from and $count parameters which
  define your range.  Most often, the $from is 0 and the count is the max
  number of records you want returned.  Patch by Moshe.

- The pager_query() function for PEAR was enhanced so that it adds  proper
  GROUP BY statement counting the number of records to be paged. Patch by
  James Arthur.

- MSSQL database scheme by Moshe.
2003-03-16 07:02:20 +00:00
Dries Buytaert 6dc1cf59ba - Added a database scheme for Microsoft's SQL server. 2003-03-16 06:34:59 +00:00
Dries Buytaert a8edbf638f - Removing the menu table: it is no longer used.
[TODO: update 'update.php'.]
2003-02-24 23:17:39 +00:00
Dries Buytaert d5bb7bce52 - database.mysql cannot be run from within phpMyAdmin because of line
consisting of hyphens only.  Patch by Zbynek.
2003-02-24 22:39:32 +00:00
Dries Buytaert 73f476a6c1 - Fixed typo: forum2 -> forum. 2003-02-07 08:06:37 +00:00
Dries Buytaert 4ea6d5048d - Updated the database scheme. 2003-02-06 19:14:19 +00:00
Dries Buytaert d268783669 - Small improvement to the admin menu based on feedback from Michael. 2003-01-14 20:33:42 +00:00
Dries Buytaert 8a63646576 - Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link.

- Made the main page of the administration section show an overview of all
  watchdog entries with such action link.

- Fixed typo in PostgreSQL database scheme.
2003-01-04 11:03:15 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert 1ad6cff2ec - Fixed typo in the database scheme. Reported by Ettiene. 2002-12-15 08:20:57 +00:00
Dries Buytaert b6b24c28e0 Applied patch by Natrak:
- page_header() now adds Last-Modified and ETag http headers.
- When running PHP as an Apache module page_header() will check the HTTP
  headers for conditional gets, and will only push the content when it
  fails. (Works for html and xml pages as they are all cached). Note:
  this is a PHP limitation, so until PHP makes it work for other web
  servers this won't work for them.
- Added created field to cache database to hold the timestamp when the
  cache was created.
- Changed cache_get() to return an object with ->data and ->created.
- Update forum and locale modules.
2002-12-11 22:00:04 +00:00
Dries Buytaert d2d381d7c4 - Removed rating module; it is not being used much and it has a known bug.
Will add it to the contributions repository.
2002-12-08 07:54:30 +00:00
Dries Buytaert b62025c217 - Removed two a dead table from both the MySQL and the PostgreSQL database
scheme.

- Fixed the default settings for both the MySQL and the PostgreSQL database
  scheme.
2002-12-07 10:36:44 +00:00
Dries Buytaert f42bfcac31 - Fixed small glitch in the database schemes; the block table has changed but
the queries that insert some default block values were not updated.
2002-11-30 15:21:36 +00:00
Dries Buytaert 697dde0fe5 - Updated PostgreSQL scheme. Patch by Stefan. 2002-11-21 17:43:37 +00:00
Dries Buytaert 56d72a918f - Added Stefan's page module improvements.
[NOTE: the PostgreSQL database scheme needs updating.]
2002-11-20 20:54:56 +00:00
Dries Buytaert 96a45ecba6 - Updated the PostgreSQL database scheme (thanks James) and the MySQL
database scheme.
2002-11-09 20:19:13 +00:00
Dries Buytaert 86a3ebefd3 - Made the forum module work with PostgreSQL. Patch by Gordon Kerr, verified
by James Arthur.
2002-11-08 13:11:42 +00:00
Dries Buytaert 74c722502b - Applied a PostgreSQL patch from James. 2002-11-01 09:37:31 +00:00
Dries Buytaert 66c5b70736 - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
a drupal_error() later on but I think we better get used to theme_invoke().

- Fixed translation bug.  Patch by Moshe.

- Fixed PHP warning.  Patch by ax.
2002-10-22 18:46:43 +00:00
Kjartan Mannes b60b9ca828 - removed function module_rehash().
- updated database dump.
- removed tables modules, layout and referrer (don't forget to backup!).
2002-10-17 18:34:38 +00:00
Kjartan Mannes 8457c4d2ff - serializing update_start variable. 2002-09-25 18:50:50 +00:00
Dries Buytaert e4d92b5892 - Some PostgreSQL improvements. Patch by James Arthur. 2002-09-22 10:01:03 +00:00
Dries Buytaert a28f818006 - Changed "$watchdog->message" from type "varchar(255)" to type "text".
Patch by James.  For sake of consistency, I updated the MySQL scheme
  and added a new update entry to "update.php".
2002-08-26 18:18:12 +00:00
Dries Buytaert 2fe2a123a4 - Removed the unused table and included the sequences table. Patch by
jaa.
2002-08-22 18:21:44 +00:00
Dries Buytaert fd05ff03d6 - Fixed typo. Patch by Marco. 2002-08-21 04:20:06 +00:00
Dries Buytaert bfe5b85dbd - Applied a (modified) version of Marco's SQL sequence patch. 2002-08-20 19:29:16 +00:00
Dries Buytaert c34d77854d - Bugfix: changed the PostgreSQL database scheme of the session field in
the user table.  Patch by jaa.
2002-08-18 15:03:28 +00:00
Dries Buytaert d4a918b806 - Renewed the PostgreSQL database scheme! Patch by jaa. 2002-08-16 07:38:36 +00:00
Dries Buytaert e04f6d2328 - Made the rating module and its SQL table ASNI compliant. Patch by jaa. 2002-08-16 07:37:03 +00:00
Kjartan Mannes 80aca19a61 - removing cvs table definition. 2002-07-31 08:25:48 +00:00
Kjartan Mannes ec59398791 - feed table should have not null defined for refresh and timestamp. 2002-07-31 08:14:25 +00:00