24 Commits

Author SHA1 Message Date
moodler
487d3ae84d Removed a wrong help link 2003-08-25 16:31:20 +00:00
moodler
d6bdd9d5e9 Forum grades can now be numerical as well (like the other modules).
If so, grades in the gradebook are printed as proper numbers and
contribute to the total of the course.
2003-08-25 12:47:36 +00:00
moodler
f2f564066b Some improvements to the forum editing interface to make the buttons
hide/show appropriately
2003-08-25 08:04:39 +00:00
moodler
98914efdbe New mini-feature. When choosing ratings in a forum, one can now
specify a range of dates.  Only posts within this range can be rated.
If the range isn't specified then all posts can be rated.
2003-08-25 07:39:06 +00:00
moodler
62ca135d98 More cleanups and separation of printing the grades menu into a new function 2003-08-18 05:28:30 +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
717f40c6d8 Some fixes to avoid pointless uses of $ME 2003-06-16 14:40:51 +00:00
moodler
14f593e176 Better setting of defaults 2003-06-09 05:34:24 +00:00
moodler
11697b48ea Minor code cleanups
- lowercasing
  - removing short php tags
  - adding some emoticon help here and there
2003-05-20 08:03:12 +00:00
moodler
1fc49f0019 New feature to allow teachers to move a discussion from one forum
to another.

A simple popup menu now appears when teachers view any discussion.

Includes a new log entry to log when a discussion is moved.
2003-04-24 08:45:27 +00:00
moodler
51ba6ad642 Define forum type all the time 2003-01-02 10:46:52 +00:00
moodler
8ac3158791 Robustness fixes 2003-01-01 13:17:27 +00:00
moodler
7be475f601 New consistent help buttons for textarea fields throughout all modules 2002-12-13 09:06:30 +00:00
moodler
7beb45d8a0 Upgrading all news and social forums (except those in social courses)
so that they are course modules in an (invisible) section, which means
they are now editable and parameters, names etc can be changed.
2002-10-25 08:47:53 +00:00
moodler
4db9d14dad Don't show column grade when there's nothing to show 2002-10-21 08:19:15 +00:00
moodler
09aebc9468 Cleaned up some buttons ... 2002-10-16 04:51:55 +00:00
moodler
70c476a79e Fixes bug 112
Changes to expand "open" option in forums.  Now have a choice between
three options:  new discussions and new replies, new replies only and
no new discussions or new replies.

Three new options in lang/forum.php and I changed "allowdiscussions".
2002-10-03 11:15:50 +00:00
martin
40b13d9ff4 Choose "general" forum now as a default 2002-08-26 10:01:46 +00:00
martin
61ee082fd8 Improved help buttons for forums 2002-08-18 14:40:19 +00:00
martin
31d160d3b9 Forum language fixes, and addition of help for separate/connected knowing 2002-08-15 17:41:24 +00:00
martin
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00