Commit Graph

60 Commits (852171c83062ab8668520df6f809ccc54fb2b6f6)

Author SHA1 Message Date
Dries Buytaert ae263bf607 - Rewrote role management, splitting the table in two. There are no
improvements right now, but this patch will help me adding support
  for taxonomy-based permissions.  Contributed by Marco.
2002-04-28 08:55:00 +00:00
Kjartan Mannes be5f1d2e9d - fixing that persistant <br \> 2002-04-22 09:30:13 +00:00
Kjartan Mannes de5b9a168d - bug fixes:
* fixed mails not being parsed properly.
    * tracker now shows user name when you view your own recent
      comments.
    * link to submission queue now points to the right place.
    * fixed jabber module.
    * theme is now activated when changed.
- applied Gerhards coding style patch.
2002-04-22 09:05:36 +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 0bd45edcb7 - changing regex. Fixes http://www.drupal.org/node.php?id=107 2002-04-15 22:06:27 +00:00
Kjartan Mannes 6840a20935 Patch by Moshe (thanks)
- fix mail templating bugs
- fix admin account editing (related to theme changeover)
- fix description when editing a Jabber ID.
2002-04-15 21:47:13 +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 1e4308a939 - made the user information block into two different blocks. One for
login and one for user information.
- added link to help in book module (post-patch, see below).
- applied various patches:
  Patch by Greg Tyrelle <greg@tyrelle.net>
  - tracker module now shows usernames next to comments.

  Patch by Moshe Weitzman <moshe@wallaware.com>
  - book module has a more complete help.
  - added administrative link to export book to html
  - fixed non book nodes not showing up in trees.

  Patch by moshe weitzman <weitzman@tejasa.com>
  - links can be defined in the configuration file.
2002-04-02 09:45:57 +00:00
Kjartan Mannes 4ec8a9323f - made some design changes to the user block. 2002-03-09 18:11:28 +00:00
Kjartan Mannes 52c9f26332 - made a link relative instead of absolute. 2002-03-09 17:56:19 +00:00
Kjartan Mannes 1fe8d6b195 - more typo bugs. 2002-03-05 22:10:21 +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
Kjartan Mannes 64c1b5f110 - updated configuration/user.module to use ini_get("sendmail_from") as
default value.
2002-02-20 22:44:25 +00:00
Kjartan Mannes c9fc36fcdc - made username check case insensitive. 2002-02-19 22:56:17 +00:00
Dries Buytaert aa256d3603 - Small update. 2002-02-19 19:48:05 +00:00
Steven Wittens fd59f5a199 - Added missing 'return' statement which broke username verification. 2002-02-18 16:42:24 +00:00
Kjartan Mannes 64d11e1cc2 - updated user_mail() to return the result from the mail() call. 2002-01-31 15:32:30 +00:00
Dries Buytaert d988dae61f - Applied Natrak's module improvements. 2002-01-30 18:15:02 +00:00
Dries Buytaert f9a508d5dd - Fixed more than 30 HTML and XML well-formedness errors. 2002-01-27 14:58:45 +00:00
Steven Wittens 362cccab7b Typo in docs: "system geenrated password " > "generated". 2002-01-23 19:45:31 +00:00
Kjartan Mannes 8c672011a2 - moved user block from theme.inc to user.module.
* only problem is that the admin.php link is not available until the
      admin enables the block.
    * $theme->user is obsolete, will patch the themes properly in a
      later patch.
- moved moderation block from theme.inc to queue.module.
    * removed theme_moderation_results().
- updated database/database.mysql.
2002-01-21 17:31:13 +00:00
Dries Buytaert 61edf798ee - Applied Marco's patch. See mailing list for more information. 2002-01-17 20:18:12 +00:00
Dries Buytaert 5b502e3a37 - Removed print-statement from user_mail(). 2002-01-16 21:46:56 +00:00
Dries Buytaert 47daf7f006 - Added some more explanations. 2002-01-12 12:51:21 +00:00
Dries Buytaert ca95b491ff - Updated some of the descriptions. 2002-01-11 22:09:11 +00:00
Dries Buytaert b1d86208eb - Applied Marco's first "remember me" patch. 2002-01-11 21:00:37 +00:00
Kjartan Mannes 3b5c380611 Session
- attempted to fixed crashes with the custom session handler.

