Commit graph

91117 commits

Author SHA1 Message Date
Andrew Nicols
65c0e336b1 Merge branch 'MDL-63665-master' of git://github.com/rezaies/moodle 2018-10-29 08:42:50 +08:00
Peter
7dcb274c9e MDL-63457 block_myoverview: Update getters for enrolled courses
* Update the enrol courses getter to accept an 'exclude course' id array
* Use the db query to filter hidden courses
2018-10-29 08:36:59 +08:00
Bas Brands
fd68f5a9e0 MDL-63457 block_myoverview: Rerender the paged content and jump
Jump to the page the user was last on after hiding
2018-10-29 08:36:59 +08:00
Peter
c896546ce7 MDL-63457 block_myoverview: Functionality and test updates
* Add identifiers for each card in the view
* Update js to hide instead of reload block
* Behat test updates
2018-10-29 08:36:59 +08:00
Peter
e6f03948d7 MDL-63457 block_myoverview: Hide courses from individual overview blocks
* add new preferences for hidden courses
* Modified course filter to use the user preference
* Behat test
* Regex update
* Toggle hide/show
* Update enrolled_course getter to pass hidden value
* provider
* unit tests
2018-10-29 08:32:05 +08:00
Andrew Nicols
d9e56517ca Merge branch 'MDL-63680-master' of git://github.com/mihailges/moodle 2018-10-29 08:21:27 +08:00
Andrew Nicols
d4274bd951 Merge branch 'MDL-60520_master' of git://github.com/dmonllao/moodle 2018-10-29 07:39:58 +08:00
Adrian Greeve
980425022b MDL-63622 core_grading: Add support for removal of context users.
Core grading now implements the new core_userlist_provider
interface to allow for deletion of specific users in a context.
2018-10-29 07:37:44 +08:00
Luca Bösch
fe149a996a MDL-63698 block_myoverview: Summary view course images eq height/width. 2018-10-27 11:43:58 +02:00
Eloy Lafuente (stronk7)
448bd578d8 on-demand release 3.6dev+ 2018-10-26 18:06:00 +02:00
Eloy Lafuente (stronk7)
6728c963f3 NOBUG: Fixed SVG browser compatibility 2018-10-26 18:05:58 +02:00
David Mudrák
8743cade5b MDL-63730 quiz: Fix unit tests to use the new way of percents display
As agreed in MDL-63186, the English language pack has no space
separating the number and the percents. This patch removes the
regressions from the unit tests.
2018-10-26 14:26:12 +02:00
David Mudrák
f5d98e6173 MDL-63730 lang: Update Behat scenarios to use the new strings 2018-10-26 13:25:56 +02:00
Helen Foster
0c19b2c8fa MDL-63730 lang: Merge English strings from the en_fix language pack
Significant string changes:

* withselectedusers_help, core - removing mention of 'Add a common note'
  as the option no longer exists
* considereddigitalminor and digitalminor_desc, core - more
  child-friendly wording
* configmessagingallusers, core_admin - clearer explanation
* auth_dbtype, auth_db - fixed broken link
2018-10-26 12:48:40 +02:00
Shamim Rezaie
c0bafa2777 MDL-63634 enrol_paypal: Improve query performance
This issue is a part of the MDL-62560 Epic.
2018-10-26 19:35:57 +11:00
Shamim Rezaie
cb21486c66 MDL-63634 enrol_paypal: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-10-26 19:35:47 +11:00
Eloy Lafuente (stronk7)
51da48f193 Merge branch 'MDL-63765-master' of git://github.com/damyon/moodle 2018-10-26 10:21:43 +02:00
Damyon Wiese
cfd390ee94 MDL-63765 behat: Fix behat tests opening a menu
If javascript is disabled, we don't need to open the menus at all. If it is enabled
we should use the custom step where possible.

