Commit Graph

56 Commits

Author SHA1 Message Date
Frederic Massart
a5ea5149b8 MDL-48248 enrol_manual: Handle durations more precise than int days 2016-06-01 15:57:12 +08:00
Damyon Wiese
72fcaae76d MDL-48362 enrol: Fixes to cohort and manual enrol plugins
These were regressions from the change to use the standard editing ui
for enrolment plugins.
2016-03-02 12:34:00 +08:00
Damyon Wiese
f758951565 MDL-48362 enrol: Convert guest to standard enrolment ui
Also - provide automatic course navigation links when using the standard ui.
2016-02-29 14:33:06 +08:00
Damyon Wiese
51c736f037 MDL-48362 enrol: Auto generate the edit action icons when using the new ui 2016-02-29 14:00:31 +08:00
Damyon Wiese
60010fd614 MDL-48362 enrol: Use a standard UI and validation for enrolment plugins
Convert core enrolment plugins to use standard editing ui.
2016-02-29 12:31:41 +08:00
David Monllao
d005d71881 MDL-30157 enrol_manual: New option to enrol from now
We set the new now option as the default one, as other enrol
plugins use it as the default enrolment start date. We are keeping
the default to today on upgrades.
2015-09-15 16:25:25 +08:00
John Okely
3a0c9c6306 MDL-48772 enrol_cohort: Replace hardcoded language with language strings 2015-01-30 11:29:40 +08:00
Marina Glancy
3e70f5792b MDL-48390 cohorts: do not limit number of cohorts in dropdowns 2014-11-27 11:14:39 +08:00
Marina Glancy
b654819297 MDL-35618 enrol_manual: Add possibility to manually enrol cohort members 2014-10-03 18:28:45 +08:00
Daniel Neis Araujo
b5a289c4e8 MDL-46509 enrol: Require 'enrol/PLUGIN:config' capabilities to show/hide enrollment instances 2014-08-21 19:01:57 -03:00
Daniel Neis
ee9e079ddd MDL-35864 Require 'enrol/PLUGIN:config' capabilities to delete enrol instances 2014-06-20 13:08:18 -03:00
sam marshall
3ef7279f26 MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
Exceptions (places where set_time_limit is still left) are:

Third-party libraries:
  ADODB
  PHPMailer

Moodle core:
  PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Petr Škoda
8d4f13666b MDL-37974 fix verbose output when expiring manual enrolments 2013-06-07 21:18:54 +02:00
MorrisR2
80f1c6adc0 MDL-37974 add "Disable course enrolment" expiration action for manual enrolments
Commit amended by Petr Skoda to match recommended coding style.
2013-06-07 21:06:47 +02:00
Petr Škoda
0f39498480 MDL-38096 fix availability of bulk enrol actions 2013-02-27 16:12:07 +08:00
Petr Škoda
506338d5de MDL-38096 fix availability of enrol button 2013-02-27 16:12:07 +08:00
Petr Škoda
ce9d54b9f3 MDL-38096 use separate manual enrol and unenrol capabilities in UI 2013-02-24 13:28:48 +01:00
Frederic Massart
982f4bc40e MDL-38301 usability: Fixed wrong icon size 2013-02-15 10:04:57 +08:00
Petr Škoda
0aaea0d241 MDL-37184 refactor enrolment editing code to be shared by plugins
AMOS BEGIN
 MOV [editenrolment,enrol_self],[editenrolment,core_enrol]
AMOS END
2013-01-12 15:47:04 +01:00
Petr Škoda
5d549ffc8c MDL-37299 use progress_trace in enrol_manual and enrol_self sync 2012-12-29 21:50:32 +01:00
Frederic Massart
c42651d682 MDL-36622 usability: Adaptations following new icons 2012-11-15 19:47:14 +08:00
Petr Škoda
8c04252cbf MDL-35843 refactor expiry notifications to core enrol feature 2012-10-19 16:03:48 +08:00
Petr Škoda
8e941204b2 MDL-35843 prepare fox expiry refactoring to core enrol feature
AMOS BEGIN
  MOV [errorthresholdlow,enrol_manual],[errorthresholdlow,core_enrol]
  MOV [expirynotify,enrol_manual],[expirynotify,core_enrol]
  MOV [expirynotify_help,enrol_manual],[expirynotify_help,core_enrol]
  MOV [expirynotifyall,enrol_manual],[expirynotifyall,core_enrol]
  MOV [expirynotifyteacher,enrol_manual],[expirynotifyenroller,core_enrol]
  MOV [notifyhour,enrol_manual],[expirynotifyhour,core_enrol]
  MOV [expirythreshold,enrol_manual],[expirythreshold,core_enrol]
  MOV [expirythreshold_help,enrol_manual],[expirythreshold_help,core_enrol]
