367 Commits

Author SHA1 Message Date
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
toyomoyo
4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
toyomoyo
8493ff6fd5 added acapability 2006-08-29 06:02:29 +00:00
toyomoyo
be07f21b61 replaced isguest with capability calls 2006-08-29 03:36:31 +00:00
toyomoyo
0bde63002a adding in capabilities 2006-08-29 03:22:05 +00:00
toyomoyo
38ac07d284 adding capability, indenting, putting in brackets etc 2006-08-29 03:20:51 +00:00
toyomoyo
1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
skodak
c853b39f50 Bug #6225 - Moodle bug #4658 Breaks assignment type: Upload Single; merged from MOODLE_16_STABLE 2006-08-09 18:36:54 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
stronk7
cbd645bf96 Initial commit of assignment XMLDB file. Stopping now from now. Going to document things... 2006-08-07 19:02:46 +00:00
martinlanghoff
bed24ce7f5 mod/assignment if we are not using a numeric scale and a custom scale
return that as the max grade


Author: Jun Yamog <jun@catalyst.net.nz>
2006-08-04 05:51:31 +00:00
skodak
583fad994c Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser 2006-08-01 07:46:19 +00:00
martinlanghoff
0ff463ae95 assignment: count_user_files() no longer creates extraneous dirs (bug#4658)
Applied the fix by Samuli.Karevaara, from the bug report - the directory is checked for existence beforehand.
Previously it was created if it didn't exist, then the files within it were counted.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-07-31 04:56:58 +00:00
moodler
fcdcc372f1 Integrating the "AU Assignment type" into Moodle (which was based on
Upload&Review).

It's not tested and probably needs polishing, but people seem to love it
as it is.

    http://moodle.org/mod/forum/discuss.php?d=46829
2006-07-13 07:17:51 +00:00
skodak
246444b975 Bug #5615 - Assigment listing shows duplicate names with paged display; merged from MOODLE_16_STABLE 2006-07-06 09:47:48 +00:00
skodak
f262874bbe Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE 2006-07-03 21:11:17 +00:00
skodak
b3d4840d39 assignments on mymoodle page, Bug #5839 - Found more than one record in get_record_sql !; merged from MOODLE_16_STABLE 2006-06-26 16:16:43 +00:00
skodak
989a0a5203 Bug #5725 - Assignment grading pop up windows do not close, broken by 4976; merged from MOODLE_16_STABLE 2006-06-05 12:18:13 +00:00
moodler
d6da4a1aeb merged mymoodle fix from stable 2006-05-29 09:21:36 +00:00
skodak
8f643c818b Bug #5620 - MyMoodle shows bogus Assignment due date; merged from MOODLE_16_STABLE 2006-05-29 08:37:51 +00:00
skodak
3f19bff3cd Bug #5619 - Assignment Feedback mail lacks linefeed; merged from MOODLE_16_STABLE 2006-05-26 09:07:13 +00:00
moodler
418db328a0 Fixed: Bug #5164 - Assignment email lacks student name 2006-05-03 08:19:53 +00:00
toyomoyo
7396321249 fix for 4976 2006-04-27 04:12:58 +00:00
vyshane
928a87338d Fixing inserts for log_display. 2006-04-24 09:00:42 +00:00
vyshane
93642edd6a Fixed inserts for log_display. 2006-04-24 08:38:03 +00:00
skodak
5d00b3ad99 page parameter cleanup 2006-04-23 20:33:01 +00:00
skodak
54bb46f55b fixed undefined $course 2006-04-22 17:25:37 +00:00
moodler
c125d80c3e Fixed Bug #5012 - assignment type uploadsingle does not log view actions 2006-04-21 07:01:01 +00:00
moodler
9e0f5d2abf Added save changes button at top (Bug #1043 - submit button at top of journal report) 2006-04-21 02:23:33 +00:00
moodler
f619f8c8ab FIx for slashes problem in bug 5222 (and some others) 2006-04-18 09:16:22 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
gustav_delius
e8a4049ddd Removed some unnecessary code 2006-04-05 18:52:37 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
moodler
a2a3733666 iFIx up some styles for the MyMoodle overview 2006-03-15 04:01:10 +00:00
moodler
5d45c04fce More styles for My Moodle 2006-03-15 03:47:08 +00:00
moodler
a7a74d7706 Added some styles 2006-03-15 03:42:51 +00:00
moodler
76a60031d0 All the assignment classes no longer need to be loaded, and removed some notices 2006-03-15 03:36:33 +00:00
patrickslee
101e9cad48 Dim link if not visible in my course view for assignment module 2006-03-14 22:05:16 +00:00
patrickslee
84fa8f5fdd Assignment module support for my moodle page 2006-03-14 21:26:37 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
gustav_delius
7af1e88286 Added comments to the code (when will moodle HQ start commenting their own code? ;-) 2006-02-19 13:26:58 +00:00
gustav_delius
1ef048aed3 Fixing a misprint that was preventing multiple files from showing. 2006-02-18 21:19:04 +00:00