Andrew Nicols
21e8b48d13
MDL-51758 libraries: Remove password_compat library from core
2016-07-18 10:06:57 +08:00
Andrew Nicols
6ab41abd3e
Merge branch 'MDL-52781-master' of git://github.com/lameze/moodle
2016-04-21 15:54:45 +08:00
Simey Lameze
ac9768fc1b
MDL-52781 core_user: replace direct PARAM_ usages.
...
This commit replace as much as possible of clean_param and PARAM_ usages related to user object.
Also few unit tests has been changed to match the new validation
2016-04-21 15:24:36 +08:00
Simey Lameze
7a06720604
MDL-52781 core_user: add validation to user insertion and updating method
...
The new validation were added to user_create_user and user_update_user,
displaying debug message if some invalid data has been found.
Also the unit tests of those methods has been changed to match the methods behaviour.
2016-04-21 15:24:35 +08:00
Damyon Wiese
65a67e238d
MDL-51040 cbe: Fixes from peer review
...
No logic changes here - only small refactorings based on feedback from
peer review.
2016-04-18 10:58:48 +08:00
Damyon Wiese
3c659fc202
MDL-51648 cbe: Add a user competency plan summary page (allows grading)
2016-04-18 10:58:47 +08:00
Andrew Nicols
d7dbef7366
MDL-53181 core: Add selectors to user menu items
2016-03-22 09:20:21 +08:00
Marina Glancy
e11d7380c2
MDL-51283 core_tag: change tagtype to isstandard
...
Change 'official' to 'standard' in UI
2016-02-02 17:31:14 +08:00
Marina Glancy
c4e868d5f0
MDL-50851 user: use new tag API for interests
2016-01-10 15:25:47 +08:00
Dani Palou
1f7273af6a
MDL-51685 user: Support gravatar images in user_get_user_details
2015-11-04 08:40:19 +01:00
David Monllao
07d370849b
MDL-42639 user: user:viewalldetails enough to view some fields
...
The fields are:
- username
- idnumber
- institution
- department
2015-09-29 16:55:14 +08:00
Dan Poltawski
f1352da1ba
Merge branch 'wip-MDL-27177-master' of git://github.com/abgreeve/moodle
2015-08-25 09:55:00 +01:00
Adrian Greeve
66a43cd543
MDL-27177 roles: Allow students to see co-students profiles.
...
If the student shares a course with another student then let them
see the same detail on the full profile page as they do on the
course profile page.
2015-08-25 09:43:17 +08:00
David Monllao
c68b32067e
MDL-50839 user: realuseravatar should also read avatarsize
2015-08-12 08:39:07 +08:00
David Balch
9dcd50358a
MDL-50839 user_menu: Allow themes to set User menu avatar size.
...
Added an @array "options" parameter to user_get_user_navigation_info(),
for passing in avatarsize, and possibly other options in future.
Also removed an errant parameter in the /lib/outputrenderers.php
user_get_user_navigation_info() call, as there was no corresponding
parameter in the function definition.
(Test written by Jetha Chan.)
2015-08-11 13:57:17 +01:00
Eloy Lafuente (stronk7)
e96e66aa16
MDL-50130 todo: Conditional code to be changed to API by MDL-50728
2015-06-30 19:56:48 +02:00
Juan Leyva
f804c73055
MDL-50130 users: Filter profile fields data in external functions
2015-06-30 19:52:19 +02:00
David Mudrák
7e670032bf
MDL-50646 admin: Use site default lang as new user's preferred lang
...
As a result of MDL-49632, the preferred language is no longer part of
the "Add a new user" form. So the lang property is not passed to the
user_create_user() when creating a new user and the value always falls
back to "en" (which is the default defined in the database for this
column).
This patch makes sure that the site default language is used in such
case.
2015-06-19 13:25:44 +02:00
John Okely
4887d15228
MDL-49983 navigation: Remove 'my' from user context navigation
2015-05-04 12:38:50 +08:00
Adrian Greeve
c9451960e3
MDL-45894 navigation: My grades update to overview report.
...
Part of MDL-45774
2015-04-10 17:17:05 +08:00
Dave Cooper
81d7de1aa1
MDL-48936 lang: Changed "My Home" to "Dashboard".
...
Part of MDL-45774
2015-04-10 17:16:27 +08:00
Juan Leyva
0ff203b657
MDL-49498 user: Move user/index event triggering to new API function
...
New function in user/lib.php: user_list_view
2015-04-02 17:03:03 +02:00
Juan Leyva
3221718eda
MDL-48716 webservices: New ws core_user_remove_user_device
2015-02-19 15:15:18 +01:00
Andrew Nicols
06c2753115
MDL-48542 user_menu: Handle invalid strings better
2015-01-28 15:39:15 +08:00
Jetha Chan
22893d6f47
MDL-48542 user_menu: add proper divider support
...
Added divider support to the user menu; hardened the custom user menu against invalid input.
2015-01-19 23:58:11 +08:00
Petr Skoda
1d658535b6
MDL-47830 auth: Add pw rotation restrictions
2014-12-01 08:53:52 +13:00
Jetha Chan
088fcf90ca
MDL-48067 user_menu: allow empty customusermenuitems setting
2014-11-05 14:37:33 +08:00
Jetha Chan
b865a3e2d1
MDL-47559 user_menu: customusermenu setting
2014-10-27 20:04:45 +08:00
Jetha Chan
6da0e4cfff
MDL-45893 user_menu: based on action_menu, new responsive approach
2014-10-03 15:12:59 +08:00
Marina Glancy
9f7379e9b4
MDL-37812 user: apply default values for user preferences when creating user
2014-07-08 12:35:44 +08:00
Rajesh Taneja
2b55cb1b18
MDL-45641 event: Option to trigger user event manually
...
On some pages full user data is not stored before user_created/
user_updated event is triggred. So giving option to trigger that
manually, so it can be triggred after all data is saved
2014-06-27 15:44:56 +08:00
Mark Nelson
f1e0f66ca8
MDL-45319 events: set the relateduserid when triggering the user_created/updated/deleted events
2014-05-07 16:28:59 +08:00
Ankit Agarwal
52dc1de746
MDL-42891 administration: Re-implement incorrect login notification, without using the logtable.
2014-04-01 17:18:15 +08:00
Damyon Wiese
5c7a266e65
Merge branch '44255-27' of git://github.com/samhemelryk/moodle
...
Conflicts:
user/profile.php
2014-02-25 14:14:31 +08:00
Sam Hemelryk
a2ed6e69f9
MDL-44255 user: tidied up phpdocs and coding style
2014-02-24 09:23:47 +13:00
Sam Hemelryk
854859e1b0
MDL-42279 user: fixed typo in user_get_user_details_courses
2014-02-21 08:34:49 +13:00
Mark Nelson
8bf0f20795
MDL-42932 core_calendar: introduced calendar type system setting
2013-12-09 18:40:46 -08:00
Dan Poltawski
6ca388028e
Revert "MDL-42932 core_calendar: introduced calendar type system setting"
...
This reverts commit bb32a499e10abc3bb88e715fb0575e5b7fb66e8e.
2013-12-03 14:57:10 +08:00
Dan Poltawski
aa8abbee14
Revert "MDL-42932 core_lib: added missing $CFG declaration"
...
This reverts commit 4c61097cc7138dd18173775ec55fe2c5aed48857.
2013-12-03 14:57:08 +08:00
Mark Nelson
4c61097cc7
MDL-42932 core_lib: added missing $CFG declaration
2013-12-02 19:25:32 -08:00
Mark Nelson
bb32a499e1
MDL-42932 core_calendar: introduced calendar type system setting
2013-11-25 23:11:17 -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
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Ankit Agarwal
bea86e845e
MDL-34472 libraries: Remove usage of get_context_instance() from core
2013-07-01 15:40:37 +08:00
Daniel Neis Araujo
58f739c5fd
MDL-38136: fix user_get_user_details doesn't return idnumber (thanks to Antonio Carlos Mariani)
2013-04-16 15:50:13 +08:00
Frederic Massart
d6731600c8
MDL-30070 message: Web Services for contact list
2013-01-15 16:04:00 +08:00
Jerome Mouneyrac
c70b9853da
MDL-35543 modify get_users to get_users_by_field (more complex search function named get_users will be implemented later - focussing yet on retrieving user info for a specified field)
2012-10-30 11:36:29 +08:00
Fábio Souto
8647711201
MDL-29938 implement core_user_get_users as unification
...
unifies core_user_get_users_by_id and get_course_user_profiles
Conflicts:
user/lib.php
2012-10-29 12:00:40 +08:00
Jerome Mouneyrac
acf6459645
MDL-35644 user_get_details: admin should be able to see description
2012-09-26 14:24:29 +08:00
Dan Poltawski
43ff71a017
MDL-34460 - fix syntax error I introduced.
...
doh.
2012-07-31 14:46:45 +08:00