Commit Graph

409 Commits (a7cda28607a255f5bbb8824068f3b658cf39b941)

Author SHA1 Message Date
Dries Buytaert c128aae638 - Patch #43588 by killes: improved performance of taxonomy_get_tree. 2006-01-10 19:33:57 +00:00
Dries Buytaert 6597a94fca - Patch #37373 by killes: fixed bug in upgrade path. 2006-01-10 18:26:35 +00:00
Dries Buytaert f36b456c1a - Patch #37373 by killes: bugfix: vocabulary_node_types was broken. 2006-01-10 12:26:46 +00:00
Dries Buytaert bc121d6e03 - Patch #42951 by Matt Westgate: bugfix: fixed migration path of primary links when using Xtemplate. 2006-01-09 06:40:11 +00:00
Dries Buytaert fb393415bb - Patch #43833 by killes: give the first user a default role. 2006-01-08 16:32:08 +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 7f87b19eeb - Patch #42886 by chx: critical feature: allow modules to be reordered. 2006-01-08 12:49:51 +00:00
Dries Buytaert a5e833b452 - Patch #39697 by Cvbge and Markus: critical bug: fixed upgrade path of drupal.module changes. 2006-01-06 07:12:24 +00:00
Steven Wittens 304e0b2977 - MySQL-update needs to use 'mysql' or 'mysqli' 2006-01-06 03:08:52 +00:00
Dries Buytaert 9af704d3cf - Modified patch #39697 by nedjo: enable sites to post information on their modules, themes. 2006-01-04 09:17:02 +00:00
Dries Buytaert 034712530c - Patch #42956 by Matt: fixed warnings in update path. 2006-01-02 08:05:18 +00:00
Dries Buytaert ebeaaedc8f - Patch 42498 by m3avrck: unified cron-trackers and added a section that lets you figure out whether cron is running (usability improvement). 2005-12-31 14:18:22 +00:00
Dries Buytaert 34265be9b7 - Patch 42652 by Goba: fixed upgrade issue related to MySQL 5. 2005-12-31 10:52:46 +00:00
Dries Buytaert 753f11d8c9 - Patch #41755 by Cvbge:
1. "int(10)" -> "int", fixed typo in index name [pgsql change only]
   2. added defaults for uid and hostname (needed for both)
   3. postgres supports "DROP column" syntax
   4. added missing DELETEs for new table in poll_delete() and poll_update()
2005-12-28 12:02:29 +00:00
Dries Buytaert 387b47ec2b - Patch #41755 by Neil: normalize poll.polled database column. 2005-12-27 14:34:21 +00:00
Dries Buytaert b362985de5 - Patch #41118 by Goba: various upgrade script fixes. 2005-12-26 17:20:23 +00:00
Dries Buytaert 2b367df8ed - Patch #41594 by Richard: improved upgrade path of primary and secondary links. 2005-12-24 13:07:25 +00:00
Steven Wittens 2132883524 - Missing array() in updates.inc, caused foreach warning at the end. 2005-12-16 17:11:52 +00:00
Dries Buytaert e53f58fbe0 - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:01:39 +00:00
Dries Buytaert dd2fdd128d - Patch #40532 by wtanaka: use longblog for data in the cache. Is reported to fix utf-8 problems and improves consistency with PostgreSQL. 2005-12-13 18:49:47 +00:00
Dries Buytaert ccb3fa0219 - Patch #39462 by Cvgbe:
1. fixed problem with long URLs being truncated (and causing errors)
  2. added CREATE UNIQUE INDEX to prefix.sh
  3. changed totalcount from int to bigint to prevent overflow
  4. unifies index names, syncs with database.mysql

  Updated changelog.
