105959 Commits

Author SHA1 Message Date
Luca Bösch
27093b1893 MDL-74941 qtype_calculated: Fix for usage calculation
The patch for the helper functions is by Nathan Nguyen
<nathannguyen@catalyst-au.net> whom I wish to thank.
2022-09-20 08:10:55 +02:00
Sara Arjona
b077af7e89 weekly release 4.1dev 2022-09-15 16:11:47 +02:00
Sara Arjona
979b41f508 NOBUG: Fixed file access permissions 2022-09-15 16:11:47 +02:00
Sara Arjona
3a9b299ce7 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-09-15 16:11:45 +02:00
Jun Pataleta
95e2214283 Merge branch 'MDL-75398-master' of https://github.com/junpataleta/moodle 2022-09-15 11:34:56 +08:00
Ferran Recio
f69b48865a MDL-75398 core_courseformat: deprecate 4th cmname construct param 2022-09-15 11:28:55 +08:00
Jun Pataleta
8900c4a820 Merge branch 'MDL-75716' of https://github.com/stronk7/moodle 2022-09-15 09:55:55 +08:00
Jun Pataleta
46849455be Merge branch 'MDL-75714' of https://github.com/stronk7/moodle 2022-09-15 09:24:50 +08:00
Eloy Lafuente (stronk7)
d1bf45ec18 MDL-75714 navigation: Cover a couple of situations with behat
- Guest user attempting to access to single-activity course.
- Not enrolled user attempt to access to single-activity course.

Both should, by default, land to the "cannot access/enrol" page.
2022-09-14 23:35:19 +02:00
Stefan Hanauska
8e371f138a MDL-75714 navigation: Check if node is false 2022-09-14 23:35:15 +02:00
Víctor Déniz
db13ed76ff Merge branch 'MDL-75558-master' of https://github.com/ssj365/moodle 2022-09-14 22:30:33 +01:00
Víctor Déniz
9c1f55ae58 Merge branch 'MDL-75723' of https://github.com/paulholden/moodle 2022-09-14 20:30:37 +01:00
Víctor Déniz
edb09c61d5 Merge branch 'MDL-74965-master' of https://github.com/ssj365/moodle 2022-09-14 20:23:44 +01:00
Víctor Déniz
63f31ccc7b Merge branch 'MDL-75625-master' of https://github.com/ferranrecio/moodle 2022-09-14 20:00:06 +01:00
Víctor Déniz
e6fd69fae9 Merge branch 'MDL-75369-master' of https://github.com/sammarshallou/moodle 2022-09-14 19:50:56 +01:00
Víctor Déniz
5378c89521 Merge branch 'MDL-74140' of https://github.com/paulholden/moodle 2022-09-14 19:36:45 +01:00
Víctor Déniz
e672e4f6dd Merge branch 'MDL-75639-master' of https://github.com/dravek/moodle 2022-09-14 19:13:01 +01:00
Sara Arjona
c739cc14af Merge branch 'MDL-75413-master' of https://github.com/sarjona/moodle 2022-09-14 18:04:51 +02:00
Shamiso.Jaravaza
8e37c9f24d MDL-74965 mod_bigbluebuttonbn: Fix error in role 2022-09-14 09:10:41 -06:00
Sara Arjona
aa020451c7 MDL-75413 mod_data: Add resources preset 2022-09-14 13:12:41 +02:00
Sara Arjona
33277f99f1 Merge branch 'MDL-74010' of https://github.com/paulholden/moodle 2022-09-14 11:41:42 +02:00
Jun Pataleta
a4fb12a1a3 Merge branch 'MDL-69888-user-fully-setup-cache' of https://github.com/brendanheywood/moodle 2022-09-14 11:33:47 +08:00
Jun Pataleta
49d3d44462 Merge branch 'MDL-71129-master' of https://github.com/aanabit/moodle 2022-09-14 05:54:36 +08:00
Jun Pataleta
402136ef80 Merge branch 'MDL-75308' of https://github.com/paulholden/moodle 2022-09-14 05:33:09 +08:00
Jun Pataleta
b420ce7d27 Merge branch 'MDL-75637' of https://github.com/paulholden/moodle 2022-09-13 20:25:57 +08:00
sam marshall
4ab9f08ce0 MDL-75369 Redis: Remove unnecessary ping after connect
The Redis cache store and session handler both do a 'ping()' after
connecting to Redis. This is unnecessary because the connect() call
has just checked the network connection and it's hardly likely that
the server has gone down since then.

According to my profiling, both connect() and ping() take
measurable time when talking to a separate server, i.e. a few
milliseconds. So it's not the case that connect() doesn't really
talk to the server, as I initially wondered.

