Jun Pataleta
a377bf30c4
Merge branch 'MDL-75012-401-5' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 12:31:09 +08:00
Andrew Nicols
288620b0b4
MDL-75012 js: Full build of all grunt things
2023-03-02 12:15:25 +08:00
Andrew Nicols
b963401b8f
MDL-75012 js: Bump Babel dependencies
...
Please note that whilst some dependencies have higher versions
available, these are not compatible at this time.
2023-03-02 12:15:25 +08:00
Andrew Nicols
364458e36a
MDL-75012 js: Remove unused babel-preset-minify dependency
2023-03-02 12:15:25 +08:00
Andrew Nicols
ccec093aaa
Merge branch 'MDL-76825-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-03-02 12:05:25 +08:00
Jun Pataleta
3b9a4c5e69
Merge branch 'MDL-75719-401-4' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-03-02 12:02:29 +08:00
Andrew Nicols
74fe0b04be
MDL-77141 gradereport_user: Adjust course name to fix test
2023-03-02 11:50:08 +08:00
Andrew Nicols
4e8cd1c7da
Merge branch 'MDL-77141-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-03-02 11:49:55 +08:00
Jake Dallimore
841f61af08
Merge branch 'MDL-77461-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 11:42:40 +08:00
Jake Dallimore
0792cbf3c8
Merge branch 'MDL-77400-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE
2023-03-02 11:27:16 +08:00
Paul Holden
1eed4bca84
MDL-77368 forms: remove console logging of upload DOM element.
2023-03-02 11:19:48 +08:00
Andrew Nicols
d784e19d9b
MDL-77461 behat: Use get_course_id instead of DB fetch
2023-03-02 11:06:45 +08:00
Ilya Tregubov
1e26496cdd
MDL-75719 completion: Add Behat scenario for completion states.
2023-03-02 11:04:08 +08:00
Ilya Tregubov
23915a35ae
MDL-75719 completion: Fix unit tests and Behat tests.
...
Fix tests since we changed behavior of completions (completion
state an UI).
2023-03-02 11:04:08 +08:00
Ilya Tregubov
3ebd25ff48
MDL-75719 completion: Fix viewed criteria.
...
When we unlock completion criteria and save changes 'viewed' criteria
still should be completed if user has viewed activity before. Seems
that that was broken by recent changes. Fixing here.
2023-03-02 11:04:08 +08:00
Ilya Tregubov
7e3d9db579
MDL-75719 completion: Fix completion state for hidden grade items.
...
For hidden grade items we used to mark students as completed if
they have any grade. But this was not working correctly when we
also set pass grade for activity and completion criteria based
on pass grade. So we will have these completion states
Competion criteria 'Receive grade':
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden - COMPLETION_COMPLETE
Completion criteris 'Receive passing grade'
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade hidden, failed passing grade - COMPLETION_COMPLETE_FAIL_HIDDEN
2023-03-02 11:04:08 +08:00
Jake Dallimore
b9ee80aae7
Merge branch 'MDL-77318-401' of https://github.com/Utdanningsdirektoratet/moodle into MOODLE_401_STABLE
2023-03-02 10:55:56 +08:00
Andrew Nicols
746580aa68
Merge branch 'MDL-77150-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-03-02 10:48:47 +08:00
David Mudrák
a31b0acaa5
MDL-75534 Fix usermodified in very old forum discussions
...
Very early Moodle versions used to leave the field empty. Recent Moodle
versions expect that the value always links to an existing user account.
2023-03-02 10:41:41 +08:00
Jake Dallimore
b4944cadca
Merge branch 'MDL-76298_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-02 10:13:04 +08:00
Jun Pataleta
4dda4e69fe
Merge branch 'MDL-77413-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-02 09:45:56 +08:00
Andrew Nicols
044e573ea1
Merge branch 'MDL-77391-m401' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE
2023-03-02 09:26:56 +08:00
Andrew Nicols
12843909d1
Merge branch 'MDL-77321-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-02 09:25:03 +08:00
Jun Pataleta
ba428c3255
Merge branch 'MDL-74586-401-sqlrss' of https://github.com/mudrd8mz/moodle into MOODLE_401_STABLE
2023-03-02 08:58:22 +08:00
Jun Pataleta
a3b8e7867a
Merge branch 'MDL-76938_restore_comments_401' of https://github.com/davosmith/moodle into MOODLE_401_STABLE
2023-03-02 08:42:05 +08:00
Jun Pataleta
2c290f4bb8
Merge branch 'MDL-77430_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-03-01 23:59:28 +08:00
Jun Pataleta
73f5e82992
Merge branch 'MDL-77417_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-03-01 23:54:21 +08:00
Mikel Martín
855839d195
MDL-77150 core_table: Fix classes added as columnsattributes are ignored
...
Fix columnattributes with key 'class' being ingored by adding them to every 'column_class'.
2023-03-01 11:17:05 +01:00
Andrew Nicols
576afc3ba6
Merge branch 'MDL-58945_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-01 10:55:38 +08:00
Andrew Nicols
3df3b9dfb2
Merge branch 'MDL-74585-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-01 10:51:45 +08:00
Andrew Nicols
61f38c0663
Merge branch 'MDL-77322_basicauth_checkbox-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-03-01 10:49:38 +08:00
Andrew Nicols
4ade597a20
Merge branch 'MDL-72727-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-01 10:46:49 +08:00
Jonathan Champ
35a59dd032
MDL-77391 question admin: further improve query peformance in qtypes.php
2023-02-28 10:18:28 -05:00
Andrew Nicols
bac48ffee3
Merge branch 'MDL-73018-M401_bump-travis-and-gha-to-use-php81-instead-of-php80' of https://github.com/ziegenberg/moodle into MOODLE_401_STABLE
2023-02-28 23:03:08 +08:00
Andrew Nicols
2a0980837d
Merge branch 'MDL-77097_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-02-28 22:13:39 +08:00
David Mudrák
cfc2fca94a
MDL-74586 rss: Make rss_get_userid_from_token() use table index
...
Due to missing `AND k.script = 'rss'` condition, the query did not make
use of the existing script-value compound index defined for the table.
So it had to perform the full sequential scan for all rows when
searching for the token. This had serious performance issues on sites
with many users, especially in case on non-existing token / key.
2023-02-28 13:25:45 +01:00
Eloy Lafuente (stronk7)
be32856374
MDL-77430 plugininfo: php81 deprecation warnings on missing plugins
...
Whenever some plugin is missing from disk but installed, the plugins
page (and the upgrade) shows them as "missing from disk". Still, the
code tries to do things with their directory that, now, is null.
That was silently defaulting to '' in previous php versions, but
php81 emits a deprecated warning. So we have to check for them.
2023-02-28 11:41:04 +01:00
Daniel Ziegenberg
5ab061ca7d
MDL-73018 ci: Move highest PHP to 8.1 (from current 8.0)
...
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2023-02-28 11:24:28 +01:00
Dani Palou
8045e5e3dd
MDL-77400 reportbuilder: Fix enrolment status return type
2023-02-28 10:41:38 +01:00
Angelia Dela Cruz
03035dcf71
MDL-77413 Behat: Minor changes to optimise the existing tests
2023-02-28 17:22:25 +08:00
Angelia Dela Cruz
93525ebdd9
MDL-77413 Behat: Add coverage to verify groups can have a picture
2023-02-28 17:22:04 +08:00
Jun Pataleta
21afd4548b
Merge branch 'MDL-77248-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-02-28 15:46:49 +08:00
Andrew Nicols
1ca40fa664
MDL-77248 mod_bigbluebuttonbn: Remove unused dpa pages
2023-02-28 12:04:51 +08:00
Andrew Nicols
3c262bb46f
MDL-77248 mod_bigbluebuttonbn: Set dpa accepted when creating activities
...
This only applies when creating activities using the test data
generator.
2023-02-28 12:04:51 +08:00
Andrew Nicols
9d5e363b41
MDL-77248 core: Move pre_enable_plugin_actions callback to enable_plugin
2023-02-28 12:04:51 +08:00
Andrew Nicols
73181c1310
MDL-75012 js: Put shifter on a diet
...
This commit switches to a new custom version of Shifter which sees it
put on a massive diet.
Many of the standard Shifter features are totally unused by Moodle, but
they add dependency spaghetti. Some of those dependencies will start to
cause us issues as they have not been updated for a very long time, are
no longer maintained, and are no longer compatible with anything
resembling a recent version of NodeJS.
2023-02-28 10:22:45 +08:00
Andrew Nicols
c2c1727dd5
MDL-75012 js: Bump shifter to new version
...
This resolves an issue identified in 77083 which identified that GitHub
hashes shouldn't be treated as repeatable.
Whilst GitHub have reverted this change, it's still worth making this
change.
2023-02-28 10:19:51 +08:00
Andrew Nicols
89f7402fc2
MDL-75012 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
2023-02-28 10:19:51 +08:00
Andrew Nicols
8960a6ee91
MDL-75012 js: Audit fix
2023-02-28 10:19:51 +08:00
Andrew Nicols
0a0266ae5e
MDL-75012 js: Bump node-sass
2023-02-28 10:19:51 +08:00