Commit Graph

42 Commits (bfe5b85dbdab7b0c9f868dcb3beb71848ffbd295)

Author SHA1 Message Date
Kjartan Mannes 5d36c70449 - improved module descriptions.
- removed admin options for queue and comment module if the modules are not
  loaded.
- nodes are now auto promoted when queue module isn't enabled.
- moderation result block is now visible by the node author.
2002-06-08 16:17:29 +00:00
Dries Buytaert 2b3ca2d3ac - More documentation updates. Added "Requires crontab" message to the
settings that require crontab, make some things more consistent, etc.
2002-06-08 10:18:59 +00:00
Dries Buytaert 7d9fc047f9 - Clarified the help texts a bit. 2002-06-08 10:09:03 +00:00
Kjartan Mannes 4a28077f46 - adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
2002-06-01 21:57:29 +00:00
Dries Buytaert 420ac9f4f7 - Added missing translations (including the one Marco spotted). 2002-05-31 20:18:33 +00:00
Dries Buytaert 8043cb998f - Applied Marco's big patch, including contributions from Moshe:
+ Changed the db_query() API.

    + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.

    + XHTML-ified some HTML.

    + Wrapped a lot of text in the administrative pages in a t()
      function.

    + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().

    + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
      RSS code).

    + Fixed some bugs in the taxonomy module (eg. tree making bug), added
      new functionality (eg. new APIs for use by other modules), included
      Moshe's taxonomy extensions, and some documentation udpates.

    + ...
2002-04-20 11:52:50 +00:00
Kjartan Mannes 5592761620 This is a major change to the system, needs more testing!
Committing Changes by Moshe Weitzman:
- admin_user_account(), user_edit(), and user_view() no longer have any
  hard code for authentication modules. instead authentication modules
  implement the _user hook.
- fixed a couple 'help' typos.
- linked the 'REGISTER' text in the login block to the register page.
  this page now advertises DA better if site employs DA.
- admins may now edit everything about a user account (was a feature
  request).
- user #1 may now login immediately, in addition to receiving his
  password via email.

Other changes:
- modules and themes are now enabled/disabled in the administrative /
  settings / modules | themes pages. Requires SQL update and things must
  be enabled before your site returns to normal. TODO: enable all
  functionality. (For now just do UPDATE system SET status = 1;)
- removed $themes from conf.php.
- added a $theme->system() function where theme can specify settings.
  All themes in the Drupal CVS have been updated to use this.
- added _system hook to modules. TODO: update modules to use this.
- changed strange use of sprintf to the usual strtr. The disadvantage of
  sprintf is that it requires translations to keep the string order,
  which may not be possible in all languages.
- an invalid/nonexisting theme in a user profile will now fallback to the
  BaseTheme instead of crashing.
