Commit graph

923 commits

Author SHA1 Message Date
Petr Skoda
bd251bf9b7 MDL-22886 fixed crash during enrol upgrade if no enrolments present yet 2010-06-22 06:23:04 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +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
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
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
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
74180df287 MDL-21781 cohort tables upgrade code 2010-04-23 09:05:11 +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
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
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
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
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
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
09fa5f0463 rating MDL-21657 changed inner joins to just joins 2010-03-18 08:47:50 +00:00
Andrew Davis
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +00:00