In some tests (user profile) we have to use link_or_button because
the element that opens the menu will be a link or a button in different themes.
2018-10-26 16:14:41 +08:00
Shamim Rezaie
e38dc3d604 MDL-63634 enrol_paypal: Fix a typo in unit tests
This issue is a part of the MDL-62560 Epic.
2018-10-26 18:54:07 +11:00
Shamim Rezaie
8839feb90e MDL-63665 mod_choice: no exception when course_modules doesn't exist
This issue is a part of the MDL-62560 Epic.
2018-10-26 18:48:10 +11:00
Shamim Rezaie
b96446f3af MDL-63665 mod_choice: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-10-26 18:48:02 +11:00
Andrew Nicols
74138e927c Revert "MDL-63466 core_message: rename cache for last message time"
This reverts commit f978593d6c.
2018-10-26 14:54:01 +08:00
Andrew Nicols
4699b8bc41 Revert "MDL-63466 core_message: removed get_last_message_time_created_cache_key"
This reverts commit 4f22d7f23b.
2018-10-26 14:53:58 +08:00
Andrew Nicols
621e7eb022 Merge branch 'MDL-63466-master' of https://github.com/snake/moodle 2018-10-26 12:33:13 +08:00
Jake Dallimore
b95e4c786c MDL-63466 core_message: don't reorder messages when formatting
- Removed the reordering code from helper::get_conversation_messages()
- Added unit test confirming sort param behaviour for the
api::get_conversations_messages() method.
2018-10-26 12:26:23 +08:00
Mihail Geshoski
2d64b4154c MDL-63680 report_stats: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-26 12:17:30 +08:00
Andrew Nicols
b272efb460 Merge branch 'MDL-63673-master' of git://github.com/mihailges/moodle 2018-10-26 11:40:46 +08:00
Andrew Nicols
b8e9448a2c Merge branch 'MDL-63281_master' of git://github.com/markn86/moodle 2018-10-26 11:24:52 +08:00
Andrew Nicols
00fd35a916 Merge branch 'MDL-60514-master-fix' of git://github.com/junpataleta/moodle 2018-10-26 11:06:44 +08:00
Jun Pataleta
96b9975b4b MDL-60514 tool_task: Remove run_task_now.feature
This test cannot be run on Behat anymore as the "Run now" feature
depends on $CFG->pathtophp. Even if it's set, the task executed via
"Run now" will be executed for the installed site itself and not on the
Behat test site.
2018-10-26 11:03:07 +08:00
Andrew Nicols
6f63531458 Merge branch 'MDL-63682-master' of git://github.com/mihailges/moodle 2018-10-26 11:01:28 +08:00
cescobedo
9eba829ae3 MDL-63281 core_message: Sync course group members with conversations 2018-10-26 10:55:59 +08:00
Mihail Geshoski
bdf1b47550 MDL-63682 mnetservice_enrol: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-26 10:22:53 +08:00
Andrew Nicols
ab2443cdc0 Merge branch 'MDL-63688-master-1' of git://github.com/mihailges/moodle 2018-10-26 10:16:08 +08:00
Mihail Geshoski
ed69d0aef1 MDL-63690 core_privacy: Handle when add_users() receives an empty array 2018-10-26 09:16:10 +08:00
Andrew Nicols
79b5095f28 Merge branch 'MDL-63280_master-fix' of git://github.com/markn86/moodle 2018-10-26 09:07:30 +08:00
Adrian Greeve
799d32fd2d MDL-63690 core_blog: Update providers for userlist deletion. 2018-10-26 09:07:01 +08:00
Mark Nelson
06cdb82d23 MDL-63280 core: correct index on upgrade vs install 2018-10-26 08:52:27 +08:00
Andrew Nicols
56076d5991 Merge branch 'MDL-63280_master' of git://github.com/markn86/moodle 2018-10-26 07:49:13 +08:00
Eloy Lafuente (stronk7)
513bb61301 Merge branch 'MDL-62904-master' of git://github.com/junpataleta/moodle 2018-10-26 00:03:43 +02:00
Juan Leyva
cde3dc05bc MDL-63694 core_block: Return block contents via WS 2018-10-25 23:42:48 +02:00
Juan Leyva
a9732b8977 MDL-63694 block_html: Implement get_content_for_external 2018-10-25 23:42:42 +02:00
Juan Leyva
96d9a6e430 MDL-63694 core_block: New block class method for external content
New method added block_base::get_content_for_external().
It will return all the block contents rendered for external functions.
If your block is returning formatted content or provide files for download,
you should override this method to use the external_format_text,
external_format_string functions for formatting or
external_util::get_area_files for files.
See block_html as example.
2018-10-25 23:41:26 +02:00
Eloy Lafuente (stronk7)
da73189b84 Merge branch 'wip-MDL-62411-master' of https://github.com/timhunt/moodle 2018-10-25 12:23:53 +02:00
Tim Hunt
8951e8b970 MDL-62411 qtype_ddmarkers: fix drop-zone editing in IE 2018-10-25 11:08:04 +01:00
Mark Nelson
76540bec52 MDL-63280 core: removed 'message_conversation_area' table
These new fields have been added to the 'message_conversations'
table.
2018-10-25 18:05:20 +08:00
Mark Nelson
5571af1614 MDL-63280 core_message: added constants for enabled/disabled 2018-10-25 17:51:34 +08:00
Mark Nelson
f0e137c539 MDL-63280 core: minor changes after review
- Fixed reference to non-existent column 'timeread'.
- Fixed alignment issues.
- Fixed inconsistencies between upgrade.php and install.xml.
- Cleaned unit tests of unnecessary DB calls.
- Renamed 'get_does_conversation_area_enabled' to
  'is_conversation_area_enabled' and moved to api.php.
- Replaced "$mform->elementExists('enablemessaging')"
  check with a capability check.
- Removed the change of [] to array() in unrelated to upgrade code.
- Updated conversation 'timemodified' field when updating name.
- Bumped version based on latest master.
2018-10-25 17:51:04 +08:00
Andrew Nicols
9d4a9e515f Merge branch 'MDL-63552-master' of git://github.com/mickhawkins/moodle 2018-10-25 15:43:12 +08:00
Andrew Nicols
37ef65d47a Merge branch 'MDL-63752' of https://github.com/timhunt/moodle 2018-10-25 15:14:57 +08:00