Commit graph

923 commits

Author SHA1 Message Date
andyjdavis
0d92d04f2e profiles MDL-17201 added an index on the table user_info_data 2011-01-25 11:58:35 +08:00
Dongsheng Cai
b1db1b6e8a MDL-26116, added default value to tag_instance.tiuserid field 2011-01-25 11:24:03 +08:00
Eloy Lafuente (stronk7)
29650825ad PULL-99, MDL-25929 progresstrackedroles out. Fixed conflicts and whitespace 2011-01-24 11:55:57 +01:00
Eloy Lafuente (stronk7)
a81d26ac36 NOBUG: Fix whitespace 2011-01-24 11:43:59 +01:00
sam marshall
89b4ffe617 completion MDL-25929 Added upgrade change to remove unused setting 2011-01-18 12:55:58 +00:00
Petr Skoda
e565c9baf7 Merge branch 'MDL-25789' of git://github.com/samhemelryk/moodle 2011-01-17 21:22:43 +01:00
Sam Hemelryk
6d02316093 lib-db MDL-25790 Added missing rating indexs on existing 2.0 sites 2011-01-14 16:19:12 +08:00
Sam Hemelryk
ffec817ed3 lib-db MDL-25789 Corrected discrepancies in old upgrade code and install.xml 2011-01-14 15:36:59 +08:00
Sam Hemelryk
15257dd181 lib-db MDL-25790 Added code to drop adodb_logsql if it exists 2011-01-14 15:26:48 +08:00
Sam Hemelryk
43c984578a lib-db MDL-25790 Fixed up version numbers now that 2.0.1 has been released 2011-01-14 14:22:46 +08:00
Sam Hemelryk
39f0ceb2cb lib-db MDL-25790 Added conditional checks around upgrade code so that it is only executed if needed. See MDL-25789 2011-01-14 11:52:52 +08:00
Sam Hemelryk
2bddef731a lib-db MDL-25790 Added upgrade code to fix database discrepancies between a fresh install and an upgrade 2011-01-14 11:52:52 +08:00
Eloy Lafuente (stronk7)
6af80cae01 MDL-24600 profiling - add xhprof integration 2010-12-20 21:41:45 +01:00
Eloy Lafuente
cbb9e9b8b4 MDL-25310 backup - some minor tasks related to cleaning/old options 2010-11-18 21:34:01 +00:00
Petr Skoda
e47c78f929 MDL-25031, MDL-25198 fixed use of proper table prefixes in blocks upgrade and fixed invalid DML call in questions ugprade 2010-11-15 05:52:33 +00:00
Dongsheng Cai
675e7a425b MDL-25198, fixed incorrect sql, protect question image migration code by field_exists check 2010-11-15 02:54:31 +00:00
Tim Hunt
a9efae50e3 question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.

Also, not all the calls to format_text had been updated to use the values in the new format columns.

I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
David Mudrak
8b2918a425 MDL-25072 convert $CFG->disablecourseajax to $CFG->enablecourseajax 2010-11-09 11:55:11 +00:00
Petr Skoda
b871436148 MDL-25031 ignore invalid block instances
pagetypepattern can not be null, so we ignore these until we find a way to fix them properly, sorry
2010-11-08 03:28:54 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Dongsheng Cai
f776e221e5 MDL-24888, fixed tags itemtype in lib/db/upgrade.php 2010-11-02 03:26:10 +00:00
David Mudrak
f8392c810c MDL-24960 emoticon admin settings: fixed a bug in the upgrade path
I forgot to unset the $CFG->emoticon from the memory so the upgrade
process still had the old emoticons format loaded in the memory which
led to coding exception.
2010-11-01 09:35:57 +00:00
Sam Hemelryk
3b59524d31 blogs MDL-24875 Increased uniquehash field size to 255 and added a str length check to external blog syncing. 2010-10-27 05:25:00 +00:00
Petr Skoda
fad1178612 MDL-24694 fixing broken upgrade once more - this step was skipped because two blocks had the same version number 2010-10-26 13:04:33 +00:00
Andrew Davis
018f4f996d message MDL-24771 moved the upgrade code 2010-10-26 08:45:51 +00:00
Andrew Davis
14a0e7ddff message MDL-24771 another big commit of messaging fixes 2010-10-26 08:00:29 +00:00
Aparup Banerjee
39e171ac93 assignment MDL-24694
- added message provider to manage assignment's messaging
- user_preferences.name length changed form 50 to 255 due to long messaging preference names.
2010-10-26 06:46:01 +00:00
Andrew Davis
a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
David Mudrak
f61b376873 MDL-24777 upgrade the emoticons settings into the new format, using the default values 2010-10-23 18:44:04 +00:00
Petr Skoda
e76ed293bb MDL-24772 fixed a theoritical problem with sites that do not have any enrollable roles with moodle/course:view, credit goes to Tim Lock 2010-10-23 10:48:25 +00:00
Andrew Davis
d3dbcf5b58 gradebook MDL-24721 new installs of Moodle 2.0 were missing the hidden column from grade_categories 2010-10-19 07:17:45 +00:00
jerome mouneyrac
daff57fb3b registration MDL-24641 get language code from the full language list codes, not from the Moodle language package code 2010-10-13 09:13:23 +00:00
Petr Skoda
96e890bbf5 MDL-24520 use different name if manager role already exists 2010-10-05 08:25:58 +00:00
Sam Hemelryk
7f38a28d41 lib-db-upgrade MDL-24490 user description now big text 2010-10-03 09:42:19 +00:00
Sam Hemelryk
20770c9f51 db-upgrade MDL-24487 Fixed incorrect parentcontext when upgrading. 2010-10-03 07:45:03 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
f7e17018f9 MDL-24302 removing multiple field from block table in install.xml - it was already removed in upgrade once 2010-09-20 19:13:07 +00:00
David Mudrak
0eadebb1f6 MDL-24187 mnet: fixed sso_jump_url for moodle application 2010-09-17 14:10:20 +00:00
Petr Skoda
650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
Tim Hunt
488706558f blocks upgrade MDL-22693 We also need to drop another old index, on sites that were upgraded from 1.9 2010-09-15 10:25:09 +00:00
jerome mouneyrac
56c6138029 community hub MDL-24215 change the site secret key for get_site_identifier in the registration process => increase the DB field size + change the confirmation form to the get_site_identifier TEXT format 2010-09-15 08:50:32 +00:00
Petr Skoda
4be6e404d2 MDL-24116 dropping tables that were used in old xmldb test suite, the tests will be moved to functional db tests in subsequent commits 2010-09-13 17:33:01 +00:00
Tim Hunt
39c763645e blocks upgrade MDL-22693 Forgot to change the precision of the block_instances.pagetypepattern column to 64 chars. Do it now.
You have to drop and re-create the associated index, otherwise this will not work, at least on Postgres.
2010-09-13 13:01:34 +00:00
Petr Skoda
d0b6f92a23 MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details 2010-08-25 21:45:34 +00:00
Dongsheng Cai
fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
Petr Skoda
d3da2ae51b fixed typos 2010-08-04 09:45:21 +00:00
Petr Skoda
3ec8f360cf MDL-23628 removed log_display upgrade leftovers 2010-08-04 09:44:25 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00