Neil Drumm
554a2808a3
#78656 by m3avrck. Drupal Core's first CSS hack.
2006-08-25 09:01:12 +00:00
Neil Drumm
f046f2956a
Remove an errant character.
2006-08-24 09:14:19 +00:00
Dries Buytaert
c994ea1e28
- Patch #79629 by chx: fixed adding new roles.
2006-08-20 13:16:34 +00:00
Dries Buytaert
4f024f7311
- t() fixed by Justin.
2006-08-20 13:15:30 +00:00
Steven Wittens
55eec8f66f
#79601 : module_exist() -> module_exists()
2006-08-20 05:57:41 +00:00
Dries Buytaert
7de41539df
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
2006-08-18 18:58:47 +00:00
Steven Wittens
81938a3cdc
#76802 : Introduce placeholder magic into t()
...
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Steven Wittens
30a322e454
#34505 : Add filter form for user admin (like node admin has)
2006-08-17 19:19:15 +00:00
Dries Buytaert
937f9099b4
- Patch #77183 by m3vrck: cleaned up some of the CSS mess.
2006-08-14 20:35:11 +00:00
Neil Drumm
766e6494d9
#77525 by hunmonk, clean up for hook_(node|user)_operations().
2006-08-14 06:53:57 +00:00
Dries Buytaert
ce85b7c7f8
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
...
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert
729fa6c11b
- Patch #77422 by timcn: corrected various paths in the documentation.
2006-08-07 15:04:16 +00:00
Neil Drumm
6f22da3540
#75582 by hunmonk, add mass editing to admin/user/user.
2006-08-05 18:56:35 +00:00
Neil Drumm
cd430165d7
#73884 by RobRoy, various code cleanup.
2006-08-05 00:26:36 +00:00
Dries Buytaert
4b9a3cf73e
- Patch #4942 by webchik et al: e-mail verification is optional now.
2006-08-03 13:50:53 +00:00
Steven Wittens
38e4c1ae91
#76209 : (Eaton et al)
...
- Make installer code integrate better with module.inc / system.module
- Fix schema version bug when installing core
2006-08-03 01:02:51 +00:00
Gerhard Killesreiter
8b820834e5
SA-2006-011
2006-08-02 18:13:40 +00:00
Dries Buytaert
bd5c16ecf4
- Patch #76653 by paranojik: adding and searching users was broken.
2006-08-02 10:29:26 +00:00
Dries Buytaert
b138793b68
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
2006-07-31 11:25:55 +00:00
Dries Buytaert
3a7b64ae03
- Patch #61893 by timnc: remove message_na().
2006-07-29 17:56:41 +00:00
Neil Drumm
b6ee7cef86
#75594 by eafarris, remove of gender-specific pronouns
2006-07-27 08:07:04 +00:00
Neil Drumm
1a88d134b8
#74395 by moshe, add hook_profile_alter() to let modules alter the profile page
2006-07-27 07:46:31 +00:00
Steven Wittens
f3265fa4d0
Fix missing user name field on user/register (Arto Bendiken)
2006-07-18 10:14:26 +00:00
Neil Drumm
2ddb81af02
#66697 by hunmonk, simplify user role deletion.
2006-07-18 07:46:30 +00:00
Neil Drumm
a73303a882
#73810 by hunmonk, remove code duplication between user edit and user register processes
2006-07-18 07:43:09 +00:00
Dries Buytaert
58752cfaa2
- Patch #72284 by me:
...
+ reorganized ?q=admin/settings
+ deprecated the _settings hook
2006-07-10 19:27:52 +00:00
Dries Buytaert
af976d339f
- Patch #71194 by Goba: introducing hook_mail_alter(), chaning user_mail() to drupal_mail().
2006-07-10 08:12:31 +00:00
Dries Buytaert
9d5d9ab009
- Patch #72137 by Ber: improved Doxygen of user_mail().
2006-07-07 18:49:13 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Neil Drumm
899123af50
#70302 by adixon and killes, avoid deleting uid 0 on duplicate deletions.
2006-06-23 07:06:17 +00:00
Dries Buytaert
c0c172bb02
- Patch #67036 by naudefj and ajk: fixed some warnings.
2006-06-16 07:23:39 +00:00
Dries Buytaert
e5de216aab
- Patch #68553 by Neil: logout -> log out.
2006-06-12 11:02:44 +00:00
Dries Buytaert
a3667dc567
- Patch #67036 by naudefj: make it possible to add roles from the user creation page.
2006-06-11 19:23:47 +00:00
Dries Buytaert
e1a55712ca
- Patch #67425 by webchick: usability improvement: improved the label of the 'register' tab.
2006-06-09 08:11:57 +00:00
Dries Buytaert
30ac7b496c
- Patch #66777 by greggles: remove references to drop.org/drupal.org from welcome message.
2006-06-09 05:43:48 +00:00
Dries Buytaert
87dca6df9a
- Patch #62855 by webchick: admin/user/create should redirect back to admin/user/create
2006-05-29 13:02:14 +00:00
Neil Drumm
ff6a9390f0
#64893 by beginner, deny access to new accounts for non-administrators
2006-05-24 05:51:10 +00:00
Neil Drumm
9eed2da5ab
#29147 by naudefj, markus_petrux, and Moshe:
...
- Clean up API for authenticating users.
- Default distributed authentication server.
2006-05-23 02:37:48 +00:00
Neil Drumm
2d9eaf01cf
#61150 by Zen, hook_user categories type should pass $account
2006-05-16 07:17:40 +00:00
Neil Drumm
b090fc1a21
#49403 by Bèr and jvandyk, improve documentation for user_save.
2006-05-16 02:13:44 +00:00
Dries Buytaert
49b90a5d04
- Patch #57993 by Neil: clarified a status message.
2006-05-12 18:14:50 +00:00
Neil Drumm
b3c245ecbc
#62061 by KarenS, Modules cannot set form attributes on edit form
2006-05-07 03:52:34 +00:00
Neil Drumm
b6ff48e8e7
#61992 by chx (modified), Provide an 'after_update' op on hook_user.
2006-05-07 03:08:34 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Dries Buytaert
0f7ed2a590
- Patch #59346 by DriesK: incorrect defailt "who's online block" setting.
2006-05-04 18:57:21 +00:00
Neil Drumm
0906c80d20
Removing a stray ;
2006-05-03 09:22:05 +00:00
Dries Buytaert
d761ded1f2
- Patch #59763 by Ber: doxygen for user_roles().
2006-05-02 13:26:30 +00:00
Neil Drumm
806d0f5393
Forward prot from 4.7
...
#60907 , better patch by Zen and dww
2006-05-01 08:04:08 +00:00
Neil Drumm
f0cd92ddde
Forward port from 4.7
...
#60907 , don't use t() during user submit, neede for external auth, patch by Moshe
2006-04-30 00:37:44 +00:00
Dries Buytaert
adb88830d8
- Patch #43818 by Derek: make user/0 result in a 404.
2006-04-27 05:43:31 +00:00
Gerhard Killesreiter
7af9e6cfdd
#60476 , simplify frontpage related code, leftovers from #59222 , patch by Zen
2006-04-26 15:07:12 +00:00
Gerhard Killesreiter
dc4acbcb93
#59763 , doxygen for user_roles, patch by Ber
2006-04-26 11:07:25 +00:00
Gerhard Killesreiter
ce1d915a26
#60458 , remove notice and not needed variable, patch by Zen
2006-04-26 10:36:22 +00:00
Dries Buytaert
d071f99172
- Removing trailing whitespace.
2006-04-17 20:48:26 +00:00
Gerhard Killesreiter
b9d3b47ec6
#55096 , don't show online users in block if nobody online, patch by tenrapid
2006-04-13 18:17:07 +00:00
Gerhard Killesreiter
d6a164c400
#5371 , drupal_get_destination, pager and tablesort array handling, patch by Steven
2006-04-13 08:25:27 +00:00
Steven Wittens
1cf1772be1
- Missing filter_xss_admin() for user_registration_help
2006-04-10 19:11:25 +00:00
Gerhard Killesreiter
d37485699e
#54294 , don't show DA stuff, if disabled. Patch by Moshe
2006-04-09 08:48:50 +00:00
Steven Wittens
4821200689
#57415 : Replace drupal_implode_autocomplete() by drupal_to_js()
2006-04-06 02:41:48 +00:00
Gerhard Killesreiter
8447307ed2
#48714 , theme_user_picture should take "access user profiles" in to account, patch by frjo
2006-03-28 12:40:13 +00:00
Gerhard Killesreiter
0a8da7fb97
#42119 , notify user of admin created accounts. Patch by m3avrck
2006-03-27 20:28:10 +00:00
Gerhard Killesreiter
5885925b0d
#53348 , Handling of deleted/blocked user accounts, patch by jreyero and Zen
2006-03-26 19:31:00 +00:00
Gerhard Killesreiter
c529d247ff
#53489 , New User == Query failed: ERROR: invalid input syntax for integer: "", patch by Cvbge
2006-03-25 19:50:48 +00:00
Gerhard Killesreiter
4b84de9a0c
#14591 , User.module links for blocked/non-existant accounts + menu 403/404 issue, patch by Steven and merlinofchaos
2006-03-17 18:56:25 +00:00
Steven Wittens
e4a27b8f34
- sa-2006-003: Session fixation issue
2006-03-13 21:48:55 +00:00
Steven Wittens
2fb572d002
- Rollback
2006-03-13 21:35:31 +00:00
Steven Wittens
0539f5483b
- sa-2006-001: Custom menu items are accessible to anyone
2006-03-13 21:33:18 +00:00
Steven Wittens
9c944c2d58
- Code cleanup
2006-03-10 15:11:07 +00:00
Dries Buytaert
189ad85bcd
- Patch #52433 by Zen: removed redundant db_escape_string().
2006-03-04 18:00:55 +00:00
Gerhard Killesreiter
a1e932f733
#51127 , hook_user submit passes incorrect values, patch by wtanaka
2006-02-27 22:51:31 +00:00
Gerhard Killesreiter
bf8b6a531a
#46617 , Restore some module listings, partially applied, I've omitted places where I felt that sortign by weight would be wanted.
...
We can discuss those on the issue. Patch by chx.
2006-02-27 15:04:45 +00:00
Gerhard Killesreiter
72a73fedbd
#51125 , _user_forms: change array_merge to array_merge_recursive, patch by wtanaka
2006-02-27 14:15:41 +00:00
Dries Buytaert
58d9b02e3e
- Patch #51189 : fixed submit redirects.
2006-02-26 19:44:45 +00:00
Dries Buytaert
9e7ecfa1f9
- Patch #48313 by Tobias: added missing t() function.
2006-02-23 12:52:02 +00:00
Dries Buytaert
3603fe1bd8
- Patch #49912 : www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
2006-02-21 18:46:54 +00:00
Dries Buytaert
5298688d8d
- Patch #24398 : make password reset work in case someone does prefetching. (Today's critical bugfix #4.))
2006-02-21 16:00:55 +00:00
Dries Buytaert
8b3bf4d005
- Patch #50106 by webchick: code clean-up.
2006-02-21 14:45:46 +00:00
Dries Buytaert
eeae26b227
- Patch #49132 by Tobias and Zen: fixed problem with profile fields being mangled.
2006-02-16 15:29:46 +00:00
Dries Buytaert
9dacf2f8d7
- Patch #47785 by chx: login block not w3 compatible (two id attributes)
2006-02-15 21:03:20 +00:00
Dries Buytaert
21eb666a9b
- Patch #11031 by Zen:
...
* Makes the user login and password fields in the login _block_ required.
* Uses just if ($form['name']) rather than if (isset($form['name']) && $form['name']). AFAIK, using both is unnecessary with the form API.
* Changes maxlength for usernames to 60 which is the (rather odd) database value. The maxlength fields at present don't accomodate affiliate logins with extra long usernames/domains, but I've left that issue alone for now.
* Removes all instances of maxlength for password. They were a)not being applied with any degree of consistency, and b)unnecessary as only the hash is stored.
* Corrects an e-mail address maxlength from 55 to 64.
* unset() accepts more than one variable.
2006-02-10 05:46:39 +00:00
Dries Buytaert
583d5a4ee9
- Patch #48622 by adrian: remove drupal_goto from _submit functions.
2006-02-10 05:25:57 +00:00
Dries Buytaert
c6328111a3
- Patch #48242 by markus: add/edit form in user access rules is broken.
2006-02-09 08:20:49 +00:00
Dries Buytaert
b28f48dc48
- Patch #44290 by Steve Dondley: fixed problem with user picture getting deleted after editing user account.
2006-02-09 07:43:43 +00:00
Steven Wittens
cebc884331
- #44133 : User login block not fully themed
2006-02-02 01:51:54 +00:00
Dries Buytaert
1db149b7d5
- Patch #46126 by killes: properly initialize the user roles array.
2006-02-01 15:43:11 +00:00
Dries Buytaert
ece2aab4fd
- Patch #47344 by gordon: fixed problem with anonymous user role not being properly initialized.
2006-02-01 14:08:26 +00:00
Dries Buytaert
52c0c18cad
- Patch #46622 by Neil: more forgiving hook_user('view').
2006-01-29 08:01:55 +00:00
Dries Buytaert
15ff8c8e32
- Patch #46827 by wulff: fixed incorrect links.
2006-01-29 07:50:45 +00:00
Dries Buytaert
c046333610
- Patch #35499 by samo, m3avrck, et al: one-time login link does not provide adequate feedback to user errors.
2006-01-27 18:49:48 +00:00
Dries Buytaert
d958fad0d6
- Patch #40200 by Ax, Drewish, Zen et al: user_view() isn't merging view items correctly + CSS cleanup + form handling cleanup.
2006-01-26 13:43:04 +00:00
Dries Buytaert
6996292d52
- Patch #46262 by Neil: load the anonymous user on logout.
2006-01-26 08:52:24 +00:00
Dries Buytaert
794b53e195
- Patch #46137 by drumm/moshe: load anonymous user if authentication failed.
2006-01-26 08:51:10 +00:00
Dries Buytaert
017cbf5e2b
- Patch #46388 by m3avrck: removed some dead code. Yay.
2006-01-26 08:43:28 +00:00
Dries Buytaert
d20ed7e3be
- Patch #45665 by wtanaka/moshe: removed dead code! w00t!
2006-01-24 18:32:20 +00:00
Dries Buytaert
bc9cbefa30
- Patch #45729 by markus, jvandyk, moshe: fixed problem with permission checking.
2006-01-23 08:06:43 +00:00
Dries Buytaert
25f13a64c4
- Patch #45843 by markus: roles are no longer required.
2006-01-22 07:23:58 +00:00
Dries Buytaert
4da4f4c1af
- Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path.
2006-01-21 08:28:55 +00:00
Dries Buytaert
0ff0c4beaa
- Patch #42137 by Richard: deleting non existent user blocks the whole drupal site.
2006-01-20 09:37:00 +00:00
Dries Buytaert
8c02d4ec93
- Patch #45530 by Morbus: filter_form shouldn't default to #weight 0
...
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:
# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
$form[$key]['#weight'] = $count/1000;
}
The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).
Consider the following pseudo example:
$form['game_title'] = array(
'#type' => 'textfield',
...
);
$form['game_description'] = array(
'#type' => 'textarea',
...
);
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;
Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).
The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
2006-01-20 09:04:34 +00:00
Dries Buytaert
4a7abb95b6
- Patch #45312 by Robin and Zen: made theme_user_list() more like theme_item_list(), made it robust for empty lists.
2006-01-20 08:58:09 +00:00