Commit graph

5417 commits

Author SHA1 Message Date
toyomoyo
5cf38a57cd some quiz capabilities 2006-08-22 09:04:23 +00:00
vyshane
5cae056c45 Removed deprecated teacher forum type 2006-08-22 07:42:34 +00:00
vyshane
45c38eef4c Removed deprecated forum type teacher. 2006-08-22 07:38:01 +00:00
vyshane
d604bdeaed Added prevent for mod/prevent:createattachment for default students and guests
in teacher forums
2006-08-22 05:56:45 +00:00
vyshane
9fa3350862 Upgrade now works. Needs more testing. 2006-08-22 05:45:43 +00:00
vyshane
f13a5fa609 Removed forum->open config since roles will take over this 2006-08-22 02:43:58 +00:00
vyshane
ac195b6fa6 Need to pass the module id and not the object to add_course_module 2006-08-22 02:24:45 +00:00
vyshane
c1de8b8a80 Fixed bug - empty teacher forums (deleted) should not have a course module
created for them.
2006-08-21 08:45:12 +00:00
toyomoyo
3765fd5367 some capabilities for quiz and questions, need to load them in access.php 2006-08-21 08:40:06 +00:00
vyshane
f0da6b858e Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
tjhunt
dcc0a7e25f Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE. 2006-08-20 20:11:05 +00:00
skodak
7f5495053f fixed short php tag and end tag in comment 2006-08-19 11:15:59 +00:00
tjhunt
865b753486 Code cleanup. Merged from MOODLE_16_STABLE. 2006-08-18 22:26:04 +00:00
vyshane
e6416e3f12 Updated upgrade to roles system 2006-08-18 07:08:14 +00:00
vyshane
314af32a92 Forum upgrade to roles in progress (commented out). 2006-08-18 04:17:31 +00:00
skodak
031c8ae5a0 Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE 2006-08-17 21:34:39 +00:00
stronk7
b7bc9446a9 Added JS template field for JavaScript if needed. 2006-08-17 16:40:46 +00:00
tomflannaghan
ca20f89151 Slashes added for database entry. 2006-08-17 13:19:28 +00:00
tomflannaghan
b010085239 Javascript added 2006-08-17 09:27:51 +00:00
tomflannaghan
f0a93e5d30 jstemplate 2006-08-17 09:26:31 +00:00
tomflannaghan
5a83945ec5 Extra tab for 'jstemplate' 2006-08-17 09:26:06 +00:00
moodler
8ac4971405 Added JS template field for JavaScript if needed 2006-08-17 09:02:56 +00:00
vyshane
c39f126780 Fixed warning 2006-08-17 03:52:05 +00:00
tjhunt
b169c31e39 Save two queries if we are not going to output anything. 2006-08-16 16:54:20 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
tjhunt
920b93d1e3 Remove horrific code duplication in mod/quiz/lib.php. 2006-08-16 08:46:10 +00:00
vyshane
e40a7a3c8b Fixing notices 2006-08-16 03:24:43 +00:00
vyshane
87ca0adf00 Fixed forum_print_post. Thanks Yu :) 2006-08-16 02:33:43 +00:00
tjhunt
eeaeff8e04 Corrected include. 2006-08-15 20:44:21 +00:00
tjhunt
4e3487c59c Remove horrific code duplication in mod/quiz/mod.html. 2006-08-15 15:29:38 +00:00
tomflannaghan
72184a52b8 A few fixes for the dropdown menus. 2006-08-15 11:14:07 +00:00
moodler
901dd2fb4c Merged new "Database preset" support from Tom Flannaghan.
Still needs some tidy-up work but it's working.
2006-08-15 08:42:06 +00:00
tjhunt
c097419986 Reorder the table definitions in the file, to group them more logically. 2006-08-14 13:32:39 +00:00
moodler
c4a333b328 Fixes from forum http://moodle.org/mod/forum/discuss.php?d=46048 2006-08-14 08:59:38 +00:00
vyshane
951e1073da Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.
2006-08-14 07:37:53 +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
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
stronk7
6750328ba0 Latest changes added + some polish in keys. 2006-08-12 23:03:59 +00:00
stronk7
9bd4d98bc2 Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
stronk7
42173f5121 Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
stronk7
6f398232e6 Added une foreign+unique key 2006-08-12 21:40:30 +00:00
danstowell
ac87088b50 Added download link for all entries as KML 2006-08-12 19:03:16 +00:00
danstowell
3af692dba0 Now latlong data types allow you to choose which labels appear in Google Earth 2006-08-12 17:36:22 +00:00
stronk7
613f306d1d XMLDB schema initial commit for the quiz module.
Some doubts are pending to finish it properly.
2006-08-11 19:29:47 +00:00
stronk7
49025df359 Added one comment about recursive FK for the future. 2006-08-11 18:36:47 +00:00
stronk7
401846cca7 XMLDB schema initial commit for the lesson module 2006-08-11 17:56:18 +00:00
stronk7
a2a4bfc567 XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
stronk7
e0996851da XMLDB schema initial commit for the label module 2006-08-11 17:37:17 +00:00
stronk7
01c3c55960 Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
stronk7
4121848035 XMLDB schema initial commit for the journal module 2006-08-11 17:29:47 +00:00