Petr Skoda
1dffbae2da
MDL-24321 switching to stdClass in /auth/
2010-09-21 08:09:22 +00:00
Petr Skoda
5c7bc383ce
fixed phpdocs type
2010-09-17 10:44:56 +00:00
Petr Skoda
389d17f9cc
MDL-23985 removing all make_user_dir() and get_user_directories() usage
2010-08-29 09:50:36 +00:00
Petr Skoda
082ec753b5
MDL-23985 commenting out non-working code - we need to use new file api to get user pix
2010-08-29 09:45:31 +00:00
Petr Skoda
99f9f85f00
MDL-23489 auth plugins can specify own edit profile url - patch submitted by Jay Knight + tweaking change password url to use new moodle_url at the same time, it is backwards compatible, custom plugins may still use string url for now
2010-08-18 22:07:00 +00:00
David Mudrak
54f6978168
MDL-22787 MNet: Fixed remaining usage of dropped mnet_enrol_assignments table
2010-07-17 22:34:35 +00:00
David Mudrak
152a2273be
MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
...
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +00:00
David Mudrak
bf36ee9b2b
NOMDL MNet: Remote application like Mahara does not send user's lang attribute
2010-07-13 13:14:37 +00:00
David Mudrak
09c1b1a214
MDL-23220 Fixed undefined configuration value - thanks to Dan Marsden for the patch
2010-07-13 11:29:35 +00:00
David Mudrak
94cf0a1e56
MDL-23245 Fixed plugin type of auth_mnet in config_plugins table
2010-07-13 11:14:29 +00:00
David Mudrak
67c1d98de0
MDL-23037 Improved handling of the language preferred by remote users
...
Strips _utf8 suffix for remote users roaming from Moodle 1.x sites.
Checks that the preferred language is actually installed, uses the site
default otherwise.
2010-07-01 15:11:44 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
6b8ad965dc
MDL-16919 we have to really use the username cleaning only when manually adding new accounts, any sync with external system needs the exact match without any cleaning!
2010-06-06 14:06:30 +00:00
Penny Leach
d234faf3a4
mnet MDL-22267 updated mnet_server_faultand mnet_server_exception string handling
...
This is so that mnet_server_fault doesn't have to call get_string (in
case of coding exception)
2010-05-01 15:53:45 +00:00
Petr Skoda
370f10b7eb
MDL-22061 converting auths to pluginname and deprecating old method for getting auth names
...
AMOS START
MOV [auth_castitle,auth_cas],[pluginname,auth_cas]
MOV [auth_dbtitle,auth_db],[pluginname,auth_db]
MOV [auth_emailtitle,auth_email],[pluginname,auth_email]
MOV [auth_fctitle,auth_fc],[pluginname,auth_fc]
MOV [auth_imaptitle,auth_imap],[pluginname,auth_imap]
MOV [auth_ldaptitle,auth_ldap],[pluginname,auth_ldap]
MOV [auth_manualtitle,auth_manul],[pluginname,auth_manul]
MOV [auth_mnettitle,auth_mnet],[pluginname,auth_mnet]
MOV [auth_nntptitle,auth_nntp],[pluginname,auth_nntp]
MOV [auth_nologintitle,auth_nologin],[pluginname,auth_nologin]
MOV [auth_nonetitle,auth_none],[pluginname,auth_none]
MOV [auth_pamtitle,auth_pam],[pluginname,auth_pam]
MOV [auth_pop3title,auth_pop3],[pluginname,auth_pop3]
MOV [auth_radiustitle,auth_radius],[pluginname,auth_radius]
MOV [auth_shibbolethtitle,auth_shibboleth],[pluginname,auth_shibboleth]
MOV [auth_webservicetitle,auth_webservice],[pluginname,auth_webservice]
AMOS END
2010-04-11 21:31:36 +00:00
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
David Mudrak
30c8dd34f7
MDL-15252 Re-committing all English strings exported from AMOS
...
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.
The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.
Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +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
David Mudrak
b13af519fc
MDL-21694 Moving auth plugins lang files into plugin scope
2010-03-29 15:27:24 +00:00
Penny Leach
677b6321af
mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled
2010-02-18 04:55:34 +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
4196f8f73a
mnet MDL-21473 bumping versions of mnet-enabled plugins again after fixing a mnet installer bug
2010-01-29 04:13:59 +00:00
Penny Leach
b740b3590f
mnet MDL-21473 detect services we subscribe to, as well as publish at install/upgrade as well
...
and add upgrades for all mnet enabled plugins
2010-01-29 02:31:44 +00:00
Penny Leach
d23765c127
mnet MDL-21261 bumping version numbers of plugins that contain mnet definitions to get them installed properly
2010-01-28 20:24:53 +00:00
Penny Leach
d2ac37c1ab
mnet MDL-21261 mnet overhaul - adding and removing files I missed in the last big commit
2010-01-28 20:17:12 +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
Petr Skoda
d776d59ee2
MDL-21235 fixed select method name
2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b
MDL-21235 more conversion to new select
2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +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
Moodle HQ git importer
9b8b84dc91
Fixing drift between CVS and git
2010-01-11 10:43:40 +00:00
Moodle HQ git importer
7b3c5dc08d
Fixing drift between CVS and git
2009-12-17 12:08:49 +08: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
Petr Skoda
2a250a0b2e
MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions
2009-11-01 09:21:41 +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
samhemelryk
79151615c5
auth MDL-19788 Added PAGE->set_url calls and removed $Id tags
2009-10-15 02:34:31 +00:00