126 Commits

Author SHA1 Message Date
Dongsheng Cai
51f93f4a1c "MDL-19118, fixed glossary module comment migration" 2010-05-03 08:05:43 +00:00
Andrew Davis
cfe3ba15bb rating MDL-21657 removed definitions of data_ratings and glossary_ratings 2010-04-28 04:00:17 +00:00
Andrew Davis
8546cdd414 rating MDL-21657 added a check for the old rating tables before trying to migrate data 2010-04-28 03:50:56 +00:00
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
Dongsheng Cai
866354a905 MDL-21951, improve comments performance 2010-04-09 09:03:51 +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
Eloy Lafuente
cea304d432 NOBUG: comment is a reserved word for oracle. I reserve my comments about it ;-) 2010-03-22 17:49:42 +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
Andrew Davis
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Dongsheng Cai
9452219941 "MDL-20345, improve glossary comments migrate script" 2009-11-25 05:58:13 +00:00
Petr Skoda
032216500d MDL-20700 coding style - new sloppy trailing whitespace fixed, yes I am guilty too :-( 2009-11-09 11:33:14 +00:00
Dongsheng Cai
c8092ea5e3 "MDL-20345, use new comments api in glossary module" 2009-11-08 14:12:12 +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
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
nicolasconnault
ee9e63b5a1 MDL-19809 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:52 +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
skodak
d0bcf735aa MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
skodak
6507d1a97e MDL-18910 normalised module intro and introformat 2009-04-20 19:10:05 +00:00
skodak
3ba0748d4f MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields; sending missing install.xml - thanks Eloy 2009-04-20 10:08:54 +00:00
skodak
cbc2b5df03 MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields 2009-04-20 10:05:50 +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
mjollnir_
86a3996d3d MDL-15768 - roles in glossary 2008-08-19 09:20:54 +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
c48068f87d MDL-16075 fixed pg problem 2008-08-18 22:33:36 +00:00
skodak
0d18a9d6d7 MDL-16075 File storage conversion of Glossary 2008-08-17 21:38:47 +00:00
skodak
49bcd7372b MDL-16075 File storage conversion of Glossary 2008-08-17 21:27:43 +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
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
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
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +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
toyomoyo
b9dba084ea merged fix for MDL-10475, adding override for legacy student roles before dropping studentcanpost 2007-07-17 02:47:48 +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
e6d4504807 MDL-9549 Implement grade_updated event triggers in Glossary 2007-06-02 22:18:01 +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
toyomoyo
baecd8cd72 dropping studentcanpost in glossary, MDL_7170 2006-11-15 03:15:59 +00:00
stronk7
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00