672 Commits

Author SHA1 Message Date
toyomoyo
dd5e0901d7 merged taking out extra isteacher() 2006-11-06 02:33:13 +00:00
skodak
97faae5833 Commented out session dump in user profile when in debug mode MDL-7311; merged from MOODLE_17_STABLE 2006-10-31 19:32:20 +00:00
moodler
f9c471dfd9 Merged MDL-7150 fixes (don't try to show grades when there aren't any) 2006-10-31 15:08:22 +00:00
moodler
23f5ee25aa Merge participant count from stable 2006-10-31 01:21:48 +00:00
moodler
7ca163ba21 Merged AJAX GUI fixes from stable 2006-10-30 08:21:51 +00:00
moodler
499e78b4fd Merged user profile improvements from stable 2006-10-29 04:21:23 +00:00
skodak
7b9c99798c Turn AJAX off for now at site level MDL-7254; merged from MOODLE_17_STABLE 2006-10-27 20:34:40 +00:00
skodak
33a6f9a814 fixed breadcrums link; merged from MOODLE_17_STABLE 2006-10-26 10:34:03 +00:00
toyomoyo
0c939d6ca7 merged, blog tab clean up 2006-10-24 02:10:46 +00:00
skodak
fcade7d070 yet another context fix for Roles tab - I hope this one is final; merged from MOODLE_17_STABLE 2006-10-23 11:27:31 +00:00
skodak
e2a305ff13 fixed $usercontext creation needed for Role tab when viewing user data; merged from MOODLE_17_STABLE 2006-10-22 19:59:07 +00:00
moodler
a954633875 HIde admins from partipant listings in courses 2006-10-20 08:27:35 +00:00
toyomoyo
20374d723b merged fix for MDL-7119, users with no capability should not see roles tab 2006-10-20 08:09:53 +00:00
skodak
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
skodak
e96f2a77db Code cleanup in blog.
MDL-6805  Fixed redirects in blog; MDL-6807  partially fixed use of capabilitites - it needs more testing and possibly minor fixing, the commit contains other blog bugfixes too. In general it should work exactly the same. The introduction of roles makes proper setup more difficult :-(

Expect some more fixes soon, no other bigger changes...
2006-10-06 10:11:52 +00:00
toyomoyo
1e248b442c fixed a bug with user listing where user_lastaccess entries are not set, e.g. after a resotre 2006-10-05 08:54:35 +00:00
moodler
e020c546c7 Fix for access to users at site level MDL-6810 2006-10-04 02:14:25 +00:00
skodak
87a13824e1 fixed MDL-6625 - can't switch courses 2006-10-01 19:55:47 +00:00
moodler
04186cd965 Improvements to the user listing, security and appearance 2006-10-01 06:18:18 +00:00
moodler
bad59bc0ee Some tidying and also a check to make sure that the user was a
participant in this particular course
2006-10-01 05:26:38 +00:00
moodler
70ce923e0a Fixed a typo 2006-09-28 06:48:50 +00:00
moodler
77c645df28 Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging
2006-09-28 06:41:07 +00:00
moodler
3e21903846 Cleaning up user index a bit 2006-09-28 06:04:39 +00:00
moodler
b90e2f199f First cut at an overview page for the user listing (when you first arrive) 2006-09-28 04:45:39 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
martinlanghoff
c4121640be user: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:50 +00:00
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
moodler
0c05b71f58 Fix typo 2006-09-21 13:11:05 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
toyomoyo
9fe3be1b01 fixed a bug where wrong parameters is passed 2006-09-19 06:36:54 +00:00
vyshane
16b09a43ca Added moodle/site:viewparticipants 2006-09-18 09:09:25 +00:00
vyshane
bd574b2a06 Removed isteacher() 2006-09-18 05:29:42 +00:00
vyshane
0019725320 Removed references to showsiteparticipantslist. Replaced by capability. 2006-09-18 05:28:06 +00:00
moodler
4801fe93a2 Various logic and capability fixes 2006-09-15 15:04:38 +00:00
tjhunt
36075e092d MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
Also a few more ISNULL()s eliminated.

And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
moodler
d78596d804 Fixed a notice 2006-09-14 06:48:58 +00:00
moodler
89d57596bd Fixed a typo 2006-09-14 06:30:02 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
moodler
e82dc9bb41 Tidy-ups for user profile page 2006-09-13 06:56:25 +00:00
toyomoyo
be2e1b6698 removing debug statement 2006-09-13 06:13:53 +00:00
toyomoyo
cbf0446d8a use user_lastaccess table to find inactive time instead of user_students table 2006-09-13 06:13:07 +00:00
moodler
94fb6d1d62 fixing a problem where a user hasn't got any entries on the user_lastaccess table, temp solution as this could break other db 2006-09-13 05:55:57 +00:00
toyomoyo
8ca1053a45 changed to outer join as user_lastaccess table could contain null 2006-09-13 05:29:26 +00:00
moodler
7da0af9feb Fixed some obvious typos 2006-09-13 05:05:17 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
toyomoyo
dfe603583e changed code to use the user_lastaccess table instead of the user table 2006-09-12 07:39:25 +00:00
skodak
55f3a4db69 removed useless "changes saved" messages from redirects in administration and user management 2006-09-11 18:56:41 +00:00
toyomoyo
1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00