Commit graph

10313 commits

Author SHA1 Message Date
moodler
851a89ff1b Minor fixes for re-inclusion and also links in email 2003-05-06 03:33:55 +00:00
moodler
813ec7ad65 Prevent guests from taking surveys 2003-05-06 03:06:06 +00:00
moodler
b879effb4a Fixed bug that was not listing discussions that had identical subjects! 2003-05-05 16:21:45 +00:00
paca70
c0ba103ca7 Added transaction around table creation 2003-05-04 10:45:57 +00:00
paca70
592188b42c First versions for postgres7 2003-05-04 08:56:30 +00:00
moodler
d342c76370 Added Wiki format as a system-wide format (forums, journals, etc)
Also, added better formatting to plain-text emails via a new function
in weblib.php  -  format_text_email
2003-05-04 04:07:36 +00:00
moodler
9f0b8269ac Fixed bug where text format of a new discussion was not being saved 2003-05-04 03:43:46 +00:00
paca70
ea563f8f99 Postgres needs full longnames for indexes to prevent overlapping names. 2003-05-03 06:44:03 +00:00
moodler
005103e0bc Changed some function names, making room for export functions later 2003-05-03 04:31:49 +00:00
moodler
c6bcd06aba Tidied up the quiz imports a bit, and added AON as a format choice
Also added Scott Elliott's Blackboard module!
2003-05-02 15:31:24 +00:00
moodler
d22d31c659 Workshop module from Ray Kingdon
This version is still beta!
2003-05-01 13:16:58 +00:00
moodler
edffca1558 Changes to make forum mailouts a little more robust, and avoid duplicates
I hope, at least the ones caused by overlapping cron jobs.
2003-05-01 12:56:03 +00:00
moodler
3e9ca9fbc5 Added new Wiki code to allow Resource web pages to be created/edited using Wiki format
This code contributed by Howard Miller.  Thanks!
2003-05-01 03:43:16 +00:00
moodler
f855f6062b Some tidying up - too much thesis wool in the head 2003-04-29 13:51:28 +00:00
moodler
5d0d5d5ac5 Images, when displayed as resources, are now centered and controlled
by a new style resourceimage
2003-04-29 13:31:47 +00:00
moodler
df48be741a Minor fixes 2003-04-28 15:52:51 +00:00
moodler
8de14dc72b Print some nice feedback when a discussion has been moved, to help
prevent accidents.
2003-04-28 15:27:44 +00:00
paca70
9a652ddb2b Don't give fatal error when questions were not found. 2003-04-28 06:36:14 +00:00
paca70
e8a0fc9a4f Corrected typo 2003-04-27 17:35:54 +00:00
paca70
5352ceba67 quiz_match was missing... 2003-04-27 15:33:31 +00:00
moodler
1b5910c4a5 Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).

Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.

I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.

Let's see.
2003-04-26 15:08:34 +00:00
moodler
ad08fdc277 Performance improvements
- better checking of data before processing
  - used logs are removed to avoid re-processing by other modules
2003-04-26 12:59:41 +00:00
moodler
38e5dbf319 No changes, just rearranges 2003-04-26 12:38:53 +00:00
moodler
278a229c25 Slight fix to teacheronly coloring 2003-04-26 12:22:52 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
fbca88e692 Show activity log only from visible surveys. Bug #367. 2003-04-26 11:04:46 +00:00
stronk7
2953d5e865 Show activity log only from visible journals. Bug #367. 2003-04-26 10:14:54 +00:00
stronk7
dff0db9ad5 Show activity log only from visible forums. Bug #367. 2003-04-26 00:17:42 +00:00
stronk7
746546a8f8 Show activity log only from visible assignments. Bug #367. 2003-04-25 23:49:35 +00:00
paca70
c4c575979e Allow caseinsensitive search for postgesql 2003-04-25 19:32:38 +00:00
moodler
580f2fbc07 New function to detect visibility of a single module, and
use of this function when displaying list of forums
2003-04-25 05:24:29 +00:00
stronk7
c37053ea2f Changed to show the hidden surveys dimmed (bug #364) 2003-04-24 18:28:30 +00:00
stronk7
e6c136e1bf Changed to show the hidden quizzes dimmed (bug #364) 2003-04-24 18:19:23 +00:00
stronk7
f99d236832 Little update to select the forum info (avoid duplicates). 2003-04-24 17:35:34 +00:00
stronk7
3b0fb381ea Changed to show the hidden forums dimmed (bug #364) 2003-04-24 17:15:59 +00:00
moodler
61367e6417 More robust variable checking 2003-04-24 17:13:52 +00:00
moodler
719e7b04f8 Default value for alltext variable 2003-04-24 17:05:54 +00:00
stronk7
5094d166b7 Changed to show the hidden choices dimmed (bug #364) 2003-04-24 16:47:06 +00:00
stronk7
dd8d521d91 Changed to show the hidden assignments dimmed (bug #364) 2003-04-24 16:38:49 +00:00
stronk7
81cdaada93 Changed to show the hidden resources dimmed (bug #364) 2003-04-24 15:25:21 +00:00
moodler
3395f2d67e Forum posts are now not allowed to have blank subjects or messages,
if a message is entered with one of these blank then the user gets
an error message and a chance to re-edit the message.
2003-04-24 14:05:47 +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
c032b59db9 Help button about subscription on forum page 2003-04-23 15:19:01 +00:00
moodler
312447111c Got a bit slash-happy 2003-04-23 15:01:37 +00:00
moodler
3af4a3653c some HTML tags made a bit more XHTMLish 2003-04-23 14:50:44 +00:00
moodler
3ba2985594 Robustness fixes 2003-04-21 08:08:33 +00:00
moodler
9dd0b37817 Make sure to change the ownership of uploaded files 2003-04-21 07:11:29 +00:00
paca70
fe8bc4c9a5 Removed two `'s 2003-04-18 21:05:12 +00:00
moodler
2ab968e937 Trying some optimisations 2003-04-18 09:53:41 +00:00
moodler
03aa0dfa10 Style improvements and upgrades 2003-04-18 06:39:40 +00:00