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
moodler
5f2a203fa0
Applied DISTINCT as per Martin Langhoff's solution in MDL-11381
...
user/index: ensure each user appears only once in participants list
Regardless of the number of enrolments, ensure we list a single entry
per user using DISTINCT. Much easier to manage than a GROUP BY.
2007-10-02 06:18:30 +00:00
toyomoyo
165088f687
change participants of frontpage course to display all users, if current user has capability MDL-11143
2007-10-02 03:37:30 +00:00
toyomoyo
84b6310d00
adding a fieldset
2007-09-28 07:25:09 +00:00
toyomoyo
db4ff7f8bc
minor fixes/typo for notes
2007-09-28 07:21:48 +00:00
nicolasconnault
2f6c662f41
MDL-11379 and MDL-11380 fixed
2007-09-21 07:52:52 +00:00
toyomoyo
9ec6ecb933
changed join onto context table to an outer join because some contexts could be missing during listing of participants
2007-09-20 05:54:32 +00:00
martinlanghoff
91d39e7392
user/index: switch to recordsets to use less memory
...
Memory usage was still high for long userlists. Use recordsets
to manage memory growth.
Note that we are still collecting a long long HTML table in memory
before we print it, so the footprint of the html itself is bit of an
issue.
2007-09-19 07:55:15 +00:00
martinlanghoff
b6ac3623ce
user/index: Fetch participants' contexts with the search
...
With this patch, we fetch participants contexts in the main search
query. This cuts 1DBq per participant for the display.
Might fix MDL-11222 'global teacher viewing participants issues' where
we are getting OOM'd with many users.
2007-09-19 07:55:00 +00:00
martinlanghoff
472b647aa5
user/view: show user courses that are hidden, with dimmed class
...
If the $USER can see them, there is no reason to hide courses that
may be hidden. But show them dimmed to indicate so.
2007-09-19 07:21:47 +00:00
martinlanghoff
a5d81e5e5e
user/index: make use of the smarter print_user_picture() -
...
Switch to using the smarter codepath in print_user_picture. Saves
20 DB queries in the normal page. One per user acct.
2007-09-19 07:20:01 +00:00
martinlanghoff
f312c5925f
course/participants: fix sort order when last access is null
2007-09-19 07:19:46 +00:00
skodak
1c54b2bb31
improved accessibility of user edit page - adding help icons, removing incorrect static help from interest, improving interests strings
2007-09-16 09:39:03 +00:00
skodak
a0478c0a18
fixed incorrect coding style {}
2007-09-16 09:27:00 +00:00
skodak
c1658cc559
fixed warning - must initialise objects properly
2007-09-16 09:25:35 +00:00
skodak
e6eea4f2f4
MDL-9574 + MDL-9607 fixed undefined $user->id in personal context
2007-09-16 09:21:29 +00:00
skodak
fa1d88eb33
MDL-10277 Force password change cannot be unchecked once selected
2007-09-15 09:42:24 +00:00
skodak
ffc536af8e
MDL-7380 converted various places to use new groups API
2007-09-08 20:53:05 +00:00
toyomoyo
8005d470b9
merged fix for MDL-11064, users can't see teacher's profile
2007-09-06 07:09:36 +00:00
moodler
d3d1fe07e4
Fixed logic
2007-09-04 02:48:04 +00:00
moodler
cb1e9c7463
Don't allow guest users to follow tag links
2007-09-03 08:39:34 +00:00
moodler
277fe19dc1
Don't let guests ever be edited
2007-09-03 08:36:31 +00:00
toyomoyo
294a176fc7
fixing a typo
2007-08-31 08:21:16 +00:00
toyomoyo
a7db355af1
MDL-10181, user management improvement fixes and new features
2007-08-22 06:17:11 +00:00
Martin Langhoff
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12:00
ikawhero
831d450e3f
Adding custom profile fields to the signup page.
...
The only two authentication plugins this affects are email and ldap.
2007-08-20 08:30:34 +00:00
nicolasconnault
0be6f67819
MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site.
2007-08-17 19:09:11 +00:00
skodak
5bf243d131
MDL-10383 - groups/groupings refactoring nearly finished ;-)
2007-08-16 11:06:48 +00:00
skodak
c4e953e69e
MDL-10383 - group edit form refactoring and minor bugfixing
2007-08-15 20:33:17 +00:00
skodak
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +00:00
ikawhero
62ebb00033
Additional settings for the custom profile fields
2007-08-15 13:37:52 +00:00
toyomoyo
c3260b0714
MDL-10181, user management improvements, adding bulk user operations, code is not finished
2007-08-07 07:26:58 +00:00
luizlaydner
5557c75a9f
- added block support for tag pages
2007-08-03 21:41:09 +00:00
donal72
b4daa48f1e
Link to profile editing should not appear on remote-users' profiles (except for the user himself).
2007-08-03 12:28:33 +00:00
donal72
987addd949
Bugfix: Link back to parent Mahara site didn't work
2007-08-03 10:16:23 +00:00