Commit graph

14955 commits

Author SHA1 Message Date
Ilya Tregubov
01f6b2f988 MDL-50650 core_grades: Validate minimum grade when importing grades
Also add behat test for max and min grade validation.
2023-12-04 16:03:49 +08:00
Paul Holden
9c8323c932
MDL-79216 reportbuilder: standardize on filter field unit lang string.
Replace/deprecate specific string identifier with generic version that
was introduced in the commit prior.

AMOS BEGIN
 CPY [filterdurationunit,core_reportbuilder],[filterfieldunit,core_reportbuilder]
AMOS END
2023-12-01 09:39:01 +00:00
Paul Holden
0d9b79fb20
MDL-79216 files: new report filter type for filesize data. 2023-12-01 09:39:01 +00:00
Sara Arjona
dd723bae71
MDL-79986 course: Remove $CFG->linkcoursesections setting
Currently, the $CFG->linkcoursesections setting was only used
for the Classic theme, to let admins decide whether the section
names in the Navigation block would be linked or not.

Now that the course/section.php page has been created to display
the content of any single section, and a link to this section page
has been added from the main course page to help users to focus
on the section content, it has been decided to remove the setting
$CFG->linkcoursesections because it's not required anymore.
2023-12-01 09:17:17 +01:00
Jay Oswald
5b5e0aab8c MDL-79091 core_badges: use adhoc tasks 2023-12-01 10:57:23 +11:00
Huong Nguyen
e65882f706 Merge branch 'MDL-79616-master' of https://github.com/brunobaudry/moodle 2023-11-30 10:50:58 +07:00
Sara Arjona
9e3acd9f06
MDL-79915 backup: Improve the Restore main page
Júlia, from the PX team, has suggested a few improvements to make it easier to
understand the Restore main page:

- Displaying a notification instead of the empty table when there are no files
in an area.
- Improve the copy, removing the help buttons and moving this information to the
main page.
- Replacing "Import a backup file" with "Upload a backup file".
- Adding some space between the different areas.
- Displaying a different text in the different "Manage backup files" buttons.
2023-11-29 09:19:46 +01:00
Bruno Baudry
de4a5d71bc MDL-79616 admin: removed unused strings
In MDL-22425 the function that used 'mymoodleredirect' and
'configmymoodleredirect' has been removed.
2023-11-24 09:26:55 +01:00
Ilya Tregubov
abf2c568be
Merge branch 'mdl67898-check-setting-admintree' of https://github.com/matthewhilton/moodle 2023-11-23 10:25:20 +08:00
Jun Pataleta
053c1ddc3d
Merge branch 'MDL-79912-main' of https://github.com/sarjona/moodle 2023-11-23 09:57:09 +08:00
Helen Foster
de4f02d809 MDL-80221 lang: Import fixed English strings (en_fix) 2023-11-22 22:48:47 +01:00
Sara Arjona
424c9cb1bd
MDL-79912 backup: Create Course reuse index page
The backup/view.php page has been created to display the list of
course reuse actions available for users.
That way, the "Course reuse" option in the secondary navigation
will display this page instead of redirecting to the first action
available.

Apart from that, the headers for all the Course reuse actions have
been homogenised and the tertiary navigation selector has been included,
to replace headers and make it easier navigate between actions.
2023-11-22 18:11:43 +01:00
Matthew Hilton
dc7953ccff
MDL-67898 antivirus: Add check to admin settings 2023-11-21 12:04:42 +10:00
Matthew Hilton
9b8acd44d1
MDL-67898 check: Add check admin setting
This admin setting allows you to display a check anywhere in the admin
tree. It uses a webservice to execute the check, so the impact on the
admin tree performance is as low as possible.

