Commit graph

923 commits

Author SHA1 Message Date
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
David Mudrak
18dd4a69d0 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
2011-10-27 21:58:45 +02:00
David Mudrak
01609c9ad9 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
	version.php
2011-10-24 22:13:01 +02:00
Petr Skoda
73b309e6a3 MDL-28627 remove buggy and obsolete KSES cleaning 2011-10-22 09:25:06 +02:00
Eloy Lafuente (stronk7)
22ca3e49e0 NOBUG - whitespace fixes (MDL-19488, MDL-27242, MDL-29435) 2011-10-17 10:19:59 +02:00
David Mudrak
998085c9f7 Dropping the uq_rater_per_item from the table grading_instances
It was realized that we may need multiple instances per one rater/item
to be able to 1) implement a draft instance and 2) eventually keep the
history of advanced grading.
2011-10-16 19:40:34 +02:00
David Mudrak
7ece4a0798 Merge branch 'rubric' of github.com:mudrd8mz/moodle into rubric 2011-10-13 22:45:30 +02:00
David Mudrak
20c207ab21 Merge branch 'master' into rubric
Conflicts:
	lib/db/upgrade.php
2011-10-13 22:42:47 +02:00
sam marshall
6282381d05 MDL-27242 Conditional availability dates should support time as well as day
Change also adds minor feature to date-time selector so you can specify the time it uses as default when the value is 0 (disabled).

Credit: This feature was developed collaboratively by Charles Fulton, Neill Magill, and me.
2011-10-13 10:23:23 +01:00
Eloy Lafuente (stronk7)
71e1a1f820 MDL-20306 Add course_category idnumber field: version bump and fix missing add_field() call 2011-10-10 23:54:40 +02:00
Andrew Robert Nicols
83cd9b163a MDL-20306 Add course_category idnumber field 2011-10-10 23:54:30 +02:00
David Mudrak
b7a6bb9ba8 MDL-29480 Adding new fields into grading_definitions 2011-10-07 22:43:02 +02:00
David Mudrak
2c86d85daf MDL-29480 Making the upgrade.php in sync with recent install.xml 2011-10-07 22:07:55 +02:00
David Mudrak
e8004aadc8 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/install.xml
	lib/db/upgrade.php
	version.php
2011-10-07 22:01:38 +02:00
Eloy Lafuente (stronk7)
943c662d62 fix permissions 2011-10-07 00:07:15 +02:00
Aparup Banerjee
80f01595af MDL-29089 gradebook: fixed incorrect precision 2011-10-05 15:14:27 +08:00
Aparup Banerjee
2fbc708186 Merge branch 'MDL-29089_grade_history_missing_columns2' of git://github.com/andyjdavis/moodle.git (resolved version.php conflicts) 2011-10-05 02:46:38 +08:00
David Mudrak
3da9e0a3cb MDL-29480 Database tables for the new advanced grading subsystem 2011-09-29 18:36:00 +02:00
Andrew Davis (andyjdavis)
70e61f7071 MDL-29089 gradebook: added missing columns to the history tables 2011-09-29 09:53:18 +08:00
Eloy Lafuente (stronk7)
9d8d55a00e Merge branch 'w37_MDL-29029_m22_admintools' of git://github.com/skodak/moodle 2011-09-19 18:26:55 +02:00
Petr Skoda
8e4c1a80b4 MDL-29029 move blog upgrade to admin tools
AMOS BEGIN
 MOV [bloglevelupgrade,core_admin],[pluginname,tool_bloglevelupgrade]
 MOV [bloglevelupgradedescription,core_admin],[bloglevelupgradedescription,tool_bloglevelupgrade]
 MOV [bloglevelupgradeinfo,core_admin],[bloglevelupgradeinfo,tool_bloglevelupgrade]
 MOV [bloglevelupgradeprogress,core_admin],[bloglevelupgradeprogress,tool_bloglevelupgrade]
AMOS END
2011-09-17 19:43:18 +02:00
Sam Hemelryk
89eda3eeaf MDL-29185 backup: Removed backup_log table and fixed the backup admin report 2011-09-16 15:51:23 +12:00
Aparup Banerjee
5433da6064 Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Sam Hemelryk
eb38d45b4e MDL-29189 course Minor fixups after code review 2011-09-13 11:17:18 +12:00
Sam Hemelryk
32ec60d142 Merged branch 'MDL-22232_easier_turn_off_notifications' from git://github.com/andyjdavis/moodle.git with conflict resolution 2011-09-12 20:18:27 +12:00
Sam Hemelryk
f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Andrew Davis (andyjdavis)
bb3546f3c2 MDL-22232 messaging: added the ability to temporarily disable notifications to a particular user 2011-09-12 14:05:14 +08:00
Rossiani Wijaya
ca896fdfcf MDL-27635 hub component: fixed default value for 'secret' field in 'registration_hubs' table 2011-09-12 10:25:46 +08:00
Tom Lanyon
365bec4c06 MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir 2011-09-10 10:35:46 +02:00