131 Commits

Author SHA1 Message Date
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
skodak
90f4745c22 MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE 2008-04-13 19:15:02 +00:00
skodak
25220be35d MDL-13866 adding warning that regrading of forums may take a while; merged from MOODLE_19_STABLE 2008-03-15 22:51:05 +00:00
skodak
347037d838 MDL-13866 scale ratings do not work in forum; merged from MOODLE_19_STABLE 2008-03-10 21:19:45 +00:00
skodak
b30f2e92ba MDL-13866 scale ratings do not work in forum; merged from MOODLE_19_STABLE 2008-03-10 10:46:42 +00:00
moodler
f3c3a4d3b1 Added a timemodified field to forum_queue, and we now delete records
that are older than a week before processing digests.

After upgrade it's possible that some posts will be lost this way but
on the other hand it ensures that sites with problems like moodle.org
had will start working again.

We still need a recordset added to the digestposts loop.

MDL-11657
2007-10-10 02:52:25 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
skodak
42ff9ce68b MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too) 2007-07-22 21:43:47 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak
353228d8f4 MDL-9548 Implement grade_updated event triggers in Forum 2007-06-03 16:24:03 +00:00
toyomoyo
a7bb9b8ff2 merged fix for MDL-8981, roles assigned at site level may result in a lot of default subscriptions 2007-03-21 06:07:46 +00:00
skodak
c718dd57ba MDL-8578 new capability for adding and replying to news in forum 2007-03-02 19:41:31 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler
dae2952a59 Fix throttling capabilities so this works MDL-7414 2006-11-09 09:28:59 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00
stronk7
b4c7bb78fc Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
moodler
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
vyshane
9222e72167 Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead. 2006-09-21 08:32:05 +00:00
skodak
d43d749a1b forum throttling capability meaning reversed 2006-09-20 21:25:51 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +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
skodak
21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
vyshane
42fb3c858f Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities. 2006-09-14 08:44:45 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
stronk7
d0d5525d93 Included course/lib.php to be able to rebuild_course_cache()
It was working until some time ago, but now it's required.
2006-09-04 19:33:27 +00:00
stronk7
446a78cd4a notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify()
2006-09-03 22:30:13 +00:00
vyshane
7b12414814 Fix for bug MDL-6385 2006-08-29 02:09:31 +00:00
stronk7
683ff5d4f3 Dropping forum.open and forum.assesspublic
(mimic from .sql files)
2006-08-28 16:20:52 +00:00
vyshane
5ce6f628ba Dropping forum.open and forum.assesspublic from .sql files. Added forum
upgrade to roles code to postgres7.php.
2006-08-28 03:51:38 +00:00
skodak
f2b5d7e3b7 trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes 2006-08-27 20:45:04 +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
d604bdeaed Added prevent for mod/prevent:createattachment for default students and guests
in teacher forums
2006-08-22 05:56:45 +00:00
vyshane
9fa3350862 Upgrade now works. Needs more testing. 2006-08-22 05:45:43 +00:00
vyshane
ac195b6fa6 Need to pass the module id and not the object to add_course_module 2006-08-22 02:24:45 +00:00
vyshane
c1de8b8a80 Fixed bug - empty teacher forums (deleted) should not have a course module
created for them.
2006-08-21 08:45:12 +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
vyshane
e6416e3f12 Updated upgrade to roles system 2006-08-18 07:08:14 +00:00
vyshane
314af32a92 Forum upgrade to roles in progress (commented out). 2006-08-18 04:17:31 +00:00
stronk7
49025df359 Added one comment about recursive FK for the future. 2006-08-11 18:36:47 +00:00
stronk7
b72bed89da Give some more chars to enum fields. 2006-08-11 16:45:45 +00:00
stronk7
d7a4f74ede XMLDB schema initial commit for forum module 2006-08-11 16:35:11 +00:00
vyshane
628e2264b1 Adding back lines that mysteriously disapeared. 2006-08-10 05:57:34 +00:00
vyshane
f0eb2ffe85 Added mod/forum:viewhiddentimedposts 2006-08-09 09:17:37 +00:00
vyshane
0fa18d5a27 Bug fixes + updated capabilities. 2006-08-09 06:59:28 +00:00