Commit Graph

286 Commits (5ac59aacd2c5d60155b7236c588bed2e750b3e04)

Author SHA1 Message Date
Dries Buytaert 1f2d2b73dd - Fixed a CSS glitch. Thanks Al.
- Removed extraneous %uri's.
2003-03-14 20:33:53 +00:00
Dries Buytaert 127c6fd465 - Fixed translation bug.
- Fixed broken queries: use 'AND' instead of '&&'.  Reported by Neil.

- Fixed broken URLs in e-mails.  Reported by Stefaan.
2003-03-12 21:31:09 +00:00
Dries Buytaert cd31f11348 - Fixed request 583. Patch by Al. 2003-03-10 21:08:35 +00:00
Kjartan Mannes 1421c878d1 - Moved moderation logic back into node module.
* After having a chat with Dries we have agreed on the logics (or
      more specifically he told me how its supposed to work). The queue
      module is just a method to make moderation public, but its not
      necessarily the only way. This brings the power back.
- Minor interface tweaks (names, case changes, etc).
- Fixed error that would show when you tried to view the profile of a
  blocked user.
2003-03-09 17:19:50 +00:00
Dries Buytaert 738cebbaf2 - Moved some block up to avoid the user module duplicating data. 2003-03-09 15:50:26 +00:00
Dries Buytaert d659fedb38 - Removed the path_uri() function in favor of the $base_url variable and
fixes a handful of bugs introduced by the clean URL patch.
2003-03-07 06:37:30 +00:00
Dries Buytaert 223c224d43 - Grammar fix. Patch by Al. 2003-03-02 20:33:20 +00:00
Dries Buytaert 91dfef65af - Fixed some typos spotted by Al Maw. 2003-02-25 19:52:32 +00:00
Dries Buytaert 277ceae515 - New menu houskeeping. Prototyped by Zbynek.
The following modules need updating:
    * glossary module
    * feed module (Breyten's version)
    * mailhandler module
    * notify module
    * project module
    * smileys module
    * admin module
    * style module
    * taxonomy_dhtml module

  To avoid unexpected problems menu_add() is deprecated (it will print an
  error message when used) and menu() should be used instead.
2003-02-20 22:44:51 +00:00
Dries Buytaert 52314ddc32 - Theme options patch. See mailing list. 2003-02-17 22:33:31 +00:00
Kjartan Mannes a76151351e - Modifying user_validate_mail() to accept more e-mail addresses. 2003-02-15 20:52:28 +00:00
Dries Buytaert 83f5d82876 - Everything is using theme("function") now instead of $theme->function(). 2003-02-15 11:39:56 +00:00
Dries Buytaert e90f3b883b - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. 2003-02-11 20:01:17 +00:00
Dries Buytaert 3d3a60740a - Changed '%s' into '%d' such that an empty $user->uid is converted to 0. Requi
red for Drupal to work on new versions of PostgreSQL.  Patch by James.
2003-02-09 18:06:31 +00:00
Dries Buytaert 5b720be335 - Corrected misplaced quote. Reported by Gerhard. 2003-01-29 18:40:47 +00:00
Dries Buytaert 637004c539 - Tidied up XHTML. Patch by Ulf.
- Added missing t() function.  Patch by Stefan.
2003-01-23 09:24:20 +00:00
Dries Buytaert 73d46a64c3 - Tidied up some SQL queries. 2003-01-20 20:18:06 +00:00
Dries Buytaert 045f92d2b7 - Fixed bug/warning when an anonymous users tries to post a node. Reported
by David.
2003-01-15 19:51:08 +00:00
Dries Buytaert d268783669 - Small improvement to the admin menu based on feedback from Michael. 2003-01-14 20:33:42 +00:00
Dries Buytaert ba3eead0d6 - Made sure the text doesn't wrap. 2003-01-10 22:19:47 +00:00
Dries Buytaert 89b2069e4d - Clean URL patch. 2003-01-06 19:51:01 +00:00
Dries Buytaert 8a63646576 - Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link.

- Made the main page of the administration section show an overview of all
  watchdog entries with such action link.

- Fixed typo in PostgreSQL database scheme.
2003-01-04 11:03:15 +00:00
Dries Buytaert de95001c92 - Tidied up the use of check_output(). Might make rendering pages a bit
snappier (performance improvement).
2002-12-31 12:34:07 +00:00
Dries Buytaert 74d315b34a - Usability improvement: made the remaining user administration pages use
the new table rendering functions; access rule table, permission table,
  role table, etc.

- Usability improvement: made the permission table translatable.  Requested
  by Stefan.

- Code improvement: removed some redundant check_output()s.
2002-12-29 13:46:30 +00:00
Dries Buytaert d9919f50c5 CHANGES:
- Usability improvement: made the user administration pages use the
  new table rendering functions.

- Usability improvement: added pager support to the user administration
  pages.

- Code improvement: fixed code indentation.
2002-12-29 13:14:38 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert 5b39f6767e * Applied slightly modified version of Marco's taxonomy patch:
- Fixed a bug with get_tree and multiple parents.
 - Fixed 3 wrong caches (this will avoid some queries).
 - Extension to taxonomy_term_count_nodes() (feature #159): "currently
   calling taxonomy_term_count_nodes() returns the amount of nodes in each
   term, would it be possible to extend this function so that it would only
   return the amount of nodes of a certain type under each term.
 - Confirm deleting a vocabulary or a term (requested by Moshe).
 - Use form_weight() in vocabulary and term forms.
 - After submitting a term, we end up at the term page (requested by Moshe).
 - Added status messages when adding, editing and deleting vocabularies and
   terms
 - Minor clean ups

* Made sure all modules use the same link delimiter; "|" for now.
2002-12-02 19:14:41 +00:00
Dries Buytaert 61b76fa2c1 - Fixed the "affiliate" text when all distributed authententication modules
are disabled.  Patch by Gerhard.
2002-11-25 17:56:38 +00:00
Dries Buytaert 908cb55470 - Applied Stefan's t()-function patches. 2002-11-10 20:51:46 +00:00
Dries Buytaert 51f4b91e51 * User patch by Natrak:
- Moved the Drupal login XML-RPC API to drupal.module.
 - DA logins are now assigned the proper role.
2002-11-09 21:46:54 +00:00
Dries Buytaert 562df8fe43 * Added Jeremy's pager:
"This is a simple, generic pager for Drupal-CVS.  It is designed to be
  easily themeable and expandable.  The code is highly-commented to
  enhance readability."

 "Pagers are constructed by combining the provided pieces (all of which
  can be easily modified to display the text or image you prefer) into
  your custom pager."

* Statistics module fixes by Jeremy:

 - removed superfluous check for existence of watchdog()
 - saving changes in admin page displays status and returns same page
 - no longer return 1971/01/01 in "view statistics" table
 - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance
 - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as
   max_timestamp" moving towards ANSI-SQL compliance.

* Added a "theme_item_list" function to format itemized lists.  Also
  changed a couple of modules to take advantage of it.  Makes for a
  more consistent UI.
2002-11-09 13:59:36 +00:00
Dries Buytaert cc381c1461 - Fixed glitch in block module: the admin links were not composed
correctly.  Patch by Stefan.

- Added missing t() functions and improved the %x directives for
  better readability and to ease the process of translating your
  site.  Patches by Stefan.

- Made two small additions to the 'code-clean.sh' script; it will
  now remove patch related junk.

NOTES:

- I removed the &middot; related bits.  Let's tackle these later on
  in a separate patch after we got some sort of consensus.

- I removed the 'module_exist("drupal")' check in the user module;
  I *think* it is incomplete and therefore incorrect.

- Stefan, try using quotes in your translations and check whether
  everything still works.  Example: translate the "Create account"
  button to "Create \"haha\" account \'hihi\'" and see if you can
  still create new accounts.  Maybe automate this using a quick
  hack in the locale module ...
2002-11-01 10:47:20 +00:00
Dries Buytaert 8d103a0898 - Committed Marco's block rewrite:
+ Blocks are not longer called if not rendered: major performance
     improvement.
   + Fixed some bugs (preview option was broken, path option was broken).
   + Removed "ascii"-type blocks.
   + Added permission to for "PHP blocks"
   + ...

  NOTES:

   + You'll want to run "update.php":

       ALTER TABLE blocks DROP remove;
       ALTER TABLE blocks DROP name;

   + You'll want to update your custom modules as well as the modules in
     the contrib repository.  Block function should now read:

       function *_block($op = "list", $delta = 0) {
         if ($op == "list") {
           return array of block infos
         }
         else {
           return subject and content of $delta block
         }
       }
2002-10-26 15:17:26 +00:00
Dries Buytaert 66c5b70736 - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
a drupal_error() later on but I think we better get used to theme_invoke().

- Fixed translation bug.  Patch by Moshe.

- Fixed PHP warning.  Patch by ax.
2002-10-22 18:46:43 +00:00
Dries Buytaert 4ad8996ff7 - Fixed bug in user_save().
- Added "Who's new" block.  I accidentically removed it.
2002-10-13 18:44:09 +00:00
Dries Buytaert fcae7030cc - Committed Jeremy's incarnation of the statistics module. Last minutes
changes include:

    * a couple of coding style changes, renamed some "stats" into
      "statistics", etc.

    * removed the "Who's online" block from the user module.

    * added db_affected_rows() to the resp. database abstraction
      layers and made the statistics module use db_affected_rows()
      instead.

    * added update logic to "update.php".
2002-10-13 12:00:50 +00:00
Dries Buytaert f06239caf7 - Fixed warning in user module. 2002-10-07 20:40:19 +00:00
Kjartan Mannes ba75605e89 - coding style improvements. 2002-09-30 08:58:22 +00:00
Kjartan Mannes 9347252fb9 - fixing user registration and field validation. 2002-09-25 22:05:47 +00:00
Dries Buytaert 2ba4c42ee1 - Fixed e-mail regex to accept ".info" TLDs as well as other future TLDs,
fixed e-mail regex to accept IP addresses (eg. 127.0.0.1), changed some
  HTML to XHTML, fixed some cosmetic glitches, etc.
2002-09-17 18:32:00 +00:00
Kjartan Mannes d164384e62 - fixing a typo (was missing a $). 2002-09-10 10:53:10 +00:00
Kjartan Mannes 8f868e2fd9 - adding "Default theme" option to user_admin_edit() 2002-09-08 18:53:09 +00:00
Kjartan Mannes bd650f9f8e - fixing creation of first user.
- password is now printed for uid 1.
- made user_fields() always return something.
2002-09-08 18:48:49 +00:00
Kjartan Mannes c766305ce5 - use <?pjp instead of <?. //TODO: check other files to make sure they are
not using short tags.
2002-09-08 18:02:24 +00:00
Dries Buytaert 9df234e63b - Removed a MySQL-ism from the user module. Patch by James.
- Fixed the "uid < 0" issue.  Fix by Marco.
2002-08-18 12:36:02 +00:00
Dries Buytaert fc143e79a7 - Changed a MySQL-ism to be ANSI SQL/PostgreSQL compliant. Patch by jaa. 2002-08-16 07:28:27 +00:00
Dries Buytaert f5173ef233 - Applied user.module patch from Marco's sandbox.
- Added profile.module written by Marco.
2002-08-08 18:52:55 +00:00
Kjartan Mannes bb19e0bb45 - fixing email regular expression. 2002-07-31 08:01:34 +00:00
Kjartan Mannes 12bc70569e - preventing a segfault in PHP. Can someone verify that session writing still works? 2002-07-26 10:28:55 +00:00
Dries Buytaert ef03e6a36c - Fixed small bug in user.module. Patch by Marco. 2002-07-13 13:03:44 +00:00
Kjartan Mannes a5c05512fc - added some missing title attributs to links. 2002-06-14 13:48:35 +00:00
Kjartan Mannes 53a53ce6db - fixing an error when no DA modules were loaded.
- indentation issue in node module.
2002-06-13 09:19:17 +00:00
Kjartan Mannes b06bbe7481 - default theme added to theme options + some clean up.
- title of "blog it" item is used as default node title.
- added link to news feed admin pages on import_page.
- "blog it" link only shows when the blog module is available.
2002-06-10 19:49:16 +00:00
Kjartan Mannes 167955dfb0 - fixing outgoing mails and added some documentation. 2002-06-09 17:24:42 +00:00
Dries Buytaert 359ff9539e - Some small editorial changes to the user module. 2002-06-09 08:17:55 +00:00
Dries Buytaert 2d5630bb48 - Included Moshe's *excellent* user module documentation.
NOTE: I remove the gravity stuff as this optional and already documented
         in rating.module.
2002-06-09 07:44:12 +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 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
Dries Buytaert f770b7861e - Small detail in the help. 2002-06-08 07:09:02 +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
Kjartan Mannes d5023adb4c - fixing who is online block. 2002-05-31 11:03:54 +00:00
Kjartan Mannes 0b596a8ec4 - modified the user blocks to use the same layout and trim long usernames to
keep the blocks from ruining theme layouts.
2002-05-29 17:19:20 +00:00
Kjartan Mannes f711baceb7 - the user_admin_edit() would loose the theme settings.
- added some more help text to page.module.
2002-05-24 12:27:10 +00:00
Kjartan Mannes 66e1bbfb93 - pending user accounts will not be notified to the site_email.
- fixed access checks on the register form, do this before you enter the
  _save function. If registrations are disabled the register link will
  no longer show (again).
- changed &#187 to &raquo, using the names of entities are better than
  the numbers.
- fixed user information being set when account is registered (properly this
  time, really!)
- reversed the if(!...) commit.
- node_add specifies more defaults.
- added link to blog entries from user page.
2002-05-23 14:14:48 +00:00
Kjartan Mannes d62d65ae7e - fixing the last fixes. 2002-05-22 22:55:14 +00:00
Dries Buytaert 6d3be31eb2 - Fixed typo in the "request new password" e-mail:
diff -r1.69 user.module
869c869
<       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site. You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") ."\n\nYour new %site membership also enables to you to login to other Drupal powered web sites (e.g. http://www.drop.org) without registering. Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n--  %site team")), $variables);
---
>       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site.  You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") .".\n\nYour new %site membership also enables you to login to other Drupal powered web sites (e.g. http://www.drop.org/) without registering.  Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n-- %site team")), $variables);
2002-05-20 09:31:58 +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
Steven Wittens 71c7b8465c Fixed bug reported by Gerhard:
module.php?mod=login should be module.php?mod=user&op=login in the emails that user.mod sends out.
2002-05-17 14:40:58 +00:00
Kjartan Mannes 35f44e83f8 - xhtml errors
- improper link attributes.
2002-05-15 20:39:55 +00:00
Kjartan Mannes f86a944979 - applied Stevens link patch.
- fixed block permissions.
- fixed user admin page errors: http://www.drupal.org/node.php?id=173.
- cleaned up common.inc a bit: removed format_info, path_img, field_merge.
2002-05-12 15:40:57 +00:00
Kjartan Mannes a93b2a1740 - user.module used a obsolete variable_get.
- set blocks for new users.
2002-05-02 20:32:36 +00:00
Dries Buytaert 73430ade47 Applied Moshe's user module improvements:
- Admins may now change passwords for users.

 - Confirmation message for user_admin_edit is now formatted by standard
   status() function.

 - Improved user experience for anonymous users when they browse to an
   access controlled URL.  Such users will now login and then are
   redirected to the destination URL.  Previously, they received the
   message_access() text.

 - Added a "Who's new" block.
2002-05-02 19:56:51 +00:00
Kjartan Mannes 891cad97a3 - clearing extra spaces from user.module.
- patching weblogs.module.
2002-05-02 14:59:45 +00:00
Kjartan Mannes 4847fe188b - fixed a few coding style issues.
- got the _nasty_ Netscape 4 bug. Even wrote a nice blog about it. Now I
  need sleep.
  http://www.kjartan.net/node.php?id=53
- fixed the register now link showing up when user registration are disabled.
2002-05-01 12:34:04 +00:00
Kjartan Mannes f423f91d37 - fixed the son of session crash. Its amazing how vitally important it is to return
valid data is to PHP.. one mistake and things start to crash at random times.
2002-04-29 18:10:56 +00:00
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
Dries Buytaert dfa44f2f3d - fixed language bug in user.module 2001-09-19 17:31:23 +00:00
Kjartan Mannes 288f198655 - use $HTTP_SERVER_VARS instead of $GLOBAL[REMOTE_ADDR] to be
less reliant on php config.
2001-09-18 21:25:38 +00:00
Dries Buytaert 75982edbd2 - fixed another bug in the new user.module (reported by Remco). 2001-09-18 21:13:52 +00:00
Dries Buytaert 7bcd338292 - an attempt to work around a getenv() problem 2001-09-18 20:50:03 +00:00
Dries Buytaert ca85a56f1b - Fixed 2 typos in the user module. Thanks Axel and Remco.
- Applied (modified versions of) Alexander's patches on the development
  branch.
2001-09-18 18:39:15 +00:00
Dries Buytaert c5a349ca51 - added the "Log in" block 2001-09-16 16:05:16 +00:00
Dries Buytaert 64a6fbc790 - added the search functionality 2001-09-16 13:53:45 +00:00
Dries Buytaert 22b8be2c9e - fixed the access_get_role() problem reported by Remco 2001-09-16 13:15:28 +00:00
Dries Buytaert 2d1e9126cb - Added the new user module! 2001-09-16 11:33:14 +00:00
Dries Buytaert f358893b52 - Added the new user module! 2001-09-16 11:29:46 +00:00