2002-04-14 19:34:04 +00:00
Dries Buytaert 9156f75654 - Changed a reference to drop.org into a reference to drupal.org. 2002-02-02 12:34:38 +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 a0ddc1af74 - Added new feature. Explanation will follow on the mailing list. 2001-12-16 11:44:41 +00:00
Dries Buytaert e42d97b5ce User module and DA modules:
+ Updated the documentation to use a Jabber or Drupal IDs instead of
    Deplhi IDs (as delphi.module won't be part of the default distro).
    Drupal and Jabber authentication make a better example.

  + added missing localization / t() functions in
    user_validate_authmaps()

  + applied coding convention:
      * fixed indentation
      * removed "EOF"; and <<EOFs from user module
      * changed some HTML into XHTML: use small letters, quote
        attributes
      * quoted some array indices: $edit[foo] --> $edit["foo"]

  + removed some useless sprintf()'s

  + removed hard-coded references to drop.org.

  + I don't think the authentication methods should /know/ there help
    link.  Instead, the user module should now where to find the help
    (it does by knowing the hook to look for), and it is the user
    module that should take care of exporting the help to the preferred
    location:
      * removed the "link" field from the $info field in drupal_info
        and jabber_info; it wasn't used anyway?

  + removed the "maintainer" and "maintaineremail" from the auth
    modules; we don't keep this info in the other modules either so
    I don't see a reason to do so here.
2001-11-14 20:30:08 +00:00
Kjartan Mannes fe8222e7e9 drupal.module
- removed. page.module now serves this purpose on its own.
2001-07-20 10:08:31 +00:00
Dries Buytaert 121b5425c2 - Fixed tiny typo which broke the download link 2001-07-04 12:20:14 +00:00
Dries Buytaert 43db9cf86f - common.inc:
+ Made '$na' translatable on popular demand.

- node.module:
   + replaced a confusing configuration description, as suggested by
     Remco.

- statistics.module:
   + Added a 'most recent referers'-table sorted by timestamp.

- drupal.module:
   + Small update of the links.
2001-07-03 19:16:20 +00:00
Dries Buytaert eacfc0425d - Added 'drupal' link to pages. 2001-06-30 17:51:04 +00:00
Steven Wittens 58d662907c - Fixed typo
- Changed dries_at_drop.org into an UnConeD-Magically-Anti-Spam-Formatted-Email-Address(tm)
2001-06-06 21:36:08 +00:00
Dries Buytaert 14ddbc473c - Created 2 new functions:
+ path_uri(): returns the fully-qualified URI of your drupal site.
    + path_img(): returns the image directory or http://image-server.com/
                  in case you prefer to load-balance bandwidth usage.

  Replaced all occurences of the variable "site_url" with path_uri()
  and removed "site_url" from "setting.module".

- Drastically simplified the node_save() API, which should make the
  node-forms more secure.  Updated "story.module", "book.module",
  "forum.module", "page.module" and "node.module" to reflect this
  change.  This is needs more testing so hit it, beat it, tease it.

- Fixed an occasional glitch in the configuration file loading logic.

- Made "queue.module" display an informative notice when an anonymous
  user tries accessing the moderation queue.

- Updated the hard-coded information in drupal.module a bit.
2001-05-15 18:38:57 +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 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 6546160234 - removed dead links 2001-03-31 11:38:02 +00:00
Dries Buytaert cb67c16a4b - removed trailing whitespaces and changed tabs in 2 spaces
(done automatically by script)
2001-03-24 16:57:12 +00:00
Dries Buytaert 9f044b7b73 - updated drupal page 2001-03-24 15:50:24 +00:00
Dries Buytaert b156f83be8 - added drupal 2.00 2001-03-15 11:24:15 +00:00
Dries Buytaert accd5f0c31 - applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
2001-03-10 11:07:52 +00:00
Dries Buytaert 86e315e2b4 - locale module: added documentation (first draft)
- locale module: improved administration interface
- headline module: fixed small visual glitch in export function
- account: small improvements
2001-02-21 08:25:21 +00:00
Dries Buytaert 52a1d1bbe8 - More updates on the translation support 2001-02-17 12:59:24 +00:00
Dries Buytaert de2e393933 - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
Dries Buytaert d386c110f4 - removed redundant spaces 2001-01-26 13:38:46 +00:00
Dries Buytaert 7cc7b405e3 - fixed some bugs in the new comment/discussion code and added a few
enhancements
2001-01-21 09:26:06 +00:00
Dries Buytaert e25c50b994 - 3 small bugfixes 2001-01-20 12:53:54 +00:00
Dries Buytaert 2952d16f78 - updated/improved discussion engine: it needs additional fine-tuning
though but I think this is stable enough for public consumption and
  real-life testing.
   ==> a first big step towards a flexible comment engine.

IMPORTANT:
  - Required theme updatins:

    UnConeD: check your $theme->controls() as I added a very, very
             dummy implementation

  - Required database updates:

    alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
    alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
    alter table comments add link varchar(16) DEFAULT '' NOT NULL;
    update comments set link = 'story';
2001-01-20 12:20:31 +00:00
Dries Buytaert 6e88265b1f - added drupal 1.00 final 2001-01-15 17:28:05 +00:00
Dries Buytaert 1451447724 - forgot to close one HTML tag 2001-01-13 08:36:25 +00:00
Dries Buytaert 1035d95cae - removed redundant file: a left-over from previous optimizations 2001-01-08 16:28:47 +00:00
Dries Buytaert 8511d9fb45 A batch of patches:
- configuration:
    + renamed $db_name to $db_user
    + renamed $db_base to $db_name
  - fixed small diary glitch
  - fixed initial-comment-score problem
  - fixed comment rating bug: improved the API and updated the
    themes
  - removed some tabs from Steven ;)
  - fixed backend warnings and improved robustness
    I'm not happy yet with the headline grabber - it generates
    too many SQL errors.
  - some small cosmetic changes in comment.module
  - fixed minor glitch in format_interval()
2001-01-06 11:39:43 +00:00
Dries Buytaert aac188d346 - fixed more then 30 typoes (thanks to my Linux spellchecker) 2001-01-04 19:35:55 +00:00
Dries Buytaert ca2d5d6fb2 - small additions 2001-01-03 06:35:36 +00:00
Steven Wittens 9a221a7e8e Typoes/grammar check. 2001-01-02 19:06:02 +00:00
Dries Buytaert 89da4770d3 - quickly created a project module (in less then 5 minutes, for the
records) before crashing into my bed after waay to heavy New Year
  parties while facing the fact I have to get up at 6:45am to go to
  work.
2001-01-01 22:11:04 +00:00