Commit graph

3950 commits

Author SHA1 Message Date
Ankit Agarwal
e24e0d24b9 MDL-45758 tool_monitor: Add observers to handle user and module deletion
Original issue - MDL-47376
2014-10-15 07:41:06 +05:30
Ankit Agarwal
5833307eab MDL-45758 tool_monitor: Add unit tests for the universal observer
Original issue - MDL-46132
2014-10-15 07:41:06 +05:30
Ankit Agarwal
bb550efc0d MDL-45758 tool_monitor: Add a universal event observer
This observer does the following task:-
1) It monitors all events and stores relevant data in a temporary table
2) It doesn't write the events straight away, it buffers them, so there is only one db write per request
3) It calculates and sees if there are subscriptions related to those events who need to be notified
4) If there are such cases, it schedules a adhoc task for the same

Original issue - MDL-46132
2014-10-15 07:41:06 +05:30
Ankit Agarwal
1ebfdaec04 MDL-45758 tool_monitor: Add a adhock task to send notifications
Original issue - MDL-46132
2014-10-15 07:41:05 +05:30
Ankit Agarwal
01d070e74b MDL-45758 tool_monitor: Modifiy manager classes to return instances
Original issue - MDL-46132
2014-10-15 07:41:05 +05:30
Ankit Agarwal
d18c425d51 MDL-45758 tool_monitor: Add a new message provider
Original issue - MDL-46132
2014-10-15 07:41:05 +05:30
Simey Lameze
84be4f6af4 MDL-45758 tool_monitor: add missing alt on manage icons
Original issue - MDL-47460
2014-10-15 07:41:05 +05:30
Mark Nelson
c47eb61a48 MDL-45758 tool_monitor: added help icon for rules
Original issue - MDL-47152
2014-10-15 07:41:05 +05:30
Mark Nelson
4e18940f83 MDL-45758 tool_monitor: added help icon for subscriptions
Original issue - MDL-47152
2014-10-15 07:41:05 +05:30
Mark Nelson
d55f3e03b1 MDL-45758 tool_monitor: added help icon renderer
Original issue - MDL-47152
2014-10-15 07:41:05 +05:30
Mark Nelson
5b8aa8f700 MDL-45758 tool_monitor: fixed typo
Original issue - MDL-47152
2014-10-15 07:41:05 +05:30
Ankit Agarwal
e1a6022802 MDL-45758 tool_monitor: Add unit tests for the course deleted observer
Original issue - MDL-46510
2014-10-15 07:41:05 +05:30
Ankit Agarwal
6a7de0d243 MDL-45758 tool_monitor: Add a course delete observer
Original issue - MDL-46510
2014-10-15 07:41:05 +05:30
Ankit Agarwal
044503e33d MDL-45758 tool_monitor: Add a UI page to manage subscriptions
Original issue - MDL-46111
2014-10-15 07:41:05 +05:30
Ankit Agarwal
ac0e4dad7f MDL-45758 tool_monitor: Update subscription manager class
Update the class to support the subs renderable

Original issue - MDL-461111
2014-10-15 07:41:05 +05:30
Ankit Agarwal
58dcafb05a MDL-45758 tool_monitor: Add renderables for the subscription page
Original issue - MDL-46111
2014-10-15 07:41:05 +05:30
Ankit Agarwal
76b7ce41ab MDL-45758 tool_monitor: Add a renderer for the subscription page
Original issue - MDL-46111
2014-10-15 07:41:05 +05:30
Ankit Agarwal
3432c96d3a MDL-45758 tool_monitor: Create a subscription instance class
Original issue - MDL-46241
2014-10-15 07:41:04 +05:30
Ankit Agarwal
3870ad7a2f MDL-45758 tool_monitor: Handle rule managment
Original issue - MDL-46130
2014-10-15 07:41:04 +05:30
Ankit Agarwal
22f4231631 MDL-45758 tool_monitor: Display a rule managment interface
Original issue - MDL-46110
2014-10-15 07:41:04 +05:30
Ankit Agarwal
371d5e0b66 MDL-45758 tool_monitor: Create rendering code for manage rules page
Original issue - MDL-46110
2014-10-15 07:41:04 +05:30
Ankit Agarwal
58097ddf9b MDL-45758 tool_monitor: Add support for editing/creating a rule
Original issue - MDL-45938
2014-10-15 07:41:04 +05:30
Ankit Agarwal
2fd010b886 MDL-45758 tool_monitor: YUI module to handle event selection dropdown
Original issue - MDL-45938
2014-10-15 07:41:04 +05:30
Simey Lameze
48cc3a8d4d MDL-45758 tool_monitor: Initial version of rule form.
Original issue - MDL-45938
2014-10-15 07:41:04 +05:30
Ankit Agarwal
3d27d680a8 MDL-45758 tool_monitor: Polish the code for rule manager and unit tests
Original issue - MDL-45918
2014-10-15 07:41:04 +05:30
Simey Lameze
7bdbb4dc2d MDL-45758 tool_monitor: Rule manager class and data generators
This issue introduces rule manager class, data generators and unit tests
associated with them.

