tjhunt
1ae3f411b5
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
...
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:05 +00:00
tjhunt
b755cfd75c
moodlelib: MDL-17761 More consistent error handling in get_string.
2009-01-16 04:18:32 +00:00
tjhunt
c1321f6c40
edit profile: MDL-15607 Edit profile form breaks if the list of countries in the language pack is broken.
...
After this patch it still breaks, unavoidably, but at least there is now an error message.
2009-01-13 06:03:36 +00:00
dongsheng
8ab1c8dfeb
"MDL-12077, add course delete hook for course format"
2009-01-12 06:22:38 +00:00
tjhunt
fe6a9871bf
course requests: MDL-6160 clean up admin option for choosing who is notified.
2009-01-08 07:05:31 +00:00
skodak
9802accd59
MDL-17808 Use users lastname in password change confirmation mails, thanks Andreas Grupp; backported from HEAD
2009-01-07 19:03:59 +00:00
skodak
7f491dc474
MDL-17682 added default value for city field; backported from HEAD
2008-12-29 21:47:27 +00:00
jonathanharker
62cf1ae8c1
MDL-16875 New Moodle setting - sessioncookiedomain
...
Added new sessioncookiedomain setting to session handling section.
* allows you to change the domain that the Moodle cookies are available
from. This is useful for Moodle customisations (i.e. Squirrelmail SSO
or enrolment plugins) that need to share Moodle session information
with a web application on another subdomain.
* Will NOT work if the moodle host does not have a domain - i.e. just a
hostname, e.g. 'localhost' or 'myhostname'. Needs a FQDN
* Currently the setting is set to PARAM_TEXT length 50 since PARAM_HOST
does not allow a leading dot e.g. '.mydomain.com'
* TODO: do we make up a new PARAM_COOKIEDOMAIN which is the same as
PARAM_HOST but allows leading dots? Using PARAM_HOST and prepending a
dot may not always be desirable.
2008-12-14 23:30:58 +00:00
dongsheng
576fe29a1c
"MDL-16954, get rid of remote_addr notice on cli, set ip = 0.0.0.0 in mdl_log table when accessed from cli"
2008-12-11 05:17:02 +00:00
tjhunt
c353917324
Remove unnecessary extra $Id$ tag. It messes up the unmerged files list, and makes merging extra difficult.
2008-12-01 07:09:44 +00:00
skodak
2d89f2de76
MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring - backported from HEAD
2008-11-26 20:58:03 +00:00
stronk7
1905721bee
MDLSITE-548 - langconfig: Adding thousands separator.
2008-11-04 16:39:08 +00:00
dongsheng
b7c8bfd263
"MDL-16954, use rebert\'s patch to clean notice/warning in cron job via php cli"
2008-11-03 05:21:45 +00:00
tjhunt
ead49b0e44
moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32.
2008-10-24 02:54:16 +00:00
fmarier
d9b3406111
moodlelib/welcome message: MDL-16947 use the userid that was passed in for the profile URL
2008-10-22 02:33:11 +00:00
poltawski
bfeb5ed8c2
MDL-16428 - fix typo
2008-10-09 12:59:27 +00:00
scyrma
93586136d2
MDL-16700: Making the password policy be applied all at once.
...
Also, any policy letting a user use password "password" is not worth using, so removing this check.
2008-09-26 08:08:21 +00:00
tjhunt
3177a65e62
MDL-13894 Impoved fix with less duplicated code, no notices displayed before you get to the 'New settings' screen, and named constants instead of magic numbers.
2008-09-23 05:18:03 +00:00
dongsheng
5f2c283ad0
"MDL-16554, strip slashes in email, chech the patch, vefired"
2008-09-22 02:30:13 +00:00
nicolasconnault
82a82552e3
MDL-16556 Merging from MOODLE_18_STABLE
2008-09-19 20:33:52 +00:00
stronk7
c051d555b9
Fixing typo in my last commit, apologizes. MDL-13894
2008-09-18 14:43:20 +00:00
stronk7
fe4550bbdf
Fixing mistyped cfg var. Backported from HEAD. MDL-13894
2008-09-18 14:13:40 +00:00
scyrma
90ada2fc85
MDL-13894: saving a better source IP, following what the admin wants.
2008-09-18 08:16:01 +00:00
skodak
26c2ccbbe5
MDL-16468 never mail deleted users
2008-09-11 19:53:35 +00:00
tjhunt
1bc9815601
MDL-15655 - address_in_subnet does not work on 64 bit architectures. Also, we found some other issues with this funtion while diagnosing the problem.
2008-09-01 04:17:52 +00:00
tjhunt
f863bed701
MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type.
2008-08-28 01:46:47 +00:00
iarenaza
b29004e366
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes array".
...
Merged from MOODLE_18_STABLE.
The fix is wrong, as it breaks auth_db_sync_users.php and
auth_ldap_sync_users.php at least. No new users are added to Moodle, as the
username is missing from the new user info record.
The fix needs to go into update_user_record() in lib/moodlelib.php to make it
skip the 'username' key, as we really need get_userinfo() to return the
username as part of the user info array.
2008-08-25 22:40:29 +00:00
peterbulmer
4b39d5ca89
MNET-12558 Additional commenting and variable name change
2008-08-20 06:00:08 +00:00
peterbulmer
9bf3e1887d
MDL-16021 dont force mnethost restriction forloading user data based on id
2008-08-14 23:45:32 +00:00
peterbulmer
73c73b1119
MDL-12558 modify emails as they are being sent
...
replace urls in-place to direct users to their idp first
(1.9 edition - Moodle-Moodle sso only)
2008-08-03 23:28:59 +00:00
moodler
4fb8cf0b0e
MDL-15892 Added some phpdocs to explain the module parameter better
2008-07-31 07:35:59 +00:00
moodler
3fac08373c
MDL-15892 Improved get_string - it can now handle paths as the module like 'mod/forum' or 'grade/import/txt' and will look in the right file automatically (eg forum.php and gradeimport_txt.php)
2008-07-31 07:23:35 +00:00
skodak
f6e0e6860f
MDL-15846 add option to prevent course welcome emails + support for searching in enrolment page; backported from HEAD
2008-07-26 16:51:11 +00:00
moodler
ef30cf850a
MDL-6850 Removed apparent-size from du
2008-07-18 06:41:13 +00:00
skodak
48f3e237f5
MDL-9983 role_unassign should not touch group members table directly - we need events
2008-07-06 22:54:05 +00:00
skodak
2959f8b18e
MDL-9983, MDL-13998, MDL-15552 core events related cleanup and potential sql injection problem fixed; please note the changes are not backwards compatible, 3rd party code will need to be updated - sorry for the trouble
2008-07-06 17:55:54 +00:00
jerome
1335a32f75
MDL-15152 reverse MDL-14439 fix for dropdown menu for Opera+Linux
2008-06-18 05:40:19 +00:00
iarenaza
9fa80523a8
MDL-4207 Don't overwrite modified user profile values with empty LDAP values when 'unlocked if empty' is set
...
If user profile values are locked to LDAP, then LDAP should provide those
values.
But the purpose of the setting 'unlocked if empty' is to allow the user to fill
in a value for the selected field _if LDAP is giving nothing_ for this field.
Thus it makaes sense to let this value stand in until LDAP is giving a value
for this field.
Merged from MOODLE_18_STABLE
2008-05-31 13:26:01 +00:00
skodak
21dcd628bc
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins
2008-05-12 14:40:29 +00:00
jerome
a85c4eefaf
MDL-12300 message window does show date now
2008-05-08 03:40:47 +00:00
scyrma
42f6931f27
MDL-14569 - Remove linked tags when deleting users.
2008-04-28 08:33:48 +00:00
stronk7
5eeebe5b48
New setting in require_login() to avoid certain scripts (file.php)
...
to mess $SESSION->wantsurl. MDL-14495
2008-04-25 18:52:47 +00:00
scyrma
0eca93e5be
MDL-14104: generate_password() now respects password policy
2008-04-18 07:55:38 +00:00
stronk7
e8ee249670
Finally fixed version of lastaccess hadling.
...
Moved from add_to_log() to require_login(). MDL-14272
2008-04-15 21:42:50 +00:00
stronk7
c98670a5e3
Fixed DST calculation when requesting explicit (parameter) timezones. MDL-14093
2008-04-03 18:01:39 +00:00
stronk7
df681accd9
MDL-13900 - If the course or the parent category are hidden and the user hasn't the 'course:viewhiddencourses' capability, prevent access
2008-04-03 00:57:31 +00:00
dongsheng
dbb82a47ca
MDL-14128, remove all uses of error(get_string())
2008-04-02 06:09:56 +00:00
scyrma
4aee1d4ecb
small code cleanup
2008-03-25 09:35:56 +00:00
scyrma
f52c805656
MDL-13959 - Fix from Eloy - this makes the timezone-related functions accept an optional parameter different from the current user timezone.
2008-03-20 02:59:50 +00:00
scyrma
79d3cc8589
MDL-13434 Addslashes removed, is added whenever necessary in tag/lib.php.
2008-03-19 08:11:02 +00:00