If using Redis on a separate (non-localhost) server for both session
and cache store, removing these ping calls can save a millisecond
or two per request.
2022-09-13 10:45:00 +01:00
Eloy Lafuente (stronk7)
81f05b3239 MDL-75716 phpunit: Move tests to use correct names and ns (take#5)
Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- In lib/tests/blocklib_test.php 2 helper classes have been
  moved to tests/fixtures, because they needed to be namespace-free.
2022-09-12 19:29:34 +02:00
Sara Arjona
c6bac74c2f Merge branch 'MDL-74635' of https://github.com/paulholden/moodle 2022-09-12 14:56:02 +02:00
Paul Holden
cc59c2d4c3 MDL-75723 reportbuilder: show loading icon when toggling edit mode. 2022-09-12 12:24:40 +01:00
Sara Arjona
130227d3e6 Merge branch 'MDL-75051' of https://github.com/mkassaei/moodle 2022-09-12 12:30:23 +02:00
Paul Holden
31cccc6058 MDL-74635 tag: add select all/none tags for bulk actions. 2022-09-12 11:19:17 +01:00
anisa kusumadewi
6330c482bd MDL-71129 core_h5p: Added index for pathnamehash to h5p table 2022-09-12 11:41:06 +02:00
Paul Holden
8a657e6d23 MDL-74140 reportbuilder: debugging panel while editing reports. 2022-09-12 10:36:48 +01:00
AMOS bot
0f85fcc2a1 Automatically generated installer lang files 2022-09-11 00:08:02 +00:00
Eloy Lafuente (stronk7)
c6211a68b4 weekly release 4.1dev 2022-09-10 10:00:40 +02:00
Jun Pataleta
1e28be65a4 Merge branch 'MDL-75708' of https://github.com/paulholden/moodle 2022-09-09 20:49:12 +08:00
Paul Holden
da42ba79d6 MDL-75637 core: add journal database preset to standard plugin list. 2022-09-09 12:32:03 +01:00
Paul Holden
b40d438fbf MDL-75708 reportbuilder: consider stress tests as requiring longtest.
We should respect the value of the PHPUNIT_LONGTEST constant in the
report source stress tests, as it was discovered after 165e26fa that
the default configuration of some CIs (GHA) was not sufficient to run
them.

Hence, use the PHPUNIT_LONGTEST to determine whether to execute said
tests. Note this constant is enabled on internal CI.
2022-09-09 11:11:39 +01:00
Mahmoud Kassaei
1edb5f7581 MDL-75051 Questions: Selecting idnumber in the question bank,
the copy/pasting, includes extraneous text in Chrome
2022-09-09 10:11:45 +01:00
David Matamoros
131a97406b
MDL-75639 reportbuilder: Add new option to date filter
- In the past: to filter by all dates in the past
- In the future: to filter by all dates in the future
2022-09-09 10:15:28 +02:00
Jun Pataleta
4a0b0c8286 weekly release 4.1dev 2022-09-09 08:36:43 +08:00
Jun Pataleta
0f9916e1ec Merge branch 'MDL-74435-master' of https://github.com/lameze/moodle 2022-09-08 10:08:55 +08:00
Jun Pataleta
d0f5778391 Merge branch 'MDL-75227' of https://github.com/call-learning/moodle 2022-09-08 09:40:10 +08:00
Simey Lameze
9efb61d321 MDL-74435 core_user: behat test polish and fixes 2022-09-08 09:32:36 +08:00
Peter Burnett
94aa2c78bd MDL-74435 user: Trim whitespace from user search fields 2022-09-08 09:12:09 +08:00
Jun Pataleta
27222f3faf Merge branch 'MDL-74081-master' of https://github.com/call-learning/moodle 2022-09-08 09:05:05 +08:00
Michael Hawkins
c43123adde MDL-68066 output: Apply disable lambda rendering to Mustache renderer 2022-09-07 23:54:24 +08:00
Lars Bonczek
fcbb645671 MDL-68066 output: Mustache - Add option to disable lambda rendering
This commit is based on an outstanding pull request to the Mustache repo
2022-09-07 23:54:24 +08:00
Laurent David
0f1c59747e MDL-75227 mod_bigbluebuttonbn: Optimize User logs retrieval
* When loading a course with the Recent Activity block the bigbluebuttonbn_print_recent_activity
takes too much time to load the logs. Using the courseid (index of log table) improves the
time taken by the query.
2022-09-07 17:38:32 +02:00
Laurent David
38b9319580 MDL-74081 mod_bigbluebuttonbn: Fix codechecker related issues
* Opening braces should be on the same line
* Unwanted MOODLE_INTERNAL
* Behat edit_instance.feature should use "activity editing" page locator
* Coverage indication
2022-09-07 17:26:27 +02:00