Commit Graph

54 Commits (d626a6cfda1429eb7c23af068f2e6755e7df7641)

Author SHA1 Message Date
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert ee9f8987ad - Applied patch by Gerhard to dissable submission throttle. 2002-12-02 19:22:42 +00:00
Dries Buytaert 8fa7e354a7 - Fixed a caching bug. 2002-11-25 18:01:56 +00:00
Kjartan Mannes 5ffda1a4d6 - removing some obsolete code. 2002-11-20 21:56:03 +00:00
Dries Buytaert 5c0558b503 - Applied Natrak's "create PHP content" patch. 2002-11-18 22:19:17 +00:00
Dries Buytaert 9e32c2e960 Patch based on work of Kjartan:
- Changed cache API.

- Fixed caching bug in comment.module.  Odd this hasn't been reported yet.

- Fixed caching bug in forum.module.

- Fixed caching bug in system.module.

- Fixed caching bug in block.module.

- Simplified caching support in forum.module thanks to improved cache API.
2002-11-17 06:42:52 +00:00
Dries Buytaert 908cb55470 - Applied Stefan's t()-function patches. 2002-11-10 20:51:46 +00:00
Kjartan Mannes bacfc30b11 - Settings will no longer be lost of including a file fails. 2002-11-08 15:12:41 +00:00
Dries Buytaert b3abbc4b54 Patch by Natrak:
- Modules and themes now use the same functions to find and administer
  files.
- Modules can now be placed in sub-directories.
- Theme descriptions can no longer be edited. This will be handled by
  Dries' theme_conf patch.
- Update required to keep old modules enabled.
2002-11-08 13:19:12 +00:00
Dries Buytaert 3cdfcaf877 - Made two INSERT queries ANSI compliant. Patch by James, slightly modified
by Dries.
2002-08-26 18:13:13 +00:00
Dries Buytaert 2c77a38848 - Small cosmetic change to the system module. 2002-08-15 10:26:32 +00:00
Dries Buytaert cc0980ec6b - Bugfix: moved the delete query down. Patch by Marco. 2002-08-14 17:53:44 +00:00
Dries Buytaert c3e91ce889 - Patch by kika: "If a module is disabled on the "site configuration
> modules" page, its operations (view, admin) should not be
  clickable (they should be present though, but as static text).
