124 Commits

Author SHA1 Message Date
Andrew Davis
6959330979 all MDL-20821 Removed more deprecated functions 2009-11-18 06:05:10 +00:00
Petr Skoda
3f226cc99f MDL-20639 fixed mnet security trouble - credit goes to Adrian Schlegel 2009-11-17 17:32:17 +00:00
jerome mouneyrac
5ac7a171ec mnet MDL-16305 a mnet host is now never really deleted from the database but marked as deleted. 2009-11-02 06:59:07 +00:00
Petr Skoda
1d42298086 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:22:45 +00:00
danmarsden
45e4294df2 MNET MDL-13503 allow path to openssl.cnf to be set in config so that windows installs and packages can reliably enable networking. 2009-09-11 10:01:14 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
tjhunt
ebff477995 MDL-19882 Add missing require_login-s before require_capability. 2009-07-20 08:57:18 +00:00
tjhunt
31a9987770 install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function. 2009-06-24 09:17:56 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
jerome
88d9e9d90e mnet MDL-10935 fix unicode character when the remote site send the course name for updating enrolment, merged from 19 2009-02-06 00:46:37 +00:00
mjollnir_
1cc8e4c13d Fixed misnamed variable I believe I was introduced in 1.33 2009-01-29 10:58:41 +00:00
skodak
1caea91efb MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
skodak
b636fdfbc1 MDL-14123 Full IPv6 support - replaced mnet ip_in_range() by standard ipv6 compatible address_in_subnet(); replaced $_SERVER['REMOTE_ADDR'] with standard getremoteaddr() 2009-01-09 21:41:47 +00:00
jonathanharker
078c1134bf MDL-17548 MNET: Fix email links for sites with path component in wwwroot
Where Moodle sites had a path in their wwwroot, the MNET function that
forced remote users to go via their identity provider (to make sure they
were logged in) previously directed the user back to a URL like
contentprovider.com/moodle/moodle/mod/forum/view.php?f=7 where there
should only be one /moodle in the middle of the URL.
2008-12-14 22:50:22 +00:00
skodak
eb7f89bc15 MDL-17419 misconfigured openssl extension blocks installation - openssl.cnf missing?? 2008-11-28 12:54:15 +00:00
jerome
46c8e3b0d6 MDL-15352: trivial change, add a clear error message when can't retirve listing 2008-10-24 05:36:59 +00:00
jerome
659054c521 MDL-15352: doesn't use anymore mnet system function, implemeted new mnet function, remote moodle service will appear into the peer service 2008-10-23 08:14:24 +00:00
jerome
ef378cdcf4 MDL-15352: doesn't use anymore mnet system function, implemeted new mnet function, remote moodle service will appear into the peer service 2008-10-23 08:14:23 +00:00
jerome
d3dfe9aecb MDL-15352: first version of remote moodle plugin 2008-10-22 04:04:23 +00:00
peterbulmer
c8a6dfee9b Typo correction in comment 2008-10-07 22:25:48 +00:00
peterbulmer
334e66c1c2 MDL16286 - bugfixes
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:19:45 +00:00
peterbulmer
8d60e9427d MDL16286 - redefine function boundaries.
Better defined what the decrypt / signature functions do & brought a lot of the error-exits together


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:19:04 +00:00
peterbulmer
34ebb3cfa2 MDL-16286 MDL-16285 better variable names and improved structure
Another one of those diffs that is a little more understandable when ignoring whitespace changes.


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:18:28 +00:00
peterbulmer
4399f32491 Created commit f319290: MDL-16285 MDL-16286 - Farm menial statements out to function
& improve variable names


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:17:34 +00:00
peterbulmer
469b60c52d MDL-16285 Renamed generic variable
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:16:59 +00:00
peterbulmer
aad3a24ced MDL-16286 MDL16285 add comment & invert logic flow
(This diff is best viewed ignoring whitespace changes)
Ignore logic flow so that errors are dealt with first


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:16:22 +00:00
peterbulmer
99112dfece MDL-16286 farm permission-to-call checks out to a function
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 04:04:22 +00:00
peterbulmer
99677c349f MDL-16286 Remove redundant lines and improve variable names
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 03:47:04 +00:00
peterbulmer
8263d8d7ca MDL-16286 minor formatting adjustment
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-28 03:45:22 +00:00
dongsheng
8e47233775 "format code again" 2008-09-26 04:56:51 +00:00
dongsheng
8503aae437 "fixed code format" 2008-09-26 04:51:50 +00:00
peterbulmer
3394a57675 MDL-16560 - correct bogus function call
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-25 09:54:47 +00:00
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