Commit Graph

231 Commits (a6674e225b3d5d8b9ee15f8d503d49c1a6cbb56e)

Author SHA1 Message Date
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