Commit Graph

49 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
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
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
Petr Skoda 59d8d79d7a MDL-20346 adding missing version bump to match upgrade.php 2009-11-18 12:52:51 +00:00
Dongsheng Cai e998effa3d "MDL-20346, comments api for data module" 2009-11-18 06:00:48 +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
skodak 63b0256797 MDL-18910 normalised module intro and introformat 2009-04-20 18:51:37 +00:00
skodak 3c67721aa1 MDL-17405 moving Data mod upgrade notification to proper place (upgrade.php) - better notification will be implemented in MDL-17427 2008-11-27 22:14:34 +00:00
skodak 8429163db9 MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet 2008-09-14 08:22:44 +00:00
skodak 870707a47e MDL-16024 adding spam risk to database approve capability; merged from MOODLE_19_STABLE 2008-08-17 22:48:51 +00:00
mjollnir_ 8185aeb609 MDL-15758 - added export to portfolio for single database entry
still to do - files stuff for entries (rest of module not converted)
2008-08-14 10:37:40 +00:00
mjollnir_ 7cbe6eed1f MDL-15768 - bump mod/data version and requires properly - requires portfolio code 2008-08-11 14:44:56 +00:00
mjollnir_ 07028cd91f MDL-15768 - add new capabilities to mod/data for portfolio export 2008-08-11 13:45:41 +00:00
dongsheng f430641247 "MDL-14548, modify the notification field in data module to NOT NULL and default value 0, see tracker" 2008-04-29 06:42:18 +00:00
skodak d00adf8605 MDL-14484 rerun asearchtemplate upgrade - there were reported problems on some sites; merged from MOODLE_19_STABLE 2008-04-25 15:20:14 +00:00
dongsheng 046dd7dcf6 MDL-11511, revert the changes, see tracker 2008-04-17 08:11:23 +00:00
dongsheng f752e2fd72 MDL-11511, two new caps are introduced, see tracker, merged from MOODLE_19_STABLE 2008-04-17 05:42:13 +00:00
moodler 99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak 25322ba36f MDL-10990 4) added missing indexes into data module; merged from MOODLE_19_STABLE 2008-02-26 22:04:23 +00:00
skodak f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
moodler 7db989230f Added "notification" field, currently unused, to allow MDL-8377 2007-08-14 04:13:58 +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
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 04366d79cf MDL-10012 Implement grade_updated event triggers in Database 2007-06-03 19:36:20 +00:00
skodak efe12f6c22 MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes 2007-03-05 11:27:01 +00:00
toyomoyo 7900ecb02c MDL-5958, code for advanced search for db module from Elijah (HSU) 2007-02-26 06:56:05 +00:00
moodler 1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
skodak 40b6dd0116 MDL-5964 need html editor for comments in database mod + added format sql table field
MDL-7813 accessiblity fixes in comments
2006-12-13 23:09:34 +00:00
skodak 8e9eebe629 fixed risks associated with capabilitites in modules MDL-7174; merged from MOODLE_17_STABLE 2006-10-24 08:06:56 +00:00
moodler 8303eb8447 Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
stronk7 b017120ce0 Ops! I forgot to commit this 2 days ago! Now a lot of
data fields will be null!
2006-09-25 22:48:43 +00:00
vyshane 741c4d0b04 Upgrade to roles code for data module. 2006-09-20 17:46:20 +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
moodler 0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler 8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler 8ac4971405 Added JS template field for JavaScript if needed 2006-08-17 09:02:56 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +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
toyomoyo 6fe661e879 added rsstitletemplate field 2006-05-24 06:16:10 +00:00
toyomoyo 9023bc7f71 merged fix for 5428 2006-05-05 05:15:18 +00:00
moodler 20e294eeda Added field for CSS for database templates 2006-03-29 17:42:42 +00:00
ikawhero 649a83ffb6 Version bump - added 2 new fields to data table 2006-03-27 06:52:50 +00:00
vyshane 0a09100ff7 Update logging support. Bumped module version up. 2006-03-07 08:10:40 +00:00
toyomoyo 8e24bfe7e8 adding date created and date modified for comments 2006-02-27 02:06:35 +00:00
toyomoyo 256054828a adding 3 more fields 2006-02-08 04:35:43 +00:00
moodler cf3e199bce changes in search, sort etc 2006-02-03 08:11:36 +00:00
moodler dfe9354f2e db changes to data_content table 2006-01-19 09:06:22 +00:00
moodler 3d4b223a85 NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.

Please take a look and file bugs in the bug tracker under "Database module".

We urgently need
    - new icons for existing field types
    - testing on PostgreSQL install


Coming soon (?):

    - Many more field types:  calculation, checkbox, relation, date, datetime,
                              time, email, group, list, user, number, richtext
      (Please let us know if you are interested in developing any of these)

    - A way to save and restore "presets", which are field/template sets

    - Backup/Restore support

    - Groups Support

    - RSS support

Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00