Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
a07600473d
MDL-22646 create_context() is internal implementation function, to be used only inside accesslib.php
2010-06-04 07:30:42 +00:00
jerome mouneyrac
21c968b495
create user lib MDL-22646 create automatically a context when create a user
2010-06-04 04:14:11 +00:00
jerome mouneyrac
bd0f26bd05
user library MDL-21899 fix password not hashed
2010-03-24 03:02:17 +00:00
jerome mouneyrac
9baf3a7b65
webservice MDL-21527 update_users ws function supports customfields now (MDL-20616 patch needs to be committed in order to use the test client)
2010-02-15 08:56:51 +00:00
jerome mouneyrac
fb79269bef
webservice MDL-20808 add user lib.php, add web service user functions, rename $usercustomfields variable into profile_user_record() function
2010-02-11 04:02:04 +00:00
skodak
ef22c1b664
MDL-12886 converting user/external.php to externallib.php - work in progress
2009-09-15 22:52:49 +00:00
jerome
8cbe45709b
webservice MDL-12886 update user core function => remove commit_sql / rollback call
2009-09-14 03:53:08 +00:00
jerome
d0977acf53
web service MDL-12886 remove tmp prefix
2009-03-16 07:58:30 +00:00
jerome
991c215b05
web service MDL-12886 specify params for update and delete user ws functions. Check that the user exists into update_user core function.
2009-03-16 02:08:12 +00:00
jerome
6d1c1a6bd9
web service MDL-12886 update web service exception messages
2009-03-09 05:20:16 +00:00
jerome
a73e1ab4c5
web service MDL-12886 Add unit tests for User web service functions.
...
Change most of User web service functions to support multiple operation in one call. Adapt SOAP and XMLRPC test client. (REST User test clients wont work anymore till REST server supports array parameter)
2009-03-05 06:59:58 +00:00
jerome
965a0eb68a
web service MDL-12886 update user/lib.php to be consitent with other lib.php
2009-01-30 00:57:34 +00:00
jerome
f26cc1a672
web service MDL-12886 create lib.php in user folder (need create_user and update_user)
2009-01-28 07:46:55 +00:00
moodler
951b22a829
Completely got rid of user/lib.php
...
- print_user() went to weblib.php and got tidied up
- The graphics functions went to lib/gdlib.php
See Bug 922
2004-01-10 16:41:29 +00:00
moodler
5fde0ca615
Use the new fullname function
2003-11-19 16:15:56 +00:00
moodler
6a7585f259
SECURITY FIX: This patch prevents teachers from logging in as admins or
...
course creators! I'll make an announcement to registered
administrators.
2003-11-14 12:48:26 +00:00
moodler
1b6a4b1db2
Some cleanups for some of the HTML, including addition of new styles
2003-10-21 06:40:39 +00:00
moodler
71c960d5ac
Don't print city/country if there aren't any
2003-09-27 14:50:45 +00:00
moodler
5833a6c8eb
The list of countries has finally been moved into the language packs
...
so it can be translated.
There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.
get_string("AU", "countries") will also work if needed
2003-09-26 08:04:48 +00:00
moodler
dc0dc7d5dd
Tidying up the way pix images are used.
...
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler
17654e3845
Use $CFG->directorypermissions for new directories
2003-01-20 14:04:33 +00:00
moodler
5a99c0de4d
Fixes to make it work on safe mode servers, but also better control of
...
directory/file permissions.
2003-01-20 13:40:02 +00:00
moodler
6ed3da1da4
Cleaned up file argument processing a bit
2003-01-12 06:53:25 +00:00
moodler
607809b3ba
OK a number of small changes here.
...
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS etc
Secondly, if gdversion == 0 (ie GD is not installed) then:
- users are not even allowed to upload new images
- graphs now just print a message instead of failing.
this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
7f7f2cca29
Robustness
2003-01-01 07:18:43 +00:00
moodler
f10ed36d8d
Error checking on image writes
2002-11-21 10:23:10 +00:00
moodler
b913b369e8
Small bugfix with uploading new user images
2002-11-21 10:17:08 +00:00
moodler
a406cdec66
Made the user profile a little more robust.
...
Uploaded images are now saved even if the rest of the form
has errors.
If errors are found in the form then a message is printed up
the top to make it clearer that they need to fix something.
2002-11-20 14:52:32 +00:00
moodler
cbb0fee071
For very large classes don't even try to show all the participants
2002-11-12 03:02:51 +00:00
moodler
8dbed6be60
format_time() now supports language strings for day(s)/hour(s)/min(s)/sec(s)
...
String lookups are cached in user/index.php for efficiency
2002-10-03 04:04:59 +00:00
martin
c69ce08b49
Don't print pictures at all for very large lists
2002-09-21 06:39:28 +00:00
martin
32b4b9746a
more refinements to sorting display
2002-09-21 06:27:00 +00:00
martin
6b281f1fec
Better display of users in shortened form, for testing
2002-09-21 05:42:16 +00:00
martin
7a702c34ea
Tweak
2002-09-20 15:42:16 +00:00
martin
6abee98964
First go at an abbreviated user listing
2002-09-20 15:40:20 +00:00
martin
40a1d986f9
Changes to improve display of teachers
2002-09-08 03:34:12 +00:00
martin
6621349c31
Moved valid_uploaded_file out to lib/moodlelib.php
2002-09-01 14:31:49 +00:00
martin
55e078c0fa
Users can now choose to hide their email address. In this initial version
...
there are three options:
0) Hide the email address from everyone (except the teacher of their course)
1) Allow everyone to see the email address, all the time.
2) Allow only participants in the same course to see the email address
Note, new field maildisplay in 'user'
2002-08-21 13:29:25 +00:00
martin
726020a2ef
Tweak to display on "unenrol"
2002-08-10 15:10:04 +00:00
martin
b0ccbd923b
Further little fixes to user image displaying
2002-08-09 09:25:17 +00:00
martin
8223d27193
Widespread changes throughout Moodle to make sure it works on
...
servers that have register_globals turned off (this is the
default setting on newer version of PHP).
In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables. Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.
So, for every request I now make a copy of these two session variables
into $USER and $SESSION. Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable. This seems to be working well now.
Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
cd052f8ccc
Performance enhancement for user listing (caching of language strings)
2002-08-06 09:21:14 +00:00
martin
22f4320bdb
Changes to support GD 1 and GD 2. Well, to be more accurate, we now
...
rely on the administrator to tell us which is installed because PHP
is not reliable (eg GD 2.* functions are available in 4.0.6 and later
EVEN WHEN gd 2 is not present ... sigh).
So, new config variable $CFG->gdversion
2002-06-13 11:18:52 +00:00
martin
873960de8c
Changes related to timezone display. Datetime display now uses userdate()
...
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
f9903ed0a4
Initial revision
2001-11-22 06:23:56 +00:00