Commit Graph

1018 Commits (372846e1dcac8f28ce0ace61c0e7da3993f23cef)

Author SHA1 Message Date
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 0b9e7c07e8 - Patch #265899 by mfb: uri_brief mail token did not support https URLs. 2008-08-17 10:46:30 +00:00
Dries Buytaert dbdda5471e - Patch #237381 by beeradb, flobruit: renamed () parameter from user_save() to . 2008-08-14 19:37:22 +00:00
Dries Buytaert 9db1abf5aa - Patch #165642 by Damien Tournoud et al: fixed SQL error. 2008-08-08 19:48:43 +00:00
Dries Buytaert e1dd1e3482 - Patch #218189 by Arancaytar, fago, et al: invoke hook_user before deleting user from database. 2008-08-02 20:08:24 +00:00
Dries Buytaert 135937eb03 - Patch #286378 by TapocoL: fixed undefined index warning. 2008-07-24 16:28:52 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert 32afb32935 - Patch #266488 by Damien Tournoud: cleanup for user_validate_name(). 2008-06-27 07:25:11 +00:00
Dries Buytaert 2877c1027a - Patch #266488 by Damien Tournoud, nbz, Heine, MadHarold, et al: clean-up user_validate_name(), allow astrophes, removed some cruft and made the tests more compact. 2008-06-26 19:47:02 +00:00
Dries Buytaert 6e2358b232 - Patch #270045 by drewish, Susurrus: clean up return values. 2008-06-18 03:36:24 +00:00
Dries Buytaert ecb032a239 - Patch #151902 by MadHarold et al: a better format_size() (and removed some excessive white space). 2008-06-09 08:11:45 +00:00
Dries Buytaert 76aedbefe0 - Patch #267813 by alpritt: fixed some user module tests. 2008-06-08 19:50:54 +00:00
Dries Buytaert 3ec46f935a - Patch #253506 by flobruit, catch et al: removed duplicate upload.test. 2008-06-06 16:57:16 +00:00
Dries Buytaert 5c9d4b9c97 - Patch #253506 by Daniel, flobruit and catch: made the upload tests work. 2008-06-06 10:36:45 +00:00
Dries Buytaert 4cdbf9c078 - Patch #260505 by flobruit: updated the user module tests to be consistent with the code. 2008-06-02 17:42:58 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert c529e4afbe - Patch #101543 by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert 21000956a2 - Patch #259463 by dmitrig01: notification e-mail for pending user registrations had blank subject line. 2008-05-17 17:02:56 +00:00
Dries Buytaert b9f1018ea4 - Patch #73874 by pwolanin: normalize the permissions table and wrote simpletests for the (new) permission handling. At last. 2008-05-07 19:34:24 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert d1bc889242 - Patch #227830 by JohnAlbin: link attributes added to l() incorrectly. 2008-05-02 15:11:05 +00:00
Dries Buytaert f6bfbec8a2 - Patch #249608 by boombatower: user registration test doesn't set required variables. 2008-04-30 06:43:30 +00:00
Dries Buytaert 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert 9feab1f2ea - Patch #228594 by catch and flobruit: some code clean-up. 2008-04-19 17:10:50 +00:00
Dries Buytaert 46546ef478 - Patch #175841 by catch et al: remove comment controls for users. Yowza. 2008-04-16 11:26:29 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 79b016d915 - Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php.  The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:

    block-user-0.tpl.php --> block-user-navigation.tpl.php
    block-user-1.tpl.php --> block-user-login.tpl.php

  You get the picture.
2008-04-10 10:28:23 +00:00
Dries Buytaert 1dc36aa3d3 - Patch #244597 by drumm: remove login form text as this can now be accomplished using hook form_alter. 2008-04-10 01:35:31 +00:00
Dries Buytaert 08aa23227e - Patch #228594 by catch et al: removed access rule functionality from core.
The access rules capability of user module has been stripped down to a
  simple method for blocking IP addresses. E-mail and username restrictions
  are now available in a contributed module. IP address range blocking is
  no longer supported and should be done at the server level.

  This patch is partly motiviated by the fact that at the usability testing,
  it frequently came up that users went to "access rules" when trying to
  configure their site settings.
2008-04-08 22:50:55 +00:00
Dries Buytaert ed59911f9e - Patch #29706 by pwolanin, solardiz, et al: more secure password hashing.
This is a big and important patch for Drupal's security.  We are switching
  to much stronger password hashes that are also compatible with the Portable
  PHP password hashing framework.

  The new password hashes defeat a number of attacks, including:

  - The ability to try candidate passwords against multiple hashes at once.
  - The ability to use pre-hashed lists of candidate passwords.
  - The ability to determine whether two users have the same (or different)
    password without actually having to guess one of the passwords.

  Also implemented a pluggable password hashing API (similar to how an alternate
  cache mechanism can be used) to allow developers to readily substitute an
  alternative hashing and authentication scheme.

  Thanks all!
