Commit graph

92884 commits

Author SHA1 Message Date
Sara Arjona
1fa58319e7 Merge branch 'MDL-64658-master' of git://github.com/jleyva/moodle 2019-03-25 15:43:35 +01:00
Juan Leyva
e0695f8764 MDL-64658 files: Support constant to avoid file merging
... in file_save_draft_area_files
2019-03-25 14:57:18 +01:00
Sara Arjona
03fa6b48ad Merge branch 'MDL-64790-master_apidoc_fix' of https://github.com/nicoroeser/moodle 2019-03-25 12:37:54 +01:00
David Mudrák
b29cfc582f MDL-64996 analytics: Make sure the no_teaching model is trained
Due to the bug, the no_teaching model might have been marked as
not-trained in the database. Static predictions models (i.e. those using
a target based on assumptions, not facts) are always considered as
trained. If they were marked as not-trained, the prediction scheduled
task would skip them and they would produce no predictions.

Ideally, such a fix should be done for all static models. But there is
no easy way to do it during the upgrade where accessing the analytics
API is not possible. I don't think there are many models out there that
would be affected by this so this seems to be good enough solution for
now (and the future ability to reset models will cover the rest).
2019-03-25 10:16:44 +01:00
Mark Nelson
2a0b517257 MDL-65173 message_email: removed bogus logic
This reverts commit 0f38e62970.
2019-03-25 17:12:53 +08:00
David Mudrák
964ccd9655 MDL-64994 analytics: Improve the Python package version check
Use the new method to check that the installed Python package has high
enough yet still API-compatible version.
2019-03-25 09:24:33 +01:00
David Mudrák
2d8405e99e MDL-64994 analytics: Add a simple semantic version check method
This method is to be used for checking that a compatible version of the
moodlemlbackend package is installed on the server. The package is
expected to use the semantic versioning scheme (semver.org).
2019-03-25 09:24:33 +01:00
David Mudrák
c679d39c36 MDL-64996 analytics: Don't mark static model as untrained after clearing
Static predictions models (i.e. those using a target based on
assumptions, not facts) are always considered as trained. Clearing them
must not mark them as untrained. Doing so would make them being skipped
by the prediction scheduled task.
2019-03-25 08:56:11 +01:00
Adrian Greeve
025cf94cfe Merge branch 'MDL-60339-master' of git://github.com/Chocolate-lightning/moodle 2019-03-25 11:09:54 +08:00
Adrian Greeve
bf1537b600 Merge branch 'MDL-64492-master' of git://github.com/damyon/moodle 2019-03-25 10:58:05 +08:00
Jun Pataleta
866562024b Merge branch 'MDL-64820-master-fix' of git://github.com/junpataleta/moodle 2019-03-25 09:38:56 +08:00
Jun Pataleta
49b928ef95 Merge branch 'MDL-64820-master-fix' of https://github.com/andrewnicols/moodle 2019-03-25 09:38:04 +08:00
Andrew Nicols
7aa6affa49 MDL-64820 forum: Correct capability check and redir 2019-03-25 09:36:49 +08:00
AMOS bot
96d9b077a4 Automatically generated installer lang files 2019-03-25 00:09:15 +00:00
Andrew Nicols
e5a501de13 MDL-64820 forum: Pass legacy forum record to rss 2019-03-25 08:08:32 +08:00
Andrew Nicols
4c8f0f0d1d MDL-64820 forum: Remove duplicate column for discussion 2019-03-25 08:08:10 +08:00
Dan Marsden
ef78cf8f42 MDL-63995 blocks: Remove unused capabilities and warning. 2019-03-25 12:20:13 +13:00
maksudr
72629ee8c0 MDL-62307 mod_feedback: Decode HTML special char in add_form_element() 2019-03-22 15:44:35 +00:00
Jun Pataleta
9e5cdcd50c MDL-64820 mod_forum: Make different aliases for first and last authors 2019-03-22 21:55:51 +08:00
Jun Pataleta
becf457d39 Merge branch 'MDL-65082-master' of git://github.com/andrewnicols/moodle 2019-03-22 16:26:33 +08:00
Andrew Nicols
a79c2c927c MDL-65082 mod_forum: Deprecate forum_print_latest_discussions 2019-03-22 15:01:48 +08:00
Andrew Nicols
23f5e65ebe MDL-65082 core_course: Update frontpage view to use new forum API 2019-03-22 15:01:48 +08:00
Andrew Nicols
1bfaeeb2eb MDL-65082 format_social: Update social format to use new API 2019-03-22 15:01:48 +08:00
Mathew May
3828422d82 MDL-60339 course: Course editing only checked against site:manageblocks.
Add in additional capabilities to the page. When all_editing_caps is called it'll check against
moodle/site:manageblocks & added capabilities. If moodle/site:manageblocks
was not set the user would have trouble editing the page.
2019-03-22 13:47:16 +08:00
Simey Lameze
219422e420 MDL-65047 core: convert legacy cron to scheduled task 2019-03-22 13:13:55 +08:00
Andrew Nicols
c661a129d1 MDL-65082 forum: Reorganise social templates 2019-03-22 11:14:05 +08:00
Jun Pataleta
92c28d075f MDL-65081 core_output: Unit tests for single_select and url_select 2019-03-22 11:12:21 +08:00
Jun Pataleta
5f30600f43 MDL-65081 core_output: Set single_select and url_select attributes 2019-03-22 11:12:21 +08:00
Jun Pataleta
74ee2556be Merge branch 'mod_forum-discussion-poc' of https://github.com/ryanwyllie/moodle 2019-03-22 11:04:35 +08:00
Damyon Wiese
8adb1b1e3d MDL-64492 course: Hide activity icons for Ally
Empty alt text results in an image with no label.
role="presentation" does not hide - it only removes the semantic information.
If the image provides no information, make it hidden with aria-hidden.
2019-03-22 11:01:29 +08:00
Simey Lameze
54fec0c30b MDL-63196 core_calendar: add behat scenario 2019-03-22 10:41:00 +08:00
Simey Lameze
f19f6cceaf MDL-63196 calendar: add missing option to export category events 2019-03-22 10:41:00 +08:00
Ryan Wyllie
446ba04650 MDL-64820 forum: fix cibot complaints 2019-03-22 10:38:41 +08:00
Simey Lameze
be8f453b74 MDL-65044 core: convert legacy cron to scheduled task 2019-03-22 09:46:30 +08:00
Ryan Wyllie
f30f46db39 MDL-64820 forum: fix up issues from review 2019-03-22 09:31:21 +08:00
Ryan Wyllie
858179b024 MDL-64820 forum: fix behat tests 2019-03-22 09:31:21 +08:00
Mihail Geshoski
7661ccddfd MDL-64820 forum: Add timed in discussion list table 2019-03-22 09:31:21 +08:00
Ryan Wyllie
c5477bfc65 MDL-64820 forum: add missing classes and tweaks to templates
Added in required classes for behat and tweaks to get the behat
tests passing.
2019-03-22 09:31:21 +08:00
Ryan Wyllie
69aa03623d MDL-64820 forum: fix create discussion behat step 2019-03-22 09:31:21 +08:00
Ryan Wyllie
bda290ee91 MDL-64820 forum: various fixes to /mod/forum/view.php
Added missing params, missing variables, and missing session
properites.
2019-03-22 09:31:21 +08:00
Ryan Wyllie
94552394c9 MDL-64820 forum: fix blog discussion list ordering 2019-03-22 09:31:21 +08:00
Ryan Wyllie
15f7dbe573 MDL-64820 forum: fix notifications for discussions in group mode 2019-03-22 09:31:21 +08:00
Ryan Wyllie
57ad9a0ce7 MDL-64820 forum: add classes to first post to fix behat 2019-03-22 09:31:21 +08:00
Ryan Wyllie
96a49734ac MDL-64820 forum: fix missing context in subscribe external func 2019-03-22 09:31:21 +08:00
Ryan Wyllie
b4d47dec1e MDL-64820 forum: change disucssion subscribe back to link
Changed the discussion subscribe button back to a link because
it was breaking all of the behat tests.
2019-03-22 09:31:21 +08:00
Ryan Wyllie
7c1d857da4 MDL-64820 forum: fix subscription mode in forum entity 2019-03-22 09:31:21 +08:00
Mihail Geshoski
54d38a7347 MDL-64820 forum: convert view.php to new rendering 2019-03-22 09:31:21 +08:00
Ryan Wyllie
2e19ca183b MDL-64820 forum: deprecate forum print functions 2019-03-22 09:31:21 +08:00
Ryan Wyllie
9ea78fd041 MDL-64820 forum: convert user.php to user new rendering 2019-03-22 09:31:20 +08:00
Ryan Wyllie
aa99838d50 MDL-64820 forum: convert search.php to new rendering 2019-03-22 09:31:20 +08:00