2520 Commits

Author SHA1 Message Date
Shamim Rezaie
363aaf6eaa MDL-68076 core: log user's click on feedback links 2020-06-04 11:57:26 +10:00
Shamim Rezaie
6872c96569 MDL-68076 core: webservice to get the feedback url 2020-06-04 11:38:46 +10:00
Shamim Rezaie
1a4c8e0275 MDL-68076 core: webservice to record feedback actions users take 2020-06-03 17:43:52 +10:00
Víctor Déniz Falcón
db1fb23ce2 Merge branch 'MDL-67813-master-1' of git://github.com/mihailges/moodle 2020-05-28 13:00:16 +01:00
Victor Deniz Falcon
7a82ee7ed6 MDL-67813 core: Add a manual 'enter' key press behat action step 2020-05-28 12:06:32 +08:00
Eloy Lafuente (stronk7)
08c6eca7e9 Merge branch 'MDL-68789-master' of git://github.com/crazyserver/moodle 2020-05-26 23:43:05 +02:00
Eloy Lafuente (stronk7)
60fe1f8c9d MDL-68388 core_grades: Tweak unit test assertion to make Oracle happy
Also modify some comments and get rid of some void return types.
2020-05-26 19:00:24 +02:00
Jun Pataleta
8aa0f2c4d8 Merge branch 'MDL-45184-master' of git://github.com/junpataleta/moodle 2020-05-26 12:39:24 +08:00
Adrian Greeve
b2978c1787 Merge branch 'MDL-68757' of https://github.com/timhunt/moodle 2020-05-26 10:33:03 +08:00
Andrew Nicols
17238ab079 MDL-68388 grade: Tidy comments and whitespace 2020-05-26 10:15:52 +08:00
Andrew Nicols
a7aaf91855 Merge branch 'MDL-68388' of https://github.com/marcusboon/moodle 2020-05-26 10:11:08 +08:00
Tom Dickman
4399e4759a MDL-45184 tool_licenses: Add custom licenses
This feature adds an admin tool for creating custom licenses.
Now custom licenses can be added and amended in Moodle, and the site
default can be set to a custom license.

Core licenses remain hard-coded and are uneditable, so they will always
require update within Moodle core updates, and maintain their
internationalisation through core language strings.

This also includes fundamental changes to the license API including
the addition of license caching and deprecation of no longer required
admin settings for license management.
2020-05-26 12:08:05 +10:00
Adrian Greeve
ef17275726 Merge branch 'MDL-68348-master-6' of git://github.com/mickhawkins/moodle 2020-05-26 07:48:53 +08:00
Marcus Boon
f1f5ba36ad MDL-68388 core_grades: Use MUC for grade letters
In the get_grade_letters there is a static variable that is used
to cache grade letters, we should use MUC for this so that it is
reset properly between unit tests.
2020-05-26 09:06:50 +10:00
Pau Ferrer Ocaña
a87aa36ad9 MDL-68789 behat: Change app page menu text selector 2020-05-25 14:53:18 +02:00
Michael Hawkins
03397c817b MDL-68348 lib: User filter match types support - groups
Updated groups_get_members_join to support different filter match types
2020-05-25 18:35:08 +08:00
Eloy Lafuente (stronk7)
200570558d MDL-68658 phpunit: Ensure that the configured proxy is applied always
Previously, if the RSS feed (extests) was being served locally,
CFG->proxybypass was applied and causing the test to fail (proxy
ignored).

In that exact test we need the configured proxy to be applied
always, because the test is exaclty about detecting the problem
when a wrong proxy is used.
2020-05-22 17:07:05 +02:00
Pau Ferrer Ocaña
9afc6b78c3 MDL-68789 behat: Adapt login step to new app version 2020-05-22 16:17:29 +02:00
Andrew Nicols
cc29e04f27 Merge branch '68137-master-prevent-removing-all-dots-in-filename' of https://github.com/DSI-Universite-Rennes2/moodle 2020-05-22 11:53:22 +08:00
Sara Arjona
e4426b3aff Merge branch 'MDL-68782-master' of git://github.com/aanabit/moodle 2020-05-21 08:23:46 +02:00
Amaia Anabitarte
8675e8ae6a MDL-68782 core_contentbank: Improving event unit tests 2020-05-20 22:37:30 +02:00
Marina Glancy
5b529aca15 MDL-68333 testing: trigger user_created event in user generator 2020-05-19 19:11:54 +02:00
Tim Hunt
4a45b7112c MDL-68757 questions: don't do output in low-level functions 2020-05-18 20:54:27 +01:00
Sara Arjona
2418c12c60 Merge branch 'MDL-68760' of https://github.com/timhunt/moodle 2020-05-18 20:33:05 +02:00
Tim Hunt
8f406297e0 MDL-68760 string tests: make test_timezone_lang_strings message helpful 2020-05-18 16:51:17 +01:00
Andrew Nicols
215393c86c Merge branch 'MDL-68503_master' of https://github.com/marxjohnson/moodle 2020-05-18 20:29:52 +08:00
Sara Arjona
84ab8a51e2 Merge branch 'MDL-68294-master' of git://github.com/jleyva/moodle 2020-05-18 12:49:32 +02:00
Sara Arjona
da7feb3455 Merge branch 'read-only-session' of https://github.com/Agilicus/moodle 2020-05-18 12:09:00 +02:00
Adrian Greeve
a1bd5d556d Merge branch 'MDL-68563-master' of git://github.com/lameze/moodle 2020-05-18 11:34:38 +08:00
Adrian Greeve
5ec37d28a6 Merge branch 'master_MDL-64843_course_copy_ui' of https://github.com/catalyst/moodle 2020-05-18 10:35:44 +08:00
Juan Leyva
8f2a40f2da MDL-68294 core_component: Fix test that depends on tool_mobile 2020-05-15 20:49:35 +02:00
Don Bowman
cf7b00b8cf
MDL-68696 sessions: Fixed redis session handler for readonly
In 39770792ca62 read-only sessions were allowed.
In the redis case, as called from the mobile application,
this can lead to returning 'false' for session rather than ''.
2020-05-15 12:09:15 -04:00
Matt Porritt
01436f7539 MDL-64843 Backup: Course copy user interface
This patch adds better core support for copying courses.
There is now a simplified and dedicated UI for copying
courses. This can be accessed from the course context
menu or course management screens.

