Commit Graph

291 Commits (c6cf70340a48e3889808bb93db96a41fc86d73b4)

Author SHA1 Message Date
Dries Buytaert ca2d228505 - Patch #73456 by Jaza, hunkmonk: fixed broken module paths. 2006-07-13 14:42:54 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00
Dries Buytaert e93f8be871 - Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants. 2006-07-05 11:45:51 +00:00
Dries Buytaert 45ff81b55c - Patch #69405 by dww: fixed update.php. 2006-06-20 21:15:44 +00:00
Dries Buytaert 0147fa3b75 - Patch #69659 by derek: improved documentation of db abstraction layer. 2006-06-19 06:12:08 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Gerhard Killesreiter a99b66c704 #59596, update sets system.weight to unsigned, patch by Heine 2006-04-20 16:34:31 +00:00
Gerhard Killesreiter 9a142b1fd7 #58704, No table prefix in update_fix_access_table(), patch by Markus Petrux 2006-04-14 14:06:40 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Steven Wittens 1881ba04c1 Simply code comment 2006-04-04 22:00:51 +00:00
Neil Drumm 0a5386eea7 #12350 by naquah, Need to clear caches after running update.php. 2006-04-04 17:33:20 +00:00
Gerhard Killesreiter cb49e19e9e #54003, Watchdog not logging update errors, patch by Steven 2006-03-28 09:29:23 +00:00
Gerhard Killesreiter 05c20c7781 #54002, Cached JS files break new drupal js error reporting behavior. Improved patch by chx 2006-03-15 08:46:57 +00:00
Gerhard Killesreiter 599fae437a #54002, Cached JS files break new drupal js error reporting behavior, patch by dopry 2006-03-14 21:19:41 +00:00
Dries Buytaert a5bbf6cafd - Patch #53468 by jvandyk: documentation improvements. 2006-03-11 13:45:41 +00:00
Dries Buytaert d7e9371e94 - Removing whitespace 2006-03-03 08:37:47 +00:00
Steven Wittens 3f2b287d7c - #49501: Improve error reporting in the update system 2006-03-01 22:19:24 +00:00
Steven Wittens 524fed30e8 - #48215: Fix update.php links at the end 2006-02-08 00:32:18 +00:00
Steven Wittens d38429248e - #47510: Show JavaScript alert when PHP errors occur 2006-02-05 19:04:58 +00:00
Dries Buytaert e21b5be8d8 - Patch #45747 by Cvbge: documentation improvement + added primary key that got lost 2006-01-22 07:30:47 +00:00
Steven Wittens 7914ad0f3f - #40515: Ensure UTF-8 character set on the database side (and include upgrade path for incorrectly set up databases) 2006-01-21 01:42:52 +00:00
Dries Buytaert 0ddfd29cfd - Patch #44286 by Neil, Zen, et al: a couple fixes to the upgrade path. 2006-01-15 17:13:30 +00:00
Dries Buytaert 748c69985e - Patch by chx: critical bugfix: fixed the database upgrade path. 2006-01-08 16:15:53 +00:00
Dries Buytaert 3dae958731 - Patch #43002 by drumm: critical bugfix: avoid infinite loops in update script. 2006-01-04 09:27:51 +00:00
Dries Buytaert b362985de5 - Patch #41118 by Goba: various upgrade script fixes. 2005-12-26 17:20:23 +00:00
Dries Buytaert 0212f66ff1 - Patch #40677 by Steven: make the updater work again. 2005-12-19 14:27:28 +00:00
Dries Buytaert 4758c8cd28 - Patch #40518 by drumm: upgrade system fixes. 2005-12-09 16:14:26 +00:00
Dries Buytaert e70cb8b523 - Patch #36042 by Gerhard and Neil: recover old revisions. 2005-12-09 15:33:39 +00:00
Dries Buytaert ac3b446e4b - Patch #40341 by Cvbge: corrected the default column value. 2005-12-08 09:09:08 +00:00
Dries Buytaert c54234d71a - Patch #40341 by Neil: fixed problems with database schema versions.
- When user #1 creates an account (we can assume this happens only once), system.module's schema version is set to the latest availiable.
  - system_get_files_database() now includes a 'schema_version' child of each file object.
  - That new information is re-saved when Drupal re-populates the system table.
  - An array of newly-enabled modules is built, module_list() is reloaded, and the schema versions of each newly-enabled module are set to the most recent availiable. If the schema version is already set (presumably from a previous installation) it is not changed.
2005-12-08 08:40:10 +00:00
Dries Buytaert bb1f5dfdac - Patch #40303 by Cvbge: drop old columns for PostgreSQL and fixed some PostgreSQL problems in the update script. 2005-12-07 20:59:34 +00:00
Dries Buytaert a19acb219e - Patch #35924 by Neil: improved the update system. 2005-12-06 09:25:22 +00:00
Steven Wittens 19e1867d10 #38744: fix update.php with non-english locale 2005-11-24 19:07:53 +00:00
Steven Wittens d747ec8219 - _ to # (form api changes) 2005-10-11 20:46:17 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 3029da00d6 - Patch #29051 by mathias: made the update.php script work when Drupal is installed in a subdirectory. 2005-08-31 17:56:07 +00:00
Dries Buytaert 5baf463678 - Patch #29669 by Neil: micro-performance improvement for update.php + removed
PHP warning.
2005-08-29 18:48:25 +00:00
Dries Buytaert 21c2885b0e - Patch #29385 by chx: removed remaining "?>"s at the end of some files. 2005-08-28 18:26:20 +00:00
Dries Buytaert 347ac3b08f - Patch #29597 by Neil: removing some Drupal 4.2 and Drupal 4.3 left-overs. 2005-08-25 21:03:53 +00:00
Steven Wittens 05014a3135 - #29006: Reorganize code in update.php to be cleaner. 2005-08-17 01:44:14 +00:00
Steven Wittens 1d29abfe34 - #28944: Remove old bugfix code from update.php. 2005-08-17 00:49:36 +00:00
Steven Wittens e5ad13e3f8 - #27635: Style update.php 2005-07-29 20:31:05 +00:00
Dries Buytaert ba1660168f - Patch #27003 by Neil: use named constants instead of strings 2005-07-23 05:57:27 +00:00
Dries Buytaert fac840fe86 - Patch by Bart: fixed update.php after bootstrap patch. 2005-07-03 10:09:08 +00:00
Dries Buytaert 2252aacc7c - Modified patch #19941 by willmoy: improve upgrade instructions. 2005-04-06 19:04:02 +00:00
Dries Buytaert 77fbe802a4 - Added missing {}. Reported by Bart. 2005-02-07 14:25:17 +00:00
Steven Wittens 18dfd4a81a - Adding a cache wipe to update.php, as this will avoid stale cache bugs after an update
(e.g. admin.module was removed -> needs menu cache update).
2005-01-16 23:16:19 +00:00
Dries Buytaert 6d8d934cd3 - Patch #15337 by Gerhard: fixed bug in upgrade path. The 'update_start' variable got corrupted. 2005-01-13 19:24:27 +00:00
Steven Wittens 11358d74e4 #10457: Warnings during update process 2004-12-24 06:52:02 +00:00
Dries Buytaert ac3a7fc04d - Fixed a warning. 2004-09-08 18:53:57 +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 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