Commit Graph

874 Commits (8674cf0953e3be8e0eacd17734bea65f729c33c3)

Author SHA1 Message Date
Kjartan Mannes aeb24cf91f - Fixed a problem with $format not being defined as global. 2001-05-14 18:53:37 +00:00
Kjartan Mannes eb8ab6e932 - Fixed a problem with $format not being defined as global. 2001-05-14 18:46:35 +00:00
Dries Buytaert 9519515520 - Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
messages wrap nicely on all browsers.  (requested by Steven)
2001-05-14 07:26:08 +00:00
Steven Wittens 3e4454bd9b I added a trailing dot to the numbers in the ratings list. Call me a perfectionist... 2001-05-13 23:23:23 +00:00
Dries Buytaert 1559e6c2ab - Fixed a warning in queue.module. 2001-05-13 17:47:17 +00:00
Dries Buytaert 743fdddcda - Fixed typo in drupal.module (and helping Natrak to get the CVS digests
right).
2001-05-13 17:04:03 +00:00
Dries Buytaert d92b9e9c9b - Fixed a few typoes in drupal.module 2001-05-13 16:59:57 +00:00
Dries Buytaert 3121934810 - Updated CHANGELOG 2001-05-13 16:32:50 +00:00
Dries Buytaert 15942960a6 - Updated CHANGELOG 2001-05-13 14:53:20 +00:00
Dries Buytaert bf47263c75 - Updated CHANGELOG 2001-05-13 13:38:15 +00:00
Dries Buytaert 6772d695f9 - Update CHANGELOG 2001-05-12 21:48:32 +00:00
Dries Buytaert dcb7816ce2 - Updated CHANGELOG 2001-05-12 21:09:29 +00:00
Dries Buytaert 86bb9a10cb - Made the main page display sub-topics when a specific topic
is selected.

- Made theme_link() less "hard coded", we still have to make
  it fully configurable though.

- Fixed glitch in story submission: the warning messages were
  not displayed.

- Tidied up block.module a bit.
2001-05-12 21:06:13 +00:00
Dries Buytaert dda4e903a4 CHANGES:
- Added moderator support to topics.
2001-05-10 20:40:31 +00:00
Dries Buytaert c1c3943934 CHANGES:
- "Formified" node.module and structure.module.

- Added moderator capabilities to topics in structure.module; you can
  define the default moderators.
2001-05-10 19:47:35 +00:00
Dries Buytaert 1f072bb129 - Merged modules/headlineRSS10.module into modules/headline.module:
You can use both:
    http://www.your-domain.com/export/headlines.rss
    http://www.your-domain.com/export/headlines.rdf
