Commit Graph

1271 Commits (8b04230c79fa17e56f46b0975e42008486476907)

Author SHA1 Message Date
Dries Buytaert 8b04230c79 - Fixed a typo 2002-01-05 17:01:33 +00:00
Dries Buytaert 075233c24c - Fixed 2 small typos in a form field description. 2002-01-05 16:45:09 +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 f9abcda22f - Fixed bug with comment sorting (reported by weitzman).
- New comments are being marked with a small red star.
2002-01-03 22:02:23 +00:00
Dries Buytaert 52dfd806cc - Fixed a typo. 2002-01-01 22:20:41 +00:00
Dries Buytaert be3f89b06b - Fixed a typo: comments_all() -> comment_all() 2002-01-01 22:17:54 +00:00
Dries Buytaert 71da8e0a8c - Fixed a small glitch in book_tree() 2002-01-01 11:26:29 +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 69f1b4d3e0 - Small improvement to the exported RSS feed. 2001-12-30 22:53:01 +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 7a673ac3cc - Made the "http://foo.com/blog/username" URL syntax work again. Patch by
Foxen.
2001-12-30 13:00:00 +00:00
Dries Buytaert 9b69714c3f - Revised the comment links: when a user does not have the required
permissions to post comments, the "reply to this comment"-link is
  no longer shown.  Also, when a user is a "comment administrator",
  an "administer"-link will be displayed.

- Revised the threaded_min and threaded_max code: it makes rendering
  pages with more than 15 comments 200% times faster.
2001-12-27 20:35:40 +00:00
Dries Buytaert d8e9eefa9b - Merged 3 tiny include files into "common.inc". 2001-12-27 15:27:44 +00:00
Dries Buytaert 4e25543a3d - "fixed" the code's indentation. 2001-12-27 15:20:20 +00:00
Dries Buytaert 76cc8be622 - Removed theme "Trillian": it sucked. 2001-12-27 15:18:54 +00:00
Dries Buytaert 4589c9c5fa - Small improvement. 2001-12-24 11:14:32 +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
Kjartan Mannes 77decc550b - changed the references to drop in conf.php with drupal. Its just nicer that way. 2001-12-24 08:15:46 +00:00
Dries Buytaert 8c8b305892 - Added "query log" functionality to Drupal. Inspired by weitzman's
code/patch.
2001-12-23 21:47:02 +00:00
Dries Buytaert 2ac4e99feb - Fixed bug where saving a user account from within the admin section
would redirect you to an empty page.
- Tidied up the user_save() function a bit.
2001-12-22 21:47:00 +00:00
Dries Buytaert ffc3d72958 - Made some improvements to the line break filter/formater. 2001-12-22 16:34:57 +00:00
Dries Buytaert 9fa8e310d7 - Removed (the need for) the Comment-class: makes for cleaner code.
- Fixed the comment preview function: the preview shown was not being
  an exact preview of the comment.  Along the way, I polished the
  comment submission code.

- XMTML-ified the code, and quoted all "string"-based array indices.
2001-12-22 14:12:18 +00:00
Steven Wittens bdcb96e6cc Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> combination. 2001-12-20 22:00:00 +00:00
Steven Wittens e798fe8373 form_checkbox() was totally broken: a checkbox needs a value on top of being (un)checked. When it is checked, the value is sent as "name=value". When not checked, nothing is sent. Usually a value of "1" will suffice, but I added explicit separate $value and $checked parameters to make sure no mix-up occurs, and to allow more freedom. 2001-12-20 21:44:46 +00:00
Dries Buytaert 148c23d3a8 - Fixed preview glitch in node_preview() as reported by ax. 2001-12-18 20:57:46 +00:00
Dries Buytaert 267044f0b3 - Back-ported Foxen/Revar's improved book_toc() function. 2001-12-17 19:45:47 +00:00
Dries Buytaert a5b2ef7494 - Made the Drupal sites ping less often (only once every 6 hours), added
some logic to prevent duplicate items at a best effort basis, and made
  the server-side watchdogs slightly less verbose (still in testing mode
  though).
2001-12-17 19:14:07 +00:00
Steven Wittens 124e50c845 Fixed typo: "email addrress" 2001-12-16 20:34:46 +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 90ddfb943f - Made the script 'code-clean.sh' ignore .psp files. 2001-12-16 11:43:33 +00:00
Kjartan Mannes 44732b1c44 - fixed a parse error in the marvin theme 2001-12-16 01:28:41 +00:00
Steven Wittens 32ed753e0b - Reversed the $title - $sitename order in the title to be the same as the other themes. 2001-12-15 22:31:32 +00:00
Dries Buytaert d03f42c35f - Fixed typo. 2001-12-15 16:41:51 +00:00
Dries Buytaert eea53076d9 - Bugfix: don't display links that point to hidden/disabled pages. 2001-12-15 16:26:04 +00:00
Steven Wittens e28981f072 - Updated BaseTheme and the Drupal themes to have header($title = "") as the header declaration and use title when provided. This is just a step towards having unique titles.
In all themes, except Marvin which already had $title, I put the $title first, because it's usually the thing the page is about:

"The future of weblogs? - Drop.org"
"Your account settings - Drop.org"

rather than the other way around, right?
2001-12-15 16:22:31 +00:00
Steven Wittens ce6be09482 - this one has an alpha-channel 2001-12-12 20:30:23 +00:00
Dries Buytaert bab4e3de11 - Removed the old update files from the head version: they are still
available in older version (use a tag) or in the Attic.
2001-12-12 13:45:04 +00:00
Steven Wittens a7917b7b26 Added the Druplicon in two formats along with an explanation... one is PSP format, the other is a high-res PNG (1600x1600). 2001-12-12 13:05:57 +00:00
Dries Buytaert 5a34f78194 - Small mark-up improvement. 2001-12-12 10:32:48 +00:00
Dries Buytaert 46b2b3a2d3 - Oops, this one does interfere with JC's patch. 2001-12-12 10:14:58 +00:00
Dries Buytaert a82346b02b - Added "help"-function for Drupal's "weblogs.com"-module. 2001-12-12 09:44:50 +00:00
Dries Buytaert d0b3ff859a - Fixed typo. 2001-12-12 09:41:55 +00:00
Dries Buytaert 7355c2df0b - Fixed typo. 2001-12-12 09:38:20 +00:00
Dries Buytaert b9795d14dd - Fixed a small glitch in the "cron"-function.
- Added a "help"-function: gravity documentation.
2001-12-12 09:36:06 +00:00
Dries Buytaert 196cb82ed6 - Fixed the links in one of the feeds. 2001-12-09 19:56:08 +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 bf810154f6 - Added a "queue for moderation"-toggle to a node's admin form and
updated the node modules to support this.
2001-12-09 15:15:10 +00:00
natrak 6c69a8bfe6 - tweaked some of the php settings. 2001-12-09 14:23:06 +00:00
Kjartan Mannes a4f431aeb4 - strip HTML tags from comment subjects. 2001-12-09 13:40:47 +00:00