Commit Graph

3868 Commits

Author SHA1 Message Date
Ilya Tregubov 843066ecf4 Merge branch 'MDL-72091-rebase-3' of https://github.com/Chocolate-lightning/moodle 2021-10-11 14:46:54 +07:00
Mathew May dba47e8641 MDL-72091 Navigation: Update navigation to match designs 2021-10-11 12:20:34 +08:00
abgreeve 24eac0b051 Merge branch 'MDL-72543-master' of git://github.com/lameze/moodle 2021-10-07 15:11:12 +08:00
Simey Lameze 9afd980b4e MDL-72543 block_timeline: change the display of event names 2021-10-07 14:05:34 +08:00
Peter 7a9e3db9dc MDL-52206 completion: Behat test
Co-authored-by: aanabit
2021-10-07 10:17:25 +08:00
Peter Dias 2c7893cf9f MDL-52206 core: Update new activity_custom_completion
Update the custom_completion classes to accept the new completion
criteria
2021-10-04 19:45:47 +08:00
Andrew Nicols f4604fe5fb Merge branch 'MDL-72544' of git://github.com/paulholden/moodle 2021-10-01 10:14:51 +08:00
Ilya Tregubov 34a0ba3232 Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle 2021-09-29 15:40:39 +02:00
Bas Brands 350797397e MDL-71610 core_behat: access site admin manage tags link 2021-09-29 09:25:36 +02:00
Bas Brands 16c726cde7 MDL-71610 core_behat: use new edit mode step in feature files 2021-09-29 09:25:36 +02:00
sam marshall e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
Paul Holden e8d7817f7f MDL-72544 output: set default core/toast message type to information.
Update existing code to set type to warning as appropriate.
2021-09-24 08:19:54 +01:00
Mihail Geshoski 7d821080f0 MDL-72093 navigation: Update behat tests 2021-09-14 12:02:35 +08:00
Eloy Lafuente (stronk7) 633c2fcc5d Merge branch 'MDL-69855-master' of git://github.com/junpataleta/moodle 2021-09-09 12:58:16 +02:00
Eloy Lafuente (stronk7) 3a4ad12034 Merge branch 'MDL-67610-master-2' of git://github.com/junpataleta/moodle 2021-09-07 19:25:15 +02:00
Jun Pataleta 58bd7256ec MDL-67610 mod_forum: Do not include private replies in unread count
Fetching the counts of unread posts should only include unread regular
posts or unread private reply posts directed to the user unless the user
has the capability to read private replies.
In order to retrieve the correct counts, we also need to loop through
each forum instance in the course to check the capability of the user to
read private replies in each forum.
2021-09-07 23:19:26 +08:00
Eloy Lafuente (stronk7) 49b057e4dc Merge branch 'MDL-72428-master-enfix' of git://github.com/mudrd8mz/moodle 2021-09-03 19:09:52 +02:00
David Mudrák 9f8349bdfb MDL-72428 lang: Use the fixed strings in the tests 2021-09-03 17:38:35 +02:00
Helen Foster 92cc461235 MDL-72428 lang: Import fixed English strings (en_fix) 2021-09-03 17:38:35 +02:00
Joseph Baxter c66c299939 MDL-70046 message: handle call processor failure
* ensure message_send returns false if message not sent
* digests only clear queue on success
* notifications requeue failed messages
2021-08-31 10:36:54 +01:00
Eloy Lafuente (stronk7) a0e23f7c48 MDL-71573 behat: Move to 4.0 course-index compatible steps 2021-08-26 17:45:04 +02:00
Sara Arjona d2b5a689e1 MDL-68633 mod_forum: Fix behat error in classic 2021-08-26 08:11:18 +02:00
Sara Arjona 4f4b748a16 Merge branch 'MDL-69588-master-fix' of git://github.com/junpataleta/moodle 2021-08-26 07:23:34 +02:00
Sara Arjona 557d8fd475 Merge branch 'MDL-71029-master' of https://github.com/dcai/moodle 2021-08-26 07:12:20 +02:00
Andrew Nicols 3ab12ddbf5 Merge branch 'MDL-70176_master' of https://github.com/TomoTsuyuki/moodle 2021-08-26 12:08:56 +08:00
Jun Pataleta b36bdd18d8 MDL-69588 core: Activity navigation fixes 2021-08-26 09:58:15 +08:00
Sara Arjona f3ed47a47a Merge branch 'MDL-68633' of git://github.com/paulholden/moodle 2021-08-25 16:12:38 +02:00
Jun Pataleta 4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Jun Pataleta 300d0bc03a MDL-69588 mod: Additional Behat step fixes 2021-08-25 10:35:33 +08:00
Adrian Greeve f28535082c MDL-70196 behat: Add a new step for navigating with the navbar.
- Part of: MDL-69588
A lot of tests work on the basis that you can follow the last item
of the breadcrumb nav bar. This is not the case. This step will first
check to see if the page is already the one requested. If it is then
nothing further needs to happen, otherwise we follow the link in the
navbar.
2021-08-23 17:46:38 +08:00
Adrian Greeve c3871a9174 MDL-70196 navigation: Update to pages to add a URL.
- Part of: MDL-69588
Some pages have added an item to the end of the  navbar without a
link for it. This adds the current page as a url to this navigation
node. Doing this brings it in line with all of the other pages
around Moodle and also helps with the new navigation changes in
theme boost.
2021-08-23 17:46:38 +08:00
Adrian Greeve 7d435fb5f2 MDL-70196 navigation: Update to feature files.
- Part of: MDL-69588
A lot of tests rely on the last element of the breadcrumb being
active. This updates feature files to not rely on this anymore.
2021-08-23 17:46:38 +08:00
Andrew Nicols c79d58a50b MDL-71209 behat: Fix behat for new changes
Co-authored-by: Ilya Tregubov <ilya@moodle.com>
2021-08-20 16:49:06 +02:00
Tomo Tsuyuki 0646a40b20 MDL-70176 mod_forum: Grading respects separate groups filter 2021-08-20 13:27:50 +10:00
Eloy Lafuente (stronk7) dd23f8d903 Merge branch 'MDL-72186' of git://github.com/paulholden/moodle 2021-08-19 09:10:17 +02:00
Jun Pataleta 6bd3db4fb5 MDL-69855 mod_forum: Deprecate postmailinfolink lang string
With the info text and reply link text being split, this lang string
is no longer being used and should be deprecated.
2021-08-16 17:42:18 +08:00
Jun Pataleta 6a82cbc6ab MDL-69855 mod_forum: Don't show reply link in email for private replies 2021-08-16 17:42:18 +08:00
Andrew Nicols 530322e2ce MDL-69918 core: Update uses of legacy form change checker 2021-08-10 23:54:01 +08:00
Paul Holden 0795695872 MDL-68633 mod_forum: confirmation for subscription change navigation. 2021-07-30 10:46:58 +01:00
Andrew Nicols 776f4bd80c MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
Paul Holden 79ac69bb99 MDL-72186 mod_forum: version bump to trigger services reload.
Removal of services in 1530035f didn't include a version bump
which meant they were never fully removed and led to errors on
the web services documentation page.
2021-07-19 22:32:37 +01:00
Jun Pataleta 3b0e7c65f4 Merge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle 2021-07-08 23:30:35 +02:00
Eloy Lafuente (stronk7) 4094b4f92e MDL-70335 behat: Ensure the scenario passes under all themes
Also, get rid of not needed @javascript tag
2021-07-08 23:30:33 +02:00
Simey Lameze 8fd7e5edeb MDL-65252 mod_forum: make inline attachment field optional 2021-07-08 16:14:12 +08:00
Eloy Lafuente (stronk7) 320eda3f7e Merge branch 'MDL-70335-master' of https://github.com/juancs/moodle 2021-07-06 20:18:16 +02:00
Jun Pataleta 761f1d7d51 Merge branch 'MDL-65252-master' of git://github.com/lameze/moodle 2021-07-06 14:04:33 +08:00
Simey Lameze 2a95ac4659 MDL-65252 forum: add missing inline attachments logic to forum API 2021-07-06 13:49:29 +08:00
Juan Segarra Montesinos 48fbc20559 MDL-70335 mod_forum: Subscribe users from Forced to Auto mode
When a teacher changes the subscription mode from forced
subscription to auto subscription using the "cog" icon in the
forum page, users are not seen in the Show/edit current
subscribers" page.

This does not happens when done from the Edit settings page.
2021-07-03 10:01:08 +02:00
Jake Dallimore f6804b7ba3 MDL-65252 mod_forum: fix posts builder so it excludes hidden posts
This makes the builder capability aware, via an injected manager
factory and fixes unit tests.
2021-07-02 06:19:16 +08:00
Jake Dallimore ea13242d99 MDL-65252 mod_forum: fix get_discussions_posts for deleted posts 2021-07-02 06:19:16 +08:00