2001-05-09 19:20:09 +00:00
Dries Buytaert 0000c2e401 - Code review: improved search API, tidied up the search related code,
and fixed a tiny bug when searching for users.
2001-05-09 18:28:09 +00:00
Dries Buytaert fae651d75f - Fixed submission bug in book.module. (reported by Remco) 2001-05-07 18:44:40 +00:00
Dries Buytaert 42081ec00f - Fixed bug in calendar.class: the calendar showed the current day as a
non-clickable field.  (reported by Remco)
2001-05-07 07:18:05 +00:00
Dries Buytaert 27c0f490e7 - Fixed problem in setting.module: some settings showed up twice.
(reported by Remco)
2001-05-07 07:04:40 +00:00
Dries Buytaert 64f0be062f - Fixed a bug in the book submission part.
- Fixed a bug in navigation through book pages.
- Fixed a bug in sorting books by weight.
2001-05-06 19:51:14 +00:00
Dries Buytaert 25c379fb61 - Added custom PHP error handler to track down warnings and errors.
(Jeroen: let's sit back and wait until that warning bites again.)

- Simplified drupal.module.  We still need a feature list, anyone?
2001-05-06 17:19:58 +00:00
Dries Buytaert be8e898d23 - Uhm. Rewrote the module system: less code clutter, less run-time
overhead, and a lot better (simpler) module API.  I had to edit a
  LOT of files to get this refactored but I'm sure it was worth the
  effort.

  For module writers / maintainers:

  None of the hooks changed, so 95% of the old modules should still
  work.  You can remove some code instead as "$module = array(...)"
  just became obsolete.  Also - and let's thank God for this - the
  global variable "$repository" has been eliminated to avoid modules
  relying on, and poking in drupal's internal data structures.  Take
  a look at include/module.inc to investigate the details/changes.

- Improved design of the content modules "story", "book" and "node"
  (to aid smooth integration of permisions + moderate.module).  I'm
  still working on the permissions but I got side tracked for which
  I "Oops!".
2001-05-05 13:57:29 +00:00
Dries Buytaert 1681877761 CHANGES:
- Added moderator information to forum.module.

- Simplified story.module, page.module, forum.module and book.module
  by removing redundant code, and by doing other small house-keeping
  tasks.
2001-05-03 18:48:42 +00:00
Steven Wittens 97ec8e0c10 fixed typoe 2001-05-03 17:04:29 +00:00
Steven Wittens 0f27761e93 locale update 2001-05-03 17:01:58 +00:00
Jeroen Bensch e10572d75b Hey,
Deleted jeroen2.theme from /yaroon/

Jeroen.
2001-05-02 21:00:01 +00:00
Dries Buytaert 343e71c8eb CHANGES:
- Added moderator permissions to nodes.

- Added moderator support to structure.module.

- Added new moderate.module.

- Renamed moderation.module to queue.module to avoid confusing.
  Updated theme yaroon as it seems to have a hard-coded reference
  to moderation.module.

- Polished on:
   + account.module: improved access list
   + fixed HTML typo in node.module

ACTIONS:

- Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
2001-05-02 20:52:19 +00:00
Dries Buytaert 853141a930 - fixed small glitch in forum.module 2001-04-30 21:02:59 +00:00
Dries Buytaert bb66fa5fd0 Welp. Large commit ahead.
CHANGES:

- Added "read" and "write" permissions into drupal but removed
  it again because - when finished after 3 hours of work - it
  was considered nothing but added complexity that didn't buy
  us anything. :I

  (I'll explain this in detail on the mailing list, I guess.)

- Added a very simple help.module to group all available
  documentation on a single page.

- Fixed bug in node_control(), book.module: UnConeD forgot to
  global $user when updating the combobox code.

- Removed static wishlist.module: in future, the wishlist can
  be maintained as a page in our collaborative book.

- Revised most of settings.module: tidied up the code and the
  descriptions to accompany the settings and introduced a new
  "default maximum number of nodes to display on the main page"
  variable.

- Revised most of comment.module: the administration interface
  looks better now, integrated node permissions, and -finally-
  made it possible to delete comments.

- Polished on:
   + account.module
   + structure.module
   + locale.module
   + module.module
   + forum.module

- Form-ified:
   + account.php
   + account.module
   + setting.module
   + cvs.module
   + submit.php
   + comment.module
   + forum.module
   + book.module
   + page.module
   + locale.module

- Updated CHANGELOG


INFO:

- Designed a "generic tracker system with optional backends"
  on paper.  The idea is to allow registered users to hot-list
  certain topics, individual nodes or threads (comments) and
  to "plug-in" output backends like - for instance - an e-mail
  digest.  The design requires "intelligent blocks" though.


TODO:

- I want to tidy up the headline.module and backend.class as
  well as merge in headlineRSS10.module.  Julian spent quite
  some time working on headline.module but I'm not sure what
  he changed and whether he'd contribute it back?
2001-04-30 17:19:27 +00:00
Dries Buytaert fead09a8de Welp. Large commit ahead.
CHANGES:

- Added "read" and "write" permissions into drupal but removed
  it again because - when finished after 3 hours of work - it
  was considered nothing but added complexity that didn't buy
  us anything. :I

  (I'll explain this in detail on the mailing list, I guess.)

- Added a very simple help.module to group all available
  documentation on a single page.

- Fixed bug in node_control(), book.module: UnConeD forgot to
  global $user when updating the combobox code.

- Removed static wishlist.module: in future, the wishlist can
  be maintained as a page in our collaborative book.

- Revised most of settings.module: tidied up the code and the
  descriptions to accompany the settings and introduced a new
  "default maximum number of nodes to display on the main page"
  variable.

- Revised most of comment.module: the administration interface
  looks better now, integrated node permissions, and -finally-
  made it possible to delete comments.

- Polished on:
   + account.module
   + structure.module
   + locale.module
   + module.module
   + forum.module

- Form-ified:
   + account.php
   + account.module
   + setting.module
   + cvs.module
   + submit.php
   + comment.module
   + forum.module
   + book.module
   + page.module
   + locale.module

- Updated CHANGELOG

INFO:

- Designed a "generic tracker system with optional backends"
  on paper.  The idea is to allow registered users to hot-list
  certain topics, individual nodes or threads (comments) and
  to "plug-in" output backends like - for instance - an e-mail
  digest.  The design requires "intelligent blocks" though.


TODO:

- I want to tidy up the headline.module and backend.class as
  well as merge in headlineRSS10.module.  Julian spent quite
  some time working on headline.module but I'm not sure what
  he changed and whether he'd contribute it back?
2001-04-30 17:13:08 +00:00
natrak c8d16d76f9 Fixes
- Changed include "includes/common.inc"; to include_once
   "includes/common.inc"; Including the common file more than once will
   cause bad things.
2001-04-29 13:41:18 +00:00
Dries Buytaert ef7d5e1201 CHANGES:
- Added new form_* functions to common.inc, used for building
  forms: it should improve 'stability' (no form typos, every-
  thing properly escaped/unescaped) and should help providing
  a very consistent user interface (wrt forms).

- Adjusted node.module to use the new form functions.
  (Can be used as an example.)

- Adjusted book.module to use the new form functions.
  (Can be used as an example.)

- Merged function.inc into common.inc!

- Slowly removing all global $status and $rstatus variables:
  use node_status() instead.

TODO:

- Apart from implementing the permission system, I'll spend
  some time updating most modules today and tomorrow to use
  the new form functions.
2001-04-29 12:39:55 +00:00
Dries Buytaert 828f36cdf1 - Addition: added a new, tiny forum module: I will use this forum
module to develop and test the permission system along with the
  regular nodes.  And hopefully, this forum module will grow into
  a very useable piece of code for drop.org.

  Requires a new SQL table "forum", see 2.00-to-x.xx.sql.

- Removed 1 unused hook from page.module.

- Removed 1 unused function from comment.inc.
2001-04-29 10:03:21 +00:00
Kjartan Mannes 95f92686e4 CHANGES
- Modified conf_init() to use default.conf if nothing else can be found.
- Added some comments to hostname.conf to reflect the changes and
  provide more information on how to rename the file.

TODO
- The Drupal handbook should be updated once the CVS version is released.
- Should try to remove the remainder of info from hostname.conf and go for a
  completely web-based administration if possible.
- Does having all the settings in a SQL database make Drupal add more
  overhead than including a .conf file? If nobody knows for sure some tests
  should be done. If yes, concider having the admin interface generate an
  include file in addition to saving to the database.
2001-04-27 06:45:07 +00:00
natrak 4f6b21519e CHANGES
- Modified conf_init() to use default.conf if nothing else can be found.
- Added some comments to hostname.conf to reflect the changes and
  provide more information on how to rename the file.

TODO
- The Drupal handbook should be updated once the CVS version is released.
- Should try to remove the remainder of info from hostname.conf and go for a
  completely web-based administration if possible.
- Does having all the settings in a SQL database make Drupal add more
  overhead than including a .conf file? If nobody knows for sure some tests
  should be done. If yes, concider having the admin interface generate an
  include file in addition to saving to the database.
2001-04-27 06:45:06 +00:00
Kjartan Mannes bd8952ebb2 Changes
- Fixed an error in module_rehash_blocks() that didn't handle '-symbols.
- Removed some module depencies. Drupal will now run (sorta) even if there
  are no modules installed.
- Changed theme_link() to check if certain modules are installed before
  offering a link to them.

Todo
- Check all SQL queries to make sure they are addslashes'ed correctly.
- Check the effects of changing the PHP magic_quotes setting.
- Make the theme_link() function to be customizable either via the admin
  page and/or in the module itself.
2001-04-23 11:06:18 +00:00
natrak 78def0485b Changes
- Fixed an error in module_rehash_blocks() that didn't handle '-symbols.
- Removed some module depencies. Drupal will now run (sorta) even if there
  are no modules installed.
- Changed theme_link() to check if certain modules are installed before
  offering a link to them.

Todo
- Check all SQL queries to make sure they are addslashes'ed correctly.
- Check the effects of changing the PHP magic_quotes setting.
- Make the theme_link() function to be customizable either via the admin
  page and/or in the module itself.
2001-04-23 11:06:17 +00:00
natrak 78bee959d1 - Fixed the update sql file. Changes have to start with the oldest and progress
to the newest. It would try to change tables that had not yet been created
  causing major problems to the node module. (NOTE: if you are doing a x.xx
  update to another x.xx version you might have to force MySQL to perform it
  using the -f flag. Remember to always backup your data before making
  changes).
- Prevented 2.00-to-x.xx.php from executing. It would simply give a PHP error
  and not execute. Will wait for Dries to return before attempting to make it
  functional or remove it.
2001-04-22 16:33:28 +00:00
Steven Wittens 839cb3f4cb - Oops: left in a debug-statement 2001-04-21 22:49:14 +00:00
Steven Wittens 2e25565b86 - Fixed bug when node-navigation-combobox wouldn't select the correct item if drupal was run from a sub-directory. 2001-04-21 22:48:28 +00:00
Steven Wittens 323c30e1dc - Added "custom" date/time format... to allow user-timezone-adjusted custom date formats. I didn't add special logic to translate parts of it, but it's not really needed, as this is only meant for internal usage (e.g. checking if timestamp A is on the same date as timestamp B).
Some modules (such as diary) should be changed to take advantage of this function, as they are now still using GMT+0 dates in some cases (e.g. the recent diary entries box).
2001-04-21 21:18:47 +00:00
Steven Wittens d6554be786 - Fixed typo "sumbission" 2001-04-21 19:21:11 +00:00
natrak 1dfd1d75b9 - Changing my e-mail address. 2001-04-21 18:17:08 +00:00
Dries Buytaert 173888b43d *** UnConeD wrote:
> - Fixed security issue: unchecked form-data in a db-query (line 82)
> - Fixed bug: the module now checks only against other *stories*
>   (instead of nodes) with the same title.

- Took out the duplicate title check; after the story module has
  been "nodified", duplicate titles are no longer a problem.
2001-04-21 17:52:39 +00:00
Dries Buytaert 26fed7826f - Fixed two more </TD</TR>'s. 2001-04-21 17:43:42 +00:00
Steven Wittens a66c4e59ec - Centered the comment controls... much nicer :) 2001-04-21 17:35:29 +00:00
Steven Wittens 0bd25284de - Fixed security issue: unchecked form-data in a db-query (line 82)
- Fixed bug: the module now checks only against other *stories* (instead of nodes) with the same title.
2001-04-21 17:32:27 +00:00
Dries Buytaert 534c00f900 - Fixed date problem in calendar module (reported by Remco). 2001-04-21 17:04:31 +00:00
Steven Wittens b24aff1da2 Made the "add" and "update" options in the node-combobox appear only when logged in. 2001-04-21 15:51:23 +00:00