21365 Commits

Author SHA1 Message Date
Jun Pataleta
1a9e5cb230 MDL-66481 mod_forum: Update discussion list UI
* Remove striped table row style
* Move subscribe icon to the action menu
* Update the action menu icon
* Remove the Last post column
* Removed the "Created" column and moved the date under "Started by"
* Added "Locked" and "Subscribed" indicators under discussion names.
* Added group name with the group picture. For groups without pictures,
  a default placeholder picture is now shown.
2019-09-26 10:47:05 +08:00
Jun Pataleta
5bfde48125 MDL-66481 mod_forum: Switch action menu trigger to <a> tag
* This is how the usual moodle action menu is built.
* Removed the 'type="button"' attribute as it is not necessary.
* Added template context so it renders in the template library.
2019-09-26 10:47:05 +08:00
Ryan Wyllie
15ecfac435 MDL-64821 mod_forum: fix modern view in single discussion forum 2019-09-25 15:36:51 +08:00
Ryan Wyllie
23e0ceca16 MDL-64821 mod_forum: don't show name of deleted user
When a user account is deleted don't render the user's name in
the forum. Instead we render "Deleted user".
2019-09-25 15:36:51 +08:00
Ryan Wyllie
b97622a01c MDL-64821 mod_forum: fix keyboard nav for discussion 2019-09-25 15:36:51 +08:00
Ryan Wyllie
7902e4dc55 MDL-64821 mod_forum: add show/hide reply toggle for modern view 2019-09-25 15:36:51 +08:00
Ryan Wyllie
38d96b6540 MDL-64821 mod_forum: add in page reply to modern display mode 2019-09-25 14:35:59 +08:00
Ryan Wyllie
fe8e8ad4c4 MDL-64821 mod_forum: render new forum display mode when selected 2019-09-25 13:12:53 +08:00
Ryan Wyllie
7255378b0a MDL-64821 mod_forum: add templates for modern display mode 2019-09-25 10:47:56 +08:00
Ryan Wyllie
b7c27c2158 MDL-64821 mod_forum: add modern display mode option
Add the "modern" display mode option to the view selector.
2019-09-25 10:42:19 +08:00
Huong Nguyen
0fd6032ce8 MDL-66633 Quiz: Improve preview user checking 2019-09-19 16:20:42 +02:00
Eloy Lafuente (stronk7)
502639bd3c Merge branch 'MDL-66641' of https://github.com/timhunt/moodle 2019-09-18 20:29:53 +02:00
Huong Nguyen
8dc015050e MDL-66633 quiz: allow to create attempts for different users
By adding a new optional param to quiz_prepare_and_start_new_attempt()
it can be used by the surrounding code to create an attempt for anybody
else (different from current $USER)

quiz attempt API should let you create an attempt for a different user
2019-09-18 19:52:09 +02:00
Eloy Lafuente (stronk7)
1b22fec64f Merge branch 'MDL-65026-master' of git://github.com/jleyva/moodle 2019-09-18 00:49:21 +02:00
Sara Arjona
2bad312ada Merge branch 'MDL-66113-master' of git://github.com/jleyva/moodle 2019-09-17 12:03:42 +02:00
Eloy Lafuente (stronk7)
37b017af3d Merge branch 'MDL-65025-master' of git://github.com/jleyva/moodle 2019-09-17 00:01:51 +02:00
Juan Leyva
dfd4881589 MDL-65026 course: Fix modules intro formatting in WS
The Web Service seems to be doing excessive text cleaning.
2019-09-16 13:04:26 +02:00
Juan Leyva
0b9f2215d0 MDL-66113 assign: Apply user overrides in get_submission_status WS 2019-09-16 12:05:55 +02:00
Andrew Nicols
15f13cb74c Merge branch 'MDL-65429-master' of git://github.com/peterRd/moodle 2019-09-11 14:21:42 +08:00
Andrew Nicols
20cc24e684 Merge branch 'MDL-65935-master' of git://github.com/junpataleta/moodle 2019-09-11 12:16:57 +08:00
Eloy Lafuente (stronk7)
3c96a88cb4 Merge branch 'MDL-66436-master' of https://github.com/lucaboesch/moodle 2019-09-11 01:21:16 +02:00
Tim Hunt
287134e1dd MDL-66641 quiz stats: discriminativeefficiency is already out of 100 2019-09-10 12:11:27 +01:00
Jake Dallimore
527595f3f8 Merge branch 'MDL-66409-edit-numerical/master' of https://github.com/RaAstons/moodle 2019-09-10 13:34:36 +08:00
Andrew Nicols
158df6275e Merge branch 'MDL-66537-master' of git://github.com/peterRd/moodle 2019-09-10 12:18:16 +08:00
Peter
44ad3e5171 MDL-66537 assign: Force rotate buttons to keep positioning in RTL langs 2019-09-10 10:23:13 +08:00
Raphaël Santos
21d6123fbd
MDL-66409 mod_lesson: Fix editing of numerical pages
This avoids using the "magic" `isset` function implemented
within the lesson_base class (which returns the `empty` function).
In the case of the answer beeing `0`, the test fails and the answer
is considered to be deleted.
2019-09-09 09:39:34 +02:00
Jun Pataleta
0aa833de2e MDL-65935 mod_feedback: Use new core/checkbox_toggleall
Plus:
* Add labels for each nonrespondent's checkbox to improve
accessibility.
* Remove the now-unused mod/feedback/feedback.js
2019-09-08 10:01:05 +08:00
Will O'Brien
163750f3e5 MDL-66488 mod_assign: make submission comments textarea expandable
Allow submission comments textarea on assignment "View all submissions"
page to expand both ways, rather than just vertically.
2019-09-06 23:15:52 +01:00
Luca Bösch
fd5903ef8d MDL-66436 glossary: Edit and delete categories form styles. 2019-09-05 18:03:52 +02:00
Andrew Nicols
eb70a00163 Merge branch 'MDL-66137-38_mod_assign_marking_workflow_incorrect_grade_display' of https://github.com/tomdickman/moodle 2019-09-04 13:44:49 +08:00
Tom Dickman
028c5ed5f9 MDL-66137 mod_assign: fixed marking workflow incorrect grade display
Aligned logic between quick grading changes and set marking workflow state changes to accurately
finalise or remove final grade from the gradebook, depending on the marking workflow state if
being used.
2019-09-04 14:29:30 +10:00
Andrew Nicols
f37035cb04 Merge branch 'MDL-66554-master' of git://github.com/jleyva/moodle 2019-09-04 12:24:02 +08:00
Andrew Nicols
9bb085dd1a Merge branch 'MDL-66434-master' of https://github.com/lucaboesch/moodle 2019-09-03 12:40:38 +08:00
Michael Hawkins
32e2e06a87 MDL-55451 mod_forum: Limit subscription redirect to internal URLs 2019-09-02 17:04:35 +02:00
Eloy Lafuente (stronk7)
563888202e Merge branch 'MDL-66575-master' of https://github.com/snake/moodle 2019-09-01 16:52:34 +02:00
Jake Dallimore
d2c09e8ffd MDL-66575 mod_assign: fix first day of current month behat edge case
What we really want to test in this behat test is the 2 extremes:
the user who started a long time ago and doesn't have access any more
and the user who started recently, who does have access. To fix all
problems with datetime clashes, it's probably better to just use
'yesterday' for the current student's enrolment start time.
2019-09-02 13:11:49 +08:00
Helen Foster
7ee90659ee MDL-66504 lang: Import fixed English strings (en_fix)
Significant string changes:

