moodler
62193086a9
Merged MDL-13568 Only show full profiles if capability allows it (FERPA)
2008-02-29 07:10:38 +00:00
moodler
15234a92a1
Merged link to role assign screen from 1.9
2008-02-29 04:30:27 +00:00
moodler
0aa05b3204
Merged MDL-13672 tag name function was not updated when tag/lib.php changed
2008-02-26 12:46:51 +00:00
scyrma
537aa65c5d
MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9)
2008-02-26 06:43:54 +00:00
moodler
3627b0e387
MDL-13638 Merged from stable
2008-02-25 04:57:48 +00:00
scyrma
3d535996db
MDL-13404 - Merge from 1.9 (re-commit, including missing file)
2008-02-25 01:58:17 +00:00
skodak
bb06244703
MDL-13404 reverted - missing file and other minor problems
2008-02-22 19:53:48 +00:00
scyrma
db32b054d1
MDL-13404 - Merge from 1.9
2008-02-22 10:25:36 +00:00
moodler
f09002ca18
MDL-12277 Merged from 1.9 - fixes for other languages
2008-02-20 02:33:43 +00:00
skodak
65bcf17b95
MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE
2008-02-13 17:03:25 +00:00
poltawski
85de84a89f
MDL-13262 - role related user filters were assuming roleids because array_merge
...
was stomping on keys. Patch by Dennis Rochford
merged from MOODLE_19_STABLE
2008-02-08 12:16:00 +00:00
moodler
b08261a100
Fixed context in has_capability call MDL-13378 (merged)
2008-02-08 03:59:38 +00:00
skodak
76b570d602
MDL-12938, MDL-12937 - unenrol fixes - can not unenrol if can not unassign all users roles in course, do not show self unenrol if enrolment comes from parent context, fixed rturn value from get_user_roles; based on patch by Eric Merrill; merged from MOODLE_19_STABLE
2008-02-05 12:59:28 +00:00
stronk7
093c3b907b
Change some conditions to properly check if the custom-profile-field really is using a duplicate shortname. MDL-13288 ; merged from 19_STABLE
2008-02-01 17:19:33 +00:00
poltawski
fc4b2decc0
MDL-13179 - avoid calling get_admin() when unecessary.
...
It uses a relatively complex query and its not needed except
for a minority of users so we may as well avoid it..
merged from MOODLE_19_STABLE
2008-01-26 17:00:03 +00:00
skodak
80c64fc77f
MDL-13052 edit/user.php typo; merged from MOODLE_19_STABLE
2008-01-18 17:13:56 +00:00
poltawski
5cbce21ab0
MDL-7846 - use translatable strings for bulk messaging
...
merged from MOODLE_19_STABLE
2008-01-13 12:21:47 +00:00
tjhunt
bb9a123a73
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - this was repeated in other parts of the user profile that I had not noticed when I fixed this before.
2008-01-09 16:46:21 +00:00
poltawski
a1df2e982d
MDL-9312 - prevent more than 20 chars being typed in city field, (we only
...
store 20 chars )
2007-12-27 11:36:33 +00:00
scyrma
2803993c02
Let the admin choose if a textfield is to be shown as plain text or as a password (with '*' in place of normal text)
2007-12-21 08:19:14 +00:00
poltawski
281917e90b
MDL-12159 - We were only showing the filter selections to the user list when
...
there were more results than shown on the current page. This is unintuitive
with small lists where we were invisibly exluding users because of a filter
which is applied (but not shown on screen).
Now we always show the filter selections. Thanks to John Ryan.
merged from MOODLE_19_STABLE
2007-12-20 17:43:19 +00:00
poltawski
b92adb865a
MDL-12674 - use require_capability on the participants page to get
...
friendly error messages
merged from MOODLE_19_STABLE
2007-12-20 15:11:05 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
poltawski
13d1f5a6d2
MDL-12593 - hidden role assignment icon wasn't being shown. Also prevent warning
...
about unset $hidden
merged from MOODLE_19_STABLE
2007-12-15 23:30:38 +00:00
skodak
8b3dc20253
MDL-12580 fixed infinite redirect loop when editing profile for the first time; merged from MOODLE_19_STABLE
2007-12-15 16:57:20 +00:00
toyomoyo
6967ba2846
MDL-12544, hide hidden roles in profile when user has no capability
2007-12-12 07:13:09 +00:00
nfreear
3b726c87a3
Fixes MDL-12539 "Help link text for all admin/user filters are broken".
2007-12-11 12:58:37 +00:00
poltawski
bbebbc0c57
MDL-12446 - profile signup page not respect custom user profile field
...
sortorder
Merged from MOODLE_19_STABLE
2007-12-05 14:33:10 +00:00
skodak
c8969c22da
MDL-12133 fixed regression in user advanced edit, sorry; merged from MOODLE_19_STABLE
2007-12-04 23:53:39 +00:00
tjhunt
2990e11355
MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message. Merged from MOODLE_19_STABLE.
2007-11-30 12:08:01 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
skodak
010aa4da8b
MDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez Rufat; merged from MOODLE_19_STABLE
2007-11-23 21:31:58 +00:00
martinlanghoff
073af1a64b
user/index: Add "enrolment details" view to Participants page - MDL-12311
...
With this patch, the additional roles/groups/groupings columns get moved
to a special "enrolment details" view. To support this, the handling of
the $mode is revamped to use $mode constants.
To keep performance issues at bay, the enrolment details view is only
available when viewing paginated resultsets, and will reset itself to
'brief' if the conditions aren't met. The $mode is sticky, so it is
quite possible to have a mismatched $mode -- so he handle the case
explicitly.
2007-11-23 00:23:39 +00:00
martinlanghoff
a32e05df9a
user/index: More consistent handling of groups column - MDL-12311
2007-11-23 00:23:24 +00:00
martinlanghoff
1377ede75d
user/index: Fix Participants page for sitecourse - MDL-12311
...
Groups/groupings don't seem to map normally through enrolments
as you would expect with site. Disable for sitecourse.
2007-11-23 00:23:10 +00:00
martinlanghoff
664fe87f29
user/index: Show enrolment and group/grouping data in Participants page MDL-12311
...
The participants page will now show (to users that have
moodle/role:assign) the relevant enrolments for each participant.
This is done with a second SELECT using a WHERE id IN() so we are
limited to doing it with small datasets. This is for 2 reasons
- we cannot retrieve all teh data in the "main" SELECT because
the outer joins will bring dup rows, breaking LIMIT
- we cannot use the main SELECT as a subselect because we cannot
retrieve the LIMIT part of the statement with the current dmllib
- on large courses / sitecourse performance would be horrible
so it is limited to paginated datasets. It is doing 20 recs at a time,
the "extra" SELECT takes ~7ms on a some large Pg databases).
This will generate an extra DB query on Oracle (and any other DB that
cannot rewind the recordset) because we walk the main rs twice.
While at it, ensure we mark the unsortable columns thus...
2007-11-23 00:22:56 +00:00
toyomoyo
a5c67cdf34
MDL-10028, adding a string
2007-11-22 01:05:36 +00:00
toyomoyo
576ad29016
MDL-10294, MDL-10028, changing messaging/bulk messaging system
2007-11-21 07:53:42 +00:00
toyomoyo
ed61510be6
changed to get_recordset_sql because get_records forces the first element to be$
2007-11-19 04:13:15 +00:00
skodak
1b452baf24
MDL-12200 fixed problems when no custom user fields defined; merged from MOODLE_19_STABLE
2007-11-16 22:12:04 +00:00
skodak
cd1edf9e8a
MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing
2007-11-13 08:43:20 +00:00
stronk7
b77bbd2f83
New profilefield_ lang files are now supported with
...
safe fallback to the "old" ones (stored in admin.php)
Merged from MOODLE_19_STABLE
2007-11-09 20:11:43 +00:00
nicolasconnault
56a1a88228
MDL-8605 New user directories implemented
2007-10-11 09:01:29 +00:00
skodak
03cedd6283
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
2007-10-10 12:19:27 +00:00
nfreear
c8149f0f4f
Fixes MDL-11648, "Required" is inappropriate text for legend in user profile edit form.
2007-10-08 13:55:53 +00:00
ikawhero
91cddbc454
Only include data from field types that are "small"
2007-10-08 08:10:45 +00:00
ikawhero
66643c0aa8
New function to return a partial user object with the custom profile fields
...
set.
2007-10-08 07:21:32 +00:00
ikawhero
cfdb170609
Check to ensure custom profile fields do not have same name as current
...
fields in the $USER record
2007-10-08 06:59:00 +00:00
skodak
8e5da17a44
MDL-11562 supportname and supportemail are are now initialized after admin user setup
...
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup
2007-10-02 21:38:53 +00:00
moodler
38cb976c80
Removing un-needed DISTINCT here actually solves MDL-11546
...
(after discussion with Martin Langhoff in Skype)
2007-10-02 09:45:00 +00:00