Petr Skoda
c94fc98c87
MDL-22060 fixed $a in string to match new rules
...
AMOS START
REM fixed $a[] in [sso_mnet_login_refused,auth_mnet]
AMOS END
2010-04-11 16:58:28 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Penny Leach
b257d7c411
mnet MDL-21278 print a list of potential idps on the login page with links
...
this adds a new contract auth plugin method (implemented as empty in the base class)
2010-02-18 01:30:13 +00:00
Penny Leach
4a3c330854
mnet MDL-21327 remove auto add remote users setting as it makes no sense
2010-02-16 03:03:30 +00:00
Penny Leach
61506902f3
mnet MDL-20660 allow admins to configure fields to be sent over mnet
2010-02-16 02:05:30 +00:00
Petr Skoda
9a9012dc8f
MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now)
2010-02-14 20:18:10 +00:00
Penny Leach
48fb39411f
mnet MDL-21098 small fixes - ss out issue and edge case simultaneous keyswap loop
2010-02-05 03:56:22 +00:00
Penny Leach
2078b2a37d
mnet MDL-21257 split up confirm_mnet session to insert the mnet_session
...
record *after* complete_user_login is called (because of session regen)
2010-02-05 03:56:00 +00:00
Penny Leach
287efec6f6
mnet MDL-21276 get rid of all the $MNET* globals
2010-02-02 03:13:40 +00:00
Penny Leach
2e38d70310
mnet MDL-21257 updated mnet to use new session code rather than the weird file based session masquerading it was doing
2010-02-01 02:01:18 +00:00
Penny Leach
de260e0f7b
mnet MDL-21261 large overhaul. This commit changes:
...
- The way that mnet rpc functions are registered. Plugins must now
create db/mnet.php which is an array, similar to services.php. This
*replaces* the old mnet_publishes() functions. version.php must be
bumped to trigger this.
- More information about each rpc-available function is stored in the
database, including the class it belongs to, the file it is found in,
and whether or not it is static. Methods that are not static must be
in a class with a constructor that takes no arguments (this can easily
be achieved with a small wrapper if necessary)
- The xmlrpc dispatcher has been rewritten to remove all the
dependencies on hardcoded information about auth,mnet,portfolio and
repository, and just use the information in the database.
- The old hardcoded hidden mnet/testclient.php has been moved to the
Admin menu under "Development" and rewritten.
- The xmlrpc introspection method profiling is now using php and zend
reflection - which is a lot nicer than the old way, which was using a
php-based php parser. This fixes some inconsistent handling of
methods without arguments that were advertising their return value as
the only method parameter. While this is a *fix*, it breaks BC
slightly - the old 1.9 broken mnet/testclient.php will now not work
properly with 2.0
- Dangerous mode is still supported, but old mod/*/rpclib.php is
now unsupported, due to the fact that any plugin can export mnet
functions with db/mnet.php. This is a slight BC break.
Still TODO:
- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +00:00
Rossiani Wijaya
07ed083e4e
MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@)
2010-01-13 06:23:54 +00:00
Penny Leach
939ea0bc44
mnet MDL-21294 change errors to exceptions in mnet server
2010-01-13 01:08:38 +00:00
Penny Leach
aa8027110b
mnet: MDL-18758 check user_not_fully_set_up before creating user record in auth/mnet
2010-01-12 02:25:31 +00:00
Penny Leach
98dbda9590
mnet: MDL-21298 fixed a very unhelpful error message (and saved a db query)
...
this just modifies the nolocaluser string, rather than adding nolocaluser2 like I did in stable.
Merged from MOODLE_19_STABLE
2010-01-11 22:20:11 +00:00
Eloy Lafuente
a9b8a84c0e
MDL-19697 mnet auth - start saving user->firstaccess ; merged from 19_STABLE
2009-11-27 14:50:25 +00:00
Petr Skoda
edb5da8331
MDL-20934 'not cached' flag used in all auth plugins that do not need the password
2009-11-23 21:50:40 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Petr Skoda
5117d59899
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:55:14 +00:00
Dan Poltawski
d87234ced5
auth/mnet - MDL-16872 Fix incorrect use of clone() on arrays
...
Thanks to Nigel McNie for the patch
2009-10-28 11:16:57 +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
skodak
979425b584
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:04:21 +00:00
skodak
a8c31db2a3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:47:18 +00:00
skodak
457c97291b
MDL-18704 fixed incorrect mnet logging; merged from MOODLE_19_STABLE
2009-05-08 12:16:09 +00:00
peterbulmer
28c3e7d86f
MDL-17038 bugfixes
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:18:32 +00:00
peterbulmer
9dbc81ef23
MDL-17038 - truncate overlength varchar fields before attempting to insert
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:17:55 +00:00
peterbulmer
6da155db35
MDL-17038 formatting correction
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:17:11 +00:00
peterbulmer
995087b904
MDL-17038 Change to use sensible variable names
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:16:47 +00:00
peterbulmer
6ff7d16b25
MDL-17038 - refine query to limit size of returned data.
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-10-30 01:16:06 +00:00
peterbulmer
f213ba93b9
MDL-16286 remove additional reference to (now undefined) $sql
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:26:10 +00:00
peterbulmer
ae18d3e644
MDL-16335 additional comment
...
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2008-09-07 03:25:27 +00:00
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
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
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
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