1365 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
795558d3e5 Merge branch 'MDL-31548-master' of git://github.com/ankitagarwal/moodle 2012-04-24 21:56:57 +02:00
Petr Skoda
cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Ankit Agarwal
9ffd29ceb3 MDL-31548 enrollments: Introducing new api enrol_get_all_users_courses() that returns all user courses without any checks 2012-04-20 08:54:06 +08:00
Petr Skoda
c990e4bfcb MDL-32405 fix PHP4isms and other E_STRICT issues in custom profile fields 2012-04-15 17:15:50 +02:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Aparup Banerjee
c2bc042330 Merge branch 'wip-mdl-31654' of git://github.com/rajeshtaneja/moodle 2012-03-27 13:22:01 +08:00
Rajesh Taneja
1366a7fab8 MDL-29331 Users: Participants list with user_details now show check box for bluk operation 2012-03-23 11:28:20 +08:00
Rajesh Taneja
1b4d2d56d9 MDL-31654 users: Added check for custom profile fields, if wrong data is passed then user will not be able to proceed 2012-03-23 10:13:37 +08:00
Rajesh Taneja
bd8dc9ba0a MDL-31654 users: removed hardcoding and added docblock on top of tim's patch 2012-03-23 10:13:37 +08:00
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Petr Skoda
6f3451e540 MDL-31301 remove all uses of moodle_strtolower() and deprecated it 2012-03-03 11:46:26 +01:00
Aparup Banerjee
615abdda9f MDL-25027 web service: moved validation to before changes to DB transaction. 2012-02-29 09:56:08 +01:00
Eloy Lafuente (stronk7)
64f0293fe2 Merge branch 'MDL-25027_stable_consistency_fix' of git://github.com/nebgor/moodle 2012-02-28 17:33:56 +01:00
Aparup Banerjee
092d444dfb Merge branch 'MDL-30878' of git://github.com/mouneyrac/moodle 2012-02-28 15:35:45 +08:00
Aparup Banerjee
25eb90908e MDL-25027 Web Service: added email validation to create_users() - just like GUI 2012-02-21 15:23:57 +08:00
Aparup Banerjee
99b1e292fe MDL-25027 Web Service: removed user info(firstname,lastname) truncation for GUI-WS consistency.
Currently there is no validation on user info (firstname/lastname) in user/editadvanced_form.php
2012-02-21 15:08:15 +08:00
EVAN Irving-Pease
44ef537d8a MDL-28386 Authentication Fixing user id issue with logs when a new user is added 2012-02-20 09:56:31 +05:30
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
Gerard (Gerry) Caulfield
ce8df92df1 MDL-31107 Fixing instaces of below where it is written as bellow (two L's) 2012-02-10 15:40:04 +08:00
Petr Skoda
ecfc06d88a MDL-31186 fix wrong context preloading sql 2012-01-21 16:08:25 +01:00
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Marina Glancy
3c2ed2d7ce MDL-31072: Fixed bug causing memory overflow for many-user systems:
when function find_users was supposed to be used for user validation but no userids were passed to it, it retrieved all users in the system.
This caused memory overflow on systems with too many users (like moodle.org).
Now we make sure that find_users is not called for validation if there is nobody to validate.

Also improved query inside find_users to make it work faster
2012-01-13 10:12:17 +08:00
Petr Skoda
4ad72c284d MDL-30548 support user suspended flag in admin UI
This patch includes:
* user management suspend UI tweaks and other coding style improvements
* suspended info in user profiles
* suspend option in advanced edit form
* suspended user filtering
* hidden user fields option for suspended field

Thanks Sam Hemelryk for valuable feedback.
2012-01-03 16:35:21 +01:00
Eloy Lafuente (stronk7)
3ed2e334d8 Merge branch 'MDL-30738' of git://github.com/kiklop74/moodle 2011-12-20 01:59:46 +01:00
Darko Miletic
ae8e1645b6 MDL-30738: There was an incorrect parameter in $PAGE->set_url
after swithing courseid to id everything started working as it should.
2011-12-14 14:38:02 -03:00
Aparup Banerjee
c35d38161e Merge branch 'MDL-30472-master' of git://github.com/ankitagarwal/moodle 2011-12-13 14:34:42 +08:00
Alexnader Bias
1b80a50418 MDL-30472 Course Making user lists sortable when lastacess field is hidden 2011-12-13 10:47:43 +05:30
Sam Hemelryk
302991ba37 Merge branch 'MDL-30653-master-2' of git://git.luns.net.uk/moodle 2011-12-13 12:08:12 +13:00
Andrew Robert Nicols
6b3a341a95 MDL-30653 Remove duplicate Participants link from navbar 2011-12-12 10:42:42 +00:00
Sam Hemelryk
0669a9e9ae Merge branch 'MDL-29942' of git://github.com/mouneyrac/moodle 2011-12-12 15:12:42 +13:00
Jerome Mouneyrac
b6dcb7d984 MDL-29942 trigger user events in web service calls 2011-12-08 14:40:57 +08:00
Sam Hemelryk
9c6b40c614 Merge branch 'MDL-30518' of git://github.com/mackensen/moodle 2011-12-08 16:05:26 +13: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
Charles Fulton
59c1a98c05 MDL-30518 get_context_instance takes one parameter at the SYSTEM level 2011-11-30 05:47:50 -08:00
Eloy Lafuente (stronk7)
7927af450c MDL-30007 standardise user profile field version files 2011-11-30 02:45:21 +01:00
Petr Skoda
d05e39b0d9 MDL-30467 no system profile for deleted users 2011-11-26 09:16:27 +01:00
Petr Skoda
589071ba34 MDL-30467 no course profile for deleted users 2011-11-26 09:16:08 +01:00
Sam Hemelryk
b674092416 Merge branch 'dev_MDL-29476_ws_participants_master' of git://github.com/dongsheng/moodle 2011-11-23 16:52:08 +13:00
adrian@moodle.com
e94113a859 MDL-20627 user - Fixed viewing permission of email when sending group messages. 2011-11-18 11:41:11 +08: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
Sam Hemelryk
364fe13b11 Merge branch 'MDL-28670' of git://github.com/nebgor/moodle 2011-11-14 17:49:47 +13:00
Aparup Banerjee
8887601196 MDL-28670 webservice : (review) changes improving performance 2011-11-14 11:25:36 +08:00
Aparup Banerjee
e88c193fb0 MDL-28670 webservice : added dimming of service name in security keys page if webservice is disabled or not on authorised list to access webservice. 2011-11-07 14:21:40 +08:00
sam marshall
43aa295b95 MDL-26647 (4) Support showuseridentity on Participants page 2011-11-04 13:57:13 +00:00
sam marshall
5c60a847f5 MDL-26647 (1) 'extrauserselectorfields' -> 'showuseridentity', add capability
This change:
- Renames the existing setting 'extrauserselectorfields' to 'showuseridentity'
  in preparation for using it in more places. (Upgrade change, new version.)
- Adds a new capability moodle/site:viewuseridentity, now required in order
  to see the extra fields; if you don't have the capability, you don't see them
- Slightly improves the display of extra fields in user selector list; it used
  to be like 'sam marshall, 01234567, email@address' and is now
  'sam marshall [01234567, email@address]' ie the fields are in square
  brackets
- Turns feature on for the group selector - the feature was enabled for other
  user selectors but not for the group selector. Tim did the disable code, he
  thinks this may be to do with more people having access to group selector -
  probably not a problem now it is controlled by capability.
2011-11-04 13:57:08 +00:00
Sam Hemelryk
e6acc5518b MDL-29106 white space clean up 2011-10-25 15:28:52 +13:00
Sam Hemelryk
2336a84333 MDL-29106 webservices: Minor whitespace cleanup 2011-10-25 11:43:53 +13:00