Commit Graph

341 Commits (e53f58fbe0e6c033fce65bd0d7a76d25911ff158)

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