Commit graph

4047 commits

Author SHA1 Message Date
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
Simey Lameze
1530035f12 MDL-65252 mod_forum: removal of get_forum_discussion_posts ws 2021-07-02 06:19:16 +08:00
Simey Lameze
8baf7d6e5f MDL-65252 core: final deprecation of forum_count_replies() function 2021-07-02 06:19:16 +08:00
Helen Foster
ab53075f22 MDL-72063 lang: Import fixed English strings (en_fix) 2021-07-01 14:11:23 +02:00
Dongsheng Cai
56399ef9b8 MDL-71029 forum: fix post count for users have more than 1 enrolment 2021-06-23 09:41:13 +10:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Andrew Nicols
70dcc60862 MDL-71113 js: Bare minimum fixes to build jsdoc 2021-06-18 09:38:04 +08:00
Eloy Lafuente (stronk7)
9d6aa39985 MDL-71583 versions: Add all the missing full-stops to version/requires
It seems that the new phpcs3 checker is now controlling those
line comments that previously were ignored.

This commit just looks for all the cases and bulk-add
them when needed. The bash script (mac) used to add all them is:

while read -r line; do
    arr=(${line//:/ })
    if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
        echo "  file ${arr[0]}, line ${arr[1]}"
        sed -i "${arr[1]}s/\$/\./" ${arr[0]}
    fi
done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
2021-05-11 20:11:07 +02:00
Mihail Geshoski
4cbde3c918 MDL-71570 mod_forum: Avoid using deprecated string in forum templates 2021-05-10 12:21:31 +08:00
Eloy Lafuente (stronk7)
a7f40c5ac9 Merge branch 'MDL-70772' of git://github.com/paulholden/moodle 2021-05-06 23:19:55 +02:00
Eloy Lafuente (stronk7)
9b522367a0 Merge branch 'MDL-71425-master-enfix' of git://github.com/mudrd8mz/moodle 2021-05-04 23:39:32 +02:00
David Mudrák
ad30fde448 MDL-71425 lang: Fix reworded strings in tests 2021-05-04 17:45:18 +02:00
Paul Holden
06c4248b02 MDL-71359 mod_forum: empty forums shouldn't export anything. 2021-05-04 17:23:11 +02:00
Jun Pataleta
fd8544b37c Merge branch 'MDL-71401-master-3' of git://github.com/mickhawkins/moodle 2021-05-04 12:26:34 +08:00
Michael Hawkins
9db08b47de MDL-71401 mod_forum: Update completion behat to test individual changes 2021-05-04 12:19:29 +08:00
Sara Arjona
b04d1c3041 Merge branch 'MDL-71163-master' of git://github.com/rezaies/moodle 2021-05-03 11:59:58 +02:00
Víctor Déniz
6d3107641d Merge branch 'MDL-71189-master-3' of git://github.com/mickhawkins/moodle 2021-05-03 08:08:34 +01:00
Michael Hawkins
b77c66ac10 MDL-71189 core_completion: Adding completion sort order to activities
This implements sort ordering for all completion conditions, in
activities which support custom completion conditions.
2021-05-03 13:36:11 +08:00
Ilya Tregubov
cf1cf222e7 MDL-66431 core: Fix behat tests.
Move activity creation to data generators. Only fixing those
tests failing due to removing usemodchooser preference.
2021-05-01 16:22:03 +02:00
Shamim Rezaie
70ac3b091f MDL-71163 mod_forum: Remove duplicate due date info 2021-04-30 17:13:56 +10:00
Sara Arjona
1aa318d3e0 Merge branch 'MDL-71162-master-2' of git://github.com/mickhawkins/moodle 2021-04-29 17:27:20 +02:00