178 Commits

Author SHA1 Message Date
Andrew Davis
c506e35496 rating MDL-21657 updated rating upgrade process that drops old rating tables 2010-04-28 03:12:49 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00
David Mudrak
62b1d51be9 MDL-21657 Fixing regression - wrong SQL upgrade code
Would be nice if core developers actually tried to run the code before
they commit it into the repository.
2010-04-22 22:30:33 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
David Mudrak
5e1bccd227 MDL-21657 Fixing incorrect usage of relative path in require_once() and tab indentation 2010-04-15 19:56:41 +00:00
Andrew Davis
c7b9082a6a rating MDL-22063 made the scale id column signed to allow for the +ve -ve scale id hack 2010-04-13 05:50:25 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Andrew Davis
67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Andrew Davis
9288633dd7 rating MDL-21657 shifted the rating migration code out of the main upgrade script and into the modules 2010-03-19 08:26:38 +00:00
Sam Hemelryk
17ef7d9b0d mod-forum MDL-17427 Fixed a regression from concat refactoring 2010-01-28 08:37:43 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Sam Hemelryk
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
nicolasconnault
9146b979fe MDL-19808 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:39 +00:00
stronk7
3e17976332 MDL-19350 upgrade blocks - fixing minor bits in modules 2009-06-03 17:01:51 +00:00
stronk7
9b66b300c6 MDL-18227 forum ratings - clean wrong records; merged from 19_STABLE 2009-05-04 08:44:51 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak
d0bcf735aa MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
skodak
18b5df9155 MDL-18910 normalised module intro and introformat 2009-04-20 19:29:15 +00:00
skodak
6507d1a97e MDL-18910 normalised module intro and introformat 2009-04-20 19:10:05 +00:00
skodak
702dc57b54 MDL-18902 fixed whitespace, sorrrry 2009-04-20 11:49:26 +00:00
skodak
e2d7687fc4 MDL-18902 reimplemented trusstext support in forum + standardising format column for text fields 2009-04-20 11:36:01 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
moodler
1470c8a47a Added maxattachments field for setting max number of attachments 2008-09-08 05:58:19 +00:00
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
skodak
6b04ddc500 MDL-16075, MDL-16072, MDL-15094 fixing last commit, missed version bumps in upgrade.php 2008-08-18 22:36:33 +00:00
skodak
39f13edb4b MDL-16072 fixed pg problem 2008-08-18 22:31:47 +00:00
mjollnir_
f98b13a650 MDL-15758 and MDL-15768
- updated forum portfolio code to use files api and added forum export caps.
2008-08-18 18:31:17 +00:00
skodak
1f0e77025d MDL-16072 memory related improvements 2008-08-17 09:31:11 +00:00
skodak
0faf6791f4 MDL-16072 File storage conversion Forum 2008-08-16 21:24:05 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
moodler
120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
sam_marshall
ee6a5a9d4a MDL-15498: Completion fix: forum upgrade broken 2008-07-28 17:27:33 +00:00
sam_marshall
ba6d1638eb MDL-15498: Completion fix: use of old XMLDBTable, Field in forum upgrade 2008-07-28 17:17:22 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
skodak
3a0c6cca33 MDL-8521 new feature - safe overrides, see tracker for details; merged from MOODLE_19_STABLE 2008-07-23 16:10:06 +00:00
tjhunt
ca3c89730e Fix typo. 2008-06-27 17:28:22 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
04264aeda4 MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet) 2008-06-22 23:35:52 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
nicolasconnault
4e44535526 MDL-15108 Upgrade finished, preliminary tests successful. Please continue testing. 2008-06-05 20:16:09 +00:00
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