Commit graph

1048 commits

Author SHA1 Message Date
jerome mouneyrac
755f96f8cf Community block MDL-19314 add community block access control (two new capability: moodle/community:add and moodle/community:download) 2010-06-08 02:21:50 +00:00
Dongsheng Cai
f79321f1b8 MDL-22548, added sortorder field to files table, drop mainfile field from resource table, use sortorder to decide main file 2010-05-28 07:29:11 +00:00
Martin Dougiamas
cde82a41b2 MDL-22456 Fixed versions for recent upgrade 2010-05-28 05:40:19 +00:00
aparup
66b250fd9d obj:idnumber undefined notice MDL-22456 fixed and committed into HEAD. 2010-05-28 01:53:09 +00:00
Sam Hemelryk
e34a326f72 course-section MDL-22262 Added a summaryformat field to the database and implemented it when editing/viewing sections and backup 2010-05-27 03:07:54 +00:00
Eloy Lafuente
7874b33dd1 MDL-22503 upgrade - fixing typo. How is it possible this to be here? 2010-05-25 18:25:50 +00:00
Eloy Lafuente
57c3a35887 MDL-22503 blocks upgrade - delete orphan block instances before enforcing NOT NULL constraints 2010-05-25 15:42:49 +00:00
jerome mouneyrac
2a648ff2c2 publication MDL-19315 add hub listing status checking functionality 2010-05-25 08:26:16 +00:00
Petr Skoda
bf34822b9d MDL-22547 course->legacyfiles switch implemented 2010-05-22 13:10:05 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Petr Skoda
39668e9beb MDL-22544 html purifier now default cleaning engine - die kses die 2010-05-21 11:13:52 +00:00
Petr Skoda
6167660806 fixed inconsistent whitespace and obsolete use of $result in upgrades 2010-05-20 09:09:08 +00:00
Petr Skoda
906fb8f883 MDL-17445 course deletion cleanup and adding new event that is triggered after removing course content 2010-05-20 07:59:13 +00:00
Petr Skoda
adf176d711 MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation 2010-05-18 16:59:08 +00:00
Martin Dougiamas
aaf133838c old admin blocks MDL-22475 Goodbye admin and admin_tree. You were good to us. But now we have Settings. 2010-05-16 16:19:27 +00:00
Martin Dougiamas
0fa096bbca MDL-19315 Renaming published_courses table to course_published (Coding guidlines!!) 2010-05-16 16:06:15 +00:00
jerome mouneyrac
178097a0c0 course publication MDL-19315 retrieve previously published information when republished 2010-05-13 08:49:13 +00:00
Dongsheng Cai
c4c3b90734 MDL-13766, fix alfresco version number 2010-05-07 06:36:08 +00:00
Eloy Lafuente
5cada36315 MDL-22366 upgrade - always drop DB objects conditionally 2010-05-06 16:03:02 +00:00
Martin Dougiamas
0184a3fd45 MDL-19124 Reimplementing the My Moodle default blocks for upgraded sites, to match new installs 2010-05-04 16:17:41 +00:00
Martin Dougiamas
345667cd29 MDL-19124 Reverting the core upgrade of blocks - they aren't all installed yet at this time :( 2010-05-04 15:01:31 +00:00
Martin Dougiamas
2290399ee8 MDL-19124 Make sure upgrading sites get the default blocks 2010-05-04 13:20:29 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Eloy Lafuente
a934bd23ff MDL-21839 backup - added new backup logs table and cleaned some anymore in use 2010-05-02 17:35:51 +00:00
Petr Skoda
64fc50d0fc MDL-21655 fixing regression, manager does not need mnet caps 2010-05-02 17:05:35 +00:00
Eloy Lafuente
57ca97b3a7 MDL-21668 backup - New capabilities creation 2010-05-01 16:42:29 +00:00
jerome mouneyrac
07ab0c80ec hub MDL-19309 new site registration form + course publication + community block 2010-05-01 05:05:55 +00:00
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00
Eloy Lafuente
1f8bacd20f MDL-22145 backup - allowing longer backup types in DB 2010-04-28 21:42:50 +00:00
Dongsheng Cai
442636301f MDL-19839, rename file area for comments block, and migrating old comments in that area, thanks Eloy's migrating sql 2010-04-28 06:08:31 +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
Dan Marsden
30b5ee6b06 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:25 +00:00
Dan Marsden
9a3c870ae3 Plagiarism Lib MDL-13680 - fix upgrade bug 2010-04-28 02:12:46 +00:00
Dan Marsden
e3297179d7 Plagiarism Lib MDL-13680 - something failing here. 2010-04-28 01:44:15 +00:00
Dan Marsden
cc3b3fae5d Plagiarism Lib MDL-13680 - add Plagiarism lib support for modules. - initially including the assignment module and Turnitin service - Backup deliberately excluded at this stage and I expect some of the file handling to change slightly before 2.0 release. 2010-04-27 21:52:07 +00:00
Petr Skoda
fddf5b3d3f MDL-21781 improved cohort table comments 2010-04-23 09:17:24 +00:00
Petr Skoda
3f791403b3 MDL-21781 cohort capabilities 2010-04-23 09:05:56 +00:00
Petr Skoda
74180df287 MDL-21781 cohort tables upgrade code 2010-04-23 09:05:11 +00:00
Petr Skoda
f733845d75 MDL-21781 cohorts db structure 2010-04-23 09:04:19 +00:00
Sam Hemelryk
0f4ab67d84 course MDL-20628 Added the ability to name a course section, thanks Michael for the initial patch 2010-04-23 07:17:21 +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
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