2005-12-12 22:08:35 +00:00
Dries Buytaert 544aefad8a - Modified patch #40534: improved themability of forum icons (makes it possible to use animated gifs) + removed forum setting. 2005-12-11 12:44:39 +00:00
Dries Buytaert 0eb731d5e2 - Patch #40463 by chx and baudolino: fixed fatal error in forms.inc. 2005-12-11 10:40:07 +00:00
Dries Buytaert cf5dc8b87d - Changed '50' to '20' as per Neil's comment in issue 36042 (comment #12). 2005-12-10 08:14:57 +00:00
Dries Buytaert efaf4d23bb - Patch #36042 by Cvbge: make the latest database upgrade work with PostgreSQL. 2005-12-10 08:13:40 +00:00
Dries Buytaert 1d0fa04d33 - Patch #40518 by drumm: remove hook_versions. 2005-12-09 15:46:47 +00:00
Dries Buytaert e70cb8b523 - Patch #36042 by Gerhard and Neil: recover old revisions. 2005-12-09 15:33:39 +00:00
Dries Buytaert ac611b2473 - Small documentation improvements. 2005-12-08 08:47:15 +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 7b5a8d936c - Patch #29326 by Morbus: added missing returns. 2005-12-07 21:13:58 +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 94d6b9abf0 - Patch #29326 by Morbus: optimized performance of URL aliasing for newly installed sites.
There are a number of small optimizations we could add; like, we should never do more lookup queries than the number of unique URL aliases in the database.  When the size of the static cache equals the number of unique URL aliases in the database, we can stop doing lookups.  I think this could be implemented with a 2-line change.  Takers?
2005-12-07 20:57:45 +00:00
Dries Buytaert e90a178e5d - Patch #40139 by Robert: the system table got a new column, the database definition files need to reflect this. 2005-12-06 12:16:38 +00:00
Dries Buytaert a19acb219e - Patch #35924 by Neil: improved the update system. 2005-12-06 09:25:22 +00:00
Dries Buytaert 7c958440ff - fixed invalid updates.inc 2005-12-05 15:13:32 +00:00
Dries Buytaert 70039a954e - Patch #40016 by Thox: profile tables do not default to MyISAM. 2005-12-05 12:35:22 +00:00
Dries Buytaert 3e36be3b24 - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick. 2005-12-05 09:06:30 +00:00
Dries Buytaert 37b14043f1 - Patch #39722 by jvandyk: fixed warning in updates.inc. 2005-12-02 21:31:58 +00:00
Dries Buytaert ecd6969d9f - Patch #36133 by Thox: make it possible to install Drupal on MySQL, running in strict mode. 2005-11-29 11:48:44 +00:00
Dries Buytaert 244945365d - Patch #10407 by Cvbge: fixed cache problems with PostgreSQL. 2005-11-27 11:52:08 +00:00
Dries Buytaert debb7da318 - Patch #39019 by Cvbge: set search_path for functions in database.pgsql. 2005-11-27 10:52:30 +00:00
Dries Buytaert 350f2e5aff - Patch #37383 by Cvbge: fixed clash between greatest() functions from Drupal and postgresql 8.1. Removed dependency on plpgsql. 2005-11-24 20:00:39 +00:00
Dries Buytaert 6a7e45d008 - Patch #37824 by zen: added missing {} to SQL queries in updates.inc. 2005-11-18 14:05:38 +00:00
Dries Buytaert 3141d02c2f - Patch #28062 by Souvent22: make it possible to assign weights to contact form categories and fixed some small glitches. 2005-11-14 22:23:11 +00:00
Dries Buytaert 46fee741b5 - Patch #37589 by Cvgbe: make prefix.sh work with PostgreSQL: prefix indices properly. 2005-11-14 21:57:49 +00:00
Dries Buytaert ea8cfd18a5 - Patch #27140 by Cvbge: PostgreSQL updates/fixes. 2005-11-08 12:02:23 +00:00
Dries Buytaert e4325eb03a - Patch #22215 by Richard Archer: fixed glitch in the upgrade path for primary/secondary links. 2005-11-06 11:33:28 +00:00
Dries Buytaert 54e13b5fb4 - Patch #27140 by m3averck/souvent22: can't delete contact module subjects with '&' in title. 2005-11-05 08:00:20 +00:00
Dries Buytaert 22fbada46e - Patch #29082 by Cvbge: fixed bugs in PostgreSQL's upgrade path from 4.6
to 4.7/HEAD.  Added two API functions to help write PostgreSQL update
  functions.
2005-11-04 19:45:03 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module.

  This patch was much needed.  Thanks Richards!

  NOTE: if some themers could investigate if there is room for improvement
        with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Steven Wittens 909d6928ac - #28159: Advanced search features (hello from DrupalCon)
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Dries Buytaert 53bdeae273 - Modified patch #30775 by timcn, Souvent22, m3avrck: give file uploads descriptions.
(Modified the form a bit.)
2005-09-27 15:54:39 +00:00
Dries Buytaert fc47517da8 - Patch #31770 by chx: node_list() -> node_get_types(). 2005-09-23 13:13:12 +00:00
Dries Buytaert e3a4085a07 - Patch #31760 by webchick: removed redundant code. 2005-09-22 05:19:16 +00:00
Dries Buytaert d43655c962 - Patch #31449 by chx: store session IDs in the accesslog table. 2005-09-18 17:09:56 +00:00
Dries Buytaert 5486af9dfe - Patch #31343 by Robert Douglas et al: fixed database table problem with forum table. 2005-09-18 17:01:06 +00:00
Dries Buytaert da74bce9bc - Patch #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems. 2005-09-14 21:37:11 +00:00
Dries Buytaert 87df276acb - Patch #29910 by m3avrck, nsk, Thomas et al: added a mysqli database backend for use with PHP5 and MySQL 4.1 and above.
NOTE: I don't have MySQL 4.1 setup at the moment so I could _not_ test this patch.  Luckily, various people reported that it works.
2005-09-12 20:13:04 +00:00
Dries Buytaert 6ea4bc6caa - Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module. 2005-09-12 18:26:59 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert f155ed2126 - Patch #30622 by Gerhard: the update produces a type field in node_revisions which shouldn't be there. 2005-09-07 20:32:00 +00:00
Dries Buytaert d9d6a6e05c - Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.

TODO:

1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
2005-08-30 15:22:29 +00:00
Dries Buytaert ac0c27b6c8 - Patch #12381 by killes: removed old updates. 2005-08-16 20:17:54 +00:00
Dries Buytaert ab633dad9b - Patch #28986: fixed Incorrect order of PosgreSQL statements. 2005-08-16 19:54:36 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert b69b43d1ec - Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +00:00
Steven Wittens c38da7886b - #27985: make node type column bigger 2005-08-08 18:51:48 +00:00
Dries Buytaert ce094a1323 - Patch #27633 by Tobias:
+ made it possible to specify a subject when submitting a message on the contact form.
  + fixed some bugs/glitches.
2005-07-31 10:12:47 +00:00
Steven Wittens e5ad13e3f8 - #27635: Style update.php 2005-07-29 20:31:05 +00:00
Steven Wittens f493c156d4 - #17116: Standardize whitespace in database.sql 2005-07-29 07:26:49 +00:00
Steven Wittens 354e0c1f83 - #23651: Display referrer info with watchdog messages. 2005-07-29 04:12:19 +00:00
Dries Buytaert 53195677b6 - Patch #24183 by drumm: remove unnecessary setting from upload module. Currently the upload module checks two max file sizes. First it checks a global option; if its too big it quits. Then it checks another max file size (or even sizes) related to the roles which a user is in. We can remove the global option since the individual roles are checked. 2005-07-22 19:06:19 +00:00
Dries Buytaert d190e16c9e - Removed dead data 2005-06-27 04:45:36 +00:00
Dries Buytaert eb803411d1 - Patch #24003 by Steven: fix problems with node attribute checking (and improve defaults). 2005-06-06 18:59:37 +00:00
Dries Buytaert 500ea7480c - Patch #22909 by kinai: fixed various errors in the PostgreSQL database scheme.
(Yay, more PostgreSQL contributors! :))
2005-05-26 19:23:44 +00:00
Dries Buytaert 0c4db41309 - Patch by Mathias: database updates for path alias improvements. 2005-05-14 20:59:01 +00:00
Dries Buytaert 139ef4027c - Patch #22035 by mathias/mikeryan: improved performance of path aliases. 2005-05-14 09:23:47 +00:00
Dries Buytaert 2b7f504dc8 - Added the ability to track page generation times in the statistics module.
(Made some improvements as per the suggestions in the issue.)

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

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

  2. Correct the "Last access" column in the user administration overview
     table.  The presented data was not accurate, which led to the column
     being removed.  You can now sort users by 'last access'.
2005-05-07 11:39:54 +00:00
Steven Wittens 63019040a4 - #22154: Change : in aggregator block IDs to -, the colon is an illegal character and causes problems in CSS. 2005-05-06 06:43:30 +00:00
Dries Buytaert 75f748cdad - Rollback to previous version. 2005-05-05 07:32:27 +00:00
Dries Buytaert e274f97c87 - Removed the Xtemplate engine and added the PHPTemplate engine.
- Converted the Bluemarine theme from XTemplate to PHPTemplate.
- Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
2005-05-04 18:12:18 +00:00
Dries Buytaert c085f12868 - Patch #21252 by patryk: fixed size of location field. 2005-05-03 05:19:34 +00:00
Dries Buytaert 15cf9e1a72 - Patch #21252 by patryk: increased the length of the location field in the locale_sources table. 2005-05-01 16:05:26 +00:00
Dries Buytaert a93cf89665 - Patch #21353 by chx: implemented PHP-mode for blocks. 2005-04-30 18:16:38 +00:00
Dries Buytaert 4650917cb1 - Moving the queue module to contrib. This has been discussed months ago. Who wants to be the maintainer? 2005-04-24 13:49:58 +00:00
Dries Buytaert e2b256dcf6 - Patch #18719 by Jose: reworked the 'request new password' functionality. 2005-04-24 11:43:08 +00:00
Dries Buytaert cb420f7121 - Work by chx and myself: added a site-wide contact form to the contact module. 2005-04-24 08:23:33 +00:00
Dries Buytaert 442663b671 - Patch #20615 by Robert: added missing table prefixes 2005-04-16 08:01:48 +00:00
Dries Buytaert a392fc848e - Re-added update_sql() and moved it to the bottom. 2005-04-14 19:57:11 +00:00
Dries Buytaert 1c83d51741 - Patch by Adrian: postgresql fixes 2005-04-14 19:37:11 +00:00
Dries Buytaert f33f9a5fcd - Patch #19965 by Robin Monks: fixed problem with duplicate block titles. 2005-04-12 18:52:47 +00:00
Dries Buytaert e3d62d907b - Patch #19298 by Jeremy: loose caching!
Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds.  Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes.

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

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

The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same.
2005-04-08 14:59:14 +00:00
Dries Buytaert 2eb99e5fa2 - Added missing } 2005-04-08 13:18:58 +00:00
Dries Buytaert 58b326a838 - Fixed bug #19432, modified patch from Junyor: database update fails when a name contains a quote. 2005-04-08 12:28:14 +00:00