Commit graph

55 commits

Author SHA1 Message Date
donal
5a3951e035 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:26 +00:00
donal
bc1982446c Write to the log when the SSL key is created 2008-02-15 08:10:53 +00:00
donal
30f5739a46 MDL-12492: This patch addresses a problem which prevents hosts from re-keying when their keys expire. 2008-02-12 22:27:49 +00:00
donal72
0570c31a3b Propagate additional error info about XML parse failures 2007-11-02 00:14:11 +00:00
donal72
d1bbb75333 More error info about XML parse failures 2007-11-02 00:12:59 +00:00
donal72
5862de1d22 Remove reference to other applications from the Moodle 1.8 source. This is a 1.9+ feature. 2007-10-19 00:45:56 +00:00
donal72
b3225d1a2f Laying groundwork for more Mnet error reporting 2007-10-17 08:14:17 +00:00
donal72
d029c122af 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:11:29 +00:00
donal72
eb1bf09594 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:07:24 +00:00
donal72
4a1db8bd3d Log error code and text in mnet_server_fault_xml function. MDL-10196 2007-10-16 14:02:17 +00:00
donal72
90f3a22a0b More helpful MNet error messages in debug mode 2007-10-16 09:01:46 +00:00
donal72
2eff9d1367 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 08:00:03 +00:00
donal72
75bbcfb74f Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users. 2007-10-02 06:44:07 +00:00
donal72
f99f716464 Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users. 2007-10-02 06:21:26 +00:00
donal72
39bf0df228 MDL-9314 : typo of $access / $accessctrl 2007-08-03 10:08:52 +00:00
donal72
587813b713 1 word doco fix 2007-08-02 05:36:06 +00:00
donal72
c21899e0dd Fix for PHP 5.2.2: $HTTP_RAW_POST_DATA not populated bug:
http://bugs.php.net/bug.php?id=41293
2007-08-02 05:13:10 +00:00
donal72
bcfbd8cbdf Rename 'promiscuous' to 'dangerous'. Minor bugfixing for mnet. 2007-08-02 04:30:34 +00:00
donal72
304182d210 Minor mnet bugfixes 2007-08-02 00:48:04 +00:00
donal72
4e0d03df62 Bugfix: The $this->response['faultCode'] was returning the 1th element of the $this->response string (because a non-empty string == 1). 2007-04-29 13:54:56 +00:00
donal72
0145441c4d MDL-9420 - SSO fails over https 2007-04-18 07:12:32 +00:00
donal72
aecd299b7a MNET: Properly remove trailing slash from wwwroot: MDL-9157 2007-04-02 01:45:37 +00:00
donal72
c13722179f Patch for upgrade breakage on IIS (and maybe other non-Apache webservers) MDL-8926 2007-03-26 22:51:42 +00:00
donal72
b74a216ad1 MNet goes from ISO8859-1 -> UTF-8; #MDL-8514 MDL-8514 2007-02-20 02:05:31 +00:00
donal72
e6976ae1f6 MNet: More error tracking updates 2007-02-07 14:11:22 +00:00
donal72
d452439a08 MNet: Standardise format of the mnet_client->error array 2007-02-07 12:43:08 +00:00
donal72
3e008de804 Mnet: We haven't been updating the last_connect_time field. Let's do that. 2007-01-24 23:17:08 +00:00
martinlanghoff
36e6379ef8 mnet: $CFG->mnet_dispatcher_mode - ensure we set it on install and upgrade, silence warnings - MDL-8284 2007-01-24 22:17:42 +00:00
donal72
83b9f9d825 Mnet: Restore query to check that an outgoing RPC call is permitted by the client machine's admin 2007-01-23 22:30:43 +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
56eec24397 mnet: remove extra paranoid check in the mnet xmlrpc client
- Donal - this needs review. I don't think we can assume the remote
   end has the same service/method mappings we do. This will preclude
   us from using stuff we don't have installed the "server" code for
   but perhaps we do have the client code for.
2007-01-22 05:32:14 +00:00
martinlanghoff
a4d967a463 mnet: try to stop trailing slashes in urls from getting through, better error msg if we dont like the SSL cert 2007-01-18 02:56:06 +00:00
donal72
503d126273 Mnet: Minor oops - a variable in the last commit was not renamed 2007-01-17 03:56:31 +00:00
martinlanghoff
c9fa3eee9b get_config() callers in new MNET code switched to expect a single value returned
Again, this simplifies the logic in a few places.
2007-01-16 23:27:41 +00:00
donal72
9dd0e6115d Mnet: Key rotation: A more robust changeover for fresh keys 2007-01-15 09:03:39 +00:00
donal72
82b29ea15a Mnet: Stylefix: Array was returned with unusual numeric index 2007-01-15 09:00:39 +00:00
donal72
151a987289 Mnet: Refactor: Split up mnet_server_fault function so we have option to send non-lang-file errors 2007-01-15 08:40:24 +00:00
donal72
85d2d959d5 Mnet: Bugfix: Prevent infinite loop when 2 community hubs peer for the first time 2007-01-15 08:31:58 +00:00
donal72
e931feddaf Mnet: Bugfix: Prevent a second record to be created for an existing host if the user entered http://example.com/ as the wwwroot 2007-01-15 08:26:56 +00:00
donal72
ca1131e2ea Mnet: Drop deprecated interface to mnet_get_public_key function 2007-01-15 08:20:10 +00:00
donal72
b7b50143f3 Auth: Bugfix: MDL-8131 2007-01-10 00:50:59 +00:00
donal72
5c2e5bf2d4 mnet: Bugfix: An object with no properties == false!!! 2007-01-10 00:37:53 +00:00
donal72
cd607643dc mnet: Removed hardcoded English strings from some MNET files: MDL-8069 2007-01-05 05:58:39 +00:00
donal72
08cb427af6 mnet: Remove bogus XYZ prefixes from last commit MDL-8070 2007-01-05 03:31:05 +00:00
donal72
722f3f053e mnet: Allow an environment variable to be established in the absence of openssl - MDL-8070 2007-01-05 02:59:14 +00:00
martinlanghoff
e2d4f75c40 admin/mnet/peers: Allow admins to manually update a remote server's public
key


Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:38:30 +00:00
martinlanghoff
f0e4c2701c mnet/xmlrpc/client & parser: Diff time between servers and break if it's
too large


Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:36:24 +00:00
martinlanghoff
8c99567eec mnet/environment: Bugfix
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:34:48 +00:00
martinlanghoff
735c7beb0a mnet: We now keep several generations of SSL keys
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:34:14 +00:00