6895 Commits

Author SHA1 Message Date
Mikel Martín
79431c7f3a MDL-79800 courseformat: Fix activity cards right elements margins
- Fix margins in elements displayed in the right side of activity cards.
Replace right margins with left margins to avoid extra space when editing
mode is off and action menu is not displayed.
- Fix groupmode icon spacing when displayed in small resolutions with edit
mode disabled
2023-10-20 15:14:19 +02:00
Paul Holden
5bec400483
MDL-79693 output: remove embedded toast region from clipboard modal.
This was causing the toast notification upon the clipboard action
result to immediately disappear as the modal was closed. The toast
module can happily handle this for us itself, so remove from the
template.
2023-10-17 08:20:54 +01:00
Jun Pataleta
9beff03a96
MDL-79626 upgrade: add the 4.3.0 separation line to all upgrade scripts 2023-10-10 10:44:17 +08:00
Michael Hawkins
329a9e97d2
MDL-79573 communication: Support new records for each provider type
Previously, we replaced information in the same communication record
in the database, now there will be a unique record per provider.
This ensures when switching between different providers, the correct
actions such as room member management can be actioned for the correct
provider.

This also includes the required updates for the instances to no
longer assume a provider must be enabled to be relevant. Specifying a
provider is optional to fetch a specific provider instance, the default
will use the currently enabled provider.
2023-10-06 09:54:32 +08:00
Ilya Tregubov
0cfac00031
Merge branch 'MDL-79589-master' of https://github.com/ferranrecio/moodle 2023-10-06 07:54:49 +08:00
Huong Nguyen
0d6204d29c
Merge branch 'MDL-79581-master' of https://github.com/andrewnicols/moodle 2023-10-05 11:37:09 +07:00
Ferran Recio
312806fd5c MDL-79589 course: fix availability subpanel selected option 2023-10-04 17:05:42 +02:00
Andrew Nicols
99c1543aa8
MDL-79581 communication: Context is a mandatory field
The API was incorrectly assuming that all uses of the API were for a
course, and that the instanceid of the communication instance was a
course id. These assumptions are both entirely wrong.

The API is intended to support a range of uses including use at the
site, user, and activity levels.

Furthermore, if a group were to be used, then the instanceid should be
of that group's id, and therefore the contextid would need to be fetched
or that group's course instead.

