Mihail Geshoski
fd4c7d6461
MDL-62046 profilefield_textarea: Add privacy files and unit tests
2018-05-03 16:25:58 +08:00
Mihail Geshoski
cf6a77fbbb
MDL-62032 profilefield_text: Add privacy files and unit tests
2018-05-03 16:07:55 +08:00
Mihail Geshoski
a15712ef6e
MDL-62030 profilefield_menu: Add privacy files and unit tests
2018-05-03 15:51:52 +08:00
Mihail Geshoski
8ddb08c9d9
MDL-62007 profilefield_checkbox: Modify privacy provider
2018-05-03 15:27:50 +08:00
Mihail Geshoski
76b61aa064
MDL-62007 profilefield_datetime: Add privacy files and unit tests
2018-05-03 14:57:41 +08:00
Eloy Lafuente (stronk7)
c4a5c8440a
MDL-61993 profilefield_checkbox: take rid of oracle reserved word
2018-04-27 10:41:46 +02:00
Mihail Geshoski
079114d70b
MDL-61993 profilefield_checkbox: Add privacy files and unit tests
2018-04-26 10:28:14 +08:00
Shamim Rezaie
425817793a
MDL-61027 calendar: Fix datetime profile field issue with non-Gregorian
2018-01-22 18:47:06 +11:00
Mark Nelson
e8a1a5868a
MDL-40613 auth_ldap: removed usage of profile_load_custom_fields()
...
Also reverted profile_load_custom_fields() signature and changed
behaviour of the new function profile_save_custom_fields().
2018-01-03 18:13:01 +08:00
Albert Gasset
2c977ceb29
MDL-40613 auth_ldap: sync custom profile fields
2017-12-19 14:13:34 +08:00
David Mudrák
88f4b6c75d
MDL-60824 profile: Fix handling of to-be-created user id
...
The script user/editadvanced.php uses special value of userid = -1 for
the case when a new user is being created. Such a value passes the
non-empty check and would lead to "invaliduser" error.
2017-11-16 22:14:16 +01:00
Eloy Lafuente (stronk7)
ba854606e6
MDL-60764 versions: bump all versions and requires near release
...
version = 2017111300 release version
requires= 2017110800 current rc2 version
2017-11-10 02:52:53 +01:00
Jun Pataleta
5be8c8daa6
Merge branch 'MDL-45730_master' of git://github.com/markn86/moodle
2017-10-16 12:10:51 +08:00
Jun Pataleta
5a3f03b2a8
MDL-60029 profile: Replace table alias with non-reserve word
...
* The table alias 'uid' is a reserved word in oracle. Replaced it with
something a little more safe.
2017-10-13 10:38:00 +08:00
Mark Nelson
7b1adb4c7e
MDL-45730 core_user: added additional event triggers
2017-10-10 13:05:48 +08:00
Marina Glancy
b47fda7191
MDL-60029 core_user: new api functions rearranged
2017-10-10 10:34:55 +08:00
John Ehringer
6d242b28e6
MDL-45730 core: Adding events to user profile field and categories CRUD.
2017-10-09 18:58:36 +08:00
Mike Churchward
860f59b13c
MDL-60029 core_user: Added new api function to reduce db calls.
2017-10-09 14:10:38 +08:00
John Okely
40ca0bd914
MDL-58916 user_profile: Pass site context when determining menu options
2017-05-15 12:12:54 +08:00
Eloy Lafuente (stronk7)
d989ee1e03
MDL-58853 versions: bump all versions and requires near release
...
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Eloy Lafuente (stronk7)
04649747a4
MDL-57197 versions: bump all versions and requires near release
...
version = 2016120500 release version
requires= 2016112900 current rc4 version
2016-11-29 22:57:05 +01:00
Lee Campbell
74866f8f16
MDL-56323 core_user: User profile field default value not on signup page
...
The default value of a configured text input user profile field is not rendering on signup page
2016-10-24 09:32:32 +01:00
Juan Leyva
3ee392c8e8
MDL-56092 core_user: Changes in profilelib to support WS
2016-10-04 09:50:02 +01:00
David Mudrák
8df850ad6f
MDL-46946 user: Make missing required custom fields trigger profile edit
...
If there is a required custom field that the user can fill by editing
their profile, and that field is missing, the user should be considered
as not fully set up. Instead, we want to redirect them to edit their
profile first.
There are some exceptions when we want to fall back to the previous
behaviour and check just the name and email fields. These exceptional
cases include checking remote user data in incoming MNet request (no
user id, no custom fields supported) and calls to require_login() with
redirecting disabled (typically ajax filepicker requests on profile
editing page itself).
Additional plugins that call the function user_not_fully_set_up()
themselves, should perform the strict check in most/typical cases. So
the strict mode is enabled by default even if it changes the behaviour
slightly. In improbable case of additional plugins relying on the
previous behaviour of the function, they can use the $strict parameter
and keep performing the lax check. However, I am sure the correct fix in
that case will likely be to stop abusing this function.
Note that custom fields are not currently transferred during the MNet
roaming. So having custom fields configured as required on MNet service
provider site (where users can't edit their profiles) is expected to
display an error (as the site is considered as misconfigured).
2016-09-21 17:46:30 +02:00
Marina Glancy
88c9c42da2
MDL-55654 user: apply format_string to field names
2016-09-09 14:31:16 +08:00
Nicholas Hoobin
2abe0ac5a9
MDL-53788 user: fix aggressive course cache rebuilding
2016-06-15 10:42:28 +10:00
Cameron Ball
e6e69969c1
MDL-43887 formslib: Allow not set date field
...
Previously if the date field was not enabled it would
be treated as having value 0. A bug would allow this 0
to pass through and save the date as 1 January 1970
2016-05-27 01:52:57 +08:00
Eloy Lafuente (stronk7)
1abca11e0a
MDL-54638 versions: bump all versions and requires near release
...
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Frederic Massart
da1296dd07
MDL-53954 user: Prevent locked profile fields from being edited
2016-05-06 09:27:26 +08:00
Marina Glancy
c4d0b752a2
MDL-51784 various: use __construct() for PHP7 compatibility
2015-12-11 12:48:24 +08:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Marina Glancy
97b1867f0f
MDL-50683 user: add default choice
2015-08-18 10:01:11 +08:00
Dan Poltawski
356fd5bae7
Merge branch 'm29_MDL-49628a' of https://github.com/totara/moodle
2015-06-02 13:54:01 +01:00
Eloy Lafuente (stronk7)
26ea380d24
MDL-50102 versions: bump all versions and requires near release
...
version = planned 2015051100 release version
requires= current 2015050500 rc1 version
Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
Brian Barnes
32bd11cb39
MDL-49628 general: improved accessibility of single selects
2015-04-09 11:12:16 +12:00
Juan Leyva
d1b238381f
MDL-49499 user: Move events triggering to new API function
...
New function in profile/lib: profile_viewed()
2015-04-02 16:57:42 +02:00
John Okely
8ef7eade79
MDL-42138 user: Require custom profile fields when registering as guest
...
Previously when someone registers after logging in as a guest, required
custom profile fields would not be required.
Thanks to Andreas Diendorfer for providing the patch.
2015-02-06 09:52:37 +08:00
Brent Boghosian
f1c0061daa
MDL-43205 user profile fields: Menu multi-lang improvements.
...
Improve custom user profile multi-language menu options
support, so that it is not set to a specific language.
2014-11-10 13:46:39 +08:00
Eloy Lafuente (stronk7)
de881693f7
MDL-48021 bump: Bump all versions to planned release
...
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01:00
Shane Elliott
99c9798b32
MDL-46676 profilefield_datetime: Use moodle time API
2014-08-06 16:34:40 +08:00
Marina Glancy
65ae0a1bde
MDL-45469 profile: make sure profile fields can be initialised without arguments
2014-05-21 11:40:43 +08:00
Marina Glancy
497974f3e8
MDL-45469 Move profile tests to the location recognised by phpunit
2014-05-20 11:58:35 +08:00
sam marshall
abdbfc76fc
MDL-45469 Conditional availability: Restrict by text area broken
...
It has never worked, because the data for text area fields is not
loaded into the $USER object.
Changing it so that the dropdown list does not include these types
of field.
2014-05-19 11:37:51 +01:00
Eloy Lafuente (stronk7)
538bf99ece
MDL-45486 Bump all versions to planned release
...
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Marina Glancy
bbab4e22f2
MDL-45154 user profiles: category name duplication error
2014-04-22 10:44:51 +08:00
Marina Glancy
3e5ee8073b
MDL-45154 user profiles: avoid redirection warnings
2014-04-17 14:25:52 +08:00
sam marshall
8270f0d0bd
MDL-44070 Conditional availability enhancements (9): wider changes
...
Changes to arbitrary areas of code that are necessary after the new
API (mostly to replace deprecated function calls).
2014-04-07 20:11:59 +01:00
Sam Hemelryk
a2ed6e69f9
MDL-44255 user: tidied up phpdocs and coding style
2014-02-24 09:23:47 +13:00
Rajesh Taneja
b8e6c15a99
MDL-42883 Administration: Check sessionkey before taking action on user profile fields
2014-01-06 13:58:18 +08:00