Commit Graph

1096 Commits

Author SHA1 Message Date
skodak b8451e289e MDL-19962 new option for forcing of regeneration of the session id during each login request 2009-08-06 13:21:44 +00:00
iarenaza fc54986465 ldap auth and enrolment: MDL-19672 prevent update_user_record() from mangling distinguished names with backslashes
In addition to it, in order to be able to used a distiguished name with '\'
(and other LDAP special characters) in a LDAP filter to find the user
enrolments, we need to quote it using the LDAP filter quoting rules
2009-07-06 18:51:30 +00:00
iarenaza 1ce6d0ec1f subnet address: MDL-19509 Fix code and unit tests to comply with RFC4632 (prefix notations and behaviour)
Backported some code from HEAD to do it.
2009-06-21 23:35:10 +00:00
arborrow 373ee66017 MDL-19950 - adding question format (qformat_) language plugin type 2009-06-20 23:33:38 +00:00
iarenaza 656ff52256 subnet address: MDL-19509 make subnet matching work with 0.0.0.0/0
Merged from MOODLE_18_STABLE
2009-06-18 22:23:25 +00:00
skodak 3f1f634826 MDL-19194 fixed regression - recursive cretion of dirs on win32 works again 2009-05-15 07:22:23 +00:00
skodak 156726fd07 MDL-2307 improved file name cleanup during unzip 2009-05-07 10:47:57 +00:00
skodak c7ad7da9c0 MDL-2307, MDL-18415 - improved unzipping - now properly removing forbidden chars and symlinks 2009-05-06 08:48:51 +00:00
dongsheng 551d425a88 "MDL-19037, use getremoteaddr to get remote ip address, backported from 2.0" 2009-05-01 08:06:08 +00:00
stronk7 156f59304e MDL-16824 messaging - move unread messages from deleted users to message_read.
Pending to commit changes to uploaduser.php. Credit goes to Anthony Borrow. Thanks!
2009-04-26 21:12:55 +00:00
nicolasconnault 27e280b27c MDL-18083 MDL-18228 MDL-17807 Implemented fixed student column in grader report, mouseover tooltips over grade cells and new browser detection code in moodlelib. 2009-04-22 08:39:27 +00:00
sam_marshall e04544af60 MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-03 13:11:43 +00:00
sam_marshall 04e43cfc7e MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-02 16:32:37 +00:00
tjhunt 823ebe16cc local lang: MDL-13001 perf improvement: only searches extra folders if $module == 'local'
Will merge to HEAD later, as part of MDL-18669
2009-03-26 09:00:15 +00:00
poltawski e46fe67177 lib/moodlelib.php MDL-18406 - use more robust require path
thanks to Daniel Neis
2009-03-25 09:37:57 +00:00
poltawski df2415e85f lib/email_to_user MDL-10384 Recipeint names broken
When emailcharset is not utf8 the charset conversion was breaking
recipient/replyto names

thanks to Tatsuya Shirai
2009-03-25 09:16:33 +00:00
poltawski 776e168943 email_to_user: MDL-16328 - prevent empty receeipent address
Be a bit defensive as it seems to be possible for this to happen
with LDAP auth
2009-03-19 10:33:49 +00:00
stronk7 6b31e49438 MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow! 2009-03-11 10:34:56 +00:00
stronk7 73078aefd5 MDL-18440 email_to_user() - avoid some notices 2009-03-04 14:59:45 +00:00
skodak bb8b3cffe6 MDL-18137 all cookies now secure if configured to be; backported from HEAD 2009-02-07 22:48:11 +00:00
poltawski 3aeca96386 mnet/ email links rewritten MDL-18118 2009-02-02 17:44:59 +00:00
skodak 49f3723381 MDL-17808 more lastname support when resetting passwords 2009-01-31 21:37:10 +00:00
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