External SMTP library
 - added functionality to have Drupal not use the default PHP mail()
   function. For more info see: http://www.drupal.org/node.php?id=44
   Note: for this to work all modules that send mails should use the
   Drupal function to send mail:
     user_mail($mail, $subject, $message, $header);

Calendar
 - added an archive page which users can use to find archives instead of
   the good old block.

Miscellaneous
 - fixed a "random" offset bug on module.inc that occurred on Windows.

All of this needs more testing, and further suggestions are welcome.
2002-01-09 14:35:40 +00:00
Dries Buytaert c71e133958 - Added about 50 title tags. 2002-01-07 22:08:52 +00:00
Dries Buytaert 01dfd4b2e0 A first tiny change:
- Made the "account settings"-link point to the "edit user information"
  page rather than the "view user information" page.

- Removed the "logout" link from the user menu (user_menu() function).
2002-01-05 22:23:19 +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 5ecedf72cf user.module:
- Fixed the session support.  Requires a database update.
  - Applied a tiny optimization suggested by deekayen.
2001-12-01 14:44:57 +00:00
Kjartan Mannes 90e207267f Applied patch by Moshe Weitzman
- fixes help text
- adds better login failure messages to user and to watchdog.
2001-11-19 19:40:31 +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
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 46ea3659dd - added a logout link to the user menu.
- fixed some untranslated strings in the user.module.
2001-10-25 13:25:36 +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
Kjartan Mannes 1539d4f428 - user.module should now return your user settings when you log in and not
just another log in box.
2001-10-18 11:12:00 +00:00
Dries Buytaert 33a3502dfe - Removed a node's link ID (lid) as discussed on the mailing list. See
'updates/3.00-to.x.xx.mysql' for the required MySQL updates.

- Renamed some "author" fields to "uid" fields for sake of consistency.

- Fixed the coding style of some PHP files.

- Fixed the moderation queue (fairly untested though).

- Re-introduced the temporary SQL table in _node_get().

- Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
2001-10-16 20:13:22 +00:00
Dries Buytaert d62b6dedaa - fixed problem with language setting not being saved: patch by Axel 2001-10-09 21:46:55 +00:00
Dries Buytaert f1932821be - PEAR-ification of Drupal by claw: you can now host Drupal on a wide
range of databases including MySQL, PostgreSQL, MSSQL, and others.

  For additional information and an 'how to upgrade', check the mails
  sent to the mailing list.
2001-10-09 21:01:47 +00:00
Dries Buytaert 7a9bc86bd2 - Improved search architecture derived from Axel's new search patches.
(There is room for improvement so let's go from these ... and build
  on them.)

- Removed some $status's by calls to node_status().
2001-10-03 20:57:01 +00:00
Dries Buytaert 6ce32718eb - fixed bug: 'account_perm()' should have been 'user_perm()' 2001-09-30 12:28:47 +00:00
Dries Buytaert a6379d2ee8 - replaced all 'header("Location: foo")'s by a call to 'drupal_goto()'
which will append the session ID to the uri 'foo' when PHP is compiled
  with '--enable-transe-sid'.
2001-09-30 11:09:22 +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 4a0e498f52 - a batch of updates, including some experimental changes to the moderation
of comments and nodes.
2001-09-27 20:51:26 +00:00
Dries Buytaert 7a1aee87c2 - added a new tracker.module (everybody kept nagging about the missing
"your drupal" feature). Tracker.module will be improved and expanded
  during the process.

- renamed a link in user.module
2001-09-20 20:57:35 +00:00
Dries Buytaert 57c399a00f - got rid of some unused warning / error messages 2001-09-20 18:57:21 +00:00
Dries Buytaert d0452dd5f6 - don't hash the password 2001-09-20 18:46:56 +00:00
Dries Buytaert a278b11a27 - added a password hash 2001-09-20 18:44:14 +00:00