The only solution here is to add a new contextid field to the table, and
implement it all parts of the API.
2023-10-04 20:37:57 +08:00
Sara Arjona
9877a06246
Merge branch 'MDL-79551-master-rc' of https://github.com/junpataleta/moodle 2023-10-04 12:28:14 +02:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release 2023-10-04 13:57:17 +08:00
Huong Nguyen
5a765e124c MDL-66730 core_course: Improve permission check for category moving
Co-authored-by: Erica Bithell <egb10@cam.ac.uk>
2023-10-04 01:24:19 +00:00
Ilya Tregubov
c80e366051
Merge branch 'MDL-79458-master' of https://github.com/ferranrecio/moodle 2023-10-02 13:30:07 +08:00
Huong Nguyen
d2ad5c8c03
Merge branch 'MDL-75329' of https://github.com/paulholden/moodle 2023-09-28 09:35:44 +07:00
Ilya Tregubov
1fbe7c1113
Merge branch 'MDL-79100-master' of https://github.com/meirzamoodle/moodle 2023-09-27 13:44:14 +08:00
Ilya Tregubov
386f29a46d
Merge branch 'MDL-77708-master' of https://github.com/sarjona/moodle 2023-09-27 09:07:10 +08:00
Ferran Recio
0184a477d5 MDL-79458 output: fix action menu subpanel behats 2023-09-26 13:22:51 +02: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
Sara Arjona
cc9430929d
MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
meirzamoodle
6246db3d30 MDL-79100 core_communication: Update communication-related lang strings 2023-09-26 12:12:38 +07:00
Shamim Rezaie
832ee471be Merge branch 'MDL-75928-master' of https://github.com/lameze/moodle 2023-09-25 17:51:29 +10:00
Mikel Martín
5a5c6ff179 MDL-79348 courseformat: Fix focus indicator of edit restrictions link 2023-09-22 08:34:24 +02:00
Huong Nguyen
0c49449efa
Merge branch 'MDL-79347-master-2' of https://github.com/junpataleta/moodle 2023-09-19 09:19:25 +07:00
Huong Nguyen
7ac9c99c74
Merge branch 'MDL-79351-master' of https://github.com/ferranrecio/moodle 2023-09-18 16:10:17 +07:00
Simey Lameze
9d607df0d9 MDL-75928 format_week: improve get_section_dates one week calc 2023-09-18 00:09:57 +08:00
Jun Pataleta
bb4bcf6165
MDL-79347 course_format: Fix focus outline for Edit conditions link
Use `btn btn-sm` classes to provide a default focus outline for the
Edit conditions link.
2023-09-15 15:05:13 +08:00
Ferran Recio
f652b769fe MDL-79351 completion: fix form_trait code smells 2023-09-14 12:24:41 +02:00
Huong Nguyen
4ead50e696
MDL-78267 core: Partial course sharing for MoodleNet 2023-09-14 14:59:50 +07: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
Huong Nguyen
f6b7447a68
MDL-78267 core_courseformat: Add mutation dispatch for bulk actions 2023-09-14 14:59:49 +07:00
Ilya Tregubov
7903e9cc3a
Merge branch 'MDL-79195-master' of https://github.com/andelacruz/moodle 2023-09-14 09:35:41 +08:00
Huong Nguyen
8dece72737
Merge branch 'MDL-78607-master' of https://github.com/roland04/moodle 2023-09-13 14:46:35 +07:00
Jun Pataleta
6c6a655b0b
Merge branch 'MDL-78527-master' of https://github.com/aanabit/moodle 2023-09-13 11:17:20 +08:00
Ilya Tregubov
94c9ce0595
Merge branch 'MDL-78806-master' of https://github.com/junpataleta/moodle 2023-09-13 10:54:54 +08:00
Amaia Anabitarte
b87b72195c MDL-78527 core_completion: Fixing tests 2023-09-12 15:43:49 +02:00
Amaia Anabitarte
85d07564cb MDL-78527 core_completion: Improving core completion styling 2023-09-12 15:43:48 +02:00
Angelia Dela Cruz
46b60d76c8 MDL-79195 core_course: Activity and resource description display behat 2023-09-12 11:30:26 +08:00
Jun Pataleta
1c892fb6d9
Merge branch 'MDL-78324-master-7' of https://github.com/andrewnicols/moodle 2023-09-11 16:29:56 +08:00
Jake Dallimore
996760f32d
Merge branch 'MDL-79048-master-2' of https://github.com/junpataleta/moodle 2023-09-11 12:59:59 +08:00
Ilya Tregubov
d1f45f3b0e
Merge branch 'MDL-78474-master' of https://github.com/aydevworks/moodle 2023-09-11 10:54:57 +08:00
Jun Pataleta
1eb8ee32bb
MDL-78806 core: Remove redundant site name
MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:58:54 +08:00
Andrew Nicols
48bc688ccd
MDL-78324 core: Convert modals to use new static methods
This commit takes all modals which were not using the legacy
ModalFactory.create triggers and migrates them to the new Modal.create
method.
2023-09-09 00:04:11 +08:00
Jun Pataleta
090e40e749
Merge branch 'MDL-79155-master' of https://github.com/safatshahin/moodle 2023-09-08 22:14:34 +08:00
Jun Pataleta
cfb2afb047
Merge branch 'MDL-78558-master' of https://github.com/roland04/moodle 2023-09-08 22:14:27 +08:00
Jun Pataleta
e0d2040aaa
MDL-79048 course: Update page title when toggling bulk editing
* When toggling bulk editing, updating the page's title can help users,
especially screen reader users, to determine the current editing state
of the course homepage.
2023-09-08 21:55:34 +08:00
Jun Pataleta
7c88f2abdc
MDL-79048 course: Add editing versions of course view page titles
* Create 'editing' versions of the coursetitle and coursesectiontitle
lang strings used for the page title of the course homepage and use
these when editing mode is turned on to provide immediate information
to users, especially screen reader users, the current state of the
course homepage.
2023-09-08 21:42:20 +08:00
Alex Yeung
b690c21eab MDL-78474 mod_label: fix phpunit and behat tests 2023-09-08 12:13:23 +01:00
Mikel Martín
8af68bbe09 MDL-78558 core_courseformat: Activity cards UI improvements
- Fix action menu and completion button size
- New 'Add activity' button styles
- Fix restriction container styles
- Fix action menu and groupmode button styles
- Fix hover styles for action menu and groupmode button
- Fix groupmode spacing styles
- Homogenize completion button colours
- Fix inplaceeditable and badge positioning
- Fix export filesize related behat
- Homogenize activity/section availability
- New add topic styles
2023-09-07 09:34:43 +02:00
Mikel Martín
c4a23af241 MDL-78607 availability: Add loading icon to restrictions form input 2023-09-07 09:02:03 +02:00
Safat
44646941f8 MDL-79155 core_course: Change default communication to none 2023-09-07 12:11:18 +10:00
Ilya Tregubov
d77673e6ea
Merge branch 'MDL-78956-master' of https://github.com/ferranrecio/moodle 2023-09-07 08:59:46 +08:00