2088 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
754c2deab6 Merge branch 'MDL-32941' of git://github.com/mouneyrac/moodle
Conflicts:
	course/externallib.php
	lib/db/services.php
	version.php
2012-05-17 22:35:57 +02:00
Dan Poltawski
b24d1dbbad MDL-24419: redirect_if_major_upgrade_required version update
The conditional topics changes need users to go to /admin/index.php
2012-05-17 11:57:12 +08:00
Jerome Mouneyrac
6c6ec1d6b7 MDL-32941 use + operator instead array merge to avoid duplicate. Sort resulting array for better display to the client and for entring in the excluding algo. Exception reformatting. Minor formatting fixes. 2012-05-17 10:34:57 +08: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
Eloy Lafuente (stronk7)
0c408f5a3d NOBUG: Minibump to get latest WS installed 2012-05-16 16:28:59 +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
Eloy Lafuente (stronk7)
71d7bc34a8 weekly release 2.3dev 2012-05-11 12:18:06 +02:00
Dan Poltawski
3388649065 Merge branch 'MDL-28134_branch' of git://github.com/nebgor/moodle 2012-05-10 13:44:03 +08:00
Aparup Banerjee
ed01233ace MDL-28134 General : added branch variable to version.php for reliable docs versioned links. 2012-05-03 16:30:20 +08: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
Eloy Lafuente (stronk7)
e16e2300c5 weekly release 2.3dev 2012-05-04 13:10:40 +02: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
Dan Poltawski
e6236edebf MDL-31270 mod_assign: version dump
Introduce depdency from assignmentupgrade to mod_assign
2012-05-03 16:46:06 +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
Eloy Lafuente (stronk7)
aa753ac24f weekly release 2.3dev 2012-04-27 12:46:57 +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
e0ed91ba39 Merge branch 'MDL-29262' of git://github.com/stronk7/moodle
Conflicts:
	version.php
2012-04-23 12:42:16 +08: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
Eloy Lafuente (stronk7)
14e2704ad4 MDL-29262 backup: new setting to control the ttl of backup logs
Add one new backup setting, moving from the general CFG->loglifetime,
to be able to delete backup logged information often.
2012-04-22 21:23:55 +02:00
sam marshall
cf76b3353c MDL-32215 Course: Ensure section entries are unique on course, section 2012-04-19 15:16:56 +01:00
Dan Poltawski
ead4f180a0 weekly release 2.3dev 2012-04-19 17:47:01 +08:00
Dan Poltawski
668a499d89 weekly release 2.3dev 2012-04-12 13:29:01 +08:00
Aparup Banerjee
9ad535c550 weekly release 2.3dev 2012-04-05 16:39:52 +08:00
Dan Poltawski
da859ecf46 MDL-20438 Upgrade version number to triger /admin/ upgrade 2012-04-04 11:18:43 +08:00
Eloy Lafuente (stronk7)
a280078197 weekly release 2.3dev 2012-03-29 13:25:53 +02: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
c856a1f60b weekly release 2.3dev 2012-03-23 12:19: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
Eloy Lafuente (stronk7)
a2b30aa852 weekly release 2.3dev 2012-03-15 11:44:35 +01:00
Petr Skoda
436650b075 MDL-31985 convert all existing LOBs 2012-03-11 15:51:49 +01:00
Eloy Lafuente (stronk7)
3a016edc0b weekly release 2.3dev 2012-03-09 11:13:09 +01:00
Petr Skoda
e9e4a4a672 MDL-27982 convert all signed to unsigned and prevent adding of new unsigned columns
Conflicts, amended to use .02 versions:

	lib/db/upgrade.php, version.php
2012-03-06 12:03:59 +01:00
Eloy Lafuente (stronk7)
f88224624d MDL-29248 backup: delete user_files settings, lang strings and uses 2012-03-01 13:09:47 +01:00
Eloy Lafuente (stronk7)
5bbf3cb72b weekly release 2.3dev 2012-03-01 11:29:59 +01:00
Eloy Lafuente (stronk7)
c4a12afaf9 weekly release 2.3dev 2012-02-23 11:38:14 +01:00
Rajesh Taneja
aa803ceba2 MDL-29254 blog: added check in upgrade for summary and content to be null fields 2012-02-20 09:33:20 +08:00
Eloy Lafuente (stronk7)
0dde394db5 weekly release 2.3dev 2012-02-17 01:47:10 +01:00
Eloy Lafuente (stronk7)
5fc420e2ed weekly release 2.3dev 2012-02-13 01:17:41 +01:00
Eloy Lafuente (stronk7)
9e751fdbe3 MDL-27891 tag logs: minibump version 2012-02-08 11:43:40 +01:00
Eloy Lafuente (stronk7)
baa5cd8240 weekly release 2.3dev 2012-02-02 12:12:25 +01:00
Andrew Davis
8900213b92 MDL-29615 message: reversed the default for messagingallowemailoverride and added upgrade code so upgraded sites maintain consistent behaviour 2012-02-01 09:26:53 +07:00
Eloy Lafuente (stronk7)
216f6d8e9d weekly release 2.3dev (blame stronk7 for 0202 mistake)
On 20120102 version was incorrectly bumped to 2012-02-02. So,
until then (< 1mo) we are going to be incrementing decimal digits
only and not date ones (first 8).
2012-01-27 02:27:25 +01:00
Eloy Lafuente (stronk7)
f6b4ec2b4a weekly release 2.3dev (blame stronk7 for 0202 mistake)
On 20120102 version was incorrectly bumped to 2012-02-02. So,
until then (< 1mo) we are going to be incrementing decimal digits
only and not date ones (first 8).
2012-01-19 13:34:40 +01:00