Commit Graph

291 Commits (c6cf70340a48e3889808bb93db96a41fc86d73b4)

Author SHA1 Message Date
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 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
Dries Buytaert 619bb4a4ff - Patch by Junyor: fixed typo: 'peformed' -> 'performed' 2004-08-01 08:07:27 +00:00
Dries Buytaert b713e3d489 - Patch #8617 by TDobes: changes all gifs to pngs for better consistency (and
to get of proprietary formats).

- Added forum-sticky.png.  Made by Steven.
2004-06-20 20:04:28 +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 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
Steven Wittens b2c061b903 - Added 'first update since 4.3.0' info line 2004-02-23 14:39:20 +00:00
Kjartan Mannes dccc295504 - Updating update_start value. 2004-02-21 22:38:01 +00:00
Kjartan Mannes 6ad4e22e8b - Typo. 2004-02-21 19:21:25 +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
Steven Wittens 8bab140a2a - Old PGSQL fix for people updating from way back ;) 2004-02-15 13:45:47 +00:00
Dries Buytaert 1afcfd1007 - Added curly brackets around table name 2004-02-08 11:12:33 +00:00
Dries Buytaert bfba335376 - Added the possibility to reorder filters. Patch by UnConeD. 2004-02-06 19:07:56 +00:00
Dries Buytaert ce803acecb - Patch 5330 by Adrian: PostgreSQL updates and fixes. 2004-01-23 18:21:45 +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
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert 43da1635b1 - Fixed bug #4842: get_cfg_var() -> ini_get() 2003-12-29 11:25:02 +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 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 43ba8cf99c - Added an update to grow the 'name' field of the variables table. Patch
by Gerhard.
2003-10-27 21:25:55 +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 6e85171649 - Some clarifications to the upgrade script's guidelines/documentation based
on observing upgrade questions.
2003-10-21 07:59:04 +00:00
Dries Buytaert 4fdad7aa07 - Bugfix: fixed a duplicate and broken link to drupal.org. Patch by Matt. 2003-10-20 19:21:17 +00:00
Dries Buytaert 7f09419564 - Bugfix: fixed two problems with adding and deleting access rules. Patch by
Moshe.  Requires database upgrade.
2003-10-20 07:12:00 +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 d646fb073d - Made it easier to by-pass the access check. Modified patch from Steven. 2003-10-03 06:22:12 +00:00
Dries Buytaert 7d9a74d495 - Added a note about having to create the session table manually when
upgrading from Drupal 4.2.0.
2003-10-01 21:55:19 +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 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 645d026e09 - Added $Id$ tags. Patch by Chris. 2003-09-25 07:27:22 +00:00
Dries Buytaert 18312ed8e7 - Wrapped the table names in brackets. Patch by Bart. 2003-09-18 09:13:59 +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 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 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 8a2d5bede9 - Rewrote handling of forum icons and added default icons made by Steven
Wittens.

- Renamed some column titles in the forum module as per Moshe's suggestion.

- Introduced a 'more-link' class to position the 'more' links.  Removed
  hard-coded markup from the modules.

- Fixed bug in import module: the theme functions called a non-existing
  function.
