Commit Graph

54 Commits

Author SHA1 Message Date
Petr Skoda 68d4c5bc1f MDL-31238 remove now unnecessary null to stdClass conversion for plugin settings 2012-01-21 11:17:18 +01:00
Petr Skoda 6357d61912 MDL-30945 add support for unenrolling of individual users + code cleanup 2012-01-04 01:53:33 +01:00
Petr Skoda 9cf83e67a1 MDL-30789 add new update_status() method to enrol plugins and improve enrol cache invalidation 2011-12-18 17:31:12 +01:00
Petr Skoda bbfdff344c MDL-30131 improve current user enrol caching 2011-11-06 09:40:06 +01:00
Petr Skoda 0c2701fd6d MDL-29964 fix order of events triggered by enrolment 2011-10-28 14:57:42 +02:00
Petr Skoda 358fb4dc06 MDL-29688 fix user enrolment modification event
Fixed invalid event name and usage.
2011-10-23 20:30:33 +02: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
Sam Hemelryk 61ab8f0749 MDL-28615 forum: Revised enrol_sharing_course to use the new enrol_get_shared_courses and fixed permission checking in forum_user_can_see_post 2011-10-03 11:23:30 +13:00
Sam Hemelryk 4b71542394 MDL-28615 mod_forum: Fixed the users page that shows all of the users posts 2011-09-29 14:20:58 +13:00
Eloy Lafuente (stronk7) e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Petr Skoda aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk 9d796fba6c MDL-29487 enrol: Fixed typo in enrol_sharing_course 2011-09-23 18:17:35 +12:00
Sam Hemelryk 8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Rajesh Taneja 6006774cf7 MDL-27603 enrol_user - changed modifier to modifierid which is used in database 2011-05-30 10:10:03 +08:00
Sam Hemelryk 75ee207b81 MDL-26770 enrol - Added support for bulk operations by enrol plugins 2011-04-21 10:13:13 +08:00
Sam Hemelryk 12a52d7c6e MDL-23532 enrol - removed general handling of user enrolment editing/unenrolment plugins are now responsible for this 2011-04-21 10:02:55 +08:00
Sam Hemelryk 291215f441 MDL-23532 enrol - abstracted user enrolment action icons to the enrolment plugin class 2011-04-21 10:02:54 +08:00
Sam Hemelryk b69ca6bee4 MDL-23532 enrol - moved UI enrolment components from core enrol to their respective enrolment plugins 2011-04-21 10:02:54 +08:00
Petr Skoda cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Petr Skoda d96b0a969b Merge branch 'wip-MDL-26822' 2011-03-21 14:03:33 +01:00
Petr Skoda ae8c1f3d06 MDL-26822 fix whitespace 2011-03-21 14:02:50 +01:00
Jerome Mouneyrac d587f077ef MDL-26822 enrol_user now save the status + trivial typo change in a (bit) related file 2011-03-15 17:27:27 +08:00
Petr Skoda 181991e791 MDL-26621 respect email privacy settings on the main user profile and fix missing context 2011-03-12 19:04:26 +01: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 45ff8a80d3 MDL-24955 improved detection of available self enrol plugins 2010-11-10 02:14:27 +00:00
Petr Skoda 45fb2cf898 MDL-24578 removed duplicate user delete functions, fixed unenrol bugs 2010-10-08 08:47:04 +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 365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Anthony Borrow eb6f592a36 MDL-24224 fixing a couple more 'strin' typos 2010-09-19 19:15:37 +00:00
Petr Skoda 582bae08ff MDL-24148 several course delete improvements and fixes:
* fixed order of deleting in course adn context
 * adding course context to event data because it is not available alter and some stuff may depend on old context id
 * adding option for context purging (keeps the context record because it might be still referenced later and it would be recreated)
 * new course enrol cleanup
 * removing content from some course fields that were referencing deleted content
 * coding style and phpdocs improvements
2010-09-19 13:09:48 +00:00
Petr Skoda 64942a9d65 fixed broken enrol description fetching 2010-09-18 11:35:22 +00:00
Petr Skoda 6e4c374d46 fixed missing global 2010-09-18 11:32:28 +00:00
Petr Skoda bf423bb1d1 MDL-22795 basic support for course enrol icons and enrol info 2010-08-18 09:02:05 +00:00
Petr Skoda 54475ccba2 fixed use of context when formatting instance names 2010-08-11 17:15:52 +00:00
Petr Skoda e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00
Petr Skoda 0848a19608 MDL-23502 make sure there are not multiple instances of manual enrol plugin 2010-07-31 12:20:23 +00:00
Petr Skoda eafb7a72dc MDL-23502 manual enrol plugin is not part of course edit screen any more 2010-07-31 12:13:38 +00:00
Petr Skoda 2d4b1f3e0d MDL-23502 refactoring towards separate instance config forms 2010-07-31 09:58:36 +00:00
Petr Skoda 4a5aba7c95 MDL-21782 fixed wrong removal of hidden courses again - lot more thanks to Jay Knight for the report! 2010-07-27 21:28:29 +00:00
Petr Skoda 55880bdd9a MDL-21782 fixed wrong removal of hidden courses - thanks Jay Knight for the report! 2010-07-27 19:04:59 +00:00
Petr Skoda 78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda 7d2800fb3c MDL-23508 fixed lastenrol value in user_unenrolled event - credit goes to Mark Nielsen 2010-07-23 18:39:47 +00:00
Petr Skoda 2a6dcb72a2 MDL-23237 new timecreated field in user_emrolments and adding timestart to enrol plugins that know it 2010-07-13 20:58:17 +00:00
Petr Skoda 217d039722 MDL-23253 plugin now may indicate if the want "Enrol me" link in navigation 2010-07-13 17:04:17 +00:00
Petr Skoda 91b99e8018 MDL-23232 added support for enrol_plugin->all_enrol() which indicates plugin allows users to add new enrolments manually 2010-07-12 17:46:48 +00:00
Sam Hemelryk f5ce6b71da enrol MDL-22854 Fixed navigation for the cohort add instance page 2010-07-12 06:18:08 +00:00
Petr Skoda f958f22640 MDL-22780 no grrrr! 2010-07-10 18:56:10 +00:00
Petr Skoda e384d2dc7b MDL-22780 sync ext db enrol when user logs in - except admins in case something goes really wrong in plugins 2010-07-10 18:53:52 +00:00
Petr Skoda 341217658e MDL-23151 new ext sync option and minor refactoring 2010-07-08 10:57:23 +00:00
Petr Skoda 47811589ce MDL-23125 fixed variable name collision - credit goes to I?aki Arenaza, thanks! 2010-07-07 17:56:24 +00:00