1366 Commits

Author SHA1 Message Date
moodler
f064a3dfb9 WHAT!??
Why doesn't this work?

   if (!empty(trim($forum->intro))) {
   }

It gave blank screens on moodle.org!   Wierd.
2004-02-13 15:20:06 +00:00
moodler
5cdb8a856a Quiz questions now have proper formatting controls.
Any format can be used.  This fixes a number of problems at once,
but the latest one is Bug #1047
2004-02-13 14:01:27 +00:00
moodler
54caa35e20 DOn't print blank summaries 2004-02-13 03:42:51 +00:00
moodler
fe412041b5 Don't print blank journal intros 2004-02-13 03:40:57 +00:00
moodler
51a55508e6 Use format_text on forum intros 2004-02-13 03:39:58 +00:00
willcast
e18abcc4de Adding missing columns... and tables for PosgresSQL squema 2004-02-12 22:42:04 +00:00
moodler
65624a2821 Removing the newmodule template from this directory and putting it
in /contrib

This should prevent some user confusion.

It was getting out of date too.
2004-02-12 06:41:17 +00:00
moodler
00d727e387 FIxed (old?) bug that sometimes prevented new categories 2004-02-12 03:48:13 +00:00
moodler
0c29498ede Use format_text on question texts so we get caching, filters etc 2004-02-12 03:41:16 +00:00
moodler
0d851f90a8 Cache format_text calls in make_mail_post for even more speed
during a forum_cron
2004-02-11 02:26:25 +00:00
moodler
9c84314ed7 Fix for recent courselang stuff 2004-02-10 14:28:32 +00:00
moodler
246dedcf47 Give new windows different names so they can be compared more easily 2004-02-09 14:37:45 +00:00
stronk7
e222ce0944 discussion->usermodified is in backup & restore now. 2004-02-08 19:34:22 +00:00
moodler
7eac5f93cd Removed some rubbish 2004-02-08 12:51:27 +00:00
moodler
952b9c07b6 Quicktime plugin 2004-02-08 12:48:43 +00:00
moodler
0708881565 Use mediaplayer for ALL uploaded mediaplayer files 2004-02-08 12:21:36 +00:00
moodler
0437ab95c6 Use format_text to print text so that filters work 2004-02-08 09:48:48 +00:00
moodler
80e376a20d Use format_text instead of text_to_html (so filtering works) 2004-02-08 09:47:29 +00:00
moodler
1eddd0d8f5 Added timezone display to reduce confusion 2004-02-07 12:27:23 +00:00
moodler
016cd6af4f Discussions now store the last user to change them, as well as the
last time they were modified.   This isn't actually used yet but it
will be.
2004-02-06 13:15:15 +00:00
selliott
26b90e709e Added functions get_recent_assignments and print_recent_instance_activity (for course/recent.php) 2004-02-06 05:25:34 +00:00
selliott
0eb7764d4d Added user parameter to print_recent_instance_activity and get_recent_quizzes (for course/recent.php) 2004-02-05 20:40:59 +00:00
selliott
c892ab3672 Added user parameter to print_recent_instance_activity and get_recent_posts (all for course/recent.php) 2004-02-05 20:38:14 +00:00
moodler
34050fd84a Removing old log upgrades (too slow) 2004-02-05 08:36:48 +00:00
moodler
9d162c650f Removing log upgrades from here (too slow) 2004-02-05 08:32:49 +00:00
moodler
54e5e3f387 Removing the log upgrades from here (too slow) 2004-02-05 08:24:04 +00:00
moodler
8a55b99805 UPgrade logs to new format 2004-02-05 05:16:29 +00:00
moodler
484f723352 Upgrade logs for assignments 2004-02-05 05:10:39 +00:00
moodler
af7d68413f Update old quiz logs 2004-02-05 05:00:52 +00:00
moodler
b44b3a9f29 Add coursemodule info to logs for attempts and submits 2004-02-05 02:54:16 +00:00
selliott
fdba9bb4d9 Added functions quiz_get_recent_quizzes and quiz_print_recent_instance_activity for course/recent.php (a recent activities page). 2004-02-04 15:12:06 +00:00
selliott
2bda8358da In function forum_get_recent_posts, removed u.id from select because of conflict with p.id field (p.userid is available) also changed sort from discussion id to modified. 2004-02-04 15:07:08 +00:00
moodler
bd115b3f82 Caters for the case when nothing was selected 2004-02-04 13:40:20 +00:00
moodler
fed7c5ba94 Fixed a hardcoded string (thanks, koen) bug #1022 2004-02-04 09:29:01 +00:00
moodler
ed68c6db3d Fixed calculation of max upload size 2004-02-01 05:51:20 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
9423833cd9 All modules now require the very latest because of the changes to add_to_log 2004-01-31 15:25:00 +00:00
moodler
037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
moodler
4afe0109d1 A new log_display entry for when resources are updated 2004-01-31 11:54:26 +00:00
moodler
a80a772821 Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011 2004-01-31 05:55:11 +00:00
stronk7
3caa089f49 Some strange line feeds in the latest version. Solved. 2004-01-30 23:15:11 +00:00
gustav_delius
800578b7fe increase mailed to number(2) 2004-01-30 21:44:44 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47 better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log() 2004-01-30 18:21:56 +00:00
moodler
8ff79e8c5b Fixed the counting of submissions for a new function assignment_count_real_submissions() 2004-01-30 16:53:01 +00:00
moodler
d98579dbc9 OK, much better. What was I thinking. :-) 2004-01-30 15:22:43 +00:00
moodler
819110a116 On second thoughts, added hours 2004-01-30 15:16:54 +00:00
moodler
d3128ddf0e Fixed date format 2004-01-30 15:16:04 +00:00
moodler
5476a93df2 Fix the mode handling for "single" forums 2004-01-30 08:45:11 +00:00