Commit graph

100717 commits

Author SHA1 Message Date
Sara Arjona
9c07064417 MDL-67999 core_contentbank: Add namespace to upload form
The form to upload/replace files has been moved to classes/form
(it's where it should have been added when it was created).
Besides, this class has been renamed because now, with the
namespace, contentbank and form don't need to be in the name ;-)
2021-04-14 18:04:09 +02:00
Xuan Gui
ed046b8eb1 MDL-70649 files: Alternative security helper
Augument all installed plugin's security helper if there is any.
Plugins function has to be defined as plugintype_pluginname_security_helper in pluginname/lib.php file.
2021-04-14 21:21:35 +10:00
Eloy Lafuente (stronk7)
9ee80056de Merge branch 'MDL-70616-master' of https://github.com/izendegi/moodle 2021-04-14 12:45:00 +02:00
Iñigo Zendegi
9391a177d8 MDL-70616 gradingform_rubric: Filters not applied to rubric name 2021-04-14 11:04:54 +02:00
Sara Arjona
24ff49f681 MDL-71119 core_badges: Add more information to errors
Some errors raised when calling external services were ignored.
Displaying this information helps to debug and find the real reasons
why some action, like connecting to an external backpack, can't be
done.
2021-04-14 10:52:47 +02:00
Jun Pataleta
dbda8528f5 Merge branch 'MDL-71315-master' of git://github.com/sarjona/moodle 2021-04-14 16:50:42 +08:00
Sara Arjona
c1649591a2 MDL-71119 core_badges: Use basicauth and remove urlencode
Basic authorization header is required to get token. Besides, client
id and secret shouldn't call urlencode.
2021-04-14 09:18:36 +02:00
Sara Arjona
c974a59f41 MDL-71119 core_badges: Initialise scopes param in backpack-connect.php
The scopes parameter should be passed when creating the OAuth2 badges
client. As it is an optional parameter, when it's empty, it will
be initilised with the supported scopes for the backpack issuer.

It will happen, for instance, when a call is done to oauth2callback.php
because, as defined in RFC6749, OAuth2 authorization response only
supports code and state.
2021-04-14 09:18:35 +02:00
Sara Arjona
e281a5ef69 MDL-71315 core_badges: Fix warning when rendering badges 2021-04-14 09:06:06 +02:00
Andrew Nicols
88a29d6ca7 Merge branch 'MDL-71154' of https://github.com/stronk7/moodle 2021-04-14 12:09:01 +08:00
Jake Dallimore
195abe8ab1 Merge branch 'MDL-70207-master' of git://github.com/peterRd/moodle 2021-04-14 09:07:21 +08:00
Andrew Nicols
c10791cab9 Merge branch 'MDL-71169-master-execute' of git://github.com/mudrd8mz/moodle 2021-04-14 08:35:07 +08:00
AMOS bot
ee7d8d7f30 Automatically generated installer lang files 2021-04-14 00:07:59 +00:00
Eloy Lafuente (stronk7)
7d3012f9bc Merge branch 'MDL-69874-master' of git://github.com/lucaboesch/moodle 2021-04-13 23:08:45 +02:00
Eloy Lafuente (stronk7)
392fc8ead0 Merge branch 'MDL-70722-master' of git://github.com/sarjona/moodle 2021-04-13 22:39:27 +02:00
Víctor Déniz
cfcad45150 Merge branch 'MDL-71089-master' of git://github.com/roland04/moodle 2021-04-13 19:45:03 +01:00
Eloy Lafuente (stronk7)
17ff770eaa MDL-71154 ci: Prevent upstream branches and tags to be built
Both for travis and GHA:

- master and MOODLE_XXX_STABLE branches
- any vX.Y.Z tag

won't lead to a build anymore.
2021-04-13 16:55:42 +02:00
Mikel Martín
5fade7fcc6 MDL-71089 core: Add different Toast notification styling 'types' 2021-04-13 16:28:35 +02:00
Mikel Martín
e7fa11471e MDL-71089 theme_boost: Add styles for different toast types 2021-04-13 16:28:35 +02:00
Sara Arjona
fd2740d592 Merge branch 'MDL-71011' of https://github.com/stronk7/moodle 2021-04-13 12:26:57 +02:00
Sara Arjona
b9de0d1794 Merge branch 'MDL-65983-master' of git://github.com/jleyva/moodle 2021-04-13 12:19:25 +02:00
Luca Bösch
37a1f2454a MDL-69874 workshop: Title mentions received assessments in close phase. 2021-04-13 11:52:36 +02:00
Eloy Lafuente (stronk7)
511a87f5fc weekly release 4.0dev 2021-04-13 10:26:25 +02:00
Eloy Lafuente (stronk7)
99541a198e Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-04-13 10:26:20 +02:00
Adrian Greeve
83b71194cd Merge branch 'MDL-71161-master-4' of git://github.com/junpataleta/moodle 2021-04-13 11:42:30 +08:00
Tomo Tsuyuki
108da43e9f MDL-63381 backup: Have an option to import permissions
Add options to use permission settings for import / restore
2021-04-13 13:24:15 +10:00
Adrian Greeve
4cc1d6c56e Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle 2021-04-13 10:59:02 +08:00
Eloy Lafuente (stronk7)
6e39487123 Merge branch 'mdl_71172' of https://github.com/AnupamaSarjoshi/moodle 2021-04-13 00:46:55 +02:00
Michael Hawkins
09a59a75c6 MDL-71161 mod_workshop: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
907ce56d20 MDL-71161 mod_wiki: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
f37c83da8d MDL-71161 mod_url: Display activity completion information 2021-04-13 01:21:12 +08:00
Simey Lameze
59249a54c9 MDL-71161 mod_survey: show survey activity info 2021-04-13 01:21:12 +08:00
Michael Hawkins
920646237d MDL-71161 mod_scorm: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
1a596574ba MDL-71161 mod_resource: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
a219b812b4 MDL-71161 mod_quiz: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
c8a6d12608 MDL-71161 mod_page: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
e3fb51e3c8 MDL-71161 mod_lti: Display activity completion information 2021-04-13 01:21:12 +08:00
Michael Hawkins
8395543c40 MDL-71161 mod_lesson: Display activity completion information 2021-04-13 01:21:12 +08:00
Jun Pataleta
23cb701a75 MDL-71161 mod_imscp: Display activity information output component 2021-04-13 01:21:12 +08:00
Jun Pataleta
16a9e8ada7 MDL-71161 mod_h5pactivity: Display activity information output component 2021-04-13 01:21:12 +08:00
Simey Lameze
1e459102e4 MDL-71161 mod_glossary: show glossary activity info 2021-04-13 01:21:12 +08:00
Simey Lameze
3e228db3bf MDL-71161 mod_forum: show forum activity info 2021-04-13 01:21:11 +08:00
Jun Pataleta
10ed7500fb MDL-71161 mod_folder: Display activity information output component 2021-04-13 01:21:11 +08:00
Simey Lameze
52b9a0c920 MDL-71161 mod_feedback: show feedback activity info 2021-04-13 01:21:11 +08:00
Simey Lameze
a45eca85bb MDL-71161 mod_data: show database activity info 2021-04-13 01:21:11 +08:00
Jun Pataleta
0ba0dfe3a9 MDL-71161 mod_chat: Display activity information output component 2021-04-13 01:21:11 +08:00
Jun Pataleta
6b46ce4c48 MDL-71161 mod_book: Display activity information output component 2021-04-13 01:21:11 +08:00
Simey Lameze
8d38fc7eab MDL-71161 mod_assign: show assign activity info 2021-04-13 01:21:11 +08:00
Jun Pataleta
bb5ed7d4af MDL-70821 core_completion: Fix completion settings Behat tests 2021-04-13 00:57:46 +08:00
Jun Pataleta
f5d9ac9626 MDL-70821 course: Render activity information only when necessary
Render the activity information output component in the course homepage
only if either completion details or activity dates are to be displayed.
This can help reduce the number of files being included when loading the
course homepage (e.g. the activity information template for each
activity in the course homepage).
2021-04-13 00:51:48 +08:00