Checks do not necessarily need to be registered in the plugins callback
to be shown here, allowing customisation of what is shown in the
settings versus the reports.
2023-11-21 12:04:42 +10:00
Huong Nguyen
5b78268593 Merge branch 'MDL-80037-master' of https://github.com/junpataleta/moodle 2023-11-20 14:48:04 +07:00
David Woloszyn
cbbcacdd8f MDL-78426 core_theme: Move theme's settings to theme card
Theme selector and theme settings have been renamed. Theme admin
section has been removed and contents merged into Appearance category.
2023-11-20 17:05:35 +11:00
Jun Pataleta
181902853c
MDL-80037 theme: Indicate when $CFG->theme is defined in config.php
* And prevent selection of theme if $CFG->theme is defined in config.php
2023-11-17 09:25:20 +08:00
Ilya Tregubov
247d5d2823
Merge branch 'MDL-79564_master_v2' of https://github.com/TomoTsuyuki/moodle 2023-11-16 09:33:14 +08:00
Ilya Tregubov
105ae8942a
Merge branch 'MDL-79987-master' of https://github.com/sarjona/moodle 2023-11-16 09:29:00 +08:00
Tomo Tsuyuki
453eaf6c57 MDL-79564 cli: Add import CLI 2023-11-15 17:36:06 +11:00
Bruno Baudry
2aaba738d1 MDL-79949 admin: removed unused strings
In MDL-25499 a string was added (sub MDL-25505) but never used.
It could be deprecated.
2023-11-14 13:49:51 +01:00
Sara Arjona
8410cf05e0
MDL-79987 course: Improve one section per page course layout
The following changes have been implemented:
- Activities count instead of group by type.
- Icons before Activities and Progress.
- Arrow icon to navigate to the section.
- Other styling improvements, such as the color for the section name and no hover,
and a separator between the activities summary information and the list of activities
for the highlighted section.
2023-11-10 16:13:45 +01:00
Sara Arjona
6f8fcaacd5
Merge branch 'MDL-79620-master' of https://github.com/brunobaudry/moodle 2023-11-08 17:26:16 +01:00
Sara Arjona
e537b5c913
Merge branch 'MDL-79781' of https://github.com/paulholden/moodle 2023-11-08 17:19:45 +01:00
Jun Pataleta
1ad89120ab
Merge branch 'MDL-78425-master' of https://github.com/davewoloszyn/moodle 2023-11-08 10:14:11 +08:00
David Woloszyn
103c2bb512 MDL-78425 core_theme: Theme selection now uses cards and modal 2023-11-08 11:10:41 +11:00
Bruno Baudry
596539aa83 MDL-79620 admin: removed unused strings
In MDL-20204 the function that used 'smartpix' and
'configsmartpix' has been removed.
2023-11-06 16:45:05 +01:00
Ilya Tregubov
44f1937c57
Merge branch 'MDL-71941-master' of https://github.com/lucaboesch/moodle 2023-11-06 13:43:43 +08:00
Ilya Tregubov
c53b560619
Merge branch 'MDL-79536' of https://github.com/paulholden/moodle 2023-11-06 09:17:14 +08:00
Luca Bösch
1e2300fbd6 MDL-71941 core_grades: use 'gradenoun' core string 2023-11-02 16:02:32 +01:00
Paul Holden
6b712f5b46
MDL-79536 blog: clarify language around published report column/filter.
Avoid the use of "Yourself" when refering to the draft state of a blog
post, as it can mistakenly be interpreted as referring to the current
user (rather than the user who authored the blog post).
2023-11-02 10:48:11 +00:00
Ilya Tregubov
540dc05e1c
Merge branch 'MDL-70760-master' of https://github.com/vietlx426/moodle-1 2023-11-02 10:20:29 +08:00
viettruongq
2375b00a08 MDL-70760 admin: Limited length config setting validate client-side 2023-11-01 22:02:58 +07:00
Bruno Baudry
56bee4757c
MDL-79606 admin: removed unused strings
In MDL-19430 the function that used 'mycoursesperpage' and
'configmycoursesperpage' strings was removed, so they can
be removed too.
2023-10-31 12:54:31 +01:00
Paul Holden
78b841dcd2
MDL-79781 course: detect invalid creator role for pending courses. 2023-10-26 13:16:22 +01:00
Rodrigo Mady
bdbe9e2dc1 MDL-67987 core: Deprecate unused password recovery strings 2023-10-17 20:20:22 -03:00
Michael Hawkins
83998b9ba9
MDL-79548 core: Update MoodleNet modal strings so they can be translated
Previously, the type of share (course/activity) was being injected into
the string, but not from a translation, so did not fully translate. The
MoodleNet type (resource) was working, but has also been replaced here
to avoid inserting one string into another (this was also unnecessary
while resource is the only possible option). This also meant the latter
string could be deprecated.
2023-10-03 18:52:38 +08:00
Ilya Tregubov
1fbe7c1113
Merge branch 'MDL-79100-master' of https://github.com/meirzamoodle/moodle 2023-09-27 13:44:14 +08: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
Ilya Tregubov
d22800ca42
Merge branch 'MDL-78217-master' of https://github.com/rezaies/moodle 2023-09-22 10:53:55 +08:00
Shamim Rezaie
59046ab0d2 Merge branch 'MDL-77035-master-2' of https://github.com/mihailges/moodle 2023-09-22 06:44:56 +10:00
Shamim Rezaie
6aa05cfb9a MDL-78217 grade: Refine front-end weight handling and add validation
In this commit, the front-end experience for grade item weights in the
gradebook setup page is refined, building upon the improvements made in
the previous commit.

Firstly, overridden weights are excluded from automatic adjustments.
This enhancement guarantees that user-specified weights remain unchanged
by front-end calculations, thereby preserving the flexibility of custom
weight assignments.

Additionally, front-end form validation has been introduced to enhance
the user experience. Now, users will see validation errors if they
submit invalid values, giving them the opportunity to correct the values
themselves. This ensures that weights are not automatically normalised
by the back-end code, preserving the values as entered by the user.
2023-09-22 05:36:16 +10:00
Mihail Geshoski
9dcc17ce11 MDL-77035 grades: Bulk move action implementation in gradebook setup
Introduces a JS class for the bulk move action in the gradebook setup
and the relavant templates.
2023-09-20 23:53:43 +02:00
Mihail Geshoski
662a2fca9c MDL-77035 core: Base js class for a bulk actions area
Introduces a base js class that bulk actions area implementations need
to extend. This class contains all common selectors, event listeners,
methods (including abstract) that each implementation would use.
Also, introduces a common template for the bulk actions area.
2023-09-20 23:53:43 +02:00
Helen Foster
13b7ea5d44 MDL-79323 lang: Import fixed English strings (en_fix) 2023-09-19 10:24:37 +01:00
Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:56:22 +08: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
hieuvu
a3da58a9cb MDL-78312 core_user: add an 'exact match only' option 2023-09-13 20:22:22 +07:00