95381 Commits

Author SHA1 Message Date
Simey Lameze
6e23f294b8 MDL-66631 mod_forum: make get_from_discussion_ids use new fn 2019-10-18 12:37:58 +11:00
Simey Lameze
718d7a43b9 MDL-66631 mod_forum: add date filters to export 2019-10-18 12:37:58 +11:00
Jun Pataleta
95946a3294 Merge branch 'MDL-66806_master' of git://github.com/dmonllao/moodle 2019-10-18 09:36:51 +08:00
Andrew Nicols
b9da7233a1 Merge branch 'MDL-66919' of https://github.com/stronk7/moodle 2019-10-18 08:26:38 +08:00
Eloy Lafuente (stronk7)
e0fa8a5140 Merge branch 'mdl-66173' of https://github.com/Peterburnett/moodle 2019-10-18 01:49:31 +02:00
Jun Pataleta
36a8ae571a Merge branch 'MDL-66625-master' of git://github.com/rezaies/moodle 2019-10-18 06:39:01 +08:00
Jun Pataleta
52f1b2ebfa Merge branch 'MDL-56549-master' of https://github.com/kabalin/moodle 2019-10-18 06:27:21 +08:00
Ruslan Kabalin
d5d3c27ad1 MDL-56549 test: Add tests covering core_media_player_native 2019-10-17 22:15:48 +01:00
Ruslan Kabalin
5bc03f13db MDL-56549 medialib_test: Move fixture to dedicated subdir. 2019-10-17 22:15:48 +01:00
Ruslan Kabalin
12ce73a1a2 MDL-56549 media_html5video: Add test for native extensions support.
This is to verify that all files of html_video mime type extensions are
passing list_supported_urls method correctly.
2019-10-17 22:15:47 +01:00
Ruslan Kabalin
4d8b88fd63 MDL-56549 media_html5audio: Add test for native extensions support.
This is to verify that all files of html_audio mime type extensions are
passing list_supported_urls method correctly.
2019-10-17 22:15:47 +01:00
Ruslan Kabalin
043ba1b221 MDL-56549 lib: Add flac audio extension to html5 support list.
This is now supported by most browsers:
https://en.wikipedia.org/wiki/HTML5_audio
https://caniuse.com/#feat=flac
2019-10-17 22:15:46 +01:00
Eloy Lafuente (stronk7)
7d21639465 Merge branch 'MDL-64064' of https://github.com/NeillM/moodle 2019-10-17 23:08:58 +02:00
Shamim Rezaie
f54cb5a708 MDL-66625 forumreport_summary: Adding behat 2019-10-18 05:46:39 +11:00
Tim Schroeder
d9d041e867
MDL-66944 course: fixed copy-paste-error in comment 2019-10-17 18:15:08 +02:00
Jun Pataleta
8b2b47f733 Merge branch 'MDL-66694-master' of git://github.com/junpataleta/moodle 2019-10-17 22:48:16 +08:00
Jun Pataleta
10cc5e8100 MDL-66694 mod_forum: Fix unit test
* Set $forum1's displaywordcount to true in
  test_mod_forum_get_discussion_posts() so that the word and char counts
  will be returned.
* Use count_words() and count_letters() instead of hard coding the
  expected values for the word and char counts.
