91 Commits

Author SHA1 Message Date
stronk7
4ab65b56df Setting some proper zeros. MDL-16565 ; merged from 19_STABLE 2008-09-18 16:15:21 +00:00
peterbulmer
250f84d6b1 MDL-16301 - use better variable 2008-09-07 04:59:37 +00:00
peterbulmer
988b0b2260 MDL-16301 - bugfix for earlier commit 2008-09-07 04:55:44 +00:00
peterbulmer
454a6e7c4d MDL-16301 - address issue
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:19:35 +00:00
peterbulmer
5f6b28faf2 MDL-16286 separate strip wrappers() to decrypt() and check_sig()
additionally unfold logic inverstion around encrypted if block
To view this diff more effectively, consider setting 'ignore whitespace'

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:18:53 +00:00
peterbulmer
c7c556156a MDL-16286 MDL-16285 Bring 'signed by old key' logic together
and add appropriate comments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:16:18 +00:00
peterbulmer
2a75520f71 MDL-16285 unfold logic inversion
Ignoring whitespace this patch is 4 lines of -, and 3 lines of +, if you want to understand what the diff is, I highly recommend looking at it without whitespace changes visible.

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:15:35 +00:00
mjollnir_
ea676d6e67 MDL-16351 - make mnet_server_fault detect when it's being passed a full string rather than an 'mnet' string key 2008-09-05 12:24:11 +00:00
mjollnir_
a5248bee7b MDL-16289 - actually unpack xmlrpc errors rather than just whinge the payload is unencrypted 2008-09-02 14:11:53 +00:00
peterbulmer
fcb54be4c3 MDL-16285 MDL-16286 Cleanup and document delete function in mnet/peer
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-01 03:32:52 +00:00
peterbulmer
aada58ea71 MDL-16286 Change flow of bootstrap to remove hanging indent 2008-09-01 00:29:10 +00:00
peterbulmer
ea87ed52a7 MDL-16285 add comments to mnet/peer.php 2008-08-31 23:54:50 +00:00
mjollnir_
b91b274b92 MDL-16180 - add portfolio support to mnet 2008-08-30 11:25:29 +00:00
skodak
600be0625e MDL-16163 disable mnet scripts properly if mnet not enabled 2008-08-21 20:43:25 +00:00
mjollnir_
bd2bf45169 adding missing global $DB in mnet functions 2008-08-21 15:10:02 +00:00
mjollnir_
e64de55dec MDL-16157 - fixing arguments to mnet_get_public_key 2008-08-21 14:45:28 +00:00
peterbulmer
baed22bb1c MNET-12558 Additional commenting and variable name change 2008-08-20 05:57:06 +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
thepurpleblob
38612df899 MDL-15476
Can now override the public key lifetime by specificying value
for $CFG->mnetkeylifetime in config.php

Merged from STABLE_19
2008-06-30 14:55:48 +00:00
thepurpleblob
90715d7a8d MDL-14793
Added some debugging messages, if anything fails.

Merged from STABLE_19
2008-06-30 14:16:39 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
cataluke
e47ac6818b MDL-15008: mnet/environment.php: Update wwwroot/ip_address when key is deleted/recreated. 2008-06-12 01:16:49 +00:00
skodak
cc38ff5d6d MDL-15097 mnet conversion revisited 2008-06-05 18:07:41 +00:00
skodak
c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
thepurpleblob
15c31560d8 MDL-14659
Add bypass list for proxy usage.
2008-05-06 14:59:39 +00:00
scyrma
2c797a470a MDL-14654: False is a problem, zero is fine. (merge from 1.9) 2008-05-06 05:00:47 +00:00
thepurpleblob
2e34d3f979 MDL-14406
MNET can now establish a peer through a proxy

Merged from STABLE_19
2008-04-30 14:35:32 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
donal
09f0abb2ff MDL-12492: Thanks to Nigel McNie, this addresses a problem which prevents hosts from re-keying when their keys expire. 2008-02-15 08:32:22 +00:00
donal
309eb04025 Write to the log when the SSL key is created 2008-02-15 08:10:50 +00:00
donal
ab855aaacc MDL-12492: This patch addresses a problem which prevents hosts from re-keying when their keys expire. 2008-02-12 22:27:47 +00:00
donal72
1adbae673c Propagate additional error info about XML parse failures 2007-11-02 00:13:42 +00:00
donal72
d60a9e40fa More error info about XML parse failures 2007-11-02 00:11:23 +00:00
donal72
b3f0a052b2 Enable access to Mahara from testclient.php 2007-10-19 00:43:33 +00:00
donal72
fd7756e468 Laying groundwork for more Mnet error reporting 2007-10-17 08:14:47 +00:00
donal72
4ce054f348 Rewrite testclient.php to be a service browser for remote Moodles. This should be useful to people who are trying to connect to the API from non-Moodle hosts, or write software to connect to Moodle. MDL-10214, MDL-10174, MDL-10172, MDL-10171 2007-10-17 08:12:06 +00:00
donal72
f633d85d72 Change reflection methods to only report on methods that are being published to the inquiring host (instead of all methods that could be published). MDL-10214, MDL-10174, MDL-10172, MDL-10171 2007-10-17 08:08:12 +00:00
donal72
3d706b4989 Log error code and text in mnet_server_fault_xml function. MDL-10196 2007-10-16 14:02:40 +00:00
donal72
77ba581090 Create DistinguishedName records with a subjectAltName field, and recognise incoming certificates' subjectAltName fields: MDL-11020, MDL-10326 2007-10-16 13:28:45 +00:00
donal72
00d3c66b3a New check_credentials function, and the check_common_name function how handles the subjectAltName type. MDL-11020, MDL-10326 2007-10-16 13:27:06 +00:00
donal72
9c7096364c More helpful MNet error messages in debug mode 2007-10-16 09:02:26 +00:00
donal72
a2c6ab59d5 Removed a constraint that caused mnet to fail on clusters, vservers and other network configurations where the mnet client's hostname (as specified in the wwwroot) resolves to an IP address that differs from the IP address that it uses to contact other hosts. This should address MDL-10672 2007-10-16 03:26:39 +00:00
donal72
22882b6617 Add force_theme and theme attributes to peer class for Roaming Themes 2007-10-02 16:12:41 +00:00
donal72
e945004fd1 Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users. 2007-10-02 06:45:40 +00:00
skodak
3772df8dee MDL-11354 ipaddress typo in mnet environment.php 2007-09-19 15:44:31 +00:00
stronk7
b16393cb07 Adding the $Id tag to some scripts to allow better changes detection.
(soory, I deleted a few trailing spaces within comments...)
2007-08-29 10:48:44 +00:00
moodler
94783496f1 Added some robustness because on at least two occasions the mnet_localhost_id has been spontaneously reset to a new entry, which causes havoc as no-one can log in. MDL-10828 2007-08-13 09:53:04 +00:00
donal72
c80934aa48 MDL-9314 : Fix typo $access / $accessctrl 2007-08-03 08:54:57 +00:00