David Mudrák
801ee23427
MDL-69050 lang: Improve the wording of the comments
...
Stop using the terms whitelist/blacklist when used to allow/deny things.
2020-09-24 19:41:58 +02:00
Paul Holden
2175216110
MDL-66648 user: consistent checks for linking to full profile.
...
The access checks for displaying a link to a users' full profile
now match the checks performed on the full profile page itself.
2020-09-14 20:22:07 +01:00
Mathew May
5a5f95e843
MDL-69240 tool_moodlenet: Clean MoodleNet profile field
...
Amended by: Eloy Lafuente (stronk7) <stronk7@moodle.org>
- adjust versions for every branch.
- modify verify_webfinger->profileurl external to PARAM_NOTAGS.
2020-09-07 17:44:41 +02:00
Paul Holden
0cfa744fd9
MDL-63387 user: show both role names on course participants page.
2020-09-01 12:05:20 +01:00
Andrew Nicols
d48a0a9a5d
Merge branch 'MDL-61215-master' of git://github.com/sarjona/moodle
2020-08-20 07:14:15 +08:00
Eloy Lafuente (stronk7)
fbb0767536
MDL-69475 versions: bump all versions and requires in master
...
version = 2021052500 release version
requires= 2021052500 same than version
Why 20210525? (25th May 2021) ?
Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:
- Moodle 3.10 to be released 9th November 2020. (2020110900)
This version will be using versions from today to 2020110900
(once it's released the YYYYMMDD part stops advancing).
- Moodle 3.11 to be released 10th May 2021. (2021051000)
This version will be using versions from 3.10 release to 2021051000
(once it's released the YYYYMMDD part stops advancing).
That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).
And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).
So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.
2020-08-18 00:47:15 +02:00
Sara Arjona
489cae2601
MDL-61215 core_user: use the new optimised_image filetype group
...
For the user profile picture (instead of the web_image which includes
SVG files).
2020-08-14 17:06:23 +02:00
Luca Bösch
4994817908
MDL-68334 user: Display name in footer as elsewhere.
2020-08-08 10:38:56 +02:00
Adrian Greeve
8fcba35fd8
Merge branch 'MDL-60932-master' of git://github.com/aanabit/moodle
2020-08-05 10:07:24 +08:00
Michael Hawkins
c2f188311e
MDL-69336 lib: Reinstating tablelib column show/hide functionality
...
Also added behat testing for hide/show columns in participants table.
2020-08-04 15:18:39 +08:00
Amaia Anabitarte
becb9e8579
MDL-60932 core_user: Fix docs link for participants page
...
Co-authored by: David Mudrák <david@moodle.com>
2020-07-31 10:29:56 +02:00
Paul Holden
ca02422d66
MDL-69214 user: correct participant table forced group SQL.
2020-07-07 14:31:31 +01:00
Andrew Nicols
8d5926bead
MDL-69026 user: Correct statuses => status in test
2020-06-12 10:03:06 +08:00
Andrew Nicols
8bcf74e9bc
MDL-69026 user: Wrap sub-query in brackets
...
It is perfectly valid to have a query like:
Match None of the following:
- Role is ANY of the following:
-- 'Teacher'
-- 'Editing teacher'
-- 'Manager'; AND
- Keyword is NONE of the following:
-- 'Kevin'
However, due to the way in which the query is constructed, this leads to
a query which includes
WHERE NOT ef.id IS NOT NULL
AND NOT
u.id IN (SELECT userid FROM {role_assignments} WHERE roleid IN (...) AND contextid IN (...))
AND NOT
NOT (u.firstname || ' ' || u.lastname LIKE '%Kevin%')
The use of NOT NOT is valid in Postgres, MariaDB, MySQL, and MSSQL, but
not in Oracle.
To counter this when the outer jointype is of type NONE, we must wrap
each of the inner WHERE clauses in a set of brackets, which makes the
query:
WHERE NOT ef.id IS NOT NULL
AND NOT
(u.id IN (SELECT userid FROM {role_assignments} WHERE roleid IN (...) AND contextid IN (...)))
AND NOT
(NOT (u.firstname || ' ' || u.lastname LIKE '%Kevin%'))
Whilst Oracle does not support the use of `AND NOT NOT ...`, it does support
`AND NOT (NOT ...)`
2020-06-12 10:03:06 +08:00
Jun Pataleta
02b7fac93d
Merge branch 'MDL-69017-master' of git://github.com/andrewnicols/moodle
2020-06-11 16:59:04 +08:00
Andrew Nicols
d3bfae8fcc
MDL-69017 user: Show all links should work for students
2020-06-11 15:51:41 +08:00
Jun Pataleta
49a34f1593
Merge branch 'MDL-68912' of https://github.com/rlorenzo/moodle
2020-06-11 11:01:05 +08:00
Rex Lorenzo
330c871c3f
MDL-68912 user: "Send a message" select all not working
2020-06-10 17:53:53 -07:00
Eloy Lafuente (stronk7)
5364577065
Merge branch 'MDL-68994-master' of git://github.com/andrewnicols/moodle
2020-06-10 23:31:11 +02:00
Victor Deniz Falcon
034ba327d0
Merge branch 'MDL-68980-master' of git://github.com/andrewnicols/moodle
2020-06-10 21:41:56 +01:00
Jun Pataleta
15823a94c1
Merge branch 'MDL-68989-master' of git://github.com/mickhawkins/moodle
2020-06-11 00:03:54 +08:00
Andrew Nicols
9a7bd66b4e
MDL-68980 user: Add additional groupmode participants tests
2020-06-10 16:23:58 +08:00
Jake Dallimore
337e2e2b23
Merge branch 'MDL-68973' of https://github.com/stronk7/moodle
2020-06-10 16:13:57 +08:00
Jake Dallimore
2b983d29a0
Merge branch 'MDL-68977-master' of git://github.com/andrewnicols/moodle
2020-06-10 15:36:44 +08:00
Andrew Nicols
eb45751b7b
MDL-68994 user: Reset filterverb value when resetting filter
2020-06-10 14:19:02 +08:00
Marina Glancy
09fe2a0ce2
MDL-68980 user: Test for groupmode participants behaviour
2020-06-10 14:15:41 +08:00
Andrew Nicols
20531b30f6
MDL-68980 core_user: Show user participation group when groupmode set
2020-06-10 14:14:50 +08:00
Andrew Nicols
7b3026fabe
MDL-68977 core_user: Refresh table after removing all filters
...
Previously the update function was called for each row as it was
removed. This patch changes the behaviouro to only remove one row at at
ime.
2020-06-10 08:03:16 +08:00
Eloy Lafuente (stronk7)
115cc0214f
MDL-68973 versions: bump all versions and requires near release
...
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Víctor Déniz Falcón
b28f530a84
Merge branch 'MDL-68984-master' of git://github.com/mickhawkins/moodle
2020-06-09 13:45:40 +01:00
Michael Hawkins
f2972e1dcb
MDL-68989 user: Apply none filterset join correctly on keyword filter
...
Also improved behat coverage for filterset joins and keyword filtering.
2020-06-09 15:49:31 +08:00
Andrew Nicols
cb2f672525
MDL-68977 user: Add pendingPromise to interactions
2020-06-09 14:36:08 +08:00
Andrew Nicols
8503e0ee53
MDL-68977 user: Do not refresh participants table on load
2020-06-09 14:35:39 +08:00
Andrew Nicols
dd9dea6148
MDL-68977 user: Normalise participant table filterdata
2020-06-09 14:35:21 +08:00
Michael Hawkins
8ddfc963b9
MDL-68984 user: Ensure first/last name filtering is always applied
...
This ensures the firstname and surname filtering is applied in addition
to any other filtering, rather than using the filterset join type.
2020-06-09 12:36:11 +08:00
Andrew Nicols
eb087fc5de
MDL-68951 user: Add appropriate exceptions for table/participants
2020-06-08 09:35:39 +08:00
Sara Arjona
515bc8f4e0
MDL-68745 user: remove empty line
2020-06-05 21:57:24 +02:00
Sara Arjona
6ddab9d6d3
Merge branch 'MDL-68745-master-2' of git://github.com/mickhawkins/moodle
2020-06-05 21:30:07 +02:00
Jun Pataleta
618b13e1f5
Merge branch 'MDL-67883-squash' of https://github.com/Chocolate-lightning/moodle
2020-06-05 11:52:36 +08:00
Mathew May
16d77f1884
MDL-67883 core: Make core ready for MoodleNet.
2020-06-05 11:47:42 +08:00
Michael Hawkins
f32f25b89d
MDL-68745 lib: Updated table filters to support non-English characters
...
Added support for non-English first/last name filtering.
2020-06-04 12:48:03 +08:00
Adrian Greeve
089c9d925c
Merge branch 'MDL-68894-master' of git://github.com/andrewnicols/moodle
2020-06-04 08:43:53 +08:00
Andrew Nicols
84eb0a3e14
MDL-68894 user: Wrap bottom enrol buttons like top
...
The div wrapping the enrolment buttons has been updated in MDL-67743 to
use a flexbox grid. It was also updated to add a data- attribute
relating to the participants table id.
The bottom enrol button line should have been updated in the same way.
2020-06-03 16:53:00 +08:00
Andrew Nicols
084c955e49
MDL-68612 user: Set the initial filter on page load
2020-06-03 14:29:22 +08:00
Michael Hawkins
5187e7c515
MDL-68612 core: Behat tests updated to support new participants filter
...
Existing tests have been updated, rewritten and/or expanded to support
the new participants filter.
2020-06-03 14:29:22 +08:00
Michael Hawkins
c36f37dfb4
MDL-68612 user: Fixed delete participants filter row execution order
...
This ensures that when deleting the penultimate filter, the filterset
join type is reset before the filters are re-applied.
2020-05-29 12:18:39 +08:00
Michael Hawkins
3d60881d5d
MDL-68612 user: Participants filter row accessibility improvements
...
More clearly defining each filter row and its ability to remove
filter selections for screen readers.
2020-05-29 12:18:39 +08:00
Michael Hawkins
03cb6064ea
MDL-68612 user: Unified filter deprecations - renderer and renderable
2020-05-29 12:18:39 +08:00
Michael Hawkins
2396e3156f
MDL-68612 user: Unified filter deprecations - related library functions
2020-05-29 12:13:26 +08:00
Michael Hawkins
f626308193
MDL-68612 user: Unified filter deprecations - mustache template
2020-05-29 10:10:33 +08:00