Commit Graph

206 Commits

Author SHA1 Message Date
skodak 0e36e50b0b MDL-12895 frontpage participants page improvements 2008-04-18 08:28:58 +00:00
dongsheng b9d7e5f583 MDL-12662, fix undefined index(IIS) 2008-04-11 05:24:26 +00:00
skodak 9e41616dab MDL-14034 List of participants in SITE course failing... - fixed last access - credit goes to Eloy 2008-04-02 06:33:30 +00:00
stronk7 be24cfe9c2 If the user has hidden role assignments, the icon should be the closed eye. MDL-13935 2008-03-24 22:04:37 +00:00
stronk7 612b2f8c2c Make list of participants to work on SITE course. Fix for MDL-14034 2008-03-24 01:27:50 +00:00
stronk7 f47b53dd0a Prevent duplicate users in list when user has both visible and hidden roles. MDL-13935 2008-03-15 21:52:10 +00:00
nicolasconnault ce60661535 MDL-13300 Adds verbosity to the heading above the list of participants, showing which group is selected, and the inactivity time period, if either of these two filters are used. Merging from HEAD 2008-03-13 12:17:27 +00:00
moodler 58dcf7ad08 Add a shortcut to assign roles page from the participants listing 2008-02-22 02:43:09 +00:00
moodler e26612356b Fixed context in has_capability call MDL-13378 2008-02-08 03:58:45 +00:00
poltawski 5d2fb0f679 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.
2007-12-20 17:42:30 +00:00
poltawski bcb2b60ff9 MDL-12674 - use require_capability on the participants page to get
friendly error messages
2007-12-20 15:09:40 +00:00
poltawski dd377953f7 MDL-12593 - hidden role assignment icon wasn't being shown. Also prevent warning
about unset $hidden
2007-12-15 23:27:01 +00:00
toyomoyo 02bd2e0d38 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:52:50 +00:00
toyomoyo 08f256c416 MDL-12217, display course specific rolename in participants page 2007-11-19 04:12:38 +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
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