2002-08-08 18:16:03 +00:00
Dries Buytaert 366118ce45 - Made a small cosmetic change to the modules admin page. 2002-06-09 08:29:49 +00:00
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 92665ec06b - Bugfix: clicking "help" on the "site configuration" didn't show any help. 2002-06-08 14:13:11 +00:00
Dries Buytaert 7d9fc047f9 - Clarified the help texts a bit. 2002-06-08 10:09:03 +00:00
Dries Buytaert 3eb607b8ee - The Drupal module is no longer required. 2002-06-06 18:19: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 f3c8757179 - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
(and possibly tabs).
2002-05-20 07:34:38 +00:00
Kjartan Mannes c9871b7814 - updating all nodes to use taxonomy terms.
- updated node modules not to cause errors when taxonomy module is disabled.
- added %date variable to user mail configuration.
- added hyperlinks to admin.php?mod=system (site configuration) for easy access.
- usual coding style and xhtml fixes.
2002-05-19 23:05:05 +00:00
Kjartan Mannes 524cf07d12 - module and theme admin pages work again. 2002-05-12 16:19:10 +00:00
Kjartan Mannes 86552cb4b6 - changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.
2002-05-11 16:21:48 +00:00
Dries Buytaert 837041f115 - XHTML-ified a few things. 2002-05-02 20:28:11 +00:00
Dries Buytaert 5c6122b4ce - Renamed "settings and filters" to "site configuration": you might have to
update your user's permissions.
2002-04-28 09:53:55 +00:00
Dries Buytaert dbf9469d52 - Made the date strings configurable. Patch by Simon Lindsay. 2002-04-24 21:04:37 +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
Kjartan Mannes e3d2c46f04 - applied search patch.
- added who is online block.
- made weblog module more configurable.
- users may now delete their own accounts (Feature #8)
- users may now request a password using email address *or* username.
  formerly required both items to match an account which was onerous.
- the link to request a new password is now presented whenever a user
  fails login.
- there is now a confirmation message after submitting edits to your
  user information.
- error messages in user.module may now be stylized by themes.
- <hook>_form has a $param setting you can fill with form parameters.
- improved wording for a few config settings.
- fixed various non-coding standard things.
2002-03-05 20:15:17 +00:00
Dries Buytaert 460f0e54df - Added documentation contributed by Moshe. 2002-02-22 19:44:22 +00:00
Kjartan Mannes 64c1b5f110 - updated configuration/user.module to use ini_get("sendmail_from") as
default value.
2002-02-20 22:44:25 +00:00
Dries Buytaert b0b7e03859 - Some more documentation updates. 2002-02-07 20:18:22 +00:00
Dries Buytaert 7ab2b40d74 - Included the cache documentation. 2002-02-07 19:59:37 +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 a0ddc1af74 - Added new feature. Explanation will follow on the mailing list. 2001-12-16 11:44:41 +00:00
Dries Buytaert 8fa7c24d45 - Removed the "password words" setting: they are part of the user system
now and where therefore listed twice.
2001-11-25 15:08:53 +00:00
Dries Buytaert eb7c5f60b9 - Bugfix: when updating a book page, the name of the author did not change.
- Bugfix: the "Edit comments" part of the node administration pages did not
  display the correct comments.

- Bugfix: somethimes, update in a book page would mess up the book.

- Improvement: when "node administrators" update a book page through the
  "update this book page"-link (like regular users do), their update will
  be subject to moderation.

- Improvement: made some intermediate changes to the filter mechanism. Needs
  more work.
2001-11-24 15:10:36 +00:00
Dries Buytaert 336b713a5f - A large batch of updates, amongst them a rewritten node system. More
information available on the mailing list.
2001-11-01 11:00:51 +00:00
Kjartan Mannes 3b7425aefb - added a new configuration option that lets you set various index.php
variables.

  Example: set site_frontpage to "node" and site_frontpage_extra to
  "$meta = 'news'" and only nodes with that meta tag will be displayed on
   your main page.

  This requires some internal knowledge of how the various modules work
  and what settings can be passed to <module>_page() functions.
2001-10-20 20:58:59 +00:00
Kjartan Mannes 864c18d4c3 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:09 +00:00
Dries Buytaert d6e54f8fa1 - fixed a small typo: "hour" --> "hours" 2001-10-12 18:20:51 +00:00
Dries Buytaert 0cce47f15f - fixed small glitch in node_del()
- fixed small glitch in comment_del()

- changed the API of the form() function.  The first parameter, the
  "action"-attribute in the <form>-tag has been made optional.  By
  default, it will be set to "$REQUEST_URI".

  Why? Because in 98% of the cases we would do:

    global $REQUEST_URI;
    $form = form($REQUEST_URI, $form_content);

  while we can do:

    $form = form($form_content);

  now.

  Update your modules (and sorry for the inconvenience)!
2001-09-28 16:20:55 +00:00
Dries Buytaert 0cb7dbc25f - bugfix: a permission was missing from the permission table 2001-09-28 14:12:21 +00:00
Dries Buytaert b0cf3a3929 - fixed a HTML typo as reported by Alexander 2001-09-26 19:43:15 +00:00
Kjartan Mannes ff2ae1855d - added node_page() to list what index.php used to list.
- made the front page of the system configurable. Now any <node>_page()
  can be set as the default page. Default is node_page().
2001-09-25 22:13:34 +00:00
Kjartan Mannes e0dc03dccd user.inc
system.module
- made the words used in passwords configurable thru the admin interface.
2001-07-25 11:34:54 +00:00
Kjartan Mannes ed6cbd4981 - minor update to system.module. Each module config now has a <A NAME>
tag.
2001-07-17 08:48:02 +00:00
Dries Buytaert 18f2a5e38a - system.module:
+ code review -> small improvements
   + XHTML-ified
2001-07-15 16:19:19 +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 8f2ef0760f - Added improvement locale.module, based on Gerhard K.'s implementation.
(Thanks Gerhard!)

- Various other small improvements.
2001-07-02 20:30:32 +00:00