Commit Graph

192 Commits

Author SHA1 Message Date
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
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
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
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
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
toyomoyo
294a176fc7 fixing a typo 2007-08-31 08:21:16 +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
c4e953e69e MDL-10383 - group edit form refactoring and minor bugfixing 2007-08-15 20:33:17 +00:00
stronk7
0f870a49ea Properly close the "rolesform" div. Now the form validates both
with roles dropdown and without it.
2007-07-31 20:10:05 +00:00
toyomoyo
eca3af25cb MDL-7077, MDL-10181, adding notes for students 2007-07-05 06:53:17 +00:00
skodak
3593af19df MDL-10341 fixed user search cleaning; merged from MOODLE_18_STABLE 2007-07-04 08:31:54 +00:00
toyomoyo
8205423030 merged fix for MDL-10112 bulk messaging fails silently when messaging not enabled 2007-06-14 04:41:33 +00:00
moodler
f3de7219ae Merged fix for MDL-9041 (undo) 2007-06-12 07:09:35 +00:00
toyomoyo
9fffb69162 MDL-8877, specify time of manual enrolments and related improvements for changing enrolment period from user/index.php. Thanks Andrei! 2007-05-22 02:08:22 +00:00
poltawski
d6ff5b31ba MDL-9649 'keep searching' in bulk messaging broken merged from MOODLE_18_STABLE 2007-05-09 10:05:08 +00:00
skodak
a2c4671e33 MDL-9311 participants - duplicate "&perpage="; merged from MOODLE_18_STABLE 2007-04-15 16:09:55 +00:00
moodler
b373a751d2 Merged fix for MDL-8093 from 1.8 2007-03-30 16:01:44 +00:00
nicolasconnault
d88c504382 MDL-9041 2007-03-26 09:28:58 +00:00
nicolasconnault
697bbb9b27 Resolved conflict 2007-03-26 09:28:06 +00:00
toyomoyo
0150c561c5 fix for MDL-8966, customizable role names 2007-03-22 08:11:30 +00:00
poltawski
364eef7441 Further fix for MDL-8582, merged from MOODLE_18_STABLE 2007-03-15 15:46:53 +00:00
toyomoyo
82d561ee79 merged fix for MDL-8885, do not show bulk message option if user has no capability 2007-03-14 01:50:54 +00:00
skodak
224aa44a8d MDL-7693 fixed participans block on frontpage; notloggedin and authenticated roles overrides to be fixed later in separate bug; merged from MOODLE_18_STABLE 2007-03-05 20:13:16 +00:00
toyomoyo
4e7b349e0a replacing single button fieldsets with divs 2007-03-01 04:30:42 +00:00
moodler
a59e5a1c92 Merged removal of weeks from format_time from stable 2007-02-15 03:14:40 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
toyomoyo
141a922c8c MDL-7861, xhtml strict issues 2007-01-08 03:34:44 +00:00
moodler
c11387978c Fixes to make user profile pages validate Strrrict 2007-01-06 14:07:00 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler
5f60ed9b6a Added CDATA to Javascript 2006-12-22 04:25:00 +00:00
toyomoyo
789154a65b merged fix for MDL-7819, admin still showing up in participants list 2006-12-08 04:28:58 +00:00
toyomoyo
22ae509e9c merged implementing moodle/user:viewdetails 2006-12-07 06:14:52 +00:00
toyomoyo
bdbe41d031 merged fix on wrong counter 2006-12-06 04:54:31 +00:00
toyomoyo
c05275675b merged stops showing admins from participants list 2006-12-04 03:05:40 +00:00
nfreear
8430912a73 Fixes MDL-7603 <script Language..> should use 'type', user/index.php, course/report/participation/index.php 2006-11-28 10:23:26 +00:00
skodak
fa8a9ef352 MDL-7434 all images that convey information should have alt text to convey that information - part 7 2006-11-26 19:19:54 +00:00
skodak
6d3c57f409 Minor problems with roles selection in participants list MDL-7630 2006-11-20 20:47:17 +00:00
toyomoyo
3997cb4037 Adding hidden role assignment, currently used in course participants page and print_course function.
Please test.
2006-11-15 04:28:18 +00:00
toyomoyo
1d40c70b43 fix for MDL-7483, add table header to user picture on participants listing 2006-11-13 03:43:12 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
moodler
b6b573e1f7 Merged MDL-7121 from stable (missing header) 2006-11-08 15:30:07 +00:00
toyomoyo
ae79dad8bf merged taking out warning 2006-11-06 08:27:31 +00:00
moodler
23f5ee25aa Merge participant count from stable 2006-10-31 01:21:48 +00:00
moodler
a954633875 HIde admins from partipant listings in courses 2006-10-20 08:27:35 +00:00