Commit graph

951 commits

Author SHA1 Message Date
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
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
Sam Hemelryk
5f5ee19125 MDL-29254 Fixed whitespace 2012-02-20 18:08:33 +13:00
Sam Hemelryk
fcd6bdd4fa Merged MDL-29254 with conflict resolution 2012-02-20 18:07:13 +13: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
Sam Hemelryk
bc5fbbb3cd Merged branch wip-MDL-30521 with conflict resolutions 2012-02-20 10:32:08 +13:00
Rajesh Taneja
669bdcabc9 MDL-30521 blog: Updated uniquehash field preceision to 255 in post table 2012-02-14 14:18:55 +08: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
Marina Glancy
91331b6b96 MDL-31072: Added indexes to table role_assignments to speed up work in many-users-many-contexts environments 2012-01-13 10:12:17 +08:00
Eloy Lafuente (stronk7)
ae95489d68 MDL-30610 add missing savepoint to get the upgrade checks passing.
Note the savepoint is 100% unreachable, because of the exit() call.
But it's needed to have all the upgrade checks (CI) balanced and
passing.
2012-01-02 19:48:33 +01:00
Petr Skoda
5c79b8ed91 MDL-30610 prevent upgrades from pre2.2.0 2011-12-23 10:42:25 +01:00
Petr Skoda
2e210163ee MDL-30610 remove outdated main upgrade code 2011-12-23 10:38:13 +01:00
Eloy Lafuente (stronk7)
52a2306386 MDL-20245 grade: fix version numbers
This commit puts the 22_STABLE and master main
versions back to "on-sync" mode (very first
weeks after major release).
2011-12-21 12:17:22 +01:00
Andrew Davis
8e54ce9717 MDL-20245 grade: increased the length of the user_preferences::value column and added an exception to set_user_preference() is this new length is exceeded
Conflicts:

	lib/db/upgrade.php
	version.php
2011-12-21 12:13:33 +01:00
Eloy Lafuente (stronk7)
43cf3165f1 MDL-28180 backup - take rid of dupes in course_completion_aggr_methd
Conflicts:

	version.php
2011-12-12 00:31:29 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda
8620bfee90 MDL-30517 use alternative block delete to prevent upgrade problems 2011-11-30 08:50:28 +01:00
Aparup Banerjee
3a59d04c65 MDL-30268 Web service : resolved version number conflict 2011-11-21 14:47:23 +08:00
Eloy Lafuente (stronk7)
8a9426bc17 MDL-29350 Prevent memory/time problems if there are zillions of combinations 2011-11-17 20:10:02 +01:00
Jerome Mouneyrac
af03513f93 MDL-30268 add 'Can download files' field to service 2011-11-16 11:51:03 +08:00
Henning Bostelmann
6336bd914a MDL-29350 Prevent duplication of groupings when copying activities
This patch also includes a database upgrade to correct data produced as a
result of this bug.
2011-11-15 11:12:40 +00:00
Sam Hemelryk
1ae9aa2b8f Merged MDL-29108 Advanced grading 2011-11-14 22:01:05 +13:00
David Mudrak
71ab436aa9 MDL-29108 Advanced grading - renaming DB fields formid to definitionid
As a response to Sam's review (7.1 and 7.3)
2011-11-13 14:03:38 +01:00
Eloy Lafuente (stronk7)
8ac9d33f49 Merge branch 'MDL-26647-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/db/upgrade.php
	report/completion/index.php
	report/progress/index.php
	version.php
2011-11-11 03:37:55 +01:00
David Mudrak
241d9463de MDL-29798 Final clean-up before submitting for the integration review 2011-11-09 22:08:09 +01:00
sam marshall
e4aec5bed3 MDL-26647 (6) Support showuseridentity on grader report, quiz report, SCORM report 2011-11-04 13:57:17 +00:00
sam marshall
5c60a847f5 MDL-26647 (1) 'extrauserselectorfields' -> 'showuseridentity', add capability
This change:
- Renames the existing setting 'extrauserselectorfields' to 'showuseridentity'
  in preparation for using it in more places. (Upgrade change, new version.)
- Adds a new capability moodle/site:viewuseridentity, now required in order
  to see the extra fields; if you don't have the capability, you don't see them
- Slightly improves the display of extra fields in user selector list; it used
  to be like 'sam marshall, 01234567, email@address' and is now
  'sam marshall [01234567, email@address]' ie the fields are in square
  brackets
- Turns feature on for the group selector - the feature was enabled for other
  user selectors but not for the group selector. Tim did the disable code, he
  thinks this may be to do with more people having access to group selector -
  probably not a problem now it is controlled by capability.
2011-11-04 13:57:08 +00:00
David Mudrak
d6d341d09b Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
	version.php
2011-11-02 23:17:08 +01:00
David Mudrak
3f3ee7114e MDL-29794 Do not offer re-sharing of unmodified forms
The patch introduces a new field 'timecopied' that holds the timestamp
of when the given form was cloned last time. Using this field, we can
decide whether the form can be actually re-shared or not.

Note that the logic just hides the icon. It is meant as a usability
feature, not any real protection from sharing.
2011-11-01 16:10:12 +01:00
David Mudrak
7622ae95dc MDL-29108 Improved support for form definition status
Every grading form can be basically in either DRAFT state (currently
being edited) or READY state (available for usage). For shared
templates, the status is not relevant at the moment and they are
automatically in the READY state.
2011-11-01 12:32:06 +01:00
Petr Skoda
f68cef22b9 MDL-29923 remove all traces of experimental global search
Hopefully it will be replaced by something fully functional soon, see http://moodle.org/mod/forum/discuss.php?d=189023
2011-10-28 10:20:00 +02:00