1008 Commits

Author SHA1 Message Date
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
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Eloy Lafuente
ee4d3dee7a MDL-21432 backup 2.0 - initial commit. backup DB structures 2010-04-21 14:05:12 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
6fbaf7f8b8 fixed my own sloppy typos in comments 2010-04-18 10:14:04 +00:00
Andrew Davis
80350ef6a0 rating MDL-22063 made the scale id column signed to allow for the +ve -ve scale id hack 2010-04-13 03:33:41 +00:00
Petr Skoda
2357ab4921 MDL-15252 language list refactoring 2010-04-10 21:22:15 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda
6f4f82f262 MDL-19157 adding missing all hosts mnet entry 2010-04-06 19:37:59 +00:00
Petr Skoda
f0b9ee18e8 MDL-21146 fixed upgrade regression - we need to create all necessary "files" fields before we start the upgrade, it is too late to do that at the end; reshuffling the field order to mach the general convention of putting dates last; splitting upgrade blocks because we should cleanup the upgrade path right before releasing stable 2.0 2010-04-06 18:45:02 +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
Dongsheng Cai
d1d4813ff2 "MDL-21146, improve file license code" 2010-03-31 03:08:05 +00:00
Petr Skoda
b64b465ca1 MDL-21146 adding missing license install code 2010-03-30 19:59:54 +00:00
Dongsheng Cai
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Andrew Davis
67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Dan Marsden
75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
Andrew Davis
d2086d65db rating MDL-21657 shifted upgrade_module_ratings() 2010-03-19 08:54:20 +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
cd1bca899f MDL-21788 string and setting cleanup of session regen, not needed in head where it is always on 2010-03-19 08:00:29 +00:00
Andrew Davis
3be8b5b8c3 rating MDL-21657 modified moodle/rating:rate risks 2010-03-19 07:37:51 +00:00
Dan Marsden
1c5517a5a6 Assignment Events MDL-21861 - trigger events when files are uploaded in assignment to allow further handling - particularly for plagiarism prevention 2010-03-19 06:20:12 +00:00
Andrew Davis
09fa5f0463 rating MDL-21657 changed inner joins to just joins 2010-03-18 08:47:50 +00:00
Andrew Davis
e116a81833 rating MDL-21657 improved the default rating permissions 2010-03-18 07:14:49 +00:00
Andrew Davis
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +00:00
Andrew Davis
5db9b119bd rating MDL-21657 moved upgrade of data table to mod/data/ upgrade script and updated install.xml 2010-03-17 05:50:08 +00:00
Andrew Davis
019cf6ce82 rating MDL-21657 added something to upgrade script to ensure there are no problems due to db/install.php having lagged behind unpgrade.php 2010-03-17 02:05:31 +00:00
Andrew Davis
e32a0646b6 rating MDL-21657 fixed rating table name in install.xml 2010-03-17 01:49:52 +00:00
Andrew Davis
0f51ca7922 rating MDL-21657 changed table from ratings (plural) to rating (singular) 2010-03-16 09:20:23 +00:00
Andrew Davis
19fae1198c rating MDL-21657 changed capabilities from ratings (plural) to rating (singular) 2010-03-16 09:02:34 +00:00
Andrew Davis
54e42e0bf2 rating MDL-21657 Switched from table ratings to rating 2010-03-16 08:57:57 +00:00
Dongsheng Cai
249c4f606d "MDL-20904, web services for files" 2010-03-16 08:29:08 +00:00
Andrew Davis
158cd5d91a rating MDL-21657 Fixed 2 upgrade problems 2010-03-16 06:59:34 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Eloy Lafuente
157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +00:00
Eloy Lafuente
2fdde5d178 MDL-21666 backup & restore caps - upload/download renamed 2010-02-19 18:33:26 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Penny Leach
c9606565ca mnet MDL-17629 fixed regression in fix_mnethostids 2010-02-18 01:17:43 +00:00
jerome mouneyrac
e9b66095a3 webservice MDL-21524 add role_assign and role_unassign ws functions 2010-02-16 07:07:04 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
jerome mouneyrac
fb79269bef webservice MDL-20808 add user lib.php, add web service user functions, rename $usercustomfields variable into profile_user_record() function 2010-02-11 04:02:04 +00:00
Eloy Lafuente
073d380425 MDL-21407 tex filter - trim leading whitespace from latex preamble. Merged from 19_STABLE 2010-02-03 09:23:37 +00:00
Rossiani Wijaya
d3d393ab37 MDL-21226 - add 'timecreated' column to user table. During an update, the column will copy the value from 'firstaccess' column. if the account never been access, it will be set to current time of the update.
also, modified the files for signup, add new user, and upload user to initialize the value of timecreated field.
2010-02-03 04:25:20 +00:00
Penny Leach
f6852f02d6 mnet MDL-17863 increase length of portno field in the host table (so 443 works)
merged from MOODLE_19_STABLE
2010-02-01 04:19:20 +00:00
jerome mouneyrac
52dd27bfbc webservice MDL-17135 remove old webserviceuse capability. It is now controlled by protocol capabilities. Add warning to protocol capabilities. 2010-02-01 03:23:35 +00:00
Penny Leach
5b7984a57a mnet MDL-21473 add enabled flag on to remote_rpc mnet table 2010-01-29 01:38:47 +00:00
Penny Leach
a6e9dafe4a mnet MDL-21473 add plugintype&name fields to new mnet_remote_rpc table 2010-01-29 01:05:24 +00:00
Penny Leach
8586dbe2a5 mnet MDL-21473 make new tables for remote functions that don't exist locally
I also fixed up two columns in the existing table that had underscores in them
2010-01-28 22:46:34 +00:00