2019-10-17 22:39:36 +08:00
Michael Hawkins
97aeba56ba MDL-66694 mod_forum: Refactored post counts scheduled task 2019-10-17 17:07:05 +08:00
Pau Ferrer Ocaña
e75b4e41b1 MDL-66612 calendar: Fix calendar icons 2019-10-17 10:34:34 +02:00
Michael Hawkins
d21d6baac6 MDL-66694 mod_forum: Word/char count tidy ups & add task config option
The chunk size used by the existing post word/char count calculation
ad-hoc task can now be set as a $CFG parameter. Also improved the way
the ad-hoc task is re-queued and tidied up some redundant code.
2019-10-17 16:13:23 +08:00
Andreas Grabs
ea100476d7 MDL-66009 mod_feedback: Nested dependency fails again 2019-10-17 09:19:55 +02:00
Michael Hawkins
3c36cdb150 MDL-66694 mod_forum: Updated adhoc task to requeue until completion
The adhoc task run during upgrade will now be requeued until no more
word/char counts require updating. Previously it was only run once,
so only the first 5000 posts would be updated.
2019-10-17 15:05:57 +08:00
David Monllaó
7d8f604b3c MDL-66694 mod_forum: Upgrade forum post word and char counts 2019-10-17 15:05:57 +08:00
Michael Hawkins
3eb0a82fef MDL-66694 mod_forum: Word & char count update consistency fixes
Charcount logic is now consistent with wordcount in the post exporter.
Counts update now called in forum_udpate_instance since it is updating
the data.
2019-10-17 15:05:57 +08:00
David Monllaó
591dd68790 MDL-66694 mod_forum: Update word & char counts on db save 2019-10-17 15:05:57 +08:00
Michael Hawkins
68f2d677ae MDL-66694 forumreport_summary: String update and method tidy up
Replaced 'Char' with full word 'Character' in the charcount string.
Also tidied up show_word_char_counts code and set to protected instead
of private.
2019-10-17 15:05:57 +08:00
David Monllaó
74f94dfc26 MDL-66694 mod_forum: Word count and char count columns 2019-10-17 15:05:57 +08:00
Ryan Wyllie
a81651afa1 MDL-65896 javascript: add throttle and debounce util functions 2019-10-17 13:51:05 +08:00
Andrew Nicols
bcce0270fe MDL-66496 mod_data: Fixes during integration 2019-10-17 12:20:54 +08:00
Andrew Nicols
a7139f7600 Merge branch 'MDL-66496-master' of git://github.com/tobiasreischmann/moodle 2019-10-17 11:05:34 +08:00
Shamim Rezaie
bfe6cfc9ab MDL-66808 mod_forum: set the format col to FORMAT_PLAIN when it is plain 2019-10-17 13:21:05 +11:00
Shamim Rezaie
c98f448866 MDL-66808 mod_forum: Added export options 2019-10-17 12:47:11 +11:00
Brendan Heywood
4e7dcd01a8 MDL-66927 cron: Process new adhoc tasks immediately 2019-10-16 20:25:02 +11:00
[Peter Burnett]
dc25b71d8b MDL-66173 login: Added form injection, validation and post action hooks 2019-10-16 15:01:56 +10:00
Shamim Rezaie
354cbf48b8 MDL-66625 forumreport_summary: Handling private replies 2019-10-16 12:00:51 +11:00
Jake Dallimore
7591d8c498 Merge branch 'MDL-66020-master' of git://github.com/marinaglancy/moodle 2019-10-16 08:37:07 +08:00
Eloy Lafuente (stronk7)
d1729ce196 Merge branch 'MDL-66790-master' of git://github.com/junpataleta/moodle 2019-10-16 00:55:48 +02:00
Eloy Lafuente (stronk7)
ab74c7ad56 Merge branch 'MDL-66705-master' of git://github.com/abgreeve/moodle 2019-10-16 00:52:52 +02:00
Eloy Lafuente (stronk7)
f8038edd3a MDL-66919 behat: fix typo in error message
Also fix a couple of phpdocs that were incorrect.
2019-10-16 00:48:35 +02:00
Eloy Lafuente (stronk7)
c77052fb2b on-demand release 3.8dev+ 2019-10-15 23:01:00 +02:00
Eloy Lafuente (stronk7)
df089ac562 NOBUG: Fixed SVG browser compatibility 2019-10-15 23:00:54 +02:00
Martin Gauk
8d5b7fc6cd MDL-66915 assign: Notify only if grade was updated in past 24 hours
Send notifications only if a grade was updated in the past 24 hours,
whether marking workflow is enabled or not.
2019-10-15 17:06:03 +02:00
Eloy Lafuente (stronk7)
e7fad4ac6a Merge branch 'MDL-66553-master-fix' of git://github.com/junpataleta/moodle 2019-10-15 16:42:15 +02:00
Jun Pataleta
0aa17f2631 MDL-66553 question: Behat fixes
1. Fix sortable key for the qname/idnumber/tags column
2. Fix the default sort
3. Fix Behat test for sorting by idnumber. Added ID numbers for both
question A and question C in order for us to get consistent sorting
across DBs.
2019-10-15 20:22:12 +08:00
Jun Pataleta
80d7651534 MDL-66790 quizreport: Prevent sorting for checkbox column 2019-10-15 17:25:16 +08:00
Jake Dallimore
3f7382aa73 MDL-66912 core_message: improve media matching js for content previews
Rather than matching 'src' string, use a dummy node and check for a src
attribute.
2019-10-15 14:37:51 +08:00
Jun Pataleta
c2e4e6d588 Merge branch 'MDL-66226-master-2' of https://github.com/snake/moodle 2019-10-15 11:56:05 +08:00
Adrian Greeve
56ad15fc06 MDL-66705 tool_uploaduser: Add an example csv file. 2019-10-15 10:56:29 +08:00
Jake Dallimore
164e879156 Merge branch 'MDL-66796' of git://github.com/timhunt/moodle 2019-10-15 10:52:45 +08:00
Jun Pataleta
d75eb57daa Merge branch 'MDL-66821' of https://github.com/timhunt/moodle 2019-10-15 07:35:36 +08:00