Huong Nguyen
41ed00e59a
MDL-82379 core_user: Move email change token to user private access key
2024-12-05 13:38:21 +08:00
Stevani Andolo
e4da62b5f1
MDL-73964 core: Update support site/email usage to use supportemail
...
This ensures the correct link is provided (and not email address
itself), and honours the supportavailability setting.
2022-11-23 11:44:19 +08:00
Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
Bas Brands
946fd915e2
MDL-72095 theme_boost: max width for activity pages
2021-12-08 17:29:49 +01:00
sangnguyen
1d50e833e0
MDL-51287 Profile: Should notify users that changes are saved
2021-02-04 14:54:12 +07: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
M Kassaei
7ce538be0f
MDL-61402 Core: Add a cancel button to edit profile page
2018-02-16 09:34:23 +00:00
John Okely
672f483670
MDL-42834 admin: Removal of httpswwwroot
2017-10-23 12:25:36 +08:00
John Okely
4b501ec96b
MDL-42834 admin: Deprecate https_required and verify_https_required
2017-10-23 12:25:35 +08:00
Marina Glancy
6e65554ea1
MDL-58010 user: allow to update only whitelisted user preferences
2017-03-10 18:04:47 +00:00
Simey Lameze
253ae23058
MDL-44467 core: always send email from noreplyaddress
2016-10-28 13:04:09 +08: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
Russell Smith
5407c5b0f4
MDL-51789 users: Allow picture update from webservices.
...
useredit_update_picture as moved to user_update_picture
as it's more general. It was also moved to user/lib.php
so it can be used by both webservices and edit without more include files.
2016-06-21 16:36:53 +10:00
Marina Glancy
c4e868d5f0
MDL-50851 user: use new tag API for interests
2016-01-10 15:25:47 +08:00
Frederic Massart
69a3587196
MDL-50120 core_user: Profile edit redirects to profile or preferences
2015-05-07 14:31:03 +08:00
Adrian Greeve
45367bdf0c
MDL-49688 navigation: First review fixes and version bump.
...
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Damyon Wiese
479fa47d0b
MDL-49632 User preferences: Move preferences out of edit profile form.
...
This is a super confusing place to change your default text editor. Lets
make these things easy to find.
Part of MDL-45774
2015-04-10 17:17:08 +08:00
Damyon Wiese
4e1f60478a
MDL-49635 Navigation: Site pages consistent headers + navigation for preferences
...
Preferences pages cancel and continue buttons should lead back to preferences page.
Site pages should have consistent headers and breadcrumbs.
Hide the "Preferences" node in the navigation.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f
MDL-48930 navigation: Using user headers in user pages.
...
Pages that are percieved to be in a user context are now
using a user context for the header.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Petr Skoda
d6e7a63d9a
MDL-49684 timezones: rewrite timezone support
...
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.
The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!
Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Andreas Grabs
3d944c8b20
MDL-49169 user - After MDL-48978-Fix description is not saved anymore
2015-02-12 12:26:36 +01:00
Marina Glancy
17d33eec66
MDL-48978 user: fixed regression from MDL-37704
2015-01-28 16:47:50 +08:00
Marina Glancy
9dbf62d230
MDL-45760 make sure to check permission before setting header
2014-07-07 15:06:08 +01:00
Rajesh Taneja
9363073b22
MDL-45641 event: Manually trigger event where needed.
...
Some places, user_created_user and user_updated_user
events should be triggred after profile data is saved.
2014-06-27 15:44:56 +08:00
Sam Hemelryk
a2ed6e69f9
MDL-44255 user: tidied up phpdocs and coding style
2014-02-24 09:23:47 +13:00
Petr Škoda
d5814f4e22
MDL-41811 simplify the admin tree detection logic and fix navigation in multiple areas
2013-10-21 14:17:55 +08:00
Petr Škoda
cf361a9501
MDL-41176 do not set description and pw fields in $USER when editing own profile
2013-09-27 10:33:48 +02:00
Petr Škoda
e113214618
MDL-41176 make sure fresh full user record is used when mailing email confirmation
2013-09-27 10:33:48 +02:00
Rajesh Taneja
2b503e40f2
MDL-31560 Messages: Deprecated generate_email_supportuser
...
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Rajesh Taneja
bb78e249cd
MDL-39961 Events: Replace Legacy events - User
...
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Petr Škoda
689096bc26
MDL-38654 do not test $CFG->gdversion
...
GD PHP extension is now required. Add-ons need to remove $CFG->gdversion tests. The worst case regression is that add-on will think GD is not available.
2013-03-22 16:57:55 +01:00
Ankit Agarwal
83f31bcf87
MDL-35880 user: Adding a heading to profile edit page
2012-10-16 13:16:41 +08:00
Frederic Massart
4373103084
MDL-34460 Librairies: Replaced deprecated get_context_instance()
2012-07-26 13:23:28 +08:00
Sam Hemelryk
941d1fb2cc
Merge branch 'wip-mdl-32787' of git://github.com/rajeshtaneja/moodle
2012-07-04 08:26:14 +12:00
Rajesh Taneja
fc3aa0fbaf
MDL-32787 user: rule required for custom profile fields applies to all users editing own profile
2012-07-03 13:46:13 +08:00
Andrew Davis
c968c1b787
MDL-25476 messages: switched some notification emails to come from the support contact instead of admin
2012-06-26 11:44:56 +07:00
Rajesh Taneja
4e782b32f3
MDL-33425 user: Replaced filepicker with filemanager on edit profile page
2012-06-18 10:19:48 +08:00
Sam Hemelryk
01ec550b0f
MDL-29672 user: Fixed user edit page for non-admin users
2011-10-10 10:27:18 +13:00
Sam Hemelryk
91d284c145
MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently
2011-09-08 09:38:46 +12:00
Rajesh Taneja
e9de1cf49c
MDL-27896 context - Fixed editor context to observe filter status
2011-08-12 11:33:21 +08:00
Petr Skoda
c6a074f867
MDL-26795 fix incorrect location of email change strings
...
AMOS BEGIN
MOV [auth_emailchangecancel,auth_email],[emailchangecancel,core_auth]
MOV [auth_emailchangepending,auth_email],[emailchangepending,core_auth]
MOV [auth_emailupdate,auth_email],[emailupdate,core_auth]
MOV [auth_emailnowexists,auth_email],[emailnowexists,core_auth]
MOV [auth_emailupdatemessage,auth_email],[emailupdatemessage,core_auth]
MOV [auth_emailupdatesuccess,auth_email],[emailupdatesuccess,core_auth]
MOV [auth_emailupdatetitle,auth_email],[emailupdatetitle,core_auth]
CPY [auth_emailnoemail,auth_email],[noemail,auth_ldap]
AMOS END
2011-03-27 17:19:23 +02:00
andyjdavis
d8f1412819
message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email
2010-12-22 12:05:49 +08:00
Andrew Davis
46505ee75e
message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version
2010-11-05 08:04:40 +00:00
Petr Skoda
17c70aa007
MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED
2010-10-10 15:04:19 +00:00
Petr Skoda
99f9f85f00
MDL-23489 auth plugins can specify own edit profile url - patch submitted by Jay Knight + tweaking change password url to use new moodle_url at the same time, it is backwards compatible, custom plugins may still use string url for now
2010-08-18 22:07:00 +00:00
Petr Skoda
4f622c38a1
MDL-23774 only administrators may edit administartor accounts
2010-08-12 09:44:28 +00:00
Petr Skoda
79efabd49c
MDL-23590 ask for site names right after editing admin account during first login after cli install
2010-07-30 14:47:15 +00:00
Petr Skoda
a1248ca40e
MDL-18964 moving the preloaded custom profile fields into $USER->profile array instead of injecting fields directly into $USER; unfortunately this is not consistent with other preloaded data such as preferences, we can not refresh it properly because we can inject the data only once, also we risk future collisions when adding new fields into user table + implemented reloading after the profile changes; change noted in release notes
2010-07-25 21:00:59 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00