Commit graph

761 commits

Author SHA1 Message Date
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
mjollnir_
325a76ead3 Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit 2006-01-16 05:36:33 +00:00
mjollnir_
098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
moodler
e746e4dd99 added missing semicolon in &nbsp (bug#4592) 2006-01-16 04:29:41 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
toyomoyo
4d1b2016fd merged, bug fix for #4431 2006-01-04 03:08:08 +00:00
moodler
e6bacdc55c Merged bugfix for bug 4431 from stable 2005-12-22 10:09:21 +00:00
toyomoyo
82fe65f20b merge merge merge 2005-12-22 01:47:41 +00:00
patrickslee
23b5a13df5 Fixed a problem creating single discussion forum related to mailnow 2005-12-20 23:27:25 +00:00
moodler
0f561844e7 Someone included two copies of forum_get_separate_modules() 2005-12-20 08:47:20 +00:00
toyomoyo
073286f06f merged fix for bug #4431 2005-12-20 05:22:59 +00:00
patrickslee
c7ac6225cc Fixed missing closing parentheses in forum_search_posts() for embargoed announcements 2005-12-11 20:19:35 +00:00
moodler
aff9fe5e11 Rolled back, bug Bug #4431 hasnt been fixed 2005-12-08 06:48:50 +00:00
moodler
d0087b2f5c Adding if statement to verify whether user can see postings or not (Bug #4431) 2005-12-08 05:01:57 +00:00
moodler
c992ff85c2 Merged parameter fixes from STABLE 2005-12-05 04:36:25 +00:00
moodler
410a24c09e Merged Hannes Gassert's code for podcasting support more or less without changes.
http://opensource.mediagonal.ch/moodle/patches/podcasting/
2005-12-02 07:07:44 +00:00
patrickslee
8b116048fd Fixed a problem that unable to post a new discussion related to mailnow 2005-12-01 20:50:22 +00:00
patrickslee
6ae342e599 Added backup procedures for embargoed announcements 2005-11-29 22:23:00 +00:00
patrickslee
03877b049e Users can now subscribe/unsubscribe to all forums in a course from the forum list 2005-11-28 03:11:05 +00:00
moodler
afa3507ca2 fix for bug #4314 2005-11-25 07:11:20 +00:00
stronk7
140b7eb5db Log actions must be strored to DB without &amp;
print_log() takes care of it! Bug 3853.
(http://moodle.org/bugs/bug.php?op=show&bugid=3853)

Merged from MOODLE_15_STABLE
2005-11-23 09:46:25 +00:00
patrickslee
0f620d4bf2 Some mailing related Embargoed Announcements fixes.
* The forum cron only mails posts those are created within the past two days, in which case posts those are scheduled to shown after more than two days will be ignored and not been mailed out.

* When cron is marking old posts as mailed, it supposes everything is mailed so just marks everything older than now as mailed. We DO NOT want our delayed posts been marked as mailed.
2005-11-22 04:08:02 +00:00
stronk7
91121c8904 shorten_text() AFTER format properly. See bug 4355.
(http://moodle.org/bugs/bug.php?op=show&bugid=4355)

Merged from MOODLE_15_STABLE
2005-11-21 15:42:19 +00:00
patrickslee
0fcac008cb Reverted changes in ver 1.401, as this is ultimately fixed by bumping the version number 2005-11-18 05:34:29 +00:00
patrickslee
6dce1da9e7 Put some initial values in new forum posting form 2005-11-18 05:23:35 +00:00
moodler
4ad916da57 Bump version to upgrade db for Patrick's new feature 2005-11-18 05:02:07 +00:00
patrickslee
f3f1b00d8e Wrong logical operators used in SQL statements 2005-11-18 04:43:46 +00:00
patrickslee
6af7cc2206 Moved Embargoed Announcements related search into SQL. So that paging/counting for the search results will be accurate. 2005-11-18 04:35:14 +00:00