617 Commits

Author SHA1 Message Date
gustav_delius
57bc53c652 Made student view work also for admins.
Also modified isstudent() function to take student view into account.
2005-09-25 17:30:51 +00:00
skodak
1c6932d825 new session timeout handling + gecko fix in moodlelib.php - merged from MOODLE_15_STABLE 2005-09-23 18:38:50 +00:00
mjollnir_
9284a728b7 Merged from MOODLE_15_STABLE: Much more sophisticated IP address cleansing 2005-09-08 23:04:23 +00:00
patrickslee
dd875f1aa2 Finally the *correct* fix for the looping problem. Thanks to Penny (Merged from MOODLE_15_STABLE) 2005-09-07 04:23:37 +00:00
patrickslee
488b94689d The report_session_error() fix does not work all the times. Proper fix here.(Merged from MOODLE_15_STABLE) 2005-09-06 22:16:27 +00:00
mjollnir_
3bff4935eb Merged from MOODLE_15_STABLE: Further tidyup to the cleanremoteaddr function I added - some thing were getting through 2005-09-06 21:34:02 +00:00
patrickslee
c9e2e3ffcf Fixed a rare problem that report_session_error() causes a redirection loop (Merged from MOODLE_15_STABLE) 2005-09-05 23:48:42 +00:00
mjollnir_
51332190b9 Merged from MOODLE_15_STABLE: Performance fix for get_directory_size: new config option for path to du - if we have it, use that instead. MUCH faster on directories with a lot of files 2005-09-05 05:33:02 +00:00
martinlanghoff
4b598ff45b Merged from MOODLE_15_STABLE - auth - bugfixes: update_userinfo() did not truncate values, and did not have proper errorhandling; user creatiwas passing an id to set_user_preference when we wanted an object 2005-09-02 06:44:02 +00:00
defacer
2280ecf537 Fix for bug 3981 (also quite lively discussed at
http://moodle.org/mod/forum/discuss.php?d=29564):

When the user was not logged in and was not a guest, DST compensation was not
being done. I guess deciding to store the computationally expensive DST cache
in $USER was a major oops on my part. I 've moved everything to $SESSION and
now it works as it should.
2005-08-30 03:27:52 +00:00
martinlanghoff
a6d114e600 Merged from MOODLE_15_STABLE - enrolment fixes: We now have better handling of the enrol field when dealing with student enrolments. This fixes bugs 3912 and 3974. NOTE that enrol_student() now defaults to manual - this is to support the different pages that call enrol_student() to still work correctly when external enrolments are in use, by recording the enrolments as manual. Enrolment plugins are expected to know better and pass the correct parameter. 2005-08-26 06:11:38 +00:00
mjollnir_
755c8d5870 Merged from MOODLE_15_STABLE: Fixing metacourses to work in mysql 3.23 series. At same time, set enrolment type to 'metacourse' so as not to break some external enrolment (eg ldap) plugins 2005-08-23 05:43:02 +00:00
mjollnir_
d13dc4ac8c merged from MOODLE_15_STABLE: Clean up IP addresses from getremoteaddr. Otherwise we sometimes get weird results from proxies and inserts into mdl_log and mdl_user fail 2005-08-18 01:44:47 +00:00
martinlanghoff
06ba0b0452 Merged from MOODLE_15_STABLE - Tell insert record we don't care about inserted id 2005-08-16 00:43:56 +00:00
martinlanghoff
f209eb9d34 Merged from MOODLE_15_STABLE - Enable reset password functinoality for LDAP and other external auth mechanisms as promised in the auth config page 2005-08-15 23:19:58 +00:00
thepurpleblob
f85c067f85 Removed some commented out code from studentview additions. 2005-08-15 13:14:36 +00:00
thepurpleblob
367b841305 Added 'studentview' button functionality. 2005-08-15 12:53:57 +00:00
moodler
cac429bca4 Merging fix for bug 3848 from stable 2005-08-09 15:16:23 +00:00
moodler
0274d27737 Merged changes to support install/lang 2005-07-25 11:26:03 +00:00
moodler
7ad9dd54e6 Added get_list_of_currencies() 2005-07-22 17:30:05 +00:00
stronk7
49d005eefa Try to maintain user preferences synchronised between DB and $USER.
Merged from MOODLE_15_STABLE
2005-07-21 18:48:26 +00:00
stronk7
01d6bd424a Updated preventpassindb to work properly.
(sometimes db password wasn't being updated
to 'not cached' properly).

Merged from MOODLE_15_STABLE
2005-07-15 11:19:31 +00:00
moodler
01af6da601 Added hooks for new SSO capability (Single-Sign-On or Second-Sign-On) 2005-07-15 04:26:18 +00:00
stronk7
c4eeb30137 Added HTTPSPAGEREQUIRED support to some mail functions.
Merged from MOODLE_15_STABLE
2005-07-15 00:04:51 +00:00
ikawhero
463a92dbef Use absolute path name for include. Bug 3660. 2005-07-15 00:00:35 +00:00
stronk7
d7697d0ec0 Add the httpsrequired() function to be 100% SSL in some pages.
Merged from MOODLE_15_STABLE
2005-07-14 19:44:42 +00:00
moodler
18259d4fd3 Adding the capability to replace existing scripts with customised versions.
See config-dist.php for more info.

Will add an admin interface for this later.

Shane.
2005-07-14 15:35:23 +00:00
stronk7
244b4e8f7c SC#106
Merged from MOODLE_15_STABLE
2005-07-14 15:18:51 +00:00
moodler
ba17c5d47c Fix for bug 3736 for more robustness in delaing with bad lang packs 2005-07-12 11:35:30 +00:00
dhawes
68fbd8e13e more phpdoc work 2005-07-12 03:09:25 +00:00
dhawes
bbd3f2c461 phpdoc comment work 2005-07-12 02:06:33 +00:00
skodak
95bfd2078b merged from MOODLE_15_STABLE 2005-07-04 20:23:53 +00:00
gustav_delius
e0c5c5e974 Remove potential PHP notices when $course is not an object. 2005-07-01 17:21:52 +00:00
fiedorow
952284c1b0 Fix for bug #3607 2005-06-23 11:43:20 +00:00
thepurpleblob
85ab74001a merged from STABLE 2005-06-23 09:04:16 +00:00
thepurpleblob
415b7eac8e merged from STABLE 2005-06-21 12:30:34 +00:00
thepurpleblob
220776acdd Merged from STABLE 2005-06-20 09:15:30 +00:00
thepurpleblob
eed6bf497f Yes, another stupid typo. 2005-06-13 19:07:15 +00:00
thepurpleblob
84a422500e Whoops. Typo! 2005-06-13 16:24:47 +00:00
thepurpleblob
614cd5355a Added utility function object_property_exists() 2005-06-13 16:23:10 +00:00
mjollnir_
e67755a1b0 Merged from MOODLE_15_STABLE: Email bounce handling: fixing md5 validation bug 2005-06-13 00:17:16 +00:00
thepurpleblob
7a530277ef Added isset_param() convenience function to test if a param is set.
To get the nasty activity in one place and to improve code readability.
2005-06-10 09:51:25 +00:00
thepurpleblob
8ee1b0afab Removed assert_var_exists() function that did nothing useful. 2005-06-10 09:11:07 +00:00
thepurpleblob
373da1d463 Added $CFG->disableglobalshack option for testing 'register_globals' free code
Also kills require_variable() and optional_variable() if true
(effectively kills Moodle dead - if true - at the moment!)
2005-06-10 08:55:26 +00:00
thepurpleblob
b78fbdac9d changes merged from STABLE 2005-06-09 14:04:38 +00:00
thepurpleblob
3a61ccbe0a Merged changes from STABLE 2005-06-07 12:37:44 +00:00
martinlanghoff
a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
mjollnir_
2019116ea9 Merged from MOODLE_15_STABLE: Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier 2005-05-30 23:26:17 +00:00
moodler
50ab1dfae8 Merged mail fix from 1.5 stable 2005-05-30 18:10:57 +00:00
stronk7
7eec33905f format_string() applied one deleting courses... 2005-05-29 17:27:00 +00:00