AMOS END
2012-10-19 16:03:40 +08:00
Petr Škoda
f763b33dba MDL-36031 add unit tests for expiry notifications of manual enrolments 2012-10-13 21:21:53 +02:00
Petr Škoda
9f4a3c73cd MDL-28980 fix notification defaults to use new expirynotify combo logic 2012-10-10 11:19:10 +02:00
Petr Škoda
da6cf13f00 MDL-28980 use correct instance when informing enroller 2012-10-10 09:45:16 +02:00
Petr Škoda
493057fd27 MDL-28980 fix repeated enroller expiry notification 2012-10-10 09:41:30 +02:00
Petr Škoda
70cae08406 MDL-28980 improve expiry notification inline docs 2012-10-09 10:03:59 +02:00
Petr Škoda
129e6d36a4 MDL-28980 add basic expiry notification support to manual enrolments
Thanks Helen Foster for the lang string improvements.
2012-10-08 15:15:51 +02:00
Petr Škoda
7881024ec4 MDL-31437 add group sync option to enrol_cohort
This patch includes following changes and new features:
* Group sync in enrol_cohort plugin.
* Option for editing of role in existing cohort sync instance.
* Group memberships are now restored after enrolments.
* New enrol method for restore of protected group membership.
* New component callback 'restore_group_member' for restore of general plugin group membership.
* New component callback 'restore_role_assignment' for restore of general plugin role assignments.
* Implemented group membership protection in enrolment UI.
* Other minor fixes and cleanup.

Notes:
* The YUI base enrolment page is not reimplemented yet - see MDL-35618.
2012-09-28 21:00:00 +02:00
Petr Škoda
5ddd9921fe MDL-35063 add configurable action on manual enrolment expiration 2012-09-16 11:01:07 +02:00
Petr Škoda
7a7b8a1f19 MDL-35071 redesign enrol restore
Includes option to convert all enrolments to enrol_manual instances, support for mapping of custom fields and fixes for several other problems. This does not include support for custom enrol tables, it will be addressed in another issue.
2012-09-07 11:11:28 +02:00
Petr Škoda
6f6c9e5c6a MDL-35072 coding style cleanup in enrol_manual 2012-08-26 16:37:49 +02:00
Adam Olley
2e7e9403b2 MDL-34645: enrol_manual: enrolment init to pass default duration setting 2012-07-31 11:11:54 +09:30
Frederic Massart
55bcef2954 MDL-34461 Librairies: Replaced deprecated get_context_instance() 2012-07-23 17:42:05 +08:00
Sam Hemelryk
aad1a1f7ce MDL-31158 enrol_manual: Fixed whitespace 2012-02-21 14:46:04 +13:00
Charles Fulton
dbe93bc7c7 MDL-31158 make grade recovery site-configurable 2012-02-17 09:25:24 +07:00
Petr Skoda
282b5cc7e3 MDL-30945 add support for unenrolling of individual users + code cleanup 2011-12-28 16:56:46 +01:00
Petr Skoda
4f500c259c MDL-29984 fix undefined $today when no course start date 2011-10-28 15:11:42 +02:00
Petr Skoda
1e3c41c0cf MDL-29011 do not require manual enrol cap on the enrolled users page 2011-08-21 18:17:43 +02: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
d4c98cffa8 MDL-23532 enrol - rebased after latest weekly and split new UI components out to the manual plugin 2011-04-21 10:02:55 +08:00
Sam Hemelryk
24a0c1ea66 MDL-23532 enrol-manual - manual enrolments now manages its own enrolment editing and unenrolment 2011-04-21 10:02:55 +08:00
Sam Hemelryk
076995bf91 MDL-23532 enrol - fixed regressions after latest weekly and improved moodle_page handling 2011-04-21 10:02:54 +08:00
Sam Hemelryk
cf855c0b7a MDL-23532 enrol - separated AJAX functions from enrol/ajax.php to their respective enrol plugins 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
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
770ab27f1d MDL-23719 longtimenosee finally reimplemented - it is now used in self enrol only. It should be faster, easier to configure and finally there should not be any "my users are disappearing" reports in the future 2010-08-09 10:19:25 +00:00
Petr Skoda
9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
Petr Skoda
e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00