92 Commits

Author SHA1 Message Date
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
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
Aparup Banerjee
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08: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
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Dongsheng Cai
1e539f647d MDL-27976, Fixed undefined variable 2011-06-30 17:46:44 +08:00
Eloy Lafuente (stronk7)
3a4c390c53 Merge branch 's11_MDL-27976_get_users_by_courseid_master' of github.com:dongsheng/moodle 2011-06-29 19:50:39 +02:00
Dongsheng Cai
014792901d MDL-27976 webservice moodle_user_get_users_by_courseid webservice 2011-06-29 15:41:31 +08:00
Andrew Davis (andyjdavis)
b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Dongsheng Cai
b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Petr Skoda
45fb2cf898 MDL-24578 removed duplicate user delete functions, fixed unenrol bugs 2010-10-08 08:47:04 +00:00
Petr Skoda
bf718f50ac MDL-24321 switching to stdClass in /user/ 2010-09-21 08:27:29 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
a07600473d MDL-22646 create_context() is internal implementation function, to be used only inside accesslib.php 2010-06-04 07:30:42 +00:00
jerome mouneyrac
21c968b495 create user lib MDL-22646 create automatically a context when create a user 2010-06-04 04:14:11 +00:00
jerome mouneyrac
bd0f26bd05 user library MDL-21899 fix password not hashed 2010-03-24 03:02:17 +00:00