Original issue - MDL-45918
2014-10-15 07:41:04 +05:30
Ankit Agarwal
c8a081cc6b MDL-45758 tool_monitor: Add a subscription manager class
Original issue - MDL-45919
2014-10-15 07:41:04 +05:30
Ankit Agarwal
3883eee06b MDL-45758 tool_monitor: Build the navigation tree for the tool
Original issue - MDL-46131
2014-10-15 07:41:04 +05:30
Ankit Agarwal
5f68d9ee2b MDL-45758 tool_monitor: Implement a rule instance class
Original issue - MDL-45939
2014-10-15 07:41:04 +05:30
Ankit Agarwal
f235cae41f MDL-45758 tool_monitor: Implement a class to generate list of events
Original issue - MDL-46109
2014-10-15 07:41:04 +05:30
Ankit Agarwal
d0d6c72de2 MDL-45758 tool_monitor: Adding xml file defining the db tables
Original issue - MDL-45916
2014-10-15 07:41:03 +05:30
Ankit Agarwal
92b40de9de MDL-45758 tool_monitor: Add basic file structure of the report
Original issue - MDL-45916
2014-10-15 07:41:03 +05:30
Andrew Nicols
262abe63fd MDL-46284 tool_messageinbound: Fail with warning if handler disabled
If a handler is disabled, the user should be informed of this issue.

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-10-09 10:40:38 +08:00
Andrew Nicols
a6019c2910 MDL-46284 tool_messageinbound: Handle checkboxes correctly
When a checkbox is not checked, it does not submit in the form, therefore
this must be an !empty() test instead of an (int) casting.

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-10-08 15:19:17 +08:00
Sam Hemelryk
94cdabcdee Merge branch 'MDL-46284-master' of git://github.com/andrewnicols/moodle
Conflicts:
	lib/db/install.xml
	lib/db/upgrade.php
	version.php
2014-10-07 16:28:50 +13:00
Marina Glancy
8dfd73e04a Merge branch 'MDL-38106-master' of git://github.com/danpoltawski/moodle 2014-10-07 10:25:29 +08:00
Andrew Nicols
77c0a68db9 MDL-46284 core: Add e-mail fetcher from IMAP
This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-10-07 09:58:35 +08:00
Dan Poltawski
49bee6dc67 MDL-46210 langimport: behat tests
Behat tests for lang import. To run these tests you must define the
TOOL_LANGIMPORT_REMOTE_TESTS constant - because they rely on the
download.moodle.org infrastructure.
2014-10-05 14:40:47 +01:00
Dan Poltawski
ed914e31c5 MDL-46210 langimport: logging for install/update/remove
Now that we have sceduled tasks updating the langpacks, its useful
to log which actions have occured.
2014-10-05 14:34:38 +01:00
Dan Poltawski
1028f6fab8 MDL-46210 langimport: task for updating langpacks
Now langpacks will be updated by scheduled task every day rather
than updating manually.
2014-10-05 14:25:45 +01:00
Dan Poltawski
816b3e0176 MDL-46210 langimport: Rearrange code
Factoring code into a controller class so that the update
can be put into a scheduled task (and be a bit tider).
2014-10-05 14:25:45 +01:00
Dan Poltawski
5b17d81dce MDL-38106 lesson: behat now sets introduction 2014-10-05 14:12:59 +01:00
Sam Hemelryk
4356012960 Merge branch 'MDL-46811-master' of git://github.com/danpoltawski/moodle 2014-09-23 16:36:05 +12:00
Dan Poltawski
59abbd9319 MDL-46811 update download.moodle.org url to https
https is now the prefferd protocol for this site
2014-09-09 16:17:32 +01:00
Damyon Wiese
15ace20460 MDL-46997 Grades: Improve the behat tests for grade aggregation
The tests now cover hidden grades in sub categories for all aggregation types. This change
includes a data generator for grade categories, with unit tests and behat tests for
the generator.
2014-09-09 17:11:59 +08:00
Marina Glancy
9cc66e866c MDL-45602 behat: add members to cohorts 2014-09-05 16:40:00 +08:00
Rex Lorenzo
f0d2cb3e90 MDL-46776 gradereport_grader: Improve Grader report user interface
* Adding assignments to test course generator to more easily test the grader report with large number of students and graded activities.
2014-08-25 16:17:47 +08:00
Damyon Wiese
650f14e555 Merge branch 'wip-MDL-41639-master' of git://github.com/marinaglancy/moodle 2014-08-05 15:52:50 +08:00
Marina Glancy
5f079af450 MDL-46503 behat: cohort generator allows to create cohort in category 2014-07-25 09:12:21 +08:00
Marina Glancy
e7bc91579b MDL-41639 tool_uploaduser: Automatically create cohorts if not found 2014-07-23 14:56:52 +08:00