94980 Commits

Author SHA1 Message Date
Ryan Wyllie
b17bb71e88 MDL-66477 javascript: add toggle functionality to drawer 2019-09-27 15:46:15 +08:00
Ryan Wyllie
6d9c93560b MDL-66477 core: remove snakeCase block regions from drawer.mustache 2019-09-27 15:46:15 +08:00
Jun Pataleta
959b996c50 MDL-66477 mod_forum: Create the discussion settings drawer 2019-09-27 15:46:13 +08:00
Ryan Wyllie
c77d1ae40f MDL-66477 mod_forum: move region main settings menu to header
Add a generic way to render actions in the page content header
and then moved the region main settings menu there for the forum.
2019-09-27 15:38:54 +08:00
Jun Pataleta
8aca1807ae MDL-66477 message: Use the generic drawer for the message drawer 2019-09-27 15:38:54 +08:00
Jun Pataleta
a2517225dc MDL-66477 core: Create a generic drawer template 2019-09-27 15:38:54 +08:00
Jun Pataleta
9528b1ff5b weekly release 3.8dev 2019-09-27 11:12:09 +08:00
Jun Pataleta
46a8d27028 NOBUG: Fixed SVG browser compatibility 2019-09-27 11:12:09 +08:00
Jun Pataleta
725151ad4c Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2019-09-27 11:12:08 +08:00
Jun Pataleta
2e72a52145 Merge branch 'MDL-66075-master-fix' of https://github.com/snake/moodle 2019-09-27 10:11:44 +08:00
Jake Dallimore
f5e6bcf026 MDL-66075 mod_forum: reduce DB reads in forum settings generation
Instead of fetching the DB record AND then fetching it again (as
part of the vault->get_from_id() call, just use the legacy data
mapper and remove the DB call.
2019-09-27 09:50:23 +08:00
Jake Dallimore
d310bf92b2 Merge branch 'MDL-64821' of https://github.com/stronk7/moodle 2019-09-27 09:40:23 +08:00
Eloy Lafuente (stronk7)
cc28bff60e MDL-64821 mod_forum: increase data privacy export expected size
Some new styles added have caused the resulting zip
file to go beyond that accepted limit of 135000. So
increasing to 140000.
2019-09-26 19:35:54 +02:00
Eloy Lafuente (stronk7)
c2c1cbd40a Merge branch 'MDL-66570-master' of git://github.com/andrewnicols/moodle 2019-09-26 15:56:38 +02:00
Jake Dallimore
57054fc66b Merge branch 'MDL-66481-master-6' of git://github.com/junpataleta/moodle 2019-09-26 11:57:51 +08:00
Jun Pataleta
8dc1505374 Merge branch 'MDL-66262' of git://github.com/stronk7/moodle 2019-09-26 11:34:45 +08:00
Jun Pataleta
0f3e5a9b8d MDL-66481 forum: Show notification on toggled subscription
For usability, after selecting the subscription toggle action menu item,
a notification message will be shown to the user.
2019-09-26 10:47:05 +08:00
Jun Pataleta
5132de054c MDL-66481 forum: Remove the YUI subscribe link
* Remove the subscribe link that's powered by YUI and
  subscribe_ajax.php. This will be replaced by the subscribe action
  menu item which utilises the subscription toggle template
  and calls the proper WS function for toggling discussion subscription.
* Nuke YUI module for toggling subscription and subscribe_ajax.php
  (about time!)
2019-09-26 10:47:05 +08:00
Jun Pataleta
2b8e4f2e4b MDL-66481 mod_forum: Peer review fixes 2019-09-26 10:47:05 +08:00
Jun Pataleta
dff565b32c MDL-66481 mod_forum: Move "Mark as read" into the discussion menu 2019-09-26 10:47:05 +08:00
Jun Pataleta
bc23cbaf54 MDL-66481 mod_forum: Implement additional column sorting
Implement sorting for the following columns:
* Discussion name
* Discussion starter name
* Group
2019-09-26 10:47:05 +08:00
Jun Pataleta
a78070aa1b MDL-66481 mod_forum: Move timed discussion indicator
* Move it under the discussion column.
* Change it to look like a label
* Plus limit the group name to 15 characters
* Plus some accessibility fixes:
  - Add labels to column headings.
  - Set discussion name as a row heading.
2019-09-26 10:47:05 +08:00
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
Jun Pataleta
0aba625a9c MDL-66481 lang: Add additional date display formats
* Day, abbreviated month, and year (e.g. 28 Aug 2019)
* Day and abbreviated month (e.g. 28 Aug)
2019-09-26 10:47:05 +08:00
Jake Dallimore
c3122dfcf5 Merge branch 'MDL-64821-master-2' of https://github.com/ryanwyllie/moodle 2019-09-26 10:45:44 +08:00
Eloy Lafuente (stronk7)
07fd11f488 Merge branch 'MDL-66106-master' of https://github.com/snake/moodle 2019-09-26 00:54:36 +02:00
Eloy Lafuente (stronk7)
e8a2d532fa Merge branch 'MDL-66169-master' of https://github.com/snake/moodle 2019-09-26 00:47:23 +02:00
Eloy Lafuente (stronk7)
31b822ee2f Merge branch 'MDL-66653-master' of git://github.com/andrewnicols/moodle 2019-09-26 00:29:07 +02:00
Eloy Lafuente (stronk7)
dd52ef0b64 Merge branch 'MDL-51327-master' of git://github.com/mihailges/moodle 2019-09-26 00:04:33 +02:00
Eloy Lafuente (stronk7)
d910c26e69 Merge branch 'MDL-66685' of https://github.com/timhunt/moodle 2019-09-25 23:57:42 +02:00
Eloy Lafuente (stronk7)
b57e984398 Merge branch 'MDL-66675-master' of git://github.com/andrewnicols/moodle 2019-09-25 20:05:21 +02:00
Jun Pataleta
ba623918f6 Merge branch 'MDL-66354-master' of http://github.com/dravek/moodle 2019-09-25 16:43:15 +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
a5f88ccca2 MDL-64821 theme_classic: disable some boost general page styling
Disable the reset and fixed width content styling from the Boost
theme for the classic theme because it doesn't work well with
blocks.
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
David Matamoros
21ad9531d0 MDL-66354 core_calendar: Notices in error.log on calendar events 2019-09-25 09:08:41 +02:00
Jun Pataleta
84e66f0932 Merge branch 'MDL-66644-master-versionrequires' of git://github.com/mudrd8mz/moodle 2019-09-25 14:54:29 +08:00
Jun Pataleta
e5e95d913f Merge branch 'MDL-66710-master' of git://github.com/abgreeve/moodle 2019-09-25 14:38:23 +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
Adrian Greeve
91577e2d54 Merge branch 'wip_MDL-66656_master' of git://github.com/gjb2048/moodle 2019-09-25 11:39:57 +08:00
Adrian Greeve
0417f5429c Merge branch 'MDL-65406-master_navmenu_list_accessibility' of https://github.com/andrewmadden/moodle 2019-09-25 11:22:50 +08:00
Adrian Greeve
1b84061049 Merge branch 'MDL-66388-master-2' of git://github.com/bmbrands/moodle 2019-09-25 11:08:50 +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
Ryan Wyllie
4dd2570dd7 MDL-64821 output: add wrapping class for ratings label
Add a span tag with a class that wraps the ratings label and popup
link so that it can be styled.
2019-09-25 10:42:19 +08:00
Ryan Wyllie
e81be9a8b1 MDL-64821 files: increase icon image size for stored file exporter
The default size for the stored file icon was only 16px by 16px which
wasn't suitable for display in the new forum layout. I've increased
the default size to 128px by 128px so that it looks better scaled up.
2019-09-25 10:42:19 +08:00