Commit Graph

303 Commits (f54aab6a3eff4d917e1768f340b4774aec5bef61)

Author SHA1 Message Date
Dries Buytaert 4b0b2d02ee - Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
2004-02-15 20:09:46 +00:00
Dries Buytaert bd78422715 - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)
- Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
2004-02-15 15:19:36 +00:00
Dries Buytaert f137b26979 - Patch 4902 by Goba:
+ only adds an optional parameter to url() and l(), so individual links
    can be set to be absolute
  + modifies drupal_goto() to accept the parameters of url() without the
    $absolute parameter, so cleaner invocations can be used
  + rework of some code in node_feed, making it much better to look at
    (the current code uses foreach with an immediate brake to get the first
    key of the associative array, geeeeez)
  + added xml:base to the rss tag generated by node_feed()
  + set all user mail URLs to be absolute
  + fix a small fragmented URL in user.module
2004-02-11 19:21:14 +00:00
Steven Wittens 1c5a3947d1 Bugfix: new user registration was broken.
See: http://drupal.org/node/view/5741
2004-02-09 05:38:32 +00:00
Dries Buytaert 991cb5c982 Patch 5554 by Goba (slightly modified):
- Modifies _user_mail_text() to automatically override the default
    strings when needed and apply t() on the strings. This lets Drupal translators
    include default messages in translations, and also removes a lot of repeated code.
    Modified the internal $messageid of the approval message from
    welcome_approval_body/subject to approval_body/subject, so automatic variable
    name computation can be done. This does not affect any variable table keys, since
    the change was especially done to keep the variable names...

  - Adds %login_uri and %edit_uri to move away from the concatenation approach used in
    the default messages, thus making those messages visible for the .po extractor

  - Uses direct return in help text generation when no more action need to be taken
    on the help string (the '$output .=' approach was just plain silly looking and
    misleading, since there was no preceding or appended string in $output)
2004-02-08 18:38:15 +00:00
Dries Buytaert 229ac8dec4 - Small bugfix. 2004-02-07 17:24:38 +00:00
Dries Buytaert e28bbf6739 - Batch two with profile module improvements:
+ Reworked the 'account administration' page.
   + Fixed bug in the 'edit account' page.
   + Removed some dead code from the system.module.
2004-02-07 16:59:34 +00:00
Dries Buytaert 5a8129e0fb - First batch of profile module improvements:
+ Tidied up the profile configuration page: grouped form elements.

   + Tidied up the block configuration settings: removed hard-coded
     table.

   + Changed the profile API to return the preferred group name, and
     changed the user module to group settings.  Modules implementing
     the _user hook will need to be udpated.

   + Removed register_form and register_validate for now.
2004-02-07 16:18:46 +00:00
Dries Buytaert c6deda88ef - Patch #5048 by flevour: added missing t() function. 2004-02-07 10:46:46 +00:00
Dries Buytaert fd64c56ec1 - Removed the 'remember me' feature. It has been broken for many months.
When an elegant fix is found, it will reappear.
2004-02-06 22:58:03 +00:00
Dries Buytaert 384ae54cf6 - Cleanup: modified some context-sensitive help, changed "s to 's, added
<legend> and <fieldset> tags, used drupal_set_message() to print a
  status message and removed some dead code.
2004-01-31 09:50:39 +00:00
Dries Buytaert 66190b1787 - Patch #5393 by Goba: changes the search hook return value, and requires an array
containing two elements, the first being the requested title, and the second being
  the result list. Advantages:
    * Cleaner search code in common.inc
    * Po extraction is possible and works fine
    * No hardcoded exceptions for node and comment modules, since any module can
      return results in order of relevance (or another order)
2004-01-26 19:22:22 +00:00
Dries Buytaert 8a913ffe7c - Removed the 'Page not found' message after the initial install and removed
some old user module logic to install the initial role IDs.
2004-01-24 16:54:22 +00:00
Dries Buytaert b85eb11e11 Patch 5287 by Stefan: multiline help texts should become inside a single $output. 2004-01-23 18:42:43 +00:00
Dries Buytaert f1dfe0639a - Bug 5285: fixed broken URLs in user module. Patch by Stefan. 2004-01-21 17:26:59 +00:00
Dries Buytaert eee72bfa95 - Patch 4859: new drupal_unpack() consolidates duplicate code and makes it
easy to show avatars next to nodes and comments.  Patch by Moshe.  As a
  showcase, maybe Xtemplate should have an option to enable/disable avatars?
2004-01-13 19:25:37 +00:00
Dries Buytaert a8b8c247db - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. 2004-01-11 20:31:26 +00:00
Dries Buytaert 6ec582fd9c - Fixed bug #5074: standarized the user log messages. 2004-01-11 19:44:15 +00:00
Dries Buytaert 30fb23451f - Changed some boxes to fieldsets/lengeds. 2004-01-05 19:33:58 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert 90a5a6cf6e - Updated the user login block to validate as XHTML strict: the
<div class="user-login-block"> is now inside the <form> instead of the
  other way around.

- Simplified the user login block by removing some CSS that was no longer
  needed.  The block module already emits block-related classes and an id.
