3454 Commits

Author SHA1 Message Date
danielfetzer
8978fb514c *** empty log message *** 2003-08-16 17:28:51 +00:00
mits
1224424568 New translation. 2003-08-16 17:09:04 +00:00
moodler
862810dc09 No need to call isteacher and isteacheredit, just isteacheredit will do. :-) 2003-08-16 16:14:25 +00:00
stronk7
9ad580181b Updated the index to show the eachattemptbuildsonthelast.html page 2003-08-16 15:32:01 +00:00
stronk7
9de28d19c3 Help for "eachattemptbuildsonthelast" setting.
Spanish version.
2003-08-16 15:23:23 +00:00
stronk7
b4e7c5c3a1 Help for the 'Each Attempt Builds On The Last' feature.
My English is far to be perfect, so edit it at your needs.
Bug 816 closed.
2003-08-16 15:11:16 +00:00
stronk7
3953f4bdc4 Now the "restore" option is showed to isteacheredit() teachers. 2003-08-16 11:46:54 +00:00
stronk7
f3c6d21942 Show more admin links to isteacheredit() users 2003-08-16 11:44:47 +00:00
stronk7
35a14ba021 Now editall and timemodified are in
backup/restore process
2003-08-16 11:31:32 +00:00
johncaptain
3702c65e91 Added: Windows specific language and region settings info to FAQ 2003-08-16 06:45:04 +00:00
moodler
b6c1273289 Only editing teachers see controls and things 2003-08-16 06:44:03 +00:00
moodler
aa57804096 Only editing teachers can edit activities 2003-08-16 06:40:35 +00:00
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
moodler
ec9c0d4421 Show default mode again 2003-08-16 06:20:39 +00:00
moodler
d99eab3c9f Allow teacher editors to modify scales 2003-08-16 05:44:40 +00:00
moodler
21f93862bd Backed out the new configuration variable "creatornewcourses" as it
is no longer wanted or needed
2003-08-16 05:43:26 +00:00
moodler
1c54562cdb Teacher editors can edit courses, and course creators get
added as teacher-editors when they create a course
2003-08-16 05:40:27 +00:00
moodler
416d6bc892 Must be an editing teacher to be able to assign teachers 2003-08-16 05:35:08 +00:00
moodler
f07c9d23fc FIxed the search 2003-08-16 05:29:29 +00:00
moodler
73047f2f76 OK, this is a new scheme to allow some teachers to edit and others to not
that is much better than the proposal to change the role of course creators.

There is a new field in user_teachers called "editall", which is
ON BY DEFAULT, and allows teachers to edit courses.  It can be modified
on the teacher editing screen (formerly assign teachers).

The value is cached in the session.

To test for it, there is a new function isteacheredit($course->id)
which works much like isteacher did.

I'm going through now and applying this new function wherever
it is needed.
2003-08-16 05:19:24 +00:00
moodler
542a6914e5 Many more mime types added - thanks to D Hawes 2003-08-16 04:33:31 +00:00
moodler
25e3c612ba New icons from dhawes@mac.com 2003-08-16 04:28:21 +00:00
moodler
5fcd1b52aa Hold the presses ... I hate doing this but after going into detail
changing the course creator account like this is the wrong way to
do this.

Instead, I'm going to be adding new fields to user_teachers

Stay tuned
2003-08-16 03:28:56 +00:00
moodler
87002b0e9f Only creators can restore courses 2003-08-16 02:48:18 +00:00
moodler
48d72fa7c9 *** empty log message *** 2003-08-16 02:45:44 +00:00
moodler
6f4f04df3e Fixed database upgrade so that forum->scale is created before the
get_scale_menu tries to use it.
2003-08-16 02:30:23 +00:00
anvergara
5179875d27 updating to new version 2003-08-15 23:41:13 +00:00
stronk7
f19f822b1a Solved one bug when restoring MATCH(5) questions if
the question is an existing one. Some mapping are done
to use after them in responses.
2003-08-15 19:11:55 +00:00
stronk7
887e908592 Solved one bug when restoring RANDOMSAMATCH(6) questions if
they haven't been responsed in the quiz. The answer field in
quiz_responses must have X-0,Y-0 format instead of null.
Curiosly, MATCH(5) questions must have null if they aren'r
responsed.
2003-08-15 18:10:11 +00:00
moodler
11402bbdbc Do a check to create the default scale if it isn't already 2003-08-15 14:30:30 +00:00
moodler
d318a24d45 Fixed an admin link 2003-08-15 14:19:11 +00:00
moodler
a142b3b4ba New scale table for PostgreSQL 2003-08-15 14:17:15 +00:00
moodler
37eef3ed91 WHoops - you'll need this table. :-) 2003-08-15 14:12:52 +00:00
moodler
a57319b1f3 New scales editing page 2003-08-15 14:03:25 +00:00
moodler
e9ae66916d A few more files... 2003-08-15 14:02:11 +00:00
moodler
02ebf404c8 WARNING: BIG CHANGES!
OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.
2003-08-15 13:59:24 +00:00
moodler
655f2aaf2f Temporary scales icon 2003-08-15 13:46:45 +00:00
moodler
ba73065339 I had to reformat this help file. It is no longer HTML but plain Moodle format.
I"ve done this for all good translations.
2003-08-15 13:43:05 +00:00
moodler
c4c9c26fc9 24 hour time 2003-08-15 13:15:14 +00:00
moodler
0177961bd7 Use 24 hour time 2003-08-15 13:09:44 +00:00
moodler
2851e8a2f0 Some fixes for time display (24 hours) 2003-08-15 13:00:45 +00:00
stronk7
37bc898199 Small typo !! :-) 2003-08-15 11:23:29 +00:00
stronk7
f43f3f65bc Solved one important bug in RANDOM(4) and RANDOMSAMATCH(6)
question types.
And modified some of the quiz_answers restore system to
allow remapping answers with existing questions.
//Detected by scott dot elliott at mchsi dot com in Bug 84
2003-08-15 11:08:51 +00:00
stronk7
d968b8e61a Included and commented one new debug 2003-08-15 11:03:07 +00:00
moodler
813d441d56 Fixed up quotes, ordering etc 2003-08-15 10:56:50 +00:00
stronk7
47a5aeef23 Added some spacer.gif to align up and down buttons... 2003-08-15 10:11:22 +00:00
stronk7
41b9b44faf Added the 'Restore' option near the 'Backup' one to course list.
See bug 616. Closed. It needs Martin confirmation.
2003-08-15 08:50:35 +00:00
moodler
2b4c64e98f Better compatibility for POstgreSQL (old regexps were case sensitive) 2003-08-15 08:16:20 +00:00
moodler
a74f950c4e Improved search.
Default is now back to subwords, but words can be used with +word and -word
2003-08-15 08:04:54 +00:00
moodler
df4f06706a Added get_courses_search() etc 2003-08-14 11:49:57 +00:00