Commit Graph

243 Commits

Author SHA1 Message Date
samhemelryk ee8aca2781 navigation MDL-20235 Ignored active path for site course when in user context 2009-09-08 09:07:20 +00:00
nicolasconnault 4e487ce26c MDL-19825 Upgraded some of the code to the new OUTPUT functions, and fixed a bug that prevented correct output 2009-09-08 08:58:45 +00:00
samhemelryk caa8363f83 user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-02 08:36:16 +00:00
nicolasconnault f2f085ee68 MDL-19825 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:22 +00:00
nicolasconnault 3aac07d8f0 MDL-19825 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:25 +00:00
nicolasconnault 7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault d727031142 MDL-19825 Converted calls to popup_form() 2009-08-10 03:40:04 +00:00
nicolasconnault da9ac19f14 MDL-19825 Converted calls to print_paging_bar 2009-08-07 00:29:44 +00:00
nicolasconnault 0ab75c34ba MDL-19825 Converted all print_footer() calls 2009-08-06 14:08:20 +00:00
nicolasconnault 04a7ba52e9 MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls 2009-08-06 08:55:02 +00:00
nicolasconnault 8fa89bfd04 MDL-19825 Migrated calls to print_heading 2009-08-06 08:15:05 +00:00
nicolasconnault c351150fca MDL-19756 MDL-19825 MDL-19823 MDL-19794 Deprecated update_tag_button, update_categories_search_button and print_user, and updated a few pages that depended on the now deprecated functions 2009-08-05 02:03:50 +00:00
nicolasconnault 49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault 8e127eb38e MDL-19756 Migrating choose_from_menu to outputlib 2009-07-28 02:45:13 +00:00
tjhunt ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
tjhunt f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
samhemelryk 25a2bfda22 user MDL-16706 Elimate inline scripts, replaced with PAGE methods, created user.js 2009-07-02 04:02:40 +00:00
skodak 728a4ebe3b MDL-13843 user participation in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level) 2009-04-09 07:58:49 +00:00
tjhunt 8c2750934a themes / participants: MDL-17526 add class name to search form on the participants page. 2009-02-04 09:15:12 +00:00
skodak d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
skodak 5ff311f0b7 MDL-11261 hiddenuserfields/lastaccess now fully respected on participants page 2008-12-01 20:45:46 +00:00
tjhunt d559bdc063 Fix typo. 2008-11-18 02:49:09 +00:00
skodak 5f772e4afa MDL-17055 fixed pg regression - removed redundant sorting 2008-10-29 07:16:49 +00:00
tjhunt 0696bafa73 participants list: MDL-17055 temporary fix for this regression. Do the DISTINCT bit in PHP rather than SQL. 2008-10-29 01:33:26 +00:00
skodak d669160891 MDL-15070 dml: recordset rewinding now forbidden - not all databases support it, sorry 2008-10-28 12:14:09 +00:00
skodak 90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +00:00
moodler 1118434a2f MDL-10107 Don't show messaging tab (and portfolio) when on user index page. Also fixed some notices. 2008-07-28 07:17:34 +00:00
dongsheng 06e84d52bd MDL-14129, remove error() call 2008-07-21 07:18:58 +00:00
skodak ce8c75eeb8 MDL-14679 towards /user conversion 2008-05-31 11:13:21 +00:00
mchurch 4cd0d3a012 MDL-15035 - Changed error message to more meaningful one. 2008-05-28 15:01:50 +00:00
jerome cab6762b12 MDL-14697 Participants page OK button hidden if javascript is enabled, merged from 19 2008-05-08 02:44:50 +00:00
skodak 5f9e296af6 MDL-12895 frontpage participants page improvements; merged from MOODLE_19_STABLE 2008-04-18 08:35:16 +00:00
dongsheng 838c7d2969 MDL-12662, fix undefined index(IIS) 2008-04-11 05:34:23 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 0749caef03 MDL-14034 List of participants in SITE course failing... - fixed last access - credit goes to Eloy; merged from MOODLE_19_STABLE 2008-04-02 06:35:49 +00:00
stronk7 68c85775d5 If the user has hidden role assignments, the icon should be the closed eye. MDL-13935 ; merged from 19_STABLE 2008-03-24 22:05:42 +00:00
stronk7 4d93bc9e19 Make list of participants to work on SITE course. Fix for MDL-14034 ; merged from 19_STABLE 2008-03-24 01:29:30 +00:00
dongsheng d6cc234114 MDL-13481, Distinguish between course fullname and user fullname 2008-03-19 08:49:23 +00:00
stronk7 1f807bc46a Prevent duplicate users in list when user has both visible and hidden roles. MDL-13935 ; merged from 19_STABLE 2008-03-15 21:57:25 +00:00
nicolasconnault f642a21aad 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 2008-03-13 12:13:26 +00:00
moodler 15234a92a1 Merged link to role assign screen from 1.9 2008-02-29 04:30:27 +00:00
moodler b08261a100 Fixed context in has_capability call MDL-13378 (merged) 2008-02-08 03:59:38 +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
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
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 576ad29016 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:53:42 +00:00