2003-08-16 05:49:45 +00:00
Dries Buytaert 626eeb406e - Bugfix: use table prefix in comment module updates. Patch by Bart. 2003-08-13 04:49:52 +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 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 1c9a5e9fb8 - First step towards the simplification of the upgrade script. 2003-07-09 19:30:16 +00:00
Dries Buytaert ef8735614f - Improvements: XHTML-ifications. Patch by GmbH. See feature #1813. 2003-06-16 17:09:23 +00:00
Dries Buytaert eb030cb9d8 - Improvements: XHTML-ifications. Patch by GmbH. 2003-06-15 19:06:25 +00:00
Dries Buytaert a448f5a9b4 - Charset simpliciations. Patch #46 by Al. 2003-06-08 16:50:05 +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 9e82c05529 - update.php improvements and a grammatical fix from Al. Thanks. 2003-05-20 04:52:06 +00:00
Kjartan Mannes 7c364f8935 - Fixing to work with register_globals off. 2003-05-19 15:30:12 +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 c886dfd05e - Fixed "undefined variable" warning. Patch by Ax. 2003-05-10 13:10:26 +00:00
Dries Buytaert a161110a6b - Applied Michael Caerwyn's "%s -> %d" patch.
- Changed all occurences of '%d' to %d as suggested on the mailing list.
2003-05-07 21:00:36 +00:00
Dries Buytaert 3c2dc18c82 - Fixed bug #1545: incorrect sequence tables on PostgreSQL. Patch by Neil.
In addition, I have updated update.php so it makes the corresponding
  changes for MySQL users.
2003-04-20 20:33:28 +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 39bed948ae - Made sure that update.php enables the newly created admin module.
This should fix the other half of bug #1508.

- Removed some dead wood: we don't need the menu table any more.
2003-04-18 22:42:59 +00:00
Dries Buytaert bccc250d8f - Some fixes and improvements as suggested by Gary. 2003-02-23 21:11:03 +00:00
Dries Buytaert 8fa3201762 - Fixed type: "form" -> "forum". Patch by Ulf Rompe. 2003-01-16 22:24:52 +00:00
Dries Buytaert f6da12ca19 Patch by Marco:
- forum: fixed link to new topic
- forum: new topic shows default forum correctly
- forum: first_new is back; the anchor didn't consider multiple pages
- forum: use standard pager, needed some changes/fixes to pager.inc
- forum: some cleanup
- forum: taxonomy hook
- renamed first_new to simply new
- added an optional parameter to pager_query for the count query
- used the optional count param for paging forum topics
- internal change: moving a topic doesn't duplicate the node anymore but just
  changes the forum (term); no change in functionality, and shadow still
  works (suggested by Dries).  This probably also made some queries somewhat
  lighter.
- bug fixed: anonymous users always saw "n (n new)" in the replies column
- updated pager help and moved from _help to phpdoc
2003-01-15 23:01:42 +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 d026d15d2a - Fixed links to admin page. Added help text. 2003-01-07 05:56:47 +00:00
Dries Buytaert 89b2069e4d - Clean URL patch. 2003-01-06 19:51:01 +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 3c7d0f9575 - Fixed typo. Patch by Marco. 2002-12-31 10:40:26 +00:00
Dries Buytaert 0475d4fbc4 Patch by Marco:
- rewrote taxonomy_get_tree() for improved performance and cleaner code
- fixed a bug in _taxonomy_term_select() with multiple parents
- added hooks in vocabulary and term insert, update and delete
- fixed a bug in taxonomy_save_vocabulary() (cache_clear_all() was never
called)
2002-12-30 12:03:53 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert 76b47f237e - Make sure user names are unique. 2002-12-16 07:09:53 +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 286871d62c - Some changes to the update.php script: revised the instructions a bit,
added some logic and a link to "upgrade 4.0.x to 4.1.x", etc.
2002-12-07 11:24:16 +00:00
Dries Buytaert 062e7d7cbf - Added missing query to change the session field from VARCHAR(32) to TEXT.
Reported by Bert Garcia.
2002-11-24 13:04:28 +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 b3abbc4b54 Patch by Natrak:
- Modules and themes now use the same functions to find and administer
  files.
- Modules can now be placed in sub-directories.
- Theme descriptions can no longer be edited. This will be handled by
  Dries' theme_conf patch.
