Angelia Dela Cruz
948ac8f62b
MDL-70152 behat: Forum behat generators use UI
...
Behat cleanup and optimisation
2023-05-29 10:28:04 +08:00
Angelia Dela Cruz
d7752f9576
MDL-70152 behat: Forum behat generators use UI
...
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:27:33 +08:00
Andrew Nicols
c38a977f3d
MDL-70152 forum: Create behat data generator
...
* Convert track_read_posts.feature to use activity and discussion
data generators as exmaple.
Co-authored-by: Jun Pataleta <jun@moodle.com>
2023-05-29 10:27:33 +08:00
Paul Holden
bb433919cc
MDL-77394 mod_forum: de-couple discussion pinned/starred options.
2023-04-24 10:38:01 +01:00
Petr Skoda
f336875b1a
MDL-76859 h5p: Fix behat failures
...
- Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
JS error)
- An unnecessary image has been removed from the greeting-card.h5p fixture package.
That way, the text will always be displayed (even if the iframe is still not
resized). Instead of replacing the original greeting-card-887.h5p file, I've
renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
at the end of the file name).
2023-04-12 12:27:06 +02:00
Meirza
cd528df093
MDL-77630 mod_forum: correct typo in variable names
2023-03-28 09:39:01 +07:00
Jun Pataleta
bb61d8392b
Merge branch 'MDL-77559-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-09 15:57:44 +08:00
Andrew Nicols
cd48ae56c7
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Jun Pataleta
3c00ca0bb2
Merge branch 'MDL-77416-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-03-08 08:50:24 +08:00
Víctor Déniz
98f10149d6
MDL-77416 lang: Use fixed strings in tests
2023-03-03 13:27:01 +00:00
Helen Foster
192bad5ba2
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 13:25:53 +00:00
Jun Pataleta
21ef5c5f84
Merge branch 'MDL-77428-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-03 16:35:12 +08:00
Angelia Dela Cruz
8422698a06
MDL-77428 Behat: Add coverage for forum post word count
2023-03-02 13:46:02 +08:00
Jun Pataleta
a377bf30c4
Merge branch 'MDL-75012-401-5' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 12:31:09 +08:00
Andrew Nicols
288620b0b4
MDL-75012 js: Full build of all grunt things
2023-03-02 12:15:25 +08:00
David Mudrák
a31b0acaa5
MDL-75534 Fix usermodified in very old forum discussions
...
Very early Moodle versions used to leave the field empty. Recent Moodle
versions expect that the value always links to an existing user account.
2023-03-02 10:41:41 +08:00
Paul Holden
cf25f53743
MDL-72727 mod_forum: prevent default favourite toggle click event.
...
Allow the repository call to the web service method to complete before
re-directing, otherwise the call may not complete and/or races against
the page reload causing random Behat errors.
2023-02-27 23:30:33 +00:00
Ilya Tregubov
9cb0e85cf9
MDL-76313 forum: code style changes.
2023-02-16 11:00:28 +08:00
Ilya Tregubov
dd9073a232
Merge branch '76313-forum-improve-accessibility-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-02-16 11:00:12 +08:00
Julien Boulen
2b568f1c93
MDL-76314 forum: add form check to prevent combining wrong parameters
...
Form validation prevents combining the forum type "single discussion" and the group mode "separate groups".
2023-02-10 11:07:45 +01:00
Jun Pataleta
0006557b59
Merge branch 'MDL-76652-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-01-24 18:45:24 +08:00
Paul Holden
70a5e38b2c
MDL-70070 phpunit: correct data provider method names.
...
They should not be prefixed `test_` because that's how actual
test methods containing assertions are identified by PHPUnit.
2023-01-16 08:28:31 +00:00
Jun Pataleta
28ccae3b7a
Merge branch 'MDL-76739-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-12 10:17:37 +08:00
Andrew Nicols
b50964d2e2
Merge branch '66924-view-own-private-reply-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-01-11 15:53:27 +08:00
David Mudrák
acd82d3a86
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-10 21:15:06 +01:00
Helen Foster
152bbd76c5
MDL-76739 lang: Import fixed English strings (en_fix)
2023-01-10 21:13:14 +01:00
Julien Boulen
e50831318e
MDL-76313 forum: improve accessibility on subscribers page
...
- add header on table of subscribers
- remove one redundant header
2023-01-10 11:17:22 +01:00
Julien Boulen
4ea254faf2
MDL-66924 mod_forum: Allow users to see their own private messages
...
Allow users to see their own private messages even if they don't have
mod/forum:readprivatereplies capability
Add behat test to avoid MDL-67109 issue.
Co-authored-by: Martin Putzlocher <mputzi@users.noreply.github.com>
2023-01-09 14:43:51 +01:00
Simey Lameze
e1204dc4f1
MDL-76652 behat: use data generator and remove duplicated steps
2023-01-09 10:16:50 +08:00
Simey Lameze
33b7115024
MDL-76652 behat: add coverage for postwithoutthrottling logic
2023-01-09 10:16:50 +08:00
Paul Holden
b99d68087d
Merge branch 'MDL-32114-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2023-01-06 11:20:47 +00:00
Ilya Tregubov
145317b2b3
MDL-76251 mod_forum: Fix illegal whitespace. Another try.
2023-01-06 16:41:25 +07:00
Ilya Tregubov
6ee2865fcc
MDL-76251 mod_forum: Fix illegal whitespace.
2023-01-06 16:11:51 +07:00
Stephan Robotta
64b8061180
MDL-32114 form: markdown must be preserved on saving post
...
- Markdown is saved to the DB, no conversion to HTML to keep
ability to reedit the content without beaking it.
- Blockquote element is styled that it's distingishable from
normal text.
2023-01-05 18:36:16 +01:00
Aya Saad
3e0ad5831a
MDL-76251 mod_forum: fix responsive issues in discussion
2023-01-05 11:41:19 +02:00
Amaia Anabitarte
93bd773ee9
MDL-75441 mod_forum: Show add new post button to guest users
2022-12-13 17:38:30 +01:00
Jun Pataleta
d9cd25c2fb
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-12-01 08:59:07 +03:00
Ilya Tregubov
5c96f74a06
Merge branch 'MDL-74853-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
info@eWallah.net
4d9c6785ff
MDL-65939 phpunit: Maildigest tests can query a wrong adhoc task
2022-11-29 15:41:31 +08:00
Marina Glancy
a5f92c041e
MDL-74853 various: add second parameter to htmlentities functions
...
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:32 +01:00
Andrew Nicols
08a19dbed8
Merge branch 'MDL-76403-master' of https://github.com/junpataleta/moodle
2022-11-24 10:18:22 +08:00
Helen Foster
74828e8149
MDL-76395 lang: Import fixed English strings (en_fix)
2022-11-23 17:03:58 +00:00
Jun Pataleta
00bae8b8a4
MDL-76403 versions: bump all versions and requires near release
2022-11-23 09:45:23 +08:00
Sara Arjona
2322d783dc
Merge branch 'MDL-73620-master_grouperror' of https://github.com/alexmorrisnz/moodle
2022-11-17 18:00:21 +01:00
Andrew Nicols
eecbc3ce15
MDL-70071 forum: Convert post threshold warnings to info
2022-11-03 13:10:22 +08:00
Víctor Déniz
04d8fc6070
Merge branch 'MDL-68437-master' of https://github.com/mihailges/moodle
2022-10-28 17:44:50 +01:00
Alex Morris
43fd7457e3
MDL-73620 mod_forum: Fix issue with discussion permission check
...
Users with access to some groups but not all would receive an error
page when creating a discussion topic that was set to send to all
groups
2022-10-11 08:30:38 +13:00
Mihail Geshoski
de4d940d41
MDL-68437 forum: Support to show only active course users in grader
...
The following change adds support to show only active course users
in the forum grader and generally replicates the behaviour from the
assignment grader which relies on certain config settings, user
permissions and capabilities.
2022-09-30 12:01:08 +08:00
Eloy Lafuente (stronk7)
0ed53be9b2
MDL-66902 tests: Fix all incorrect namespaces
...
This issue just goes over all the currently incorrect
namespaces in test cases and:
1. Change the namespace to the correct one.
2. Move/rename it to correct location if needed (level 2 and down).
3. Remove not needed MOODLE_INTERNAL check when possible.
4. Remove file phpdoc when the file only has one class.
5. Make small adjustments in case the change of namespace requires it.
2022-09-26 14:12:16 +02:00
Mihail Geshoski
3001995be8
MDL-75153 grade: Update behat tests
2022-09-20 00:17:56 +08:00