324 Commits

Author SHA1 Message Date
moodler
3bbde52099 Don't focus on the post message (upsets html editor) 2003-11-04 12:42:42 +00:00
moodler
4b00b4b34a Update to use new editor stuff 2003-11-03 16:49:37 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
moodler
e764aa71ef Add navmenu to header of forum search pages 2003-10-31 08:31:39 +00:00
moodler
497588fe37 No longer need parent link in the footer 2003-10-31 06:57:25 +00:00
moodler
7f0c3a44e4 Oops, typo 2003-10-29 09:16:12 +00:00
moodler
7e224207d0 Fixed bug when moving discussions with attachments 2003-10-29 09:12:23 +00:00
moodler
ba1ce4c0eb new style forumheaderlist (instead of re-using forumpost as before) 2003-10-29 06:24:49 +00:00
moodler
74f5d1e381 Only print the ratings button if there are ratings to be made. 2003-10-09 16:36:09 +00:00
moodler
ec2137ba49 Some changes so that forum_cron is not fooled in case there is already
a real $USER variable present (eg if cron.php was run manually) and
so the timezones are not calculated incorrectly.
2003-10-09 04:58:09 +00:00
stronk7
4a4f96bd79 Now forum->maxbytes is supported in backup/restore. 2003-10-07 12:02:19 +00:00
moodler
4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00
stronk7
0585509135 Simply, move the XXXX_get_participants() function from
bottom to the common function area.
See bug 807
2003-09-29 15:27:30 +00:00
moodler
65a3ef30c9 Add slahses to raw strings before insertion into database 2003-09-27 13:56:55 +00:00
moodler
834f1c7f6f More tiny modifications to forum post headers (they now can wrap) 2003-09-27 06:25:13 +00:00
moodler
6f4bfe956d Slightly smaller font on by line for forum posts 2003-09-27 06:18:00 +00:00
les_kopari
ff74d85283 Initial add for Oracle. 2003-09-25 02:11:31 +00:00
moodler
fa5a5b5295 Forums in section 0 (top section) now get combined in the
"General Forums" listing on the Forums list
2003-09-17 06:20:25 +00:00
moodler
ce45515e7d Err ... whose idea was it to cache the strings in forum_make_mail_post? :-) 2003-09-16 06:35:37 +00:00
moodler
2e2e71a8da New feature: "Show Parent" on all posts will take you to to the parent
of any given post.  Detects threaded mode and behaves a bit differently
though intuitively.
2003-09-16 02:42:22 +00:00
moodler
f9efae0e40 Put rating setup last because it's optional 2003-09-14 09:36:28 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
c559bcf6f0 Fixed some PHP short_tags 2003-09-09 12:34:51 +00:00
stronk7
b32bbab698 Modified a bit the xx_get_participants() function to avoid
non existing activities warnings.
2003-09-07 21:40:52 +00:00
stronk7
eaa3298b07 Included forum_get_participants() function. 2003-09-07 21:28:31 +00:00
moodler
1c10b4c5c1 Search results link use the anchor tag rather than parent for better context 2003-08-31 06:39:06 +00:00
moodler
fa01ae8be0 FIx for the display of the help window for the current scale 2003-08-27 11:27:40 +00:00
moodler
4cabd35565 For students, don't search invisible forums! 2003-08-26 12:18:14 +00:00
stronk7
e02ff1427e Changed comment, sorry 2003-08-25 17:24:44 +00:00
stronk7
cd6232200c Changed to support "negative" values in scale field. 2003-08-25 17:23:31 +00:00
moodler
487d3ae84d Removed a wrong help link 2003-08-25 16:31:20 +00:00
moodler
72bb2118b6 Fixed reports using the new scales (numerical etc) 2003-08-25 15:59:39 +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
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
moodler
05c47ef78e FIxed display of ratings when they are literally "0"
Also fixed default discussion display mode
2003-08-25 02:41:25 +00:00
moodler
0761d83f54 Final ratings are now calculated using rounded mean rather than median.
0.5 scores go UP.
2003-08-25 02:22:35 +00:00
moodler
1930e95964 Even nicer interface with help 2003-08-19 04:45:29 +00:00
moodler
1ede7c03ce tweak 2003-08-19 04:40:35 +00:00
moodler
b1267a180d Slightly neater help 2003-08-19 04:39:59 +00:00
moodler
8b9c7aa069 Searching forums now has proper paging. 2003-08-19 03:35:53 +00:00
moodler
5be7800c12 Switch to using global variables instead of defined values,
controlled using the button on the "Modules" configuration page.
2003-08-18 17:33:40 +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
stronk7
93d7d97fc8 Scales are now supported in forums backup and restore 2003-08-18 00:03:40 +00:00
moodler
cc2b7ea551 Fixes bug #619 -- moving discussions wasn't moving attachments 2003-08-17 14:46:44 +00:00
moodler
ec9c0d4421 Show default mode again 2003-08-16 06:20:39 +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
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
2b4c64e98f Better compatibility for POstgreSQL (old regexps were case sensitive) 2003-08-15 08:16:20 +00:00