- Update required to keep old modules enabled.
2002-11-08 13:19:12 +00:00
Kjartan Mannes acd0cb0607 - blocks != boxes. Sorry :) 2002-10-26 21:50:39 +00:00
Kjartan Mannes 18eb8f050a - making sure the type field is set right for blocks: 1 -> 0, 2 ->1. 2002-10-26 21:47:55 +00:00
Kjartan Mannes 470d763bdc - setting the right date for block update. 2002-10-26 21:43:17 +00:00
Dries Buytaert 8d103a0898 - Committed Marco's block rewrite:
+ Blocks are not longer called if not rendered: major performance
     improvement.
   + Fixed some bugs (preview option was broken, path option was broken).
   + Removed "ascii"-type blocks.
   + Added permission to for "PHP blocks"
   + ...

  NOTES:

   + You'll want to run "update.php":

       ALTER TABLE blocks DROP remove;
       ALTER TABLE blocks DROP name;

   + You'll want to update your custom modules as well as the modules in
     the contrib repository.  Block function should now read:

       function *_block($op = "list", $delta = 0) {
         if ($op == "list") {
           return array of block infos
         }
         else {
           return subject and content of $delta block
         }
       }
2002-10-26 15:17:26 +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 1e97129589 - fixing SQL queries. Do not append ; to SQL queries in PHP.
- fixing the statistics module SQL updates so they work for users that haven't
  used the statistics module before.
2002-10-15 09:20:25 +00:00
Dries Buytaert fcae7030cc - Committed Jeremy's incarnation of the statistics module. Last minutes
changes include:

    * a couple of coding style changes, renamed some "stats" into
      "statistics", etc.

    * removed the "Who's online" block from the user module.

    * added db_affected_rows() to the resp. database abstraction
      layers and made the statistics module use db_affected_rows()
      instead.

    * added update logic to "update.php".
2002-10-13 12:00:50 +00:00
Dries Buytaert 85c6e90543 - Made sure the sequence table is properly initialized for comments. 2002-09-17 18:39:16 +00:00
Dries Buytaert 92326261d1 - Commited Marco's new comment module and forum module!!! 2002-09-15 13:00:12 +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 bfe5b85dbd - Applied a (modified) version of Marco's SQL sequence patch. 2002-08-20 19:29:16 +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
Dries Buytaert e0357857c0 - Added indices for the poll module. Patch by Marco. 2002-08-11 20:02:32 +00:00
Kjartan Mannes ec59398791 - feed table should have not null defined for refresh and timestamp. 2002-07-31 08:14:25 +00:00
Dries Buytaert e1e75f5bcb - Update the existing variables. 2002-07-07 15:41:03 +00:00
Dries Buytaert 39373da716 - Added some indices. 2002-06-23 13:26:39 +00:00
Kjartan Mannes 66ccfb3f8d - fixed the markup of the collapsed comment view settings.
- updated update.php and database.mysql disable a few more modules by default.
  Without the config options in place to disable things this might confuse users.
2002-06-15 10:49:44 +00:00
Dries Buytaert 291d119b25 - Removed non-existing theme from both update.php and database.mysql. Patch
by Marco.
2002-06-08 14:26:23 +00:00
Dries Buytaert 68129fd539 - Changed some "default NULL"s to "default NOT NULL"s as this only works on
recent MySQL versions.  I included the diffs for review.

