Sara Arjona
d98be6a34e
Merge branch 'MDL-71096' of https://github.com/stronk7/moodle
2022-12-14 17:51:44 +01:00
Sara Arjona
dd83fb0bba
Merge branch 'MDL-75441-master' of https://github.com/aanabit/moodle
2022-12-14 09:57:03 +01:00
Amaia Anabitarte
31d84aaa2c
MDL-75441 mod_forum: Show add new post button to guest users
2022-12-13 18:49:53 +01:00
Andrew Nicols
c6e9959a40
Merge branch 'MDL-76235' of https://github.com/paulholden/moodle
2022-12-13 20:56:32 +08:00
Andrew Nicols
c198147268
Merge branch 'MDL-76509-master' of https://github.com/safatshahin/moodle
2022-12-13 20:30:57 +08:00
Andrew Nicols
3218a8feda
Merge branch 'MDL-76536' of https://github.com/paulholden/moodle
2022-12-13 11:38:06 +08:00
Safat
307f832732
MDL-76509 core: Upgrade error resolve for slot tags
2022-12-13 12:45:32 +11:00
Sara Arjona
86218ccb3d
Merge branch 'MDL-72451_master' of https://github.com/marxjohnson/moodle
2022-12-12 17:34:07 +01:00
Andrew Nicols
82fe292772
Merge branch 'MDL-71261' of https://github.com/timhunt/moodle
2022-12-12 21:20:56 +08:00
Rex Lorenzo
ebeaa4b3f2
MDL-71261 mod_quiz: Quiz user override should only get enrolled users
...
Also update similar code in mod_assign to use the improved APIs.
Co-Authored-By: Tim Hunt <T.J.Hunt@open.ac.uk>
2022-12-12 12:29:19 +00:00
Andrew Nicols
19d1fb336c
Merge branch 'MDL-76398' of https://github.com/paulholden/moodle
2022-12-11 20:20:02 +08:00
Matteo Scaramuccia
71883c2add
MDL-72461 core: Required JS files in $PAGE served by the Moodle handler
2022-12-09 13:47:19 +01:00
Paul Holden
7bab1754c4
MDL-76536 enrol: prevent invalid role assignments in course creation.
...
Upgrade step to fixup existing bad data.
2022-12-09 11:38:41 +00:00
Paul Holden
652b2e496a
MDL-76235 core: compare email diversion exceptions case-insensitively.
...
Co-authored-by: Jan Kristoffer Roth <roth@dhbw-mosbach.de>
2022-12-09 11:19:18 +00:00
Eloy Lafuente (stronk7)
28937d4243
MDL-71096 core: Add meta information about APIs to core
...
Right now we have the information only in docs:
- https://docs.moodle.org/dev/Core_APIs
- https://moodledev.io/docs/apis
And, in fact, we are crawling those pages to get the information
from various tools (moodlecheck, CiBoT...). Obviously, that's far
from ideal, the source only has the current list of APIs, and
there isn't much information there but the names.
So we are moving the source of information to be in core, so it
can be modified between branches, and contains richer information:
- The component the API belongs to, usually a subsystem or core.
- If the API can be used as level 2 namespace.
- If the API can be used as level 2 namespace out from its component.
Note that all that information has NO USES right now in core (and maybe
never will), but tools/checkers will benefit enormously by having that
information at hand, so we can check for namespaces, categories and
other bits way better.
Also, once we have this, the APIs dev documents linked above, surely
can be improved by being automatically generated and include all the
meta-information available.
It also includes a very basic json schema validating the basis. It can
be tried online @ https://www.jsonschemavalidator.net , or any other
tool. PHP requires extra libraries to be able to perform the validation.
Covered with unit tests, both api-related functions and structure validation.
2022-12-09 10:49:12 +01:00
Andrew Nicols
6982caf746
Merge branch 'MDL-76491' of https://github.com/paulholden/moodle
2022-12-08 08:08:19 +08:00
Andrew Nicols
7aeb1f68e9
Merge branch 'MDL-76074-master' of https://github.com/srobotta/moodle
2022-12-08 07:26:24 +08:00
Sara Arjona
ec3a401015
Merge branch 'MDL-76575-master' of https://github.com/HuongNV13/moodle
2022-12-07 18:32:13 +01:00
Jun Pataleta
5935cd22c1
Merge branch 'MDL-76559-master' of https://github.com/andrewnicols/moodle
2022-12-07 22:41:20 +08:00
Andrew Nicols
7ce68020b8
MDL-76559 core: validate_email does not take false either
2022-12-07 21:40:18 +08:00
Sara Arjona
1cfa7fc788
Merge branch 'MDL-76273' of https://github.com/paulholden/moodle
2022-12-07 12:51:08 +01:00
Huong Nguyen
dd6349c39f
MDL-76575 tiny_media: Remove unnecessary console log
2022-12-07 15:50:01 +07:00
Jun Pataleta
51d1448b06
Merge branch 'MDL-73017_add-environment-check-for-versions-not-supporting-php-8-1' of https://github.com/ziegenberg/moodle
2022-12-07 13:47:04 +08:00
Jun Pataleta
5bc72f5176
Merge branch 'MDL-76559-master' of https://github.com/andrewnicols/moodle
2022-12-06 23:19:53 +08:00
Andrew Nicols
f375cac31a
MDL-76559 core: validate_email should not accept empty values
2022-12-06 20:53:30 +08:00
Jun Pataleta
daa506a037
Merge branch 'MDL-76476' of https://github.com/paulholden/moodle
2022-12-06 19:34:40 +08:00
Ilya Tregubov
e641428826
Merge branch 'MDL-76490' of https://github.com/paulholden/moodle
2022-12-06 13:09:21 +03:00
Ilya Tregubov
ac60253859
Merge branch 'MDL-75516' of https://github.com/larsbonczek/moodle
2022-12-06 10:37:46 +03:00
Paul Holden
79bd94089f
MDL-76273 core: multi-byte character filename support for TCPDF.
...
See: https://github.com/tecnickcom/TCPDF/pull/562
2022-12-05 15:03:15 +00:00
Marina Glancy
8d86f30351
MDL-76490 behat: correct step for opening autocomplete in container.
2022-12-05 14:01:55 +00:00
Sara Arjona
d5b3abde3c
Merge branch 'MDL-76166-username-logging' of https://github.com/brendanheywood/moodle
2022-12-05 12:44:17 +01:00
Ilya Tregubov
ff871829c5
Merge branch 'MDL-75788-master' of https://github.com/lameze/moodle
2022-12-05 14:31:16 +03:00
Sara Arjona
474f92910a
Merge branch 'MDL-76482-master' of https://github.com/andrewnicols/moodle
2022-12-05 12:03:57 +01:00
Daniel Ziegenberg
afe68a65cb
MDL-73017 env: Moodle 3.9.x, 3.11.x and 4.0.x do not support PHP 8.1
...
This commit adds an additional environment check for the unsupported
PHP 8.1 version to Moodle 3.9.x, 3.11.x and 4.0.x.
It also updates the lang string for unsupported PHP version.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-12-05 11:39:14 +01:00
Ilya Tregubov
ea8710f2c9
Merge branch 'MDL-76330-master' of https://github.com/sh-csg/moodle
2022-12-05 09:21:09 +03:00
Lars Bonczek
e875c6118c
MDL-75516 core: Perform proper JSON encoding in mustache quote helper
2022-12-02 13:39:58 +01:00
Ilya Tregubov
fb27e80566
Merge branch 'MDL-76495-master' of https://github.com/marinaglancy/moodle
2022-12-02 13:48:11 +03:00
Paul Holden
077a30b7ff
MDL-76491 javascript: add missing core/notification
imports.
2022-12-02 10:05:28 +00:00
Paul Holden
e2a2332cc0
MDL-76398 behat: broader action menu partial matching by element.
...
For action menu elements whose trigger element isn't plain text
(e.g. a pix icon), we should be able to match via the title of
that element.
2022-12-02 09:54:49 +00:00
Ilya Tregubov
357a937790
Merge branch 'MDL-75951-master' of https://github.com/andrewnicols/moodle
2022-12-02 11:55:35 +03:00
Stephan Robotta
ecc6b31176
MDL-76074 completion: fixed filter in reports with custom user fields
...
When the site uses custom user text fields that would show up in a
user list, the filter for firstname or lastname didnt work anymore.
If a filter was used, no result would show up. Users where shown only
when the course reports where used without filters.
2022-12-02 09:42:35 +01:00
Dani Palou
3923ef9408
MDL-75788 testing: Handle new lines in menu profile field generator
2022-12-02 14:54:46 +08:00
Andrew Nicols
fad9666817
MDL-75951 core: Update box/spout to address PHP 8.1 deprecation
...
This change is a direct pull from an upstream fix:
64a09a748d
This addresses the deprecation of auto_detect_line_endings in PHP 8.1.
2022-12-02 13:58:05 +08:00
Ilya Tregubov
e925e2984a
Merge branch 'MDL-76494-master' of https://github.com/marinaglancy/moodle
2022-12-02 08:40:57 +03:00
Andrew Nicols
8ddbc7b055
Merge branch 'MDL-76493-master' of https://github.com/marinaglancy/moodle
2022-12-02 12:15:20 +08:00
Stefan Hanauska
d602d936ac
MDL-76330 enrol: Check permission to show edit icon
2022-12-01 20:07:15 +01:00
Sara Arjona
7418832f75
NOBUG: Fixed file access permissions
2022-12-01 16:08:29 +01:00
Ilya Tregubov
05535e38df
Merge branch 'MDL-76497-master' of https://github.com/junpataleta/moodle
2022-12-01 08:56:09 +03:00
Jun Pataleta
3947ad99c1
Merge branch 'MDL-76483-master' of https://github.com/andrewnicols/moodle
2022-12-01 08:55:34 +03:00
Ilya Tregubov
9ba9589f09
Merge branch 'MDL-74853-master' of https://github.com/marinaglancy/moodle
2022-12-01 08:55:34 +03:00