Commit graph

728 commits

Author SHA1 Message Date
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
Sam Hemelryk
6a91c41a49 Merge branch 'wip-MDL-37812-master' of git://github.com/marinaglancy/moodle 2014-07-15 12:07:05 +12:00
Dan Poltawski
ebf709ded5 MDL-46227 fix typo 2014-07-09 08:22:45 +01:00
Dan Poltawski
59ba5a5952 Merge branch 'MDL-45599-master-addons' of git://github.com/mudrd8mz/moodle 2014-07-08 15:31:50 +01:00
Helen Foster
272a071694 MDL-45599 Fix tiny grammatical errors in the plugin installer 2014-07-08 09:07:01 +02:00
Skylar Kelty
79a70e776e MDL-46227 Fix XSS in scheduled tasks 2014-07-08 13:37:13 +08:00
Marina Glancy
5e9cbe0edc MDL-37812 tool_uploaduser: apply default values for user preferences 2014-07-08 12:35:44 +08:00
Marina Glancy
7a0bf1bd1a MDL-37812 user: separate preferences into separate section in editform 2014-07-08 12:35:40 +08:00
David Mudrák
d49db5b2de MDL-45599 Stop using the 'add-on' term
We now call them all as just 'plugins' for consistency. There where we need to
explicitly distinguish the source of the plugin, we say they are 'additional
plugins' on contrary to 'standards plugins' coming with the core.
2014-07-04 13:16:53 +02:00
Dan Poltawski
99fbe16211 Merge branch 'wip_MDL-46099_m28_userglobal' of https://github.com/skodak/moodle 2014-07-01 10:39:14 +01:00
Petr Skoda
2e00d01db4 MDL-46099 session: fix use of references for session globals
This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.

This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.
2014-07-01 08:38:00 +12:00
Rajesh Taneja
9363073b22 MDL-45641 event: Manually trigger event where needed.
Some places, user_created_user and user_updated_user
events should be triggred after profile data is saved.
2014-06-27 15:44:56 +08:00
Rajneel Totaram
8fb7520095 MDL-45967 admin lang: Fix typo 2014-06-16 17:26:34 +08:00
John Okely
bb8d6e1a81 MDL-43274 Course: Remove ability to delete logs on a course during reset 2014-06-16 09:10:05 +08:00
Eloy Lafuente (stronk7)
f94891cc00 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
Sam Hemelryk
4dc5c77f33 Merge branch 'MDL-45477-master' of https://github.com/sammarshallou/moodle 2014-05-20 11:58:12 +12:00
sam marshall
2164bd723a MDL-45477 Behat: List of steps takes too long to load, times out
Increase time limit to 300 seconds (5 minutes).
2014-05-14 11:06:51 +01:00
Juan Leyva
a4496bdde9 MDL-36670 logging: action parameter length restricted to 40 chars 2014-05-13 16:05:39 +02:00
Marina Glancy
f094167bef MDL-45486 Bump all versions to planned release 2014-05-09 10:50:39 +08:00
Eloy Lafuente (stronk7)
538bf99ece MDL-45486 Bump all versions to planned release
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Marina Glancy
f69c0d572e Merge branch 'MDL-45398-master' of git://github.com/sammarshallou/moodle 2014-05-08 12:04:53 +08:00
sam marshall
59d585d135 MDL-45398 Manage availability restrictions: Show/hide not working
The show/hide icons were not working correctly. In addition, the
report still displayed even when availability feature was turned
off.

As well as fixing them, I added a Behat test to cover this report.
2014-05-07 10:15:27 +01:00
Andrew Nicols
02915dfc23 MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00