6296 Commits

Author SHA1 Message Date
Ilya Tregubov
5b277492ea Merge branch 'MDL-77429-master-fix' of https://github.com/andrewnicols/moodle 2023-03-10 14:52:27 +08:00
Andrew Nicols
17ff77a9c0 MDL-77429 course: Change course date to previous day
When a test runs just after midnight, and the user time zone is not the
same as the server timezone, and the course is created using a generator
(which runs in server time zone) but the UI presented in the user
timezone, the course start time is still in the future.

We need to create the course a day earlier to ensure that the "This
week" indicator is in the correct day.
2023-03-10 14:11:23 +08:00
Ilya Tregubov
27e0329a08 Merge branch 'MDL-77291-master' of https://github.com/sarjona/moodle 2023-03-10 10:44:41 +08:00
Andrew Nicols
7beb5d5af2 Merge branch 'mdl-77329-master-clr' of https://github.com/ferranrecio/moodle 2023-03-09 22:18:25 +08:00
Andrew Nicols
cc7cf2f49a Merge branch 'MDL-77431-master' of https://github.com/lucaboesch/moodle 2023-03-09 22:17:20 +08:00
Andrew Nicols
19a06a04a9 Merge branch 'MDL-77429-master' of https://github.com/andelacruz/moodle 2023-03-09 22:03:12 +08:00
Andrew Nicols
37fa8c6fc0 MDL-77037 core_course: Coding style fix in Behat feature 2023-03-09 21:59:29 +08:00
Andrew Nicols
c9cc52aec1 Merge branch 'MDL-77037-master' of https://github.com/laurentdavid/moodle 2023-03-09 21:53:01 +08:00
James C
2702583d6c MDL-77329 course: Prevent collapse state loss 2023-03-09 11:49:55 +01:00
Sara Arjona
1a76b44a7a Merge branch 'MDL-76940-master' of https://github.com/laurentdavid/moodle 2023-03-09 10:54:41 +01:00
Jun Pataleta
8441270181 Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle 2023-03-09 16:02:01 +08:00
Laurent David
387371bacd MDL-77037 core_courseformat: Refresh course index
* Refresh course index when language change
2023-03-09 08:41:02 +01:00
Andrew Nicols
0a3b918b3c Merge branch 'MDL-77014-master' of https://github.com/lucaboesch/moodle 2023-03-09 11:41:49 +08:00
Andrew Nicols
511401f4f6 MDL-77559 js: Rebuild all JS with Node 16 2023-03-09 09:53:19 +08:00
Laurent David
8f3d9e291e MDL-76940 core_courseformat: Index refreshing when role switch
* Hidden sections and content should not visible to students when switching role
2023-03-08 11:47:21 +01:00
Angelia Dela Cruz
6c5740ba37 MDL-77429 Behat: Add coverage for changing course format as teacher 2023-03-08 15:47:34 +08:00
Luca Bösch
d70ed83644 MDL-77014 course: Single activity format course title multilang. 2023-03-08 08:03:22 +01:00
Andrew Nicols
974d7e4dab Merge branch 'MDL-52805-42' of https://github.com/Chocolate-lightning/moodle 2023-03-08 14:49:59 +08:00
Jun Pataleta
85718f00d8 Merge branch 'MDL-77416-master-enfix' of https://github.com/vmdef/moodle 2023-03-08 08:50:30 +08:00
Mathew May
e5ca7766e7 MDL-52805 core: Remove legacy log calls 2023-03-07 13:08:46 +08:00
Ilya Tregubov
d4e2192da1 Merge branch 'MDL-75542-master' of https://github.com/PhMemmel/moodle 2023-03-07 08:21:47 +08:00
Andrew Nicols
c50c88e0e6 Merge branch 'MDL-77387_master' of https://github.com/pmaneggia/moodle 2023-03-04 13:30:30 +08:00
Víctor Déniz
6a9f78b0e7 MDL-77416 lang: Use fixed strings in tests 2023-03-03 14:15:30 +00:00
Sara Arjona
5c20b537b4 MDL-70226 course: Add more options to the activitychoosertabmode setting
Some extra options have been added to the activitychoosertabmode setting, to let
admins decide when to display the Recommended tab.
Apart from that, one of these values have be set as default value for this setting,
as suggested by the UX/PX teams. So the Starter and Full presets have been updated
too with the new values.
2023-03-03 13:45:15 +01:00
Paola Maneggia
7b5c35895b MDL-77387 course: drop 'moodle/course:view' for course copy UI
Enabling the course copy UI of MDL-64843 already without the capability 'moodle/course:view'
has the advantage, that a user with 'moodle/course:create', 'moodle/backup:backupcourse'
and 'moodle/restore:restorecourse' (typically a teacher)
will be able to use this UI for their own courses and with the additional benefit
of also being enrolled in the copied course.
Important: the role assigned to the user who copies a course is determined
by the value of the setting 'creatornewroleid', which defaults to 'editingteacher'.
2023-03-03 08:49:43 +00:00
Ferran Recio
5f59807c06 MDL-77291 core_courseformat: show labels in course index 2023-03-03 09:15:11 +01:00
Luca Bösch
d855c47b77 MDL-77431 course: Let the bulk edit toggle look like edit mode switch. 2023-03-03 08:54:56 +01:00
Philipp Memmel
e026dd9caf MDL-75542 core_courseformat: Add param for expanding section 2023-03-03 07:54:07 +01:00
Jun Pataleta
916503658d Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle 2023-03-02 12:34:34 +08:00
Andrew Nicols
abccd6ba40 Merge branch 'MDL-77386-master' of https://github.com/ferranrecio/moodle 2023-03-02 12:06:27 +08:00
Andrew Nicols
33b1e41f13 MDL-75012 js: Full build of all grunt things 2023-03-02 11:55:32 +08:00
Jake Dallimore
ee3922a10f Merge branch 'MDL-77400-master' of https://github.com/dpalou/moodle 2023-03-02 11:27:04 +08:00
Andrew Nicols
0c8b3749f2 Merge branch 'MDL-40600-master-duplicate_section' of https://github.com/alexmorrisnz/moodle 2023-03-02 09:23:05 +08:00
Dani Palou
aec31e312a MDL-77400 reportbuilder: Fix enrolment status return type 2023-02-28 10:41:12 +01:00
Amaia Anabitarte
2a7632feb5 MDL-76992 core_courseindex: Apply indentation in the course index 2023-02-28 10:26:15 +01:00
Amaia Anabitarte
b37fe9a088 MDL-76990 core_course: Recover move right/left functionality 2023-02-27 18:27:57 +01:00
Ferran Recio
01d6ba02a3
MDL-40600 core_courseformat: duplicate a named section with copy
When a named section is duplicated, the name must have a (copy) particle
to make visible what section is the original and what is the copy.
2023-02-27 09:19:26 +13:00
Alex Morris
f1c4cc73df
MDL-40600 course: Add ability to duplicate section 2023-02-27 09:10:36 +13:00
Ferran Recio
30c172becf MDL-77386 core_courseformat: add plugin and module to cm state 2023-02-24 12:24:25 +01:00
Andrew Nicols
82e035955c Merge branch 'MDL-76804-master' of https://github.com/lucaboesch/moodle 2023-02-23 10:13:31 +08:00
Ilya Tregubov
9fcb71d5ff Merge branch 'MDL-76850-master' of https://github.com/ferranrecio/moodle 2023-02-22 09:26:49 +08:00
Ferran Recio
d43c14471b MDL-76850 core_courseformat: bulk duplicate activities 2023-02-21 12:26:04 +01:00
Ilya Tregubov
4145046020 Merge branch 'MDL-76848-master' of https://github.com/ferranrecio/moodle 2023-02-21 17:36:32 +08:00
Ilya Tregubov
414d3cdd5f Merge branch 'MDL-68347-master-2' of https://github.com/marinaglancy/moodle 2023-02-21 10:06:39 +08:00
Marina Glancy
c184b2d284 MDL-68347 course: trigger event if user was created during restore 2023-02-20 10:20:00 +00:00
Luca Bösch
0428998de2 MDL-76804 course: inserting activities UI element centered. 2023-02-17 11:09:12 +01:00
Ferran Recio
e6802896f7 MDL-76848 core_courseformat: bulk availability 2023-02-17 10:07:32 +01:00
Tomo Tsuyuki
9e725bc168 MDL-45301 assign: Add font options for EditPDF 2023-02-17 15:30:25 +11:00
Andrew Nicols
4a5cf23d07 Merge branch 'MDL-75578-master' of https://github.com/mackensen/moodle 2023-02-16 12:01:08 +08:00
Andrew Nicols
4fa300b78f Merge branch 'MDL-76415-master' of https://github.com/meirzamoodle/moodle 2023-02-16 11:31:42 +08:00