Commit Graph

286 Commits (5ac59aacd2c5d60155b7236c588bed2e750b3e04)

Author SHA1 Message Date
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
Kjartan Mannes 2ffa04f5f2 - Fixes bug #4100: First visit to site results in 'access denied' page.
- Fixed sess_write().
- Removed dead code in index.php.
2003-11-18 23:37:48 +00:00
Dries Buytaert a0640e66b7 - Improved module loading when serving cached pages. Moshe's bootstrap patch.
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00
Dries Buytaert 36bb57555c - table(...) -> theme("table", ...) 2003-11-13 19:52:54 +00:00
Dries Buytaert f3c26069ac User module patch by Kjartan:
- Optimized user_external_load(), only need to fetch the data once.
- Removed unused functions:
  user_get()
  user_set()
  theme_menu_list()
- Fixed user_validate_name() to not accept \.
- Modified user_validate_name() to use alnum, which varies depending on
  the system locale.
- Optimized user_validate_name() to not use unnecessary regular
  expressions.
- Optimized user_access() by using less logic to fetch permissions and
  cache.
- Removed uncessary logic from user_deny().
- Fixed user_fields() to properly cache $fields.
- Optimized user_set_authmaps() to not perform unnecessary queries.
- Removed return value from user_set_authmaps().
2003-11-10 11:49:36 +00:00
Dries Buytaert 951b553a98 - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. 2003-11-09 23:27:22 +00:00
Dries Buytaert 92995414b4 - Committed stage 1 of the menu callbacks improvements. Patch by Jonathan. 2003-11-08 09:56:22 +00:00
Dries Buytaert ef0fa006ed - Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.
2003-11-07 19:03:35 +00:00
Dries Buytaert ec33266795 - Improvement: made it possible to disable the comment controls and reworded some of the configuration settings.
- Improvement: removed a left-over from Drupal 4.2.0 (dead code).

- Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon".

- Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block.  The "my account" link in the navigation menu will unfold.  Also removed the "delete account" link/functionality (for now).

- Improvement: fix for "magic quotes" settings.  Patch by Steven.  I also removed check_php_settings().

- Improvement: block themability improvements.  Modified patch from Ax and Steve/CodeMonkeyX.

- Fixed bug #2617: editing user information does not work.  Patch by Kjartan.
2003-10-31 19:34:03 +00:00
Dries Buytaert dedb08a540 - Small corrections to the punctuation. 2003-10-28 19:42:10 +00:00
Dries Buytaert cf92958f3c - Bugfix: fixed usernames being shown in the "Who is online" block after
you logged out.  Patch by Jeremy.

- Bugfix: fixed the authmap table in the MSSQL scheme.  Patch by Moshe.

- Bugfix: properly themes some error messages in the user module.  Patch
  by Moshe.
2003-10-28 19:27:52 +00:00
Dries Buytaert c54b68c8da - Bugfix: removed depricated documentation. 2003-10-23 15:09:12 +00:00
Dries Buytaert 742410aafd - Bugfix: prefix not prepended to sequences. Fixes bug #3639.
Make sure to write:

    db_next_id({table}_field);

  instead of:

    db_next_id(table_field);
2003-10-22 13:03:32 +00:00
Dries Buytaert 752c0eb70e - Bugfix: changed id="menu" to class="menu" to avoid id="menu" being emitted
twice.  Patch by Jim Riggs.
2003-10-21 19:32:31 +00:00
Dries Buytaert 71db4f261a - Bugfix: don't list the anonymous user on the account overview pages. Fixes
bug #3688.
2003-10-21 17:58:05 +00:00
Dries Buytaert f54c384381 - Bugfix: fixed form() being called incorrectly. Fixed bug #3699 reported
by Julian.
2003-10-20 20:14:46 +00:00
Dries Buytaert 7f09419564 - Bugfix: fixed two problems with adding and deleting access rules. Patch by
Moshe.  Requires database upgrade.
2003-10-20 07:12:00 +00:00
Dries Buytaert 880842885b - Fixed bug #3637: made comment module settings translatable. Patch #13 by Moshe.
- Fixed bug #3642: removed duplicate settings from user page.  Patch #14 by Moshe.

- Fixed bug #3503: added 'forum topic' link to the 'create content' menu.  Patch
  by Gobar.  I think this might be more intuitive and consistent code-wise; I don't
  want to introduce small hacks.

- Cache improvement: small cache improvement to prevent SQL errors.  Patch by
  Jeremy.
2003-10-16 17:29:26 +00:00