Aparup Banerjee
99c3c503e0
MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts.
2012-06-29 11:41:09 +08:00
Mark Nelson
4eafabc2a6
MDL-29538 core_condition: Rebase with integration removed add table function
2012-06-26 15:18:54 +08:00
Mark Nelson
e01fbcf765
MDL-29538 core_condition: Integrated with the latest code, can now place user field conditions on sections as well
2012-06-26 15:18:53 +08:00
Sam Hemelryk
33e657c7e7
MDL-29538 core_condition: Pre-integration merge cleanup
...
* Fixed up database installation and upgrade code
* Reverted some whitespace optimisations to minimise conflicts
* Optimised commits made by Mark to reduce complexity and add tracker issue numbers
2012-06-26 15:18:53 +08:00
Mark Nelson
76af15bb4c
MDL-29538 core_condition: initial commit to add support for making things conditional on user profile fields
2012-06-26 15:18:51 +08:00
Sam Hemelryk
088c374a6d
Merge branch 'MDL-33430-reference-restore' of git://github.com/mudrd8mz/moodle
...
Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php
2012-06-22 11:56:49 +12:00
Dan Poltawski
026082b401
MDL-33915 - prevent use of rebuild_course_cache during upgrade
...
It depends on upgrade changes itself
2012-06-21 11:43:54 +08:00
David Mudrák
38ca2f1a83
MDL-33430 Add newcontextid and newitemid to backup_files_template
...
These new fields will be used to hold the new location of the file once
it is sent to the filepool during the restore.
2012-06-21 02:29:42 +02:00
Dan Poltawski
a80b5a0cf0
MDL-32908 - drop $USER->ajax
...
Its not been respected for some time and is just confusing
2012-06-19 15:07:18 +08:00
Dan Poltawski
4a5be0e949
MDL-33330 /lib/db/upgrade.php: fix stray semicolon
...
Breaking Oracle upgrade
2012-06-06 16:25:20 +08:00
Dan Poltawski
79c2b50980
Merge branch 'MDL-33330-files-reference' of git://github.com/mudrd8mz/moodle
...
Conflicts:
version.php
lib/db/upgrade.php
2012-06-06 16:18:30 +08:00
David Mudrak
6bbf31c395
MDL-33330 Create new unique index in files_reference
...
The combination of repositoryid and reference field is supposed to be a
unique identification of an external file. Because the reference is a
TEXT field, we can't use it to compose the index. So we use the
referencehash instead and the file API is responsible to keep it
up-to-date.
2012-06-05 14:07:24 +02:00
David Mudrak
8f47a60e4e
MDL-33330 Remap all instances of an external file to a single record in files_reference
2012-06-05 14:07:24 +02:00
David Mudrak
dccba8bcc9
MDL-33330 Populate referencehash field values
2012-06-05 14:07:24 +02:00
David Mudrak
5100365347
MDL-33330 Add referencehash field to the files_reference table
2012-06-05 14:07:19 +02:00
Aaron Barnes
46eca1f77e
MDL-32119 course completion: Removed unused database structure
2012-05-29 14:17:22 +12:00
Sam Hemelryk
e6f5528585
MDL-28949 upgrade: Split course completion upgrade into smaller chunks
2012-05-29 08:50:45 +12:00
Sam Hemelryk
bd633dda9a
Merge branch 'MDL-28949d' of git://github.com/srynot4sale/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-05-29 08:49:29 +12:00
Dan Poltawski
3f1bca9d56
Merge branch 'master_MDL-27368' of git://github.com/danmarsden/moodle
...
Conflicts:
version.php
lib/db/upgrade.php
2012-05-28 14:32:16 +08:00
Aaron Barnes
424a19b106
MDL-28949 course completion: Database structure fixes
2012-05-28 16:13:25 +12:00
Dan Marsden
d2e3a1b4f9
MDL-27368 Clean up invalid course completion records
...
keep oldest timestamps from all records
2012-05-28 08:55:57 +12:00
Dongsheng Cai
7051415cca
MDL-28666 Files API and db changes
...
1. Fix db regression
2. Unit tests for is_external_file() and rename exception
3. Searching reference method exclude draft files
2012-05-21 11:57:54 +08:00
Dongsheng Cai
6723372514
MDL-28666 Extends repository to support references
...
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Eloy Lafuente (stronk7)
94dc3c7d1e
MDL-24419 (5): Coding style cleanup
2012-05-17 00:51:50 +02:00
Eloy Lafuente (stronk7)
dd420abadf
Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
lib/db/upgrade.php
lib/phpunit/lib.php
version.php
Fixed:
lib/db/upgrade.php - duplicate course->sectioncache add code
lib/db/install.xml - cleanup needed because xmldb editor was not used
lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
Andrew Robert Nicols
74b714df7e
MDL-32005 Add idnumber field to groups and groupings
2012-05-15 09:38:51 +01:00
sam marshall
ce4dfd2703
MDL-24419 (4): Add conditional availability support to sections; section cache
...
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.
This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)
In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.
The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Sam Hemelryk
bbb0a6eb02
Merge branch 'MDL-32509' of git://github.com/danpoltawski/moodle
2012-05-08 18:12:28 +12:00
Petr Skoda
c119a2eeb5
MDL-31617 add course sortorder index to improve perf
2012-05-05 10:55:57 +02:00
Dan Poltawski
9fa74379dc
MDL-32509 enablecourseajax: remove setting from DB
2012-05-05 11:00:47 +08:00
Dan Poltawski
b9bcdb54da
MDL-32505 course: drop course_display table and settings
2012-05-04 10:52:56 +08:00
Dan Poltawski
1156d38d94
MDL-32504 course: Add coursedisplay setting to course table
...
This will replace the course_display database table
2012-05-04 10:49:52 +08:00
Dan Poltawski
0dda790c05
Merge branch 'w18_MDL-32628_m23_avatarperf2' of git://github.com/skodak/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-05-04 09:28:41 +08:00
Petr Skoda
4d254790c4
MDL-32628 add revision for user avatar images
...
This should finally resolve all avatar caching issues and should also help with performance.
2012-04-30 23:36:47 +02:00
Petr Skoda
fa5306878b
MDL-32628 fix all deleted users to not have picture flag
2012-04-27 14:44:18 +02:00
Eloy Lafuente (stronk7)
2ea2549e13
MDL-31914 db fix - cannot use table aliases on DELETE statements. Credit goes to Andrew Nicols (LUNS).
2012-04-24 13:07:11 +02:00
Andrew Robert Nicols
ede323e2b3
MDL-31914 Ensure that completion criteria are deleted when removing a course module
...
Conflicts:
lib/db/upgrade.php
version.php
2012-04-24 12:25:53 +02:00
Dan Poltawski
e7e0f8d27f
Merge branch 'MDL-32215-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
course/simpletest/testcourselib.php
lib/db/upgrade.php
version.php
2012-04-23 12:20:57 +08:00
sam marshall
cf76b3353c
MDL-32215 Course: Ensure section entries are unique on course, section
2012-04-19 15:16:56 +01:00
Sam Hemelryk
f9488a6f73
MDL-30981 upgrade: Fixed a couple of phpdoc typos
2012-04-02 12:27:23 +12:00
Eloy Lafuente (stronk7)
39b90b5152
MDL-30981 Upgrade API: Added related phpdocs
2012-04-02 00:40:13 +02:00
Dan Poltawski
a4051353d1
Revert "Merge branch 'MDL-31914-master-4' of git://git.luns.net.uk/moodle"
...
This reverts commit 296c0247c6
, reversing
changes made to 2511b0742a
.
Conflicts:
lib/db/upgrade.php
version.php
2012-03-29 16:07:30 +08:00
Petr Skoda
e63f95d7c1
MDL-12730 new debug levels (support strict) + upgrade from old ones
2012-03-28 16:39:42 +02:00
Eloy Lafuente (stronk7)
296c0247c6
Merge branch 'MDL-31914-master-4' of git://git.luns.net.uk/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-03-27 10:10:17 +02:00
Sam Hemelryk
6f3570ffec
MDL-19125 upgrade: Fixed assignment typo
2012-03-20 10:34:30 +13:00
Sam Hemelryk
4354486d30
MDL-19125 upgrade: Fixed typo
2012-03-19 11:01:50 +13:00
Sam Hemelryk
8149d6240a
MDL-19125 lib: Fixed up inline comments during integration
2012-03-19 10:08:47 +13:00
Andrew Robert Nicols
cac06a034d
MDL-31914 Ensure that completion criteria are deleted when removing a course module
2012-03-16 16:07:05 +00:00
Tim Hunt
9665ecd275
MDL-19125 module restrictions: use a capability
...
1. This used to use a complex legacy system which was buggy.
2. It now relies on a new mod/...:addinstance capability for each module.
3. All the legacy code has been stripped out.
4. Old restriction data is upgraded by creating the necessary permission
overrides. Similarly, when old backups are restored, the old settings
are converted to be overrides.
5. The required addinstance capabilities will be added as a separate
commit.
6. There is a developer debug warning about modules that are missing the
addinstance capability, unless they are MOD_ARCHETYPE_SYSTEM mods.
2012-03-15 17:11:27 +00:00
Petr Skoda
436650b075
MDL-31985 convert all existing LOBs
2012-03-11 15:51:49 +01:00