update.php:
-  update_sql("CREATE TABLE search_index (word varchar(50) default NULL, lno in
+  update_sql("CREATE TABLE search_index (word varchar(50) default NOT NULL, ln

database.mysql:
-  word varchar(50) default NULL,
-  lno int(10) unsigned default NULL,
-  type varchar(16) default NULL,
-  count int(10) unsigned default NULL,
+ word varchar(50) NOT NULL,
+ lno int(10) unsigned NOT NULL,
+ type varchar(16) default NULL,
+ count int(10) unsigned default NULL,
2002-06-06 18:29:40 +00:00
Kjartan Mannes 4a28077f46 - adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
2002-06-01 21:57:29 +00:00
Kjartan Mannes 367ae7a670 - tweaked password changes.
- changed the meta -> taxo to append terms instead of overwriting.
- added more warnings to file.
2002-05-20 18:02:23 +00:00
Dries Buytaert f3c8757179 - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
(and possibly tabs).
2002-05-20 07:34:38 +00:00
Kjartan Mannes 87cdd89181 - attempting to fix tag -> tax conversion. 2002-05-19 19:41:12 +00:00
Kjartan Mannes c8d126becd - bug fix 2002-05-17 23:27:35 +00:00
Steven Wittens 098d9002d8 Fixed Typo 2002-05-16 09:27:43 +00:00
Kjartan Mannes d92e3c1677 - fixed old node abstracts being wiped.
- set the changed date to created to presev old sorting.
- tweaking update order to result in better success rates.
2002-05-15 22:40:21 +00:00
Kjartan Mannes c1f6ab3b95 - convert meta tags to taxonomy.
- added upgrade option which will enable modules and set some defaults.
- additional links for added usability.
- better instructions.
2002-05-15 22:36:30 +00:00
Kjartan Mannes b81d3d93b8 - fixing some minor spacing issues. 2002-05-13 18:44:00 +00:00
Kjartan Mannes 497ab799ef - added notes to update.php which you will see before you can perform updates.
This should give clearer notice to people which update they have to run
  manually.
2002-05-11 17:23:45 +00:00
Kjartan Mannes 86552cb4b6 - changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.
2002-05-11 16:21:48 +00:00
Kjartan Mannes a4b5005640 - merged block and box modules. modules/box.module should be removed
or disabled as it will cause errors otherwise.

  - split status into status and custom. Status will turn the block
    on/off, and custom defined if the user can change the status.
    Requires sql update.

  - reintroduced user page to configure blocks.
2002-05-02 19:13:45 +00:00
Kjartan Mannes c36dd7cfd5 - enabling the security check again. 2002-05-02 10:09:43 +00:00
Kjartan Mannes c71b15ee96 - fixing the update script so it can cleanly update from 3.x to 4.0.0 as long as
the manual stuff is done first.
- NOTE: this will not update custom nodes. If you have any non standard nodes
  they will have to be updated seperately.
2002-05-01 12:30:08 +00:00
Kjartan Mannes f38860ffb3 - updated the updates. 2002-04-29 15:50:19 +00:00
Dries Buytaert ae263bf607 - Rewrote role management, splitting the table in two. There are no
improvements right now, but this patch will help me adding support
  for taxonomy-based permissions.  Contributed by Marco.
2002-04-28 08:55:00 +00:00
Kjartan Mannes 2749c6f0ce - like the watchdog changes the system changes have to be applied before
the update script will run properly. Added this requirement to the comments.
2002-04-27 13:44:04 +00:00
Steven Wittens 0a966e1ed4 Updated poll.module:
- Removed obsolete lid column (changed update.php and database.mysql)
- Added short help
2002-04-20 01:51:05 +00:00
Kjartan Mannes 1b573fb0ba - book log is now saved and shown when necessary.
- fixed poll title not showing up.
2002-04-17 10:15:13 +00:00
Dries Buytaert d8cd54969c - Added Marco's long-awaited taxonmy module and patches - a replacement
for the meta system.  The patches add some extra functionality to the
  comment system (for example, comments can be set read-only) and fix a
  couple of small problems.

  + I integrated the required SQL updates from the varius *.mysql files
    into the "update.php" script.  Upgrading should be easy ...

  + I did not apply/commit the "user.diff" as requested by Marco ...

  + I didn't know what to do with "forum.module" and "forum2.module":
    what do you want me to do with it Marco?  Which one should go in?

  + Can we remove "node_index()" now; both from "node.module" and the
    themes?

  + Thanks Marco!
2002-04-14 20:46:41 +00:00
Kjartan Mannes 6c0db2de16 - modified the SQL update to lowercase all user theme settings to let them
keep their settings.
- Change author fields in marvin and example theme. Dries is picky about his
  name ;)
2002-04-14 19:59:39 +00:00
Kjartan Mannes 5592761620 This is a major change to the system, needs more testing!
Committing Changes by Moshe Weitzman:
- admin_user_account(), user_edit(), and user_view() no longer have any
  hard code for authentication modules. instead authentication modules
  implement the _user hook.
- fixed a couple 'help' typos.
- linked the 'REGISTER' text in the login block to the register page.
  this page now advertises DA better if site employs DA.
- admins may now edit everything about a user account (was a feature
  request).
- user #1 may now login immediately, in addition to receiving his
  password via email.

Other changes:
- modules and themes are now enabled/disabled in the administrative /
  settings / modules | themes pages. Requires SQL update and things must
  be enabled before your site returns to normal. TODO: enable all
  functionality. (For now just do UPDATE system SET status = 1;)
- removed $themes from conf.php.
- added a $theme->system() function where theme can specify settings.
  All themes in the Drupal CVS have been updated to use this.
- added _system hook to modules. TODO: update modules to use this.
- changed strange use of sprintf to the usual strtr. The disadvantage of
  sprintf is that it requires translations to keep the string order,
  which may not be possible in all languages.
- an invalid/nonexisting theme in a user profile will now fallback to the
  BaseTheme instead of crashing.
2002-04-14 19:34:04 +00:00
Dries Buytaert 5d9a8e34a9 - Made the cloud module a lot more configurable: both the update interval
and the number of bytes required for an update, can be changed now.
2002-04-08 19:50:28 +00:00
Kjartan Mannes 1fe8d6b195 - more typo bugs. 2002-03-05 22:10:21 +00:00
Kjartan Mannes e3d2c46f04 - applied search patch.
- added who is online block.
- made weblog module more configurable.
- users may now delete their own accounts (Feature #8)
- users may now request a password using email address *or* username.
  formerly required both items to match an account which was onerous.
- the link to request a new password is now presented whenever a user
  fails login.
- there is now a confirmation message after submitting edits to your
  user information.
- error messages in user.module may now be stylized by themes.
- <hook>_form has a $param setting you can fill with form parameters.
- improved wording for a few config settings.
- fixed various non-coding standard things.
2002-03-05 20:15:17 +00:00
Dries Buytaert 3c8de3e9fe - Changed the size of the data-field in the cache table. 2002-02-19 19:25:20 +00:00
Kjartan Mannes 8678951608 - nodes can now be set to static which will pin them to the front page as
long as they are promoted and/or static.
- needs an sql update.
2002-01-31 14:03:17 +00:00
Kjartan Mannes dc8f6be46f - added default value to enable user block to update.php
- did a new dump of the database from a clean upgrade as my local devel is
  a little infected with additional tables.
2002-01-27 19:27:17 +00:00
Dries Buytaert 0683331acd - Added an 'data' column to the user table. 2002-01-17 20:21:11 +00:00
Dries Buytaert 58152c45d1 Integrated Marco's generic/improved cache into Drupal. Requires an
SQL update.  See below for more details.

- Merged the file "cache.inc" into "common.inc".

- In addition, I renamed the field 'url' in the cache table to
  a more generic 'cid' (cache identifier).  It's no longer for
  URLs only.

- Made the "cache_set()" function ASNI compliant such that it
  will play nice with other databases such as Postgres.

- Added some extra input checking.

- Updated the old caching code in the functions "page_header()"
  and "page_footer()" to use the new, generic cache API.

- Updated "update.php" to make the required SQL changes.
2002-01-05 16:28:34 +00:00
Dries Buytaert d85e45bf64 - Added "x new comments" feature. Requires a SQL update.
- Tidied up some comment related code in node.module.
2001-12-31 13:02:53 +00:00
Dries Buytaert a95c2a68aa - import.module:
+ Improved input filtering; this should make the news items look
      more consistent in terms of mark-up.

    + Quoted all array indices: converted all instances of $foo[bar]
      to $foo["bar"].  Made various other changes to make the import
      module compliant with the coding style.

- theme.inc:

    + Fixed small XHTML glitch

- comment system:

    + Made it possible for users to edit their comments (when certain
      criteria are matched).

    + Renamed the SQL table field "lid" to "nid" and updated the code
      to reflect this change: this is a rather /annoying/ change that
      has been asked for a few times.  It will impact the contributed
      BBS/forum modules and requires a tiny SQL update:

        sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL;

    + Moved most (all?) of the comment related logic from node.php to
      comment.module where it belongs.  This also marks a first step
      towards removing/reducing "node.php".

    + Added a delete button to the comment admin form and made it so
      that Drupal prompts for confirmation prior to deleting a comment
      from the database.  This behavior is similar to that of deleting
      nodes.

    + Disabled comment moderation for now.

    + Some of the above changes will make it easier to integrate the
      upcomcing mail-to-web and web-to-mail gateways.  They are part
      of a bigger plan.  ;)

- node system:

    + Made it so that updating nodes (like for instance updating blog
      entries) won't trigger the submission rate throttle.

    + Fixed a small glitch where a node's title wasn't always passed
      to the $theme->header() function.

    + Made "node_array()" and "node_object()" more generic and named
      them "object2array()" and "array2object()".

    + Moved most (all?) of the comment related logic from node.php to
      comment.module where it belongs.  This also marks a first step
      towards removing/reducing "node.php".

- misc:

    + Applied three patches by Foxen.  One to improve performance of
      the book module, and two other patches to fix small glitches in
      common.inc.  Thanks Foxen!
2001-12-30 16:16:38 +00:00
Dries Buytaert c5bb7c3eb2 - Fixed a problem with the expiration of news items. Requires a SQL
update (update.php).
2001-12-24 10:51:25 +00:00
Dries Buytaert 780a345ffc - Added some explanation to the top of the file and fixed a braino. 2001-12-16 14:42:51 +00:00
Dries Buytaert a0ddc1af74 - Added new feature. Explanation will follow on the mailing list. 2001-12-16 11:44:41 +00:00
Dries Buytaert 9da79bc8c4 - Fixed a few feed glitched reported by Mark.
- Dropped a few database tables that where no longer needed.
2001-12-09 18:58:27 +00:00
Dries Buytaert e1f21d2b86 - Included the new documentation and renamed all "referer"s to
"referrers" (including the SQL table name).  Thanks Greg.
2001-12-09 10:47:16 +00:00
Dries Buytaert 20b4b7166f - book.module:
+ Added (1) support for "PHP pages" (dynamic pages), and (2) made
     it possible to link other node types into the book's tree/outline.
     It works just fine, yet the only (obvious) downside of (2) is
     that the navigation tree/links gets "interrupted" when you view
     non-book pages in the book.
       [SQL update required, see update.php]

   + Tidied up the book table.
       [SQL update required, see update.php]

- various updates:
    + Fine-tuned the new node system.
    + Updated the inline/code documentation.
    + Improved teaser handling of all node types.
    + Made several small usability improvements to the node admin
      pages.
2001-12-06 17:33:05 +00:00
Dries Buytaert 5ecedf72cf user.module:
- Fixed the session support.  Requires a database update.
  - Applied a tiny optimization suggested by deekayen.
2001-12-01 14:44:57 +00:00
Dries Buytaert 6fd5a8d9cf - update.php: discovered and fixed a small thinko in update function #7. 2001-11-17 13:05:32 +00:00
Dries Buytaert cd2df442b0 - update.php:
* added a new update method to create the authmap table, to move
      the old 'jabber' and 'drupal' field in the users table to this
      new authmap table, and to remove users and node left-overs.
2001-11-17 12:17:46 +00:00
Kjartan Mannes 0a4f99ef22 - added update.php to replace the updates/* files to make future upgrades
easier. Can be found by going to http://yoursite/update.php. Only the "super"
  user can access it (uid == 1) for security reasons.
2001-11-15 22:53:06 +00:00