Simey Lameze
2367bc9ff6
MDL-69231 behat: remaining work for role capability generator
...
This commit does few things:
* Unify data generators usage to role short name.
* Replace remaining manual steps to use the new data generator.
* Also replaced other manual steps to set config to use data generators.
* Tidy up of some tests, aligning pipes and splitting one line steps into multiple lines.
* Fixes tests to have one Given/When/Then per scenario.
2023-06-02 12:47:27 +08:00
Andrew Nicols
aa2fc4048e
MDL-69231 behat: Update tests to use new generator
2023-06-02 12:47:27 +08:00
Andrew Nicols
8c9282f5d6
MDL-69231 tests: Improve existing role generator
...
Support definition of context levels and permissions.
2023-06-02 12:47:27 +08:00
Ilya Tregubov
8ab87b3fc4
Merge branch 'MDL-78196-master' of https://github.com/jleyva/moodle
2023-06-01 10:39:30 +08:00
Ilya Tregubov
59cd47c02f
Merge branch 'MDL-62859' of https://github.com/paulholden/moodle
2023-06-01 10:12:14 +08:00
Ilya Tregubov
9bc2c51e4a
Merge branch 'MDL-73138' of https://github.com/paulholden/moodle
2023-05-30 12:53:47 +08:00
Ilya Tregubov
88f0bd7675
Merge branch 'MDL-77723' of https://github.com/paulholden/moodle
2023-05-30 12:43:53 +08:00
Paul Holden
7ee4e2afa0
MDL-73138 group: remove double encoding of group/role names.
2023-05-26 10:25:33 +01:00
Andrew Nicols
d8a7039f92
Merge branch 'MDL-77983-master' of https://github.com/rjnl/moodle
2023-05-24 21:14:41 +08:00
Nathan Nguyen
1452caac93
MDL-77353 core: examples of new user function usage
2023-05-24 13:05:13 +10:00
Nathan Nguyen
f897ecd627
MDL-77353 core_user: new functions
...
New functions:
* `core_user::get_profile_picture` for retrieving user picture.
* `core_user::get_profile_url` for retrieving profile url.
* `core_user::get_fullname` for retrieving user full name.
Note: the context is not used as this stage. It will be used by "User Disguises" plugin, which will be implemented later.
2023-05-24 13:05:02 +10:00
Paul Holden
10b6f979c5
MDL-62859 user: export methods for manipulating user preferences in JS.
2023-05-22 13:51:37 +01:00
Rajneel Totaram
4def049e4f
MDL-77983 core_user: Avoid passing nulls to base64_decode
2023-05-17 19:40:29 +12:00
Paul Holden
2881840cca
MDL-77723 user: ensure identity refers to a valid custom profile field.
2023-05-15 09:03:28 +01:00
Andrew Nicols
e657e342d4
Merge branch 'MDL-77576-master-mvp' of https://github.com/safatshahin/moodle
2023-05-15 12:16:14 +08:00
Safat
ab3c78e873
MDL-77576 core_user: Update room membership on user update
...
This commit implements the communication api updates
when a user is updated. It handles the room membership
when a user is suspended and deleted.
Originally implemented as MDL-76703.
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com>
Co-Authored-By: Safat Shahin <safat.shahin@moodle.com>
2023-05-11 13:35:16 +10:00
Juan Leyva
e13a2ff501
MDL-78196 user: Fix files used space check
2023-05-10 17:16:18 +02:00
Paul Holden
2b6d7d300a
MDL-71413 user: final removal of deprecated profile field methods.
2023-05-04 14:16:05 +01:00
Dan Marsden
3d95fe0bc3
MDL-78057 core_user: Use correct class for context check.
2023-04-28 13:15:56 +12:00
Eloy Lafuente (stronk7)
061c9d7ba0
MDL-77940 versions: bump all versions and requires near release
...
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Juan Leyva
964ad9d264
MDL-77893 airnotifier: Allow to set publickey when creating new device
2023-04-17 11:03:15 +02:00
Sara Arjona
9ce4fb65fd
Merge branch 'MDL-77164-master' of https://github.com/marinaglancy/moodle
2023-04-13 14:00:18 +02:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Sara Arjona
57589966bc
Merge branch 'MDL-77468-master' of https://github.com/rmady/moodle
2023-04-13 09:19:54 +02:00
Juan Leyva
c0560689fc
MDL-77468 user: Fix invalid check for group belonging
2023-04-11 09:29:58 -03:00
Juan Leyva
e464d2c8a1
MDL-77468 user: Make user profile visibility consistent web and ws
2023-04-11 09:24:40 -03:00
Alex Morris
9bc236d48d
MDL-76722 user: Add new update_user_device_public_key webservice
2023-04-11 08:58:27 +08:00
Sara Arjona
09171a3c3a
Merge branch 'MDL-77726-master' of https://github.com/jleyva/moodle
2023-03-30 16:56:56 +02:00
Juan Leyva
fc97f32010
MDL-73226 files: Add quota checks to core_user_add_user_private_files
2023-03-27 13:11:46 +02:00
Juan Leyva
76807203a3
MDL-77726 user: Fix custom user profiles supporting filtering in WS
2023-03-23 18:08:03 +01:00
Mikel Martín
9191edb72f
MDL-77691 behat: Add step to navigate to profile page directly
2023-03-20 14:18:33 +01:00
Ilya Tregubov
58fb00eb18
Merge branch 'MDL-77308-master' of https://github.com/andrewnicols/moodle
2023-03-09 17:02:07 +08:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Andrew Nicols
f58a71baab
MDL-77308 core: Remove editor_tiny from core
2023-03-09 15:28:35 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Mathew May
e5ca7766e7
MDL-52805 core: Remove legacy log calls
2023-03-07 13:08:46 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Ilya Tregubov
07053e8140
Merge branch 'MDL-76873' of https://github.com/paulholden/moodle
2023-02-23 09:57:45 +08:00
Paul Holden
25e8971b3a
MDL-76873 user: method for returning profile field instance of type.
...
Re-factor implementation of profile field access within user fields
class to use that already provided by the fields themselves.
2023-02-20 09:24:05 +00:00
Laurent David
183d97a956
MDL-76386 core_user: Add/remove users dialog improvement
...
* Use language string to customise user information in the group Add/Remove dialog
2023-02-20 09:37:06 +01:00
Andrew Nicols
892d75be7c
Merge branch 'MDL-76878' of https://github.com/paulholden/moodle
2023-02-16 10:42:37 +08:00
Simey Lameze
64799f9ace
MDL-76542 behat: add step to go to user edit page directly
2023-02-08 12:22:29 +08:00
Simey Lameze
d991b12d15
MDL-76542 behat: create custom profile fields using data generators
...
This commit also adds a new test to verify the custom profile fields
works using the user interface.
2023-02-08 12:12:08 +08:00
Andrew Nicols
8ec42cd259
Merge branch 'MDL-75345' of https://github.com/paulholden/moodle
2023-02-02 08:17:42 +08:00
Paul Holden
147c31800b
MDL-75345 reportbuilder: improve course/user custom report tests.
...
Ensure column and filters provided by each source have sufficient
coverage. Re-factor individual entity/helper class tests to test
their own specific implementation only.
Remove now-defunct test fixtures.
2023-02-01 15:41:32 +00:00
Meirza
f249a04e93
MDL-76311 user: redirect to proper URL if a new user creation cancelled
2023-02-01 20:12:41 +07:00
Paul Holden
1b52486cce
MDL-76973 user: correct testcase reference to external_api class.
2023-01-20 11:30:02 +00:00
Paul Holden
75ab52d902
MDL-76878 user: amend permission callbacks for preference definitions.
...
Ensure those preferences that are used for storing state can always be
updated via web service requests for the current user.
2023-01-20 10:05:21 +00:00
Jun Pataleta
fad05d7929
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 09:44:48 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00