41 Commits

Author SHA1 Message Date
mjollnir_
a5248bee7b MDL-16289 - actually unpack xmlrpc errors rather than just whinge the payload is unencrypted 2008-09-02 14:11:53 +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_
e64de55dec MDL-16157 - fixing arguments to mnet_get_public_key 2008-08-21 14:45:28 +00:00
skodak
cc38ff5d6d MDL-15097 mnet conversion revisited 2008-06-05 18:07:41 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +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
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
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
fd7756e468 Laying groundwork for more Mnet error reporting 2007-10-17 08:14:47 +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
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
1bef950e2e Sharpen up call to 'dangerous' functions. 2007-08-02 05:35:19 +00:00
donal72
68bcd355af Rename the 'promiscous' mode to 'dangerous' as promiscuous is used elsewhere. 2007-08-02 05:27:06 +00:00
donal72
4fc66605f2 Minor mnet keyswap bugfix 2007-08-02 05:16:59 +00:00
donal72
b26a847bbe Minor mnet bugfixing. 2007-08-02 00:19:43 +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
c8e564f5ff 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:55:11 +00:00
donal72
6bed4299ce MDL-9420 - SSO fails over https 2007-04-18 02:23:20 +00:00
donal72
1008dad65a MNet goes from ISO8859-1 -> UTF-8; #MDL-8514 MDL-8514 2007-02-20 02:06:56 +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
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
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
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
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
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
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
martinlanghoff
66ebd55b6b mnet/xmlrpc/xmlparser: Fix code layout/alignment
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:31:26 +00:00
martinlanghoff
71558f8502 mnet: core libraries and admin pages 2007-01-04 02:33:51 +00:00