792 Commits

Author SHA1 Message Date
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak
e7a8d28f57 fixed short php tags; merged from MOODLE_16_STABLE 2006-05-15 15:12:56 +00:00
skodak
3b25960385 better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE 2006-05-15 14:48:11 +00:00
skodak
62b504d20b better cleaning of post title SC#251; merged from MOODLE_16_STABLE 2006-05-15 14:32:14 +00:00
stronk7
0f5f8363d7 Now, when a single forum is restored and no user data was created,
the initial discussion/post is automatically generated. Bug 5418.
(http://moodle.org/bugs/bug.php?op=show&bugid=5418)

Merged from MOODLE_16_STABLE
2006-05-06 16:58:36 +00:00
vyshane
5f672a4dd8 Fixed inserts for log_display. 2006-04-24 09:05:08 +00:00
vyshane
f53d75517e Fixed inserts for log_display table 2006-04-24 08:11:35 +00:00
skodak
f393f545d1 typo - fixed undefined $courseid 2006-04-22 17:29:46 +00:00
moodler
7b54f5636d Fix group picture in HTML mail when no CSS is used 2006-04-19 12:47:30 +00:00
moodler
2ebc8a57bd RSS feed based on modified date, not created date 2006-04-14 04:53:45 +00:00
mjollnir_
86e75a7b77 Disable gui for forum timed posts since we are not quite ready for it. All code is still there but hidden & controlled by a config var forum_enabletimedposts. 2006-04-14 04:51:43 +00:00
moodler
3d28412786 After discussion with Penny I think it's best to not include the forum
timed posts in 1.6 for now.   It still needs some work and we are
running out of time.
2006-04-14 04:47:43 +00:00
moodler
8ad644551d Merged fixes from stable 2006-04-13 12:05:37 +00:00
moodler
fbec0acb3e Strip tags from final RSS feed name 2006-04-12 08:58:20 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
mjollnir_
03c9562b40 Moving attachments attached to forum posts when moving threads between forums was broken when dataroot is over an nfs mount (important for clustering!)... this fixes it but please can somebody test this on windows 2006-04-11 05:19:56 +00:00
moodler
ff1dc0465b Merged fixes for forum_user_can_view_post from stable 2006-04-07 14:54:52 +00:00
moodler
9ee20a32f6 FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +00:00
moodler
9bdedea400 Changed how the "edited by" message appears in the posts edited by admin 2006-04-05 02:15:10 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
moodler
da077b9a7a Change of function name, no actual change 2006-03-21 09:08:57 +00:00
moodler
ffd0fbb7ac New feature: you can now reset a course simply and easily using the new
"Reset" item on the course admin menu.

This allows you to delete user data from the course without touching the
course itself.
2006-03-21 07:34:33 +00:00
danstowell
95a86f752b Fixes to rsslib to ensure the output is valid RSS 2.0 2006-03-17 07:44:22 +00:00
danstowell
bce7a133b9 Re bug 4640 - enabled filtering for attachment link HTML - enables MP3 uploads to use mediafilter, for example 2006-03-16 10:36:54 +00:00
moodler
9cba7a8c80 Added some more efficiencies to the code, but something seems to be wrong
with this function as the SQL is not finding any new posts at all for me.

Needs checking!
2006-03-15 09:56:57 +00:00
moodler
e23800b7b5 Fixed classes for styles in forum overview in My Moodle 2006-03-15 09:50:42 +00:00
moodler
fd6590a987 Fix for bug 4875 which was only happening on MySQL 5 2006-03-13 12:43:01 +00:00
mjollnir_
d355395199 Fixing my moodle bug in forum track posts display 2006-03-13 00:42:01 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
toyomoyo
80329e02da forgot timelimit 2006-02-17 02:47:01 +00:00
toyomoyo
b73b9d81ec better fix for 4360 2006-02-17 01:31:28 +00:00
skodak
fac01360b3 removed isset_param() 2006-02-12 11:27:22 +00:00
skodak
23ca8954be removed isset_param() and fixed warning 2006-02-12 11:24:24 +00:00
toyomoyo
4a6716ceab bug fix for 4670 2006-02-09 02:18:13 +00:00
toyomoyo
70eed352e6 fixing a problem with enum 2006-02-08 03:30:26 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
677169b9dc fixing typo 2006-01-27 04:31:46 +00:00
mjollnir_
41547057cc Merged Patrick's mailnow patch. This allows admin users the ability to override maxediting time and have forum posts mailed out immediately. 2006-01-19 23:52:08 +00:00
patrickslee
3c622ced98 Removed some mailnow related patches -- mailnow feature is not merged yet 2006-01-19 22:45:59 +00:00
patrickslee
cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +00:00
mjollnir_
5aa23eead3 Cache strings for my moodle, don't call get_string over and over again 2006-01-17 22:03:48 +00:00
mjollnir_
454be164a3 My moodle forum overview small bugfix, counting new posts should not count adding discussions 2006-01-17 20:59:19 +00:00
mjollnir_
185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
mjollnir_
b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
mjollnir_
460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
mjollnir_
abfd14da26 Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) 2006-01-16 08:59:20 +00:00
mjollnir_
a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00