- configgeneralfiles,core_backup - includes explanation of implications
  of settings
- mobilenotificationsdisabledwarning,tool_mobile - location corrected
- statsreport14,core - 'views/posts' corrected to 'posts/views'
- err_nousers,core_completion - explanation of who completion
- information is displayed for errorcourselisting,block_community - note
  about sunsetting moodle.net
2019-09-01 12:31:15 +02:00
Luca Bösch
20f166cf55 MDL-66434 mod_data: Align 'Field description' field as all other fields. 2019-08-30 07:58:52 +02:00
Adrian Greeve
f69543d741 Merge branch 'MDL-66558-master' of https://github.com/snake/moodle 2019-08-30 10:41:45 +08:00
Jake Dallimore
cb14d4d811 MDL-66558 core_course: fix edge case in relative dates behat feature 2019-08-30 10:19:42 +08:00
Peter
474a96d707 MDL-65429 mod_forum: Indicate subs fetch completion with no subs
Unit tests updated to make sure only a single query is executed after
multiple reads
2019-08-30 09:07:22 +08:00
Juan Leyva
7a30377dc0 MDL-66554 mod_scorm: Set module viewed in WS 2019-08-29 20:45:43 +01:00
Eloy Lafuente (stronk7)
e15f301404 Merge branch 'master_MDL-65116' of https://github.com/yao9394/moodle 2019-08-28 16:39:49 +02:00
Adrian Greeve
ed06cb4ecf Merge branch 'MDL-66458-master' of git://github.com/crazyserver/moodle 2019-08-28 11:25:16 +08:00
Adrian Greeve
1e9040f239 Merge branch 'MDL-66461-master' of git://github.com/jleyva/moodle 2019-08-28 11:15:28 +08:00
Adrian Greeve
a08fb2388c Merge branch 'MDL-65653-master' of git://github.com/jleyva/moodle 2019-08-27 15:07:50 +08:00
Eloy Lafuente (stronk7)
9900a6dd47 MDL-66483 lib: remove recent xmlize dep on setuplib/CFG
This removes the dependency added by MDL-66110 (aiming to fix
a CI job). So we keep things as they were and will fix the
CI job separately.
2019-08-23 11:21:28 +02:00
Pau Ferrer Ocaña
2ddbc651df MDL-66458 forum: Fix noviewdiscussionspermission string 2019-08-23 08:31:11 +02:00
John Yao
62f1640df2 MDL-65116 mod_assign : Assignment due date does not update for groups.
This commit fixes the assignment due date not showing correctly according to groups selected by users who can view grades
2019-08-23 13:08:53 +10:00
Juan Leyva
10b1b82911 MDL-66461 forum: Use correct component for forum strings 2019-08-21 13:21:32 +01:00