Commit Graph

874 Commits

Author SHA1 Message Date
skodak ad56b73774 MDL-9170 https redirect doesn't happen on login page - fixed problem when guest button disabled; merged from MOODLE_18_STABLE 2007-04-03 14:59:56 +00:00
skodak 2c040c29df MDL-9170 https redirect doesn't happen on login page; merged from MOODLE_18_STABLE 2007-04-02 13:59:36 +00:00
skodak f5fd4347dd MDL-8973 auth hooks final cleanup; merged from MOODLE_18_STABLE 2007-03-28 08:28:02 +00:00
skodak c7b10b5f67 MDL-9053 - adding new function get_enabled_auth_plugins() - this should make the code simpler and the bug should be gone forever; merged from MOODLE_18_STABLE 2007-03-27 20:26:05 +00:00
skodak 111e236005 MDL-9055 wrong creation of mnet auth object in require_logout() + minor cleanup; merged from MOODLE_18_STABLE 2007-03-26 20:35:04 +00:00
stronk7 b59c7ec0ee Fetch local guest user using DB index.
Merged from MOODLE_18_STABLE
2007-03-23 15:57:46 +00:00
toyomoyo 9251b26fe8 merged fix for MDL-9016, clear context cache after remove_course_contents() 2007-03-23 07:21:27 +00:00
skodak 6bc1e5d577 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs 2007-03-22 12:27:52 +00:00
toyomoyo f38dfd49aa MDL-7164, Mark Nielsen's patch for remove_course_content not calling instance_delete() 2007-03-22 02:11:51 +00:00
skodak 13ce9e4f01 MDL-7647 Broken links on confirmation email (or others) - patch by Paulo Matos; merged from MOODLE_17_STABLE 2007-03-21 22:00:10 +00:00
skodak da5bcc9fa0 merged warning fix from MOODLE_18_STABLE 2007-03-20 08:08:22 +00:00
skodak 3887fe4acd MDL-8840 Loginas cleanup, some more improvements; merged from MOODLE_18_STABLE
+ merging of format_string fixes
2007-03-20 07:42:41 +00:00
nicolasconnault 6fc4ad7243 Almost completed the new profiling tool. Just a bit more tweaking :-) 2007-03-20 02:59:34 +00:00
skodak f6f66b0338 MDL-8840 Loginas cleanup; merged from MOODLE_18_STABLE
+ merging perflib toys from moodlelib.php
2007-03-19 18:54:58 +00:00
skodak 1306c5ea1c MDL-8932 fix static cache in userdate() + wrong en.UTF-8 locale ; merged with other fixes from MOODLE_18_STABLE 2007-03-16 21:00:06 +00:00
martinlanghoff e5edab1b72 get_complete_user_data(): speedup SQL selecting local users by their mnethostid 2007-03-16 03:37:52 +00:00
skodak d927621bf3 fixed missing global CFG - merged from MOODLE_18_STABLE 2007-03-14 21:56:09 +00:00
tjhunt 6cad9e6069 MDL-8772 - Use the same list of places to search in get_string and help.php. Merged from MOODLE_18_STABLE. 2007-03-14 20:15:20 +00:00
skodak 531468274f MDL-5229 and MDL-6196 adding gb18030 mime header encoding; merged from MOODLE_18_STABLE 2007-03-12 08:41:28 +00:00
skodak 854f5ef034 MDL-8834 smtp debugging can now be turned off - now independent on $CFG->debug; merged from MOODLE_18_STABLE 2007-03-09 20:16:48 +00:00
skodak e50916c80f MDL-6196 minor related cleanup - should not be needed to backport it; merged from MOODLE_18_STABLE 2007-03-08 00:10:49 +00:00
moodler eef879ecdb Merged patches from MDL-8385 from 1.8 stable 2007-03-07 13:45:41 +00:00
skodak 18ceee5c25 MDL-8777 Failing setup_lang_from_browser if lang contains dash; user lang preference not respected 2007-03-06 23:51:34 +00:00
skodak 279948083b MDL-8777 Failing setup_lang_from_browser if lang contains dash 2007-03-06 22:33:03 +00:00
tjhunt 06565ec739 Add a couple more plugin types to get_string that Martin missed yesterday. 2007-03-06 07:57:22 +00:00
skodak 346c3e2f5f MDL-8765 user preference code cleanup; merged from MOODLE_16_STABLE 2007-03-05 20:02:27 +00:00
moodler 191cb01663 More paths for string files 2007-03-05 12:13:36 +00:00
moodler e6f5c879bf Merged small notice fix from stable 2007-03-05 04:47:49 +00:00
moodler ec249a4d25 Merged extension to check_browser_version from MDL-8417 (Nick) 2007-02-28 07:54:40 +00:00
moodler 6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak dd0feda5c2 MDL-8669 broken auth signup code 2007-02-27 10:22:33 +00:00
skodak fc12edcd5d MDL-8639 fixed installation notices 2007-02-23 20:25:16 +00:00
skodak c57dcb62c2 MDL-8590 auth cleanup - reset password cleanup+fixes 2007-02-22 22:20:51 +00:00
skodak 9696bd8966 MDL-8590 auth cleanup - part 7 and MDL-8598 2007-02-21 21:48:48 +00:00
skodak 1679334034 MDL-8590 auth cleanup - part 3 2007-02-20 17:15:13 +00:00
toyomoyo 217a8ee950 made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers. 2007-02-16 07:57:19 +00:00
moodler a59e5a1c92 Merged removal of weeks from format_time from stable 2007-02-15 03:14:40 +00:00
moodler 5602f7cf2e 1) Don't force changepassword during loginas
2) Added weeks and years to format_time()
2007-02-15 02:53:00 +00:00
moodler f855cdad60 Old fix for site names with apostrophes in them 2007-02-13 03:16:22 +00:00
toyomoyo e51917eb12 fix for MDL-8480 external db user lang sync problem 2007-02-13 03:08:27 +00:00
moodler ab036ed9ca Feature from Eloy to set the language to whatever the browser suggests (if the user is not logged in) 2007-02-12 14:58:44 +00:00
stronk7 d148c0ed5c Delete backup records on course delete. MDL-8314
Merged from MOODLE_17_STABLE
2007-02-09 00:13:18 +00:00
skodak 39de90acd5 MDL-8223 allow also numeric string '1' as site id in require_course_login() 2007-01-30 21:23:29 +00:00
nfreear 3c13f52413 Follow-up fix for bug MDL-8223 "require_course_login() cleanup" 2007-01-30 10:10:39 +00:00
stronk7 2ac48f4811 Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
2007-01-29 10:55:22 +00:00
skodak 9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
skodak 083c3743d3 MDL-7977 - updated guest and loggedin detection in login block; removed obsolted $USER->loggedin (now tested with empty($USER->id) in isloggedin()) and $USER->site (replaced by session test cookie)
MDL-5429 - skip https login for guestlogins
2007-01-27 21:28:26 +00:00
skodak dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
skodak 29c7e08328 MDL-8096 - fixed set_user_preference() weirdness, you could not pass $USER->id as $otheruser parameter 2007-01-25 18:17:57 +00:00
moodler 8f8de2cc87 Made is_mnet_remote_user() a bit more robust MDL-8253 2007-01-22 08:25:20 +00:00