Commit Graph

71 Commits

Author SHA1 Message Date
skodak e2d7687fc4 MDL-18902 reimplemented trusstext support in forum + standardising format column for text fields 2009-04-20 11:36:01 +00:00
sam_marshall 035fa24b6a MDL-15498: Completion: forum was failing to backup completion rules 2008-07-31 10:57:41 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault 4e44535526 MDL-15108 Upgrade finished, preliminary tests successful. Please continue testing. 2008-06-05 20:16:09 +00:00
skodak cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak 9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
dongsheng 846fb67937 "MDL-14262, fix optional_param, and fix link in restorelib.php, merged from MOODLE_19_STABLE" 2008-04-30 01:47:50 +00:00
skodak 65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
stronk7 04150e0886 Adding some missing log actions when restoring forums. MDL-13184 ; merged from 19_STABLE 2008-01-27 00:39:56 +00:00
nfreear b0dc3e563d Fixes bug MDL-2674, "backup always backsup/restores groups regardless of user settings" - restore group/grouping option. 2007-12-10 10:26:47 +00:00
vyshane ac21137379 Making sure that restore views work in xhtml strict 1.0. MDL-7861. 2006-12-19 07:00:14 +00:00
thompson697 cf0b1faded Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
toyomoyo e9dafcec20 merged fixing warnings during restore 2006-10-12 02:49:28 +00:00
thompson697 eb87ac71c5 Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links
2006-10-04 14:50:50 +00:00
vyshane 87c7fce004 Merged fix for MDL-6363 2006-09-25 04:03:18 +00:00
vyshane 2b15a08dc9 Added some notes for future reference 2006-09-21 07:40:24 +00:00
vyshane 2a1b4af377 Added course module groupmodes in convertion to roles logic 2006-09-20 16:54:50 +00:00
vyshane 6adc1e975d Added more overrides during restore process for forums from 1.6. Plus some bug fixes. 2006-09-20 02:59:43 +00:00
vyshane 689b19297f Fixed notice 2006-09-20 02:47:57 +00:00
moodler fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
thompson697 163ff97e84 Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
vyshane e1b5643ff7 Changes to take care of forum upgrade to new roles system. Backed up forums
will also be converted to the new roles system if the backup was made
pre-roles.
2006-08-25 02:41:16 +00:00
vyshane 5cae056c45 Removed deprecated teacher forum type 2006-08-22 07:42:34 +00:00
vyshane f0da6b858e Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
tjhunt c078b2527b Fix notices when you restore a course with an empty forum. Merged from MOODLE_16_STABLE. 2006-06-06 17:25:00 +00:00
stronk7 1fa6d46069 Adding support to the forum user report action
in restore. Bug 3854.
(http://moodle.org/bugs/bug.php?op=show&bugid=3854)

Merged from MOODLE_16_STABLE
2006-06-03 17:51:20 +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
stronk7 1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
stronk7 2070370cfa Typo. 2006-03-28 23:31:12 +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
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_ 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
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
stronk7 98b8eba688 Now forum-start tracking,
forum-mark read and
    forum-prune post
log actions are restored properly.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852)

Merged from MOODLE_15_STABLE
2005-08-03 19:50:49 +00:00
moodler f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7 25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
stronk7 b2abce7ccf Added support for forum->trackingtype
Merged from MOODLE_15_STABLE
2005-06-03 17:37:11 +00:00
stronk7 85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
stronk7 3849dae80f Now the FIRST string working under CFG->filterall is done:
forum->name
(everything tested but email)

(I'm going to maintain a list of strings in Developers Wiki)
2005-03-26 01:57:40 +00:00
stronk7 22bb909b57 Now forum_read is included in backup & restore 2005-02-18 19:05:09 +00:00
stronk7 e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
gustav_delius 8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius 41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
stronk7 5b76e6fc51 Now every link to forums (from resources and forums) and every link
to resources (from resources and forums) are re-encoded in backup/restore.

I could reduce the code size but for now I prefer to have it this looong
form to clarify what it's doing.

Please, test, test and test...
2004-05-08 18:30:30 +00:00