111 Commits

Author SHA1 Message Date
poltawski
0a5dffccd7 MDL-9627 - moving uploaduser to formslib 2007-05-02 09:33:56 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
cataluke
1a82ce5dab admin/uploaduser.php: Fixed not enrolling user into course if user already exists
Author: Patrick Li <patrick@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 02:43:16 +00:00
skodak
f01f183d31 MDL-9324 group assignment does not work in uploaduser script; merged from MOODLE_18_STABLE 2007-04-12 21:30:31 +00:00
skodak
77b4d4be49 MDL-9075 utf-8 bom is now stripped from uploaded users cvs file; merged from MOODLE_18_STABLE 2007-04-10 15:32:37 +00:00
nfreear
34d4b268c7 Fix for bug MDL-8708 "Debug, multiple warnings in admin/uploaduser.php and user.php" 2007-03-01 12:08:38 +00:00
skodak
8891e81c92 MDL-8469 - 192M is much nicer than 196M 2007-02-14 20:58:31 +00:00
skodak
4eefee9779 MDL-8469 increase memory limit everywhere due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate 2007-02-14 20:46:38 +00:00
toyomoyo
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
skodak
e8e0bb2d7b MDL-8096 - advanced edit now mostly works, though still some parts missing; RIP changeme user :-) 2007-01-25 11:03:33 +00:00
donal72
3a1edc56f4 Mnet: Users mnethostid now defaults to the admin user's mnethostid: MDL-8253 2007-01-23 22:03:48 +00:00
martinlanghoff
d14383e0a0 mnet/multienrol: admin area changes, including test for curl extension 2007-01-04 03:19:49 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
3307d3f65f minor xhtml fix 2006-11-30 08:55:49 +00:00
skodak
3c8ecb0cbb fixed incorrect user id when updating in uploaduser.php 2006-09-27 09:50:48 +00:00
skodak
6df3c7df7a user upload cap renamed to moodle/site:uploadusers 2006-09-24 12:54:53 +00:00
skodak
cc891abe88 uploading of users has new capability 'moodle/user:upload' now also with admin block integrated 2006-09-24 12:31:49 +00:00
skodak
6e283151b0 fixed some more warnings in uploaduser.php script 2006-09-17 21:02:31 +00:00
skodak
80f435af43 fixed error message 2006-09-16 12:02:02 +00:00
skodak
14e7869268 fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file 2006-09-16 12:01:08 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
vyshane
0bcf4732fa Fixed Bug #5071 - The script uploaduser.php ignores the rest of records after
the first one
2006-04-10 04:54:34 +00:00
moodler
884dc7861a Fixed case for multiple grops 2006-03-17 17:17:51 +00:00
moodler
6b09974ba2 Added the missing support for typex fields! 2006-03-17 16:19:31 +00:00
skodak
df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
skodak
4abbb75c80 parameter cleaup - round 6; major cleanup and fixing in uploaduser.php 2006-03-07 11:13:57 +00:00
martinlanghoff
1ab3490ec9 admin/uploaduser: fix password update bug, safer renames, optimized execution
This patch bundles 3 changes:

    + password inserts/updates were not being md5()d
    + skip the user altogether when the rename fails, to
      avoid clobbering the existing user account
    + get_courses() has moved outside the main loop so
      it is called only once -- huge difference in
      performance and number of DB queries
2006-01-16 23:54:52 +00:00
martinlanghoff
1f84d800af admin/uploaduser: missing strings fixups 2006-01-16 03:43:41 +00:00
martinlanghoff
d8559098ff admin/uploaduser fixups - lowercase oldusername and fix missing strings 2006-01-16 03:16:08 +00:00
martinlanghoff
a2ce7344de admin/uploaduser fixes and enhancements
Several fixes and enhancements:

 + No longer fail due to timeouts or memory limits. And let apache know
   that we're a memory hog so it can clean up after us.

 + Add support for user account updates (optional)

 + Add support for user account renames (optional)

 + Cleaned up the logic that deals with creation and failure

 + More robust error handling

 + Use optional_param() -- no longer depends on register_globals
   -- when do we switch that off?

 + Added the relevant documentation.
2006-01-16 03:15:32 +00:00
martinlanghoff
e3b6b2b083 User uploads allow missing password
User upload now has an option to allow missing passwords to be accepted -
if we have an email field available. Cron will pick up those users, and call
setnew_password_and_mail() for them.

Effective way to spam your way through life...
2006-01-16 02:53:19 +00:00
moodler
a570256968 Changing from optional_variable to optional_param 2005-12-06 04:53:28 +00:00
moodler
0063abee89 spacing issue 2005-11-22 02:58:45 +00:00
moodler
16a1fed4d2 spacing issues 2005-11-22 02:55:55 +00:00
moodler
35d781d9a7 -fixed not adding teachers to groups
-allow users to be in multiple groups through uploading
2005-11-22 02:37:47 +00:00
moodler
2340e991c2 Added Yu's extensions to support assignation of teachers and non-editing teachers 2005-11-05 07:02:49 +00:00
thepurpleblob
993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
fiedorow
897a73ae69 Allow authentication method to be specified in bulk upload 2005-02-16 14:15:11 +00:00
martinlanghoff
bf17309a02 Merged from MOODLE_14_STABLE - Stop DB inserts we know are going to fail, and clearer error message when file upload stops. 2005-02-14 06:07:59 +00:00
mjollnir_
b8b932924b Merged from MOODLE_14_STABLE: Added addslashes back in to username field after splitting it out for lowercasing 2004-12-12 20:43:19 +00:00
mjollnir_
6740dd6494 Merged from MOODLE_14_STABLE: Upload users should lowercase username field just as user/edit.php does 2004-12-10 04:16:02 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
stronk7
8a68d4c0f3 admin/uploaduser.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 16:08:27 +00:00
mjollnir_
46c5446e34 Integration of new centralised upload code with admin/uploaduser.php and fix in upload class so preprocess_files returns false if there are no files!
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-65
    2004-09-15 22:31:09 GMT
    Penny Leach <penny@catalyst.net.nz>
    upload class now returns false in proprocess_files if there are no files (duh), + admin/uploaduser using upload class

Full logs:

Revision: moodle--eduforge--1.3.3--patch-65
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 10:31:09 NZST 2004
Standard-date: 2004-09-15 22:31:09 GMT
Modified-files: admin/uploaduser.php lib/uploadlib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-65
Summary: upload class now returns false in proprocess_files if there are no files (duh), + admin/uploaduser using upload class
Keywords
2004-09-15 22:42:10 +00:00
gustav_delius
0cdd138180 some fixes for XHTML compliance 2004-09-12 00:21:21 +00:00
moodler
39a5a35d6d Finalise the switchover to using the user->auth field when authenticating.
Thanks, Howard Miller!
2004-08-16 15:41:57 +00:00
moodler
72957fa54b FIxed a character escpaping problem, recently introduced bug 1250 2004-04-22 06:02:41 +00:00
fiedorow
811cf8919d Allow use of alternate delimiters in csv files 2004-04-14 20:46:39 +00:00
fiedorow
3e2ac6a050 Bug fix: don't allow users to be inserted in several groups 2004-02-24 22:09:43 +00:00