Jun Pataleta
76c0c9ed59
Merge branch 'MDL-81525-403' of https://github.com/andrewnicols/moodle into MOODLE_403_STABLE
2024-04-17 23:42:14 +08:00
Stevani Andolo
8fdda09338
MDL-81354 core: Escape string of fullname
2024-04-17 03:24:19 +00:00
Andrew Nicols
ffc51ab3fd
MDL-81525 core_user: Move after_complete_login to correct NS
2024-04-15 08:53:35 +08:00
Andrew Nicols
076f6e9464
MDL-77967 core_user: Coding style fixes in tests
2024-04-11 14:06:11 +08:00
Andrew Nicols
24c4875f6a
Merge branch 'MDL-77967-403' of https://github.com/rmady/moodle into MOODLE_403_STABLE
2024-04-11 14:06:06 +08:00
Paul Holden
9eac2f3c93
MDL-80241 grade: update user filtering by matched properties.
...
Invert the previous logic, which maintained a "banned" list of
fields, to instead only try to filter on those fields that are
explicitly defined to support that.
2024-02-21 10:21:36 +00:00
Rodrigo Mady
e258e86f15
MDL-77967 user: Add format text to custom profile fields name
2024-02-16 17:16:37 -03:00
Sara Arjona
45a503f086
Merge branch 'MDL-74500-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 16:06:10 +08:00
Sara Arjona
571be8e18c
Merge branch 'MDL-79577-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-08 15:45:36 +08:00
Paul Holden
f32d3af553
MDL-74500 profilefield_checkbox: override show/empty class methods.
2024-02-07 14:13:51 +00:00
Jun Pataleta
42f5f85440
Merge branch 'MDL-72703-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-02-06 12:10:17 +08:00
Paul Holden
4a68477a49
MDL-74500 user: method to determine whether to show profile fields.
...
The new API replaces identical behaviour in existing calling code, but
allows for profile field types to override/separate the logic used to
show the field and determine whether it's empty
2024-01-30 11:33:58 +00:00
Sara Arjona
42074afdfa
Merge branch 'MDL-79681-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE
2024-01-24 17:02:26 +01:00
Paul Holden
32487e36d9
MDL-79577 user: better parsing of user menu lang string identifiers.
2024-01-19 09:49:19 +00:00
Philipp Memmel
41b9fb7623
MDL-80271 core_user: Only update record if necessary
2024-01-19 05:59:27 +00:00
Paul Holden
8145ad6b6a
MDL-72703 profilefield_text: validate field length when editing.
...
This also means the same validation is applied elsewhere, such as
in the upload user tool.
2024-01-16 09:54:14 +00:00
Víctor Déniz
6fb76aa958
MDL-79681 user: fix conditional to get the last access to a course
2024-01-05 13:55:54 +00:00
Paul Holden
4e2b5137f4
MDL-79681 user: fix participant filter "never accessed" options.
...
For courses, determine whether "Never accessed" should be available,
and correct the used value to match that expected by the API (-1).
2024-01-05 13:55:54 +00:00
Marina Glancy
77fe4a8e3e
MDL-80353 core_user: announce user selector changes to the screenreader
2023-12-08 15:30:00 +00:00
Paul Holden
463f16617e
MDL-80239 grade: escape matched data in user search results.
2023-12-07 08:42:38 +08:00
Paul Holden
260924aeb8
MDL-80287 grade: escape current value in search templates.
2023-12-07 08:36:32 +08:00
Paul Holden
021bdd0e4b
MDL-79705 profilefield_checkbox: display data as simple Yes/No.
2023-10-17 16:51:29 +01:00
Huong Nguyen
0d6204d29c
Merge branch 'MDL-79581-master' of https://github.com/andrewnicols/moodle
2023-10-05 11:37:09 +07:00
Andrew Nicols
99c1543aa8
MDL-79581 communication: Context is a mandatory field
...
The API was incorrectly assuming that all uses of the API were for a
course, and that the instanceid of the communication instance was a
course id. These assumptions are both entirely wrong.
The API is intended to support a range of uses including use at the
site, user, and activity levels.
Furthermore, if a group were to be used, then the instanceid should be
of that group's id, and therefore the contextid would need to be fetched
or that group's course instead.
The only solution here is to add a new contextid field to the table, and
implement it all parts of the API.
2023-10-04 20:37:57 +08:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release
2023-10-04 13:57:17 +08:00
Paul Holden
4e13a9e892
MDL-79370 user: set profile page URL earlier, avoid subsequent error.
...
Co-authored-by: Dominique Palumbo <domenico.palumbo@uclouvain.be >
2023-09-18 09:25:22 +01:00
Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle
2023-09-15 16:56:22 +08:00
hieuvu
a3da58a9cb
MDL-78312 core_user: add an 'exact match only' option
2023-09-13 20:22:22 +07:00
Ilya Tregubov
94c9ce0595
Merge branch 'MDL-78806-master' of https://github.com/junpataleta/moodle
2023-09-13 10:54:54 +08:00
Jun Pataleta
1eb8ee32bb
MDL-78806 core: Remove redundant site name
...
MDL-78806 core: Remove redundant site name on page titles
* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:58:54 +08:00
Andrew Nicols
48bc688ccd
MDL-78324 core: Convert modals to use new static methods
...
This commit takes all modals which were not using the legacy
ModalFactory.create triggers and migrates them to the new Modal.create
method.
2023-09-09 00:04:11 +08:00
Stevani Andolo
dbf83c72c7
MDL-70371 core: Defined password length
...
1. Modified the password related forms
2. Added a new constant in moodlelib.php called MAX_PASSWORD_CHARACTERS
3. Added a new method in moodlelib.php called exeeds_password_length
4. Updated the upgrade.text
2023-09-07 12:29:10 +08:00
Jun Pataleta
cc7bc1a553
Merge branch 'MDL-79064-master' of https://github.com/andrewnicols/moodle
2023-08-29 13:32:45 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses
2023-08-29 10:57:54 +08:00
Huong Nguyen
59bed31f53
Merge branch 'master_MDL-67390' of https://github.com/mattporritt/moodle
2023-08-28 16:21:35 +07:00
Jun Pataleta
be35034f1c
Merge branch 'MDL-76974' of https://github.com/paulholden/moodle
2023-08-28 17:03:27 +08:00
Matt Porritt
fc3fe7d329
MDL-67390 Authentication: Update password hashing to SHA-512
...
Update user password history tracking to use SHA-512 instead
of bcrypt.
2023-08-25 11:54:05 +10:00
Andrew Nicols
3667a702db
Merge branch 'MDL-75802' of https://github.com/paulholden/moodle
2023-08-24 23:43:44 +08:00
Paul Holden
347810b07f
MDL-75802 course: fix Behat scenario for bulk unenrolment.
2023-08-24 10:15:32 +01:00
Paola Maneggia
aac6bfdf7a
MDL-75802 user: Exclude current user from bulk unenrol operation
2023-08-23 22:05:19 +00:00
Paul Holden
33a63ca639
MDL-76295 reportbuilder: implement default datasource sorting.
...
Update all existing report sources to use the new default sorting
API from 064eccd4 , updating existing tests to assert behaviour.
2023-08-23 15:32:50 +01:00
Paul Holden
b30245b3e2
MDL-76974 javascript: convert remaining uses of old preferences API.
...
Implement component preference definition callbacks, update JS code
to use the `core_user/repository` module instead of the now deprecated
API.
2023-08-22 14:43:34 +01:00
Paul Holden
d096c60e0c
MDL-76974 user: deprecate old method of setting user preferences.
...
The `M.util.set_user_preference` method (plus accompanying helpers)
are now deprecated, in favour of the `core_user/repository` module
to achieve the same.
Update current implementation to proxy calls to the new API ensuring
backwards compatibility, while emitting copious developer debugging.
2023-08-22 14:42:58 +01:00
Andrew Nicols
b71bec8475
Merge branch 'MDL-78684-master' of https://github.com/andelacruz/moodle
2023-08-17 09:12:36 +02:00
Jun Pataleta
32d95690c0
Merge branch 'MDL-78927-master' of https://github.com/sammarshallou/moodle
2023-08-14 11:55:24 +08:00
sam marshall
71999958f9
MDL-78927 core_user: Profile page missing breadcrumbs if no id=
2023-08-10 15:50:33 +01:00
Huong Nguyen
323136eb1f
Merge branch 'MDL-78904-master' of https://github.com/junpataleta/moodle
2023-08-09 11:42:34 +07:00
Huong Nguyen
e8497456c8
Merge branch 'MDL-78235-master' of https://github.com/lameze/moodle
2023-08-09 10:42:34 +07:00
Angelia Dela Cruz
6385949078
MDL-78684 Behat: Replace gradebook navigation to use page resolvers
...
This commit also does other things such as:
- Replace manual steps to setup gradebook by data generators
- Added support for outcomes and scales page resolvers
- Behat clean up
2023-08-08 11:53:45 +08:00
Jun Pataleta
2b2d2782ce
MDL-78904 user: Remove unused user/repository.php
...
This file does not seem used and referenced anywhere in Moodle.
Might as well just remove it.
2023-08-04 15:33:55 +08:00