Commit Graph

156 Commits

Author SHA1 Message Date
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 bb32a499e1.
2013-12-03 14:57:10 +08:00
Dan Poltawski aa8abbee14 Revert "MDL-42932 core_lib: added missing $CFG declaration"
This reverts commit 4c61097cc7.
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
Jerome Mouneyrac 48a7b182f1 MDL-33869 user_get_user_details: add support for 'Show user identity' fields set by administrator 2012-07-31 10:24:50 +08:00
Crafton Williams 3a3f3b223f MDL-33869 user_get_user_details: allow return of idnumber 2012-07-31 10:24:35 +08:00
Dan Poltawski bc8db7649b MDL-34460 - remove uncessary context retrival
spotted during review
2012-07-30 14:26:19 +08:00
Frederic Massart 4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Frederic Massart 61c8e0d75f MDL-21572 Gradebook: Do not export fields when missing permissions 2012-07-18 12:56:57 +08:00
Sam Hemelryk ca774c940e MDL-31520 user-ws: Optimised if statement for email access by moving admin check to the start 2012-06-06 10:35:19 +12:00
Sam Hemelryk fd200bc5e5 Merge branch 'MDL-31520-master' of git://github.com/fabiomsouto/moodle 2012-06-06 10:33:31 +12:00
Jerome Mouneyrac 93ce0e8296 MDL-32581 support additional format field with all text field in extrnal lib function + new possible ws params to decide how format is returned (which are stored in a singleton) 2012-05-31 12:31:27 +08:00
Fábio Souto 90e30b965f Allow admin to consult user email address
Currently the admin user cannot check the user email using this function. This fix allows the admin user to retrieve the email in any situation.
2012-05-21 10:32:21 +01:00
Jerome Mouneyrac 45b4464c76 MDL-31762 username should be lowercase and check against PARAM_USERNAME when creating/updating user by web service 2012-04-24 15:09:37 +08:00
Jerome Mouneyrac adfb459c9e MDL-30878 core_user_update_users user password is reset if not specified 2012-02-14 16:49:36 +08:00
Fábio Souto 9e63c0ff71 Updated bugfix according to Jerome suggestions
password check is done at lib.php instead of externallib.php

Conflicts:

	user/lib.php
2012-02-14 12:04:15 +08:00
Jerome Mouneyrac b6dcb7d984 MDL-29942 trigger user events in web service calls 2011-12-08 14:40:57 +08:00
Eloy Lafuente (stronk7) 49ae1fdcea MDL-30340 blocks - incorrect option in user profile template and missing lang string in my template 2011-12-05 01:14:19 +01:00
Dongsheng Cai ad7612f597 MDL-29476 web service improvements
1. moodle_enrol_get_users_courses should return number of participants,
2. moodle_user_get_users_by_courseid should limit the fields to be returned
2011-11-16 12:02:24 +08:00