Damyon Wiese
0f389d44b6
MDL-64819 output: Activity menu icons
...
Remove duplciate alt text from activity menu icons and the links to add new sections.
2019-04-05 12:03:10 +08:00
Jun Pataleta
6a09040e4d
MDL-62666 course: Only set the groups setting to true when necessary
...
* Plus update the comment to be more descriptive.
2019-01-21 14:43:19 +08:00
Andrew Hancox
46bd72dc4f
MDL-62666 course: Ignore restore_general_groups on activity duplication
2019-01-21 14:43:19 +08:00
Shamim Rezaie
eeb374e2e6
MDL-41507 core_group: Consistent default value for FEATURE_GROUPS
2018-12-12 14:05:01 +11:00
Shamim Rezaie
81e11e98f7
MDL-62960 calendar: Implementing course events validity check callback
2018-10-16 13:04:05 +11:00
Eloy Lafuente (stronk7)
f562290f78
Merge branch 'MDL-61325-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE
2018-09-03 23:33:52 +02:00
Mihail Geshoski
60357a5551
MDL-56998 blog: Remove associated blog posts when module is deleted
2018-09-03 08:37:19 +08:00
Dan Marsden
99e51855a6
MDL-61325 use correct value when looking for string.
2018-08-30 09:11:15 +08:00
Andreas Grabs
9f9d7bbe87
MDL-62011 course: Approval of a course request fails
2018-04-21 20:55:59 +02:00
Farhan Karmali
6363c9ade2
MDL-37390 course: Set startdate and enddate properly for approved course
...
Once a course is approved the startdate and enddate were not set properly
This patch sets current date as startdate and enddate is startdate +
default duration of the course
2018-01-12 10:02:18 +01:00
Damyon Wiese
a66de3ca70
MDL-59909 calendar: Try hard not to fail the adhoc task.
...
Triggering a fatal error in an adhoc task is bad. It will be retried indefinitely.
Even though we are not sure how to get a module instance without a course module record,
it is possible and should not kill the Moodle site.
2017-10-25 15:42:14 +08:00
Jake Dallimore
5bbea7338d
MDL-35429 backup: Only show relevant actions for automated backups
...
- Users without permission to download or restore won't see the
respective links.
- The 'Manage backup files' button for the 'automated' backup filearea
now requires the same permissions as downloading does for this filearea,
those being 'restore:userinfo' and 'backup:downloadfile'.
2017-10-10 12:30:57 +08:00
Mark Nelson
93b47710ac
MDL-59977 core: do not directly check 'viewparticipant' capability
2017-09-11 12:44:27 +08:00
Mark Nelson
d4576789e4
MDL-59832 core: allow users with 'enrolreview' to see participants page
2017-08-28 12:47:57 +08:00
Marina Glancy
8120795233
MDL-59311 course: duplicate module rebuilds cache twice
...
slightly refactor duplicate_module() code so it does not rebuild course cache
twice and also we do not need to move module if it is already the last module in a section
2017-07-25 14:23:41 +08:00
Dan Poltawski
58a9d391a6
Merge branch 'wip-MDL-59287-master-v3' of git://github.com/abgreeve/moodle
2017-07-11 11:29:53 +01:00
Adrian Greeve
a85e191c4d
MDL-59287 course_module: switching to new function.
...
Instead of using *_refresh_events directly
course_module_update_calendar_events is called so
that all types of calendar events can be updated.
2017-07-10 09:40:02 +08:00
Adrian Greeve
e3658a6a9c
MDL-59287 course_module: Create calendar event update function.
2017-07-10 09:40:02 +08:00
Marina Glancy
ca66f9654e
MDL-59262 course: bug - requested course is created without sections
2017-06-30 12:11:55 +08:00
Marina Glancy
70b6230829
MDL-59308 calendar: pass module context when known
...
this will protect us from exceptions when context for removed instance can not be retrieved
2017-06-22 13:42:22 +08:00
Jake Dallimore
63aa8c27be
Merge branch 'MDL-58136-master' of git://github.com/damyon/moodle
2017-06-14 12:31:56 +01:00
Damyon Wiese
d07373f289
MDL-58136 boost: Limit courses in flatnav
...
Only show "in-progress" courses in the boost flat navigation (as per the myoverview block).
2017-06-13 10:02:14 +08:00
Devang Gaur
4ddf7c6025
MDL-55548 course: added timemodified field to course_sections table
2017-06-12 15:52:53 +08:00
Jake Dallimore
273d310601
MDL-58138 completion: Fixes for a number of small issues.
2017-04-19 11:41:57 +08:00
Marina Glancy
a64a9f9ce4
MDL-58267 completion: style and capabilities cleanup
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Marina Glancy
0cbc248dd3
MDL-58140 completion: access control refinements
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Eloy Lafuente (stronk7)
aa2b5b214d
Merge branch 'wip-MDL-57769-master' of https://github.com/marinaglancy/moodle
2017-04-05 01:31:08 +02:00
Marina Glancy
125c4c4cb8
MDL-57961 course: change wording of module availability
...
renamed Visible to Availability and added help strings
AMOS BEGIN
CPY [availability,core_moodle],[modvisible,core_moodle]
CPY [availability,core_moodle],[modvisiblewithstealth,core_moodle]
CPY [availability,core_moodle],[modvisiblehiddensection,core_moodle]
CPY [show,core_moodle],[modshow,core_moodle]
CPY [hide,core_moodle],[modhide,core_moodle]
AMOS END
2017-04-04 17:05:57 +08:00
Marina Glancy
89b909f6de
MDL-57769 course: prepare to remove numsections option
2017-03-30 08:26:12 +08:00
Jun Pataleta
745f79dad4
MDL-57994 course: Fix newsitems setting for course formats without news
2017-03-22 09:26:13 +08:00
Andrew Nicols
2154c9824d
Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle
2017-03-20 13:57:38 +08:00
Damyon Wiese
ec7b552251
MDL-40759 course: Fix group mode switcher to use renderPix
...
Dont assume icons are image tags and call Templates.renderPix to rebuild the entire icon.
2017-03-17 15:51:28 +08:00
Arnaud Trouve
019186b7b5
MDL-57994 course: fix newsitems value
2017-03-16 18:34:30 +01:00
Marina Glancy
8341055eb4
MDL-4782 course: Allow activities in the "stealth" mode
...
Add field 'visibleoncoursepage' to the course_modules table
Add site-wide setting for turning on stealth mode availability
Add callback for "stealth" mode support in the course formats
Change display of modules/sections availability on the course page
2017-02-14 16:38:05 +08:00
David Mudrák
17a23673a9
MDL-57256 course: Fix display of the Legacy course files link
...
The patch fixes the classical operator precedence bug.
2016-12-02 14:10:06 +01:00
Dan Poltawski
9f82774a8b
Merge branch 'MDL-57064-master' of git://github.com/FMCorz/moodle
2016-11-23 12:46:18 +00:00
Frederic Massart
84979ab793
MDL-57064 course: Return all properties when getting navigation options
2016-11-22 12:58:52 +08:00
David Monllao
30cfed3731
Merge branch 'MDL-57052-master' of git://github.com/jleyva/moodle
2016-11-21 09:47:51 +08:00
David Monllao
406f1eb76d
Merge branch 'MDL-57051-master' of git://github.com/jleyva/moodle
2016-11-21 09:45:44 +08:00
Juan Leyva
0840b3e687
MDL-57052 course: Missing required file in check_module_updates_since
2016-11-19 17:27:01 +00:00
Juan Leyva
6706c1cb12
MDL-57051 course: Do not return directories in check_module_updates
2016-11-19 16:54:31 +00:00
Marina Glancy
5e5ce443fd
MDL-56847 tags: exclude modules that are being deleted
...
we don't check any access for admins for performance reasons, course modules
that are in the process of deletion should be filtered out on the early stage
2016-11-15 14:34:18 +08:00
Damyon Wiese
16076f1e3d
MDL-56811 forum: Auto create the latest news forum
...
When a course is created or updated, create a news forum if the
newsitems setting is > 0.
2016-11-10 13:51:02 +08:00
David Monllao
44eb1490c4
MDL-54751 course: Set adhoc task user
...
We should complete the deletion process using the same
user that started it.
Added a new param to loginas() to prevent the event to be generated as
there is no need to generate an new event for that as the user didn't
explicitly loginas again.
2016-11-08 09:45:07 +08:00
Jake Dallimore
3869d77411
MDL-54751 core_course: Edit course libs to support deletion flag
...
Changed the course libs such that module and section deletion is now
handed off to relevant functions in the util class and exempted
modules scheduled for deletion from the course backups.
2016-11-07 07:41:59 +08:00
Eric Merrill
880fc15bf0
MDL-47162 core_message: Updating all uses of messaging to add courseid
2016-10-31 14:13:13 -04:00
Amanda Doughty
cc350fd9c8
MDL-47162 core_message: Add course id to message eventdata
2016-10-27 18:11:27 +02:00
David Monllao
26aa08b2f8
Merge branch 'MDL-56307-master' of git://github.com/jleyva/moodle
2016-10-25 17:33:08 +08:00
Juan Leyva
65b2669d98
MDL-56307 course: Return time updated and times updated
2016-10-25 10:10:55 +01:00
Russell Smith
cebce76f61
MDL-56307 course: Refactor file_storage
2016-10-25 10:10:53 +01:00