Commit Graph

961 Commits (1415340ce390e2fa6a872e5efa9a152e34840454)

Author SHA1 Message Date
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