David Monllao
626b05c09c
Merge branch 'MDL-58349-master' of git://github.com/damyon/moodle
2017-04-20 15:17:59 +08:00
David Monllao
ba1ad89e7d
Merge branch 'MDL-58278-master' of git://github.com/damyon/moodle
2017-04-20 14:05:39 +08:00
Andrew Nicols
6f9f15d1ad
MDL-58515
2017-04-20 13:47:21 +08:00
Andrew Nicols
9517ea662d
Merge branch 'MDL-58515-master' of https://github.com/lucisgit/moodle
2017-04-20 13:03:34 +08:00
Damyon Wiese
f2a6b9cac9
MDL-58278 mod_assign: Ignore send notify with mw
...
When marking workflow is on and the grade is not released we never send notifications anyway.
Instead of preventing the grading form from submitting (validation error) we silently ignore it.
2017-04-20 11:43:34 +08:00
Andrew Nicols
442908a100
Merge branch 'MDL-58138-master-v2' of git://github.com/snake/moodle
2017-04-19 11:53:40 +08:00
Marina Glancy
32b93ea7f8
MDL-58138 completion: changes after rebasing
...
The defaults for the completion have been changed in MDL-55611
2017-04-19 08:56:11 +08:00
Jake Dallimore
8db355c58f
MDL-58138 tests: unit and behat tests covering bulk and default tabs
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Jake Dallimore
b54bcddda4
MDL-58190 completion: callbacks to get completion rule descriptions
...
- Activities can have their custom completion rules added to cm_info
through the get_coursemodule_info callback.
- Descriptions of a modules active completion rules can be fetched using
the component callback mod_xxx_get_completion_active_rule_descriptions
which takes in a cm_info object and returns an array of strings.
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Dan Poltawski
c4642d14a7
Merge branch 'MDL-58463-master' of git://github.com/junpataleta/moodle
2017-04-18 18:53:51 +01:00
Jun Pataleta
bb3fc8d6b1
MDL-58463 mod_assign: Improve coverage of test_assign_refresh_events()
2017-04-18 13:26:23 +08:00
Andrew Nicols
d4be750a7c
Merge branch 'MDL-58539_master' of https://github.com/dmonllao/moodle
2017-04-18 08:41:59 +08:00
Ruslan Kabalin
fc9bc65863
MDL-58539 assignfeedback_editpdf: Fix group assignment fatal error.
...
This makes sure that $grade->attemptnumber is not NULL before using its
value.
2017-04-17 17:00:47 +02:00
Tony Butler
e082fbd978
MDL-58515 assignfeedback_editpdf: Fix comment tabbing and focus outline
2017-04-17 15:40:27 +01:00
Dan Poltawski
6a346ab440
Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle
2017-04-17 10:42:48 +01:00
Andrew Nicols
e4a090c105
Merge branch 'MDL-58501_master' of git://github.com/markn86/moodle
2017-04-13 13:21:42 +08:00
Andrew Nicols
28b966a5f9
Merge branch 'MDL-39913-master-new-validation' of https://github.com/xow/moodle
2017-04-13 08:44:15 +08:00
Mark Nelson
59391e80ad
MDL-58501 mod_*: improved docs for new calendar callbacks
2017-04-12 17:43:52 +08:00
Mark Nelson
063b7ee647
MDL-58507 core: link functions with final deprecation issue
2017-04-12 12:38:51 +08:00
Jake Dallimore
84fb93a77e
Merge branch 'MDL-58297-master' of git://github.com/andrewnicols/moodle
2017-04-11 10:49:07 +08:00
Andrew Nicols
23605e9fbc
Merge branch 'MDL-58504_master' of git://github.com/markn86/moodle
2017-04-11 08:57:30 +08:00
David Monllao
ad6478225b
Merge branch 'MDL-57858-master' of git://github.com/pavelsokolov/moodle
2017-04-10 14:14:59 +02:00
David Monllao
7841e9f337
Merge branch 'MDL-58104-m' of git://github.com/pavelsokolov/moodle
2017-04-10 09:51:32 +02:00
John Okely
61527865a1
MDL-39913 assignsubmission_file: Add validation
2017-04-10 12:07:58 +08:00
John Okely
62e87ae4b8
MDL-39913 assign: Add help on filetype submissions
2017-04-07 16:02:00 +08:00
Jonathon Fowler
4044cad5ea
MDL-39913 assignsubmission_file: add file types restriction
...
Testing for uploading a non-permitted file won't work as things stand
currently because the filemanager throws an exception that Behat
catches, which causes a fail.
2017-04-07 16:02:00 +08:00
Andrew Nicols
e6a4780452
MDL-58297 core: Update to use new hashing functions
2017-04-07 10:40:23 +08:00
Mark Nelson
01f96180ff
MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action
2017-04-06 15:00:02 +08:00
Dan Poltawski
1e4e5c52d7
Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle
2017-04-04 17:07:41 +01:00
Jun Pataleta
3651c22b75
MDL-57607 mod_assign: Make assign_refresh_events refresh overrides
...
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Simey Lameze
8d63ed6ed5
MDL-58207 mod_assign: reword grading due date lang string
...
Part of MDL-55611 epic.
2017-04-04 11:01:50 +01:00
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Mark Nelson
1054c6f879
MDL-58188 mod_assign: added missing require_once and updated docs
...
The only reason the exclusion of require_once was not exploding before
is because the call to provider_event_action() was being triggered first
which required the file. We can't rely on this happening all the time.
The doc update describes when the usage of is_event_visible() is appropriate.
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Cameron Ball
a82becaa25
MDL-58087 mod_assign: Apply overrides in event action callback
...
Part of MDL-55611 epic.
2017-04-04 11:01:39 +01:00
Dan Poltawski
a29cd3138c
Merge branch 'MDL-57411-master' of git://github.com/jleyva/moodle
2017-04-03 17:59:34 +01:00
David Monllao
371e2385a9
Merge branch 'MDL-55459-master' of https://github.com/lucisgit/moodle
2017-04-03 16:27:26 +02:00
Damyon Wiese
6e0d700de8
MDL-58220 assign: Only show write access to teachers
...
In filebrowser api - this is also used by repositories using controlled links.
2017-04-03 13:41:19 +08:00
Damyon Wiese
141ee541ca
MDL-58219 repository: Change how controlled links work
...
Files are copied to the system user as soon as they are uploaded. Write access is then controlled when
serving links to the file.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
72fd103add
MDL-58219 cibot: Fixes
...
Fixes for cibot warnings.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
151b0f9409
MDL-58132 repositories: Controlled link file type
...
This introduces a new "controlled link" file type where the file is not
stored in Moodle - but Moodle will control the access permissions on the file.
Plugins can "freeze" a filearea which means Moodle will take ownership of all the remote
files of this type.
When accessing a file, if the "filebrowser" infomation indicates the current user can write to the file, they
will be granted temporary write access.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Andrew Nicols
d846cb244d
MDL-58337 mod_assign: Do not show submitted assignments in dashboard
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Jun Pataleta
e44d71a6ee
MDL-58102 mod: Set sensible defaults for additional completion fields
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Simey Lameze
09fe4eba87
MDL-58265 mod_assign: remove references to collapsibleregioncaption
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Jun Pataleta
fb36d8dd2c
MDL-58048 mod: New callback implementation
...
* Callback function implementation of
<modname>_core_calendar_event_action_shows_item_count for:
- mod_assign
- mod_forum
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
c7d75292f0
MDL-58240 mod_assign: Only use due for assign override event types
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
294dce6764
MDL-57730 mod_assign: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00