2008-03-31 20:50:05 +00:00
Dries Buytaert e89ead0ae2 - Patch #226501 by webchick: permission descriptions were used incorrectly at admin/user/user. 2008-03-19 07:35:15 +00:00
Dries Buytaert f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +00:00
Dries Buytaert 584f3e886a - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert 38e0ab1f62 - Patch #181578 by Moshe: removed distributed authentication code from user_save(). Factored the relevant code out to a separate function. 2008-02-18 19:34:08 +00:00
Dries Buytaert b05db1f176 - Patch #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 60688d68db - Patch #181411 by Moshe: use schema API for saving and updating user records. 2008-02-18 16:53:37 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy c306d56a74 #216858 by jvandyk, moshe weitzman: fix plain wrong and misleading user module phpdoc blocks 2008-02-03 19:23:01 +00:00
Gábor Hojtsy 7747e1e8e0 #215335 by jvandyk: fix user_login_submit() phpdoc 2008-01-29 18:56:56 +00:00
Gábor Hojtsy a44341a822 #208888 by jvandyk: set access time when externally authenticated user first logs in 2008-01-27 20:00:46 +00:00
Gábor Hojtsy ba5468e508 #119038 by ximo, Pancho: user role editing usability: include disabled checkbox for authenticated role 2008-01-22 07:51:56 +00:00
Gábor Hojtsy 5ecb68806b #210211 by chx, theborg: removing the broken admin user search, which would provide the same as the public facing user search anyway 2008-01-16 22:54:41 +00:00
Gábor Hojtsy 33633c5c59 #18954 follow up by myself: restore user role name editing 2008-01-10 21:42:59 +00:00
Gábor Hojtsy b17cd3b613 #18954 by kkaefer, Pancho: built-in role names were not translated and some user_roles() call cleanups 2008-01-10 20:22:57 +00:00
Gábor Hojtsy a816feaddf #206078 by Pancho, traxer: order roles with system roles first (usability) 2008-01-10 16:00:44 +00:00
Gábor Hojtsy c5aa55b38e #204705 by pwolanin: abort user_save on SQL errors, to avoid data corruption 2008-01-10 15:03:53 +00:00
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Gábor Hojtsy 0ab0b1d65f #164532 follow up by pwolanin, David Strauss, catch and myself, testing also by hswong3i: some indexes added before Drupal 6 RC1 were too unique, and our code did not back them, so we should not add those indexes 2008-01-08 07:46:41 +00:00
Dries Buytaert a67e33054c - Patch #206434 by meba: added missing doc in string. 2008-01-05 22:34:54 +00:00
Gábor Hojtsy 33e8024752 #135329 follow up: rolling back some of the user password request form changes, so user names in email address format (eg. site_network module) will still work 2008-01-02 12:57:37 +00:00
Dries Buytaert 178c28535b - Patch #204900 by webernet: code style fixes. Likely my last patch of the year. Fiew. Thanks all, and see you on the other side. :) 2007-12-31 08:54:37 +00:00
Dries Buytaert a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 79d927f7aa #152497 by bjaspan, with more docs from myself: user_external_login() was not updated to latest login process 2007-12-27 16:00:09 +00:00
Gábor Hojtsy 34afaf8f28 #176748 follow up by pwolanin: fix bad breadcrumbs and missing/wrong titles 2007-12-27 14:03:37 +00:00
Gábor Hojtsy a8e1fb4351 #191914 by chx: admin check was missing from menu user_register_access() 2007-12-27 12:21:58 +00:00
Dries Buytaert 2a1e980cdd - Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace. 2007-12-26 19:02:24 +00:00
Gábor Hojtsy e08abdd252 #194946 by dmitrig01, Pasqualle: christmas cleanup (some code style issues fixed) 2007-12-23 13:17:20 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy 374a452738 #172993 by drewish, Lynn: remove old user picture even when the newly uploaded one uses a different format 2007-12-20 21:59:17 +00:00
Dries Buytaert 100329ad03 - Patch #201894 by David Rothstein: fixed typo in user output. 2007-12-18 19:20:01 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b86bb52620 #201725 by bdragon: access control was renamed to permissions but this was not reflected in two remaining permission checks 2007-12-17 17:06:16 +00:00
Gábor Hojtsy 81ecb970bc #199387 by Pancho: revert user login/register/request password page titles to 'User account' as it was in Drupal 5, instead of the bugos 'Log in' 2007-12-17 13:46:36 +00:00
Gábor Hojtsy 7bcd7429df #110474 by dww and keith.smith: passwords are not sent in welcome mails, so do not mislead our users 2007-12-14 18:29:59 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy 7b52f8d52e #131493 by spatz4000, ChrisKennedy, keith.smith: consistent username field description wording in installer and runtime interface 2007-12-14 16:07:42 +00:00
Gábor Hojtsy ce3542d8ab #152497 by JohnAlbin, bdragon, moshe weitzman, chx and myself: several user login tasks, such as session id regeneration were not performed in all cases, so centralize this 2007-12-13 12:53:47 +00:00
Gábor Hojtsy c6d841c096 #197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc 2007-12-13 09:34:40 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy e90c16ee9a #190164 by John Morahan: user_autocomplete returns JSON, not a pipe delimited list 2007-12-04 18:34:44 +00:00
Dries Buytaert 7a47bef514 - Patch #162381 by Heine et al: properly escape strings. 2007-11-28 10:29:21 +00:00
Gábor Hojtsy f77b60f291 #195543 by hass and yhager: CSS inherit was completely misused in RTL CSS files 2007-11-27 12:09:27 +00:00
Dries Buytaert 9a96837b89 - Patch #163246 by keith smith, freso, O Govinda, catch, webchick et al: fixed minor spelling issues and fixed spacing issues. 2007-11-26 16:36:44 +00:00
Gábor Hojtsy 045002e25c #111481 by chx and pwolanin: profile categories may contain slashes, but this was not yet supported by the user object menu loader 2007-11-26 08:15:32 +00:00
Gábor Hojtsy 2fe5e3b6eb #194859 by Rob Loach: missing brackets around table names in user.admin.inc 2007-11-24 20:13:43 +00:00
Dries Buytaert a1e5ac031e - Patch #192110 by profix898: fixed hook_profile_alter API. 2007-11-20 13:44:38 +00:00
Gábor Hojtsy b0676c8f27 #192692 by jrbeeman and mfer: (security) protect profile category page menu items with the visibility settings already available 2007-11-19 11:24:11 +00:00
Dries Buytaert 8ebc345b9d - Patch #191914 by chx: you cannot add user/register to a menu. Also removed some whitespace. 2007-11-17 14:25:23 +00:00
Gábor Hojtsy db2c726a4a #192659 by quicksketch: center table headers for checkbox columns, where checkboxes are also centered 2007-11-16 13:16:50 +00:00
Gábor Hojtsy 2d8259c764 #25605 by Rob Loach et al: disallow editing user data of uid 0 2007-11-14 16:01:30 +00:00
Gábor Hojtsy ecf6c8de03 #165924 by odious and drumm: add count query for pager in user_admin_account() 2007-11-10 10:15:21 +00:00
Gábor Hojtsy 69da830ced #171117 by JirkaRybka: set access time for admin created or edited accounts so they are exempt from the spam protection we have for accounts never logged in 2007-11-06 12:20:14 +00:00
Gábor Hojtsy 235621a072 #185209 by ChrisKennedy: only provide picture deletion option if there is an actual user picture present 2007-11-06 08:53:52 +00:00
Gábor Hojtsy 856ae39d35 #186903 by marcingy, Rob Loach and chx: (regression) restore my recent posts functionality in tracker 2007-11-06 08:51:23 +00:00
Gábor Hojtsy 207e6f145f #184729 by hazexp: remove duplicate wording about the username in mail sent out to new users 2007-11-04 16:02:32 +00:00
Gábor Hojtsy 0d58aae221 #176342 by dmhouse, spatz4000 and Wim Leers: add reset parameter to user_access() 2007-11-04 15:42:52 +00:00
Gábor Hojtsy 91e980a271 #187881 by mooffie: fix misnamed database table names in schema documentation 2007-11-04 14:33:07 +00:00
Gábor Hojtsy cb9fc93e32 #186899 by keith.smith: user registration settings typo fix 2007-10-27 15:28:43 +00:00
Gábor Hojtsy 8dcb5ab976 #182528 by RobRoy: move drupal_set_message() out of user deletion API function to UI function 2007-10-27 14:01:12 +00:00
Gábor Hojtsy 53b540f6ee #100584 by keith.smith: simplify and standardize text used on user settings page 2007-10-27 13:33:21 +00:00
Gábor Hojtsy 13f9882979 #179276 by JirkaRybka: (regression) fix profile field sections to order properly by weight. 2007-10-25 10:30:40 +00:00
Gábor Hojtsy 8903cda5ca #179519 by chx, webchick and Desbeers: fix blog/[uid] to only display posts for that user and also set proper title 2007-10-24 11:17:01 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 09e2701892 #181088 by fajerstarter, catch and JirkaRybka: rename 'access control' to 'permissions' for usability reasons 2007-10-12 10:41:48 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Dries Buytaert 0313d80108 - Patch #181284 by killes and chx: performance improvements for user_access(). 2007-10-07 19:27:40 +00:00
Dries Buytaert 5a752dc507 - Added missing .install files. Forgot to commit those. 2007-10-05 16:07:22 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Gábor Hojtsy 35c0e44330 #179695 by chx: only anonymous users should have permission to visit user/login, so this menu item is automatically hidden when a user is logged in 2007-10-03 13:01:04 +00:00