2003-12-29 13:51:59 +00:00
Dries Buytaert baaa21e131 - Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend. 2003-12-28 10:47:33 +00:00
Dries Buytaert 097f6209e5 - First take at improving the user module's code: replaced the custom error
printing with calls to drupal_set_message().
2003-12-26 13:44:18 +00:00
Dries Buytaert de19dc5129 - Tiny change for sake of consistency: Blocked -> blocked, Active -> active. 2003-12-24 10:56:47 +00:00
Dries Buytaert 770174b299 - Updated documentation, small bug fix and small improvements to the <label>
tags.

  To be discussed and investigated: when a form element has no title an empty
  <label> tag will be emitted (eg. "remember me" checkbox).  This doesn't make
  sense but is our best option for now.
2003-12-22 15:38:07 +00:00
Dries Buytaert 0439e3495c - Fixed password field. 2003-12-22 15:06:46 +00:00
Dries Buytaert e06cdc577e - Fixed bug 4667: users with the deleted role are put back in the authenticated
users pool.
2003-12-18 21:33:04 +00:00
Dries Buytaert d5c8026454 - Updated the calls to menu() to use MENU_HIDE instead of 1 2003-12-17 22:27:23 +00:00
Dries Buytaert e728cfbabd - The 'my account' link is already part of the navigation block. 2003-12-13 17:59:49 +00:00
Dries Buytaert d33f3973f7 - Committed Gerhard's user hook patch. Patch 143. 2003-12-13 15:22:29 +00:00
Dries Buytaert 712a30b520 - Improvements by Goba:
+ removes the lots of pagers and indirect pager themeing
  + add the theme_pager() function, which should be called as
    theme("pager", ...) to get a pager.
2003-12-08 18:30:20 +00:00
Dries Buytaert 427364a5f5 - Fixed visual glitch in "Who's online" block. Patch by Jeremy. 2003-12-08 17:46:21 +00:00
Dries Buytaert 71eac6dddc - Made the who's online block adhere better to the max user setting. 2003-12-07 18:09:28 +00:00
Dries Buytaert 02f436b6cb - Improved the way the "Who's online" block is visualized when the list of
online users is truncated by to maximum user list length setting.
2003-12-06 16:36:17 +00:00
Dries Buytaert 237124c814 - Fixed bug #4416: added status checks to user_pass() to prevent mailing
new passwords to blocked user accounts.
2003-12-05 08:20:28 +00:00
Dries Buytaert d45bf0f1e7 - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc. 2003-12-04 20:53:19 +00:00
Dries Buytaert a5f76cd53e - Patch 180 by Jeremy: made the "Who is online" block respect the "user list length"
settings.
2003-12-04 06:16:07 +00:00
Dries Buytaert 4e2c0b250e - Introduced a drupal_set_message() and drupal_get_message() function.
Contributed themes and modules need to be updated:
   - modules: status() is no more; use drupal_set_message() instead.
   - themes: use drupal_get_message() to check for status messages and
     visualize them.
2003-12-01 13:45:33 +00:00
Dries Buytaert acf572473b - Fixed broken usernames in 'Who's new' block. 2003-11-28 20:58:20 +00:00
Dries Buytaert 733d286b89 - Made it possible to auto-throttle blocks. That is, blocks can be
configured to be disabled when under excessive load.  Patch by Jeremy.
2003-11-28 20:03:00 +00:00
Dries Buytaert fa5aca1ef7 - Fixed error messages not being shown. Patch by Matt. 2003-11-28 19:22:23 +00:00
Dries Buytaert eff70f1751 - Cleaned up user_settings(). Patch by Jeremy. 2003-11-27 06:30:22 +00:00
Dries Buytaert 18d81e5ed3 - Fixed two typos. Reported by Jeremy. 2003-11-25 20:45:05 +00:00
Dries Buytaert 506fe741ec - Moved the "Who's online" block from the statistics module to the user module
as the code no longer relies on the statistics module.  In addition, some
  code has been simplified and other bits have been removed.  Patch by Jeremy.
2003-11-25 19:54:00 +00:00
Dries Buytaert c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +00:00
Dries Buytaert f505fb9c97 - Synchronized some page and link titles. 2003-11-23 14:02:35 +00:00
Dries Buytaert 26735ac5dd - Committed phase 3 of JonBob's menu changes. Adds an API for modules to
define titles and breadcrumbs for their pages, and updates the theme
  system to display them.
2003-11-23 10:41:04 +00:00
Dries Buytaert 5963759e5d - Fixed menu problem so users can log in. Patch by Jonathan. 2003-11-21 06:38:01 +00:00
Dries Buytaert 4bdac4333b - Patch by JonBob:
Phase 2 of the menu system integration project. This unifies the interface
  used by admin and non-admin pages, and deprecates the _page hook in favor of
  explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
  as a result of this patch; they will return in the phase 3 patch, printed
  by the theme.
2003-11-20 21:51:23 +00:00
Dries Buytaert 9000f825cc - Flush cache after changing user permissions. Patch by Gerhard. 2003-11-20 21:08:07 +00:00