All backups are done asynchronously and there can be multiple
copies of a course in flight at once.
2020-05-15 06:02:02 +00:00
Michael Hawkins
44e47eff9a MDL-68246 lib: Prepare for participants filter multiple groups support
These function updates are in preparation for the participants_search
class, which will be used to support multiple values per filter when
filtering the participants page.
2020-05-14 15:47:52 +08:00
David Mudrák
87f9e88ddd MDL-68563 filters: Fix unit test regressions
Also incrementing the plugin versions to make sure the unit test
environment is reinitialised and the tests are reliable.

Minor correction of phpdocs @package tags included.
2020-05-13 16:28:24 +08:00
Eloy Lafuente (stronk7)
5879d1773d Merge branch 'MDL-68276-replace-logs' of https://github.com/brendanheywood/moodle 2020-05-11 23:10:49 +02:00
Jun Pataleta
c314ec6770 Merge branch 'MDL-68041-master-rev2' of https://github.com/nhoobin/moodle 2020-05-11 16:27:48 +08:00
Nicholas Hoobin
119a83f148 MDL-68041 core_theme: New admin settings in secure page layout
This adds two new admin settings to the theme appearance options.

Shows the lang menu in secure layout, langmenuinsecurelayout.
Shows the user's name in secure layout, logininfoinsecurelayout.

When the page layout is set to secure, these options will be in effect.
2020-05-11 17:23:17 +10:00
Juan Leyva
f24b0795ef MDL-65547 qr: Wrapper for core_qrcode 2020-05-08 10:26:45 +02:00
Eloy Lafuente (stronk7)
301cd3e9c0 Merge branch 'MDL-68415' of https://github.com/paulholden/moodle 2020-05-07 18:38:43 +02:00
Paul Holden
f4488eca79 MDL-68415 core: test attachments in email_to_user from allowed paths. 2020-05-06 23:23:17 +01:00
Jun Pataleta
2685accca8 Merge branch 'MDL-68402' of https://github.com/timhunt/moodle 2020-05-06 17:04:25 +08:00
Tim Hunt
0d3bdb94bc MDL-68402 accesslib: fix get_with_capability_join logic
In fact, rather than fix the old logic, I noticed that the correct
logic was already implemented in get_users_by_capability. So, I
refactored to extract the working version into a function, which it
turns out can have exactly the same API as get_with_capability_join,
which was convenient.
2020-05-06 09:18:02 +01:00
Eloy Lafuente (stronk7)
bb341e4b2f Merge branch 'MDL-68615' of https://github.com/timhunt/moodle 2020-05-06 10:07:28 +02:00
Tim Hunt
bee903193b MDL-68615 questions: more increment idnumber cases found by our tester 2020-05-06 07:46:09 +01:00
Brendan Heywood
529c509f62 MDL-68276 admin: Skip risky tables and columns in db_replace 2020-05-06 15:46:41 +10:00
Andrew Nicols
d86dfdd51e Merge branch 'MDL-67800-master-3' of git://github.com/aanabit/moodle 2020-05-06 11:06:11 +08:00
Eloy Lafuente (stronk7)
95430af3f1 Merge branch 'MDL-68615' of https://github.com/timhunt/moodle 2020-05-06 00:58:26 +02:00
Tim Hunt
1d47cb2168 MDL-68615 questions: fix fiendish default idnumber edge case 2020-05-05 16:19:54 +01:00
Amaia Anabitarte
f2e02ea9f0 MDL-67800 core_contentbank: Testing contentbank events 2020-05-05 10:20:20 +02:00