155 Commits

Author SHA1 Message Date
peterbulmer
4711957d99 MDL-16285 Simplify separate treatment of executing peer.
Change 'if' to comply with moodle coding standards
Improvements to comment


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:24:56 +00:00
peterbulmer
1c85006caf MDL-16286 - replace get_records_sql with more generic get_records
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:22:34 +00:00
peterbulmer
a01ee3136f MDL-16335 - alter grouping, rename var and add comment to improve readability
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:21:57 +00:00
peterbulmer
210d7a46cd MDL-16335 remove unnecessary clone
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:20:32 +00:00
mjollnir_
d9be2106ed MDL-16180: add support for bouncing user back to originating host in mnet:jump/land
useful for jumping/landing/jumping back as part of an SSO session start that is just the first step for something else (which might be portfolio)
2008-08-29 12:42:39 +00:00
peterbulmer
dbca4e44ca MDL-15933 Require jump destination MNET peer to be non-deleted.
Also require landing source MNET peer to be non-deleted.
2008-08-11 04:48:00 +00:00
peterbulmer
1ce2da5836 MDL-12558 modify emails as they are being sent
replace urls in-place to direct users to their idp first
2008-08-03 23:24:12 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
70ca450a01 MDL-15094 some forgotten conversions 2008-06-05 14:17:06 +00:00
skodak
7b0d12b271 MDL-15097 mnet related code converted 2008-06-04 21:54:47 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
dongsheng
e249043390 "MDL-14129, fix print_error" 2008-05-08 07:06:41 +00:00
dongsheng
3db241b342 "MDL-14129, fix print_error" 2008-05-08 06:27:28 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
thepurpleblob
e47878d870 MDL-14461:
The user must be (effectively) be logged in to use this function.
Adding the logged in check means they will be asked if they are not (like
everywhere else).

Merged from STABLE19
2008-04-23 08:47:27 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
thepurpleblob
1a7601ca83 Fixed typo in debug message, causing notice 2008-03-26 15:13:25 +00:00
martinlanghoff
be41678c5e auth/mnet: when landing, user complete_user_login()
By using complete_user_login() we ensure that the session is fully
setup, and that enrolment plugins are called correctly.
2007-11-14 22:04:23 +00:00
donal72
32d651c853 Test for empty dataset to suppress a warning 2007-11-01 06:11:08 +00:00
donal72
b263e3b721 MDL-11040: get_complete_user_data doesn't get the complete user data. Replace with get_record to bring over the user's description. 2007-10-16 08:51:57 +00:00
nicolasconnault
56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
stronk7
6817efbc2f Added Id tag 2007-08-06 22:16:36 +00:00
donal72
2f33c23492 MDL-9288 : An additional addslashes() that was in Petr's patch but didn't get committed. Tested and required. 2007-08-03 11:16:22 +00:00
mjollnir_
2520258128 Merged Donal's changes to MNET to allow moodle to also network with mahara.
changelog follows

    [MNET-manual] added version.php, install.xml and upgrade.php patches
    Route remote users back to their home server without going through jump.php and land.php
    Display app-specific strings in the user view
    Display the application icon in the Remote Host block
    Hide the 'logs' tab if the application under review is not Moodle
    Hide the 'logs' tab if the application under review is not Moodle
    Update user record to note that picture == 1 once a picture has been
    transferred.
    Change 2 to uri - is this fluid?
    Add application paramter to bootstrap function
    Find the application
    Workaround for PHP5.2.2 bug: http://bugs.php.net/bug.php?id=41293
    $HTTP_RAW_POST_DATA was not being populated
    Ensure we get an application for our Peer
    Update the URI to use for MNET
    The default 'wantsurl' should be empty
    Use the appropriate 'land' url for the remote application
    Add hidden form elements for 'application'
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
2007-07-14 03:00:12 +00:00
donal72
1bc6c1ed37 MDL-9288 - use addslashes to avoid injection attacks on data imported vi mnet 2007-04-29 14:09:27 +00:00
nicolasconnault
933e257ab2 MDL-9322 Fixed non-compliant xhtml code for mnet pages, logs and enrol pages 2007-04-13 07:03:04 +00:00
skodak
23a947985b MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE 2007-04-11 14:01:59 +00:00
skodak
5671e77f13 MDL-9286 Incorrect setting of defaults for rpc_negotiation_timeout ; merged from MOODLE_18_STABLE 2007-04-11 13:01:14 +00:00
skodak
d525ca256a MDL-9287 missing resultset check in mnet config_form(); merged from MOODLE_18_STABLE 2007-04-11 08:51:01 +00:00
skodak
c9feab8e6c MDL-9286 Incorrect setting of defaults for rpc_negotiation_timeout ; merged from MOODLE_18_STABLE 2007-04-11 08:46:23 +00:00
donal72
f71a7f8f37 MNET: Uninitialised variable $timenow. Should be time()? 2007-04-10 22:23:37 +00:00
skodak
f5fd4347dd MDL-8973 auth hooks final cleanup; merged from MOODLE_18_STABLE 2007-03-28 08:28:02 +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
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak
430759a5fe MDL-8590 auth cleanup - part 6 2007-02-21 21:42:10 +00:00
skodak
139ebfdb3b MDL-8590 auth cleanup - part 1 2007-02-20 17:03:36 +00:00
martinlanghoff
4c1c5d2638 mnet: auth/mnet cron() now clears out stale sessions -- how did we miss this? 2007-01-24 04:25:56 +00:00
martinlanghoff
4e04772745 mnet: fix SSO breakage if the same user was using multiple browsers 2007-01-24 04:15:50 +00:00
donal72
560b3acc85 Mnet: Bugfix for rev 1.10: Update user's enrolment information on jump/land 2007-01-23 23:07:29 +00:00
donal72
cdf2232920 Mnet: Rename field: access to accessctrl for Oracle interop: MDL-8237 2007-01-23 21:27:50 +00:00
donal72
573f8b025c Mnet: Update user's enrolment information on jump/land 2007-01-23 02:38:54 +00:00
martinlanghoff
62d78bf508 mnet: update_enrolments() WIP 2007-01-22 05:46:40 +00:00
martinlanghoff
15e4772380 mnet: send user enrolment information from SP to IDP at landing time, WIP 2007-01-22 04:41:17 +00:00
martinlanghoff
0743661ea5 mnet: it is $USER->mnet_foreign_host_array instead of $SESSION->mnet_foreign_host_array. $SESSION is fraught with peril as it persists acros logins/logouts 2007-01-19 08:36:02 +00:00
martinlanghoff
7580ce94ef mnet: check for the _right_ varname before warning about mnet being off 2007-01-18 03:16:55 +00:00
martinlanghoff
92e46c0305 mnet: better descriptions and warnings in admin pages 2007-01-17 22:23:56 +00:00
donal72
1451836469 Mnet: In auth config, show which hosts have mnet/auth configured 2007-01-17 14:13:19 +00:00
donal72
4d8c087e02 MNET: MyCourses block enriched with links to remote Moodles when roaming 2007-01-16 05:00:18 +00:00
donal72
3d7e44684f Mnet: Bugfix for keepalive client 2007-01-11 05:38:45 +00:00