Sara Arjona
5f8bfd504a
Merge branch 'MDL-74977-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE
2024-04-10 15:50:58 +02:00
Huong Nguyen
df99388d27
MDL-74977 core_courseformat: add expanded section update actions
...
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:11:45 +07:00
Mikel Martín
441ab036e0
MDL-81307 core_courseformat: Add bulk styles for small devices
2024-04-09 13:30:34 +02:00
Laurent David
0b3802bb0b
MDL-80384 core_courseformat: Remove activty icon link
...
* Remove the link over the image icon for an activity and use
the title attribute for the tooltip
2024-03-25 13:25:34 +01:00
Laurent David
2f024231da
MDL-80320 core_courseformat: Disable group selection
...
* When forced groupmode is enabled for the course:
- the group selection in the activity card be disabled
- the activity action menu groupmode will not be visible.
- only the icon will be visible
* Add new test to check for visibility
2024-01-23 11:31:42 +01:00
Sara Arjona
d29433ddc6
MDL-79726 completion: Overall should consider pass/fail states too
...
In MDL-78744, when the overallcompletion state was added to be displayed
in the activity card, only COMPLETE/INCOMPLETE status were considered.
However, depending on the activity completion settings, there are a
couple of states more that should also be included (COMPLETE_FAIL and
COMPLETE_PASS).
A new method has been added to the cm_completion_details class to
calculate whether a module should be considered or not completed,
based on their completion options and the current value for the
overall complete state.
2023-12-01 09:19:11 +01:00
Paul Holden
6de6f64199
MDL-75329 course: defensive counting of course sections.
...
Avoids errors due to pre-existing integrity issues with course
data, where the absence entirely of section data would result in
PHP errors.
2023-09-26 12:18:32 +01:00
Huong Nguyen
705a721c90
MDL-78267 core_courseformat: Language changes
...
Change from "Bulk edit" to "Bulk actions"
2023-09-14 14:59:50 +07:00
Alex Yeung
b690c21eab
MDL-78474 mod_label: fix phpunit and behat tests
2023-09-08 12:13:23 +01:00
Andrew Nicols
5a44292a05
Merge branch 'MDL-78291-master' of https://github.com/ferranrecio/moodle
2023-08-24 14:39:37 +08:00
Ferran Recio
174125dabc
MDL-78291 core_courseformat: fix cm visibility behats
2023-08-22 09:39:13 +02:00
Stefan Topfstedt
7b04638c52
MDL-71212 core_course: adds controls to the course index drawer.
2023-08-18 11:00:55 -07:00
Sara Arjona
570cd5748b
Merge branch 'MDL-78666-master' of https://github.com/roland04/moodle
2023-08-17 09:09:16 +02:00
Ferran Recio
cb541081bd
MDL-78203 core_courseformat: groupmode action menu item
2023-08-11 17:24:18 +02:00
Sara Arjona
769e915a8f
Merge branch 'MDL-76123' of https://github.com/paulholden/moodle
2023-08-10 18:31:51 +07:00
Mikel Martín
fd48f18ef9
MDL-78666 core_courseformat: Add empty state in conditions dialog
2023-08-10 12:52:07 +02:00
Mikel Martín
848a90d1e5
MDL-78286 core_courseformat: Add direct link to edit completion settings
2023-08-08 16:22:55 +02:00
Paul Holden
6d9a45f388
MDL-76123 course: multilingual module icon alt text attribute.
2023-08-08 13:44:31 +01:00
Sara Arjona
446dc6c65f
Merge branch 'MDL-78708-master' of https://github.com/roland04/moodle
2023-08-02 08:47:15 +02:00
Mikel Martín
628336f639
MDL-78708 core_courseformat: Fix activity icon link shown without access
...
In course page activity icon was showing as a link even when the user
does not have access to the activity. This commit fixes this behaviour
checking if activity is visible for the user and showing the icon without
link if not.
2023-08-01 16:03:10 +02:00
Andrew Nicols
01a1210954
MDL-78289 courseformat: Amend behat tests to reduce test overheads
2023-08-01 09:45:47 +02:00
Mikel Martín
8ff60512fb
MDL-78289 core_courseformat: New completion dropdown buttons UI
...
- Update completion dropdown button styles for students depending on activity
overall completion status.
- Add new behat partial named selector 'core_courseformat > Activity completion'
- Add new behat Feature to test activity completion criteria button or dropdown
for students and teachers.
2023-08-01 09:41:21 +02:00
Jun Pataleta
08a48a9090
Merge branch 'MDL-78283-master' of https://github.com/ferranrecio/moodle
2023-07-27 14:48:15 +08:00
Ferran Recio
01e0e56665
MDL-78282 core_courseformat: interactive visibility badges
2023-07-26 15:44:28 +02:00
Ferran Recio
b2b1915e25
MDL-78282 core_courseformat: add non-ajax cm actions translation
2023-07-26 15:44:28 +02:00
Ferran Recio
6e1fff1a57
MDL-78283 core_courseformat: group mode dropdown
2023-07-19 17:52:00 +02:00
Simey Lameze
c5e7eb312b
MDL-75324 behat: use a proper step to verify completion status
2023-07-04 11:15:10 +08:00
Sara Arjona
8c944b217f
Merge branch 'MDL-78201-master' of https://github.com/aanabit/moodle
2023-06-21 10:56:33 +02:00
Mikel Martín
0cacc7afb8
MDL-78199 course: Move activity plugintype to a tooltip
2023-06-16 12:40:09 +02:00
Amaia Anabitarte
3ae96a0496
MDL-78201 core_course: Prepare group mode state actions
2023-06-16 00:52:18 +02:00
Sara Arjona
da16718e8b
MDL-78207 course: Add tests to cover activitybadge feature
2023-06-13 12:09:58 +02:00
Andrew Nicols
fcba0cb379
MDL-77989 core: Fix uses of legacy external API
2023-04-21 13:33:56 +08:00
Sara Arjona
b4cb4ac512
Merge branch 'MDL-77672-master' of https://github.com/ferranrecio/moodle
2023-03-30 17:32:53 +02:00
Ferran Recio
da1aa96664
MDL-77672 core_courseformat: fix bulk in one section per page
2023-03-30 16:42:59 +02:00
Ferran Recio
879dc5f308
MDL-76895 core_courseformat: add detailed bulk selection checks
...
To prevent future regressions some extra checks has been added to the
bulk_select feature file. The new checks validate the activities and
sections bulk selectors are really selected, not only the total count.
2023-03-30 12:13:24 +02:00
Ferran Recio
0436605df5
MDL-76895 core_courseformat: add fast bulk selections
2023-03-30 11:40:45 +02:00
Ferran Recio
5cdb09d10c
MDL-77734 core_courseformat: add title to bulk duplicate activities
2023-03-27 11:17:55 +02:00
Ferran Recio
ae799fad7d
MDL-76905 core_courseformat: match prototype visual style
2023-03-22 14:08:51 +01:00
Ferran Recio
3beffbb506
MDL-76893 core_courseformat: bulk move activites
2023-03-21 15:46:23 +01:00
Ferran Recio
6ac6100f1c
MDL-76894 core_courseformat: bulk move section
2023-03-17 16:18:19 +01:00
Ferran Recio
856b295569
MDL-76851 core_courseformat: plugin custom editor strings
...
Most section related actions require the frontend to use alternative
strings depending on the format plugin lang file. This patch adds
overridden strings to the current setViewFormat course editor setup
object.
2023-03-17 11:07:13 +01: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
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
Sara Arjona
1a76b44a7a
Merge branch 'MDL-76940-master' of https://github.com/laurentdavid/moodle
2023-03-09 10:54:41 +01: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
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
Ferran Recio
5f59807c06
MDL-77291 core_courseformat: show labels in course index
2023-03-03 09:15:11 +01:00
Philipp Memmel
e026dd9caf
MDL-75542 core_courseformat: Add param for expanding section
2023-03-03 07:54:07 +01: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