1125 Commits

Author SHA1 Message Date
Petr Skoda
d69bf76ec7 MDL-23106 files created in one step 2010-07-06 16:58:12 +00:00
Petr Skoda
0b3681a495 MDL-23106 external_tokens created in one step 2010-07-06 16:54:35 +00:00
Petr Skoda
f6882162cb MDL-23106 streamlined ext services table creation 2010-07-06 16:52:51 +00:00
Petr Skoda
a32799ab3b MDL-23106 files_cleanup is history 2010-07-06 16:49:26 +00:00
Petr Skoda
e51b52203d MDL-23106 all tables created in upgrade.php MUST be present in install.xml - we will most probably drop the two old blocks tables before release but we can not allow exceptions like this, sorry 2010-07-06 16:47:35 +00:00
Petr Skoda
826017602d whitespace fixes 2010-07-06 16:31:48 +00:00
Petr Skoda
3bfadd294e fixed whitespace 2010-07-06 16:29:00 +00:00
Petr Skoda
698fbbb065 MDL-23106 portfolio_log created in one step 2010-07-06 16:28:15 +00:00
Petr Skoda
fcd1c1c2ec MDL-23106 portfolio_tempdata created in one step 2010-07-06 16:26:54 +00:00
Petr Skoda
f516f03bf9 MDL-23106 removing unnecessary conversion of message_providers data - not installed yet in regular upgrades now 2010-07-06 16:22:52 +00:00
Petr Skoda
6389e70a03 MDL-23106 fixing 2.0 upgrade paths - moving core table tweaks to the very beginning so that it is available for the whole upgrade 2010-07-06 16:18:39 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
39bc3eb59a MDL-23104 cleanup after loancalc, lams, exercise and journal if no instances present - these were moved to contrib and we do not want them to appear on during upgrade page if not used at all 2010-07-06 12:16:00 +00:00
Eloy Lafuente
4086bc776a MDL-21840 backup - unify temp table support for backup & restore (more coming) 2010-07-05 23:22:12 +00:00
Petr Skoda
7ce1f7c987 MDL-13563 necessary DB changes needed for proper suspending of users (prevention of log in), this will be handy 2010-07-05 21:30:58 +00:00
Eloy Lafuente
f60f4666f9 MDL-21432 backup - added operation to separate backup & restore 2010-07-05 16:37:50 +00:00
Petr Skoda
1c5f926de9 MDL-22992 cleaning repository upgrade path, please note core functions MUST NOT be called from the main upgrade script; the installation of plugins should be handled through each install.php 2010-07-04 12:36:46 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Petr Skoda
e80cfb8438 MDL-22943 fixed enrol upgrade problem, credit goes to Matt Campbell 2010-06-27 09:30:59 +00:00
Dan Marsden
9864dc9313 typo MDL-22941 inert_record should be insert_record 2010-06-26 00:42:39 +00:00
jerome mouneyrac
f57c4047b1 unregistration MDL-21936 add site unregistration 2010-06-25 11:36:52 +00:00
Eloy Lafuente
4751e470db MDL-22503 blocks upgrade - avoid problems with orphaned sticky blocks 2010-06-22 09:50:30 +00:00
Petr Skoda
bd251bf9b7 MDL-22886 fixed crash during enrol upgrade if no enrolments present yet 2010-06-22 06:23:04 +00:00
Martin Dougiamas
f7c6cb8033 MDL-22882 fixed what looks like a typo with itemidid 2010-06-22 02:00:45 +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
Martin Dougiamas
17957b8f7f Community block MDL-19314 Fixing default capabilities for default roles for community block 2010-06-18 03:48:37 +00:00
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