25 Commits

Author SHA1 Message Date
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Petr Skoda
089fdbedf3 MDL-30809 do not add guest info to add course form if default instance prevented 2011-12-27 19:15:05 +01:00
Eloy Lafuente (stronk7)
08416e72e3 MDL-30604 Added 2 missing messages andd deleting an incorrect one 2011-12-09 02:01:02 +01:00
Petr Skoda
66fe9746ba MDL-30623 fix null guest passwords in existing 2.2 sites 2011-12-07 09:13:34 +01:00
Petr Skoda
df05b844f6 MDL-30623 make sure guest password field is not null 2011-12-07 08:58:18 +01:00
Petr Skoda
9dbf768ede MDL-30007 standardise enrol plugins version info 2011-11-29 21:09:42 +01:00
Eloy Lafuente (stronk7)
7ca578dea9 Merge branch 'w44_MDL-30148_m22_guestpass' of git://github.com/skodak/moodle 2011-11-09 23:59:02 +01:00
Eloy Lafuente (stronk7)
d64cb2fb73 Merge branch 'w44_MDL-30131_m22_enrolcaching' of https://github.com/skodak/moodle 2011-11-09 23:47:01 +01:00
Sun Zhigang
81bb0556d9 MDL-29722 - No default guest enrol instance for requested courses 2011-11-09 15:20:00 +08:00
Petr Skoda
817e396a84 MDL-30148 remember guest access key
Remember password for course guest access and reuse it if the enrol cache is reset. Do not print guest access form when already using guest course access.
2011-11-06 11:00:31 +01:00
Petr Skoda
bbfdff344c MDL-30131 improve current user enrol caching 2011-11-06 09:40:06 +01:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Petr Skoda
e1ce68c2f9 MDL-26991 use archetypes instead of deprecated 'legacy' when defining roles in enrol plugins 2011-03-28 19:19:54 +02:00
Sam Hemelryk
ed1d72ea70 navigation MDL-25142 Fixed up differences in navigation between guest and normal user.
As part of this patch I also introduced a new method in accesslib can_access_course that can be used
to check a users access to a course.
I also fixed a minor issue with guest access flag caching in require_login
2010-11-11 03:37:56 +00:00
Petr Skoda
8365e25f6b MDL-24954 fixed inverted guest icons 2010-11-01 07:31:54 +00:00
Eloy Lafuente
f2a9be5f8a MDL-22148 backup - support for manual/self/guest enrolments. Credit goes to Petr. 2010-09-21 10:42:19 +00:00
Petr Skoda
31680508d5 MDL-22795 new guest icons - credit goes to Rossiani Wijaya 2010-09-20 07:49:30 +00:00
Petr Skoda
3ead116af3 MDL-22795 guest access icon + lang pack enrol related cleanup
AMOS BEGIN
 MOV [allowguests,core],[allowguests,enrol_guest]
AMOS END
2010-08-18 09:26:46 +00:00
Petr Skoda
9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
Petr Skoda
f699087144 MDL-23502 fixed php docs in enrol/guest + fixed use of config cap 2010-07-31 20:22:29 +00:00
Petr Skoda
e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00
David Mudrak
9f38cdce0a MDL-22997 Enrol plugins help - credit goes to Helen for wording the texts 2010-07-19 16:42:09 +00:00
Helen Foster
5a4c4d4d9b MDL-22997 adding help strings 2010-07-07 14:21:56 +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