Eloy Lafuente (stronk7)
21406f66e0
Merge branch 'MDL-65646-master' of git://github.com/andrewnicols/moodle
2019-06-20 00:29:56 +02:00
Andrew Nicols
29c442c558
MDL-65646 core: Move component storage to json
2019-06-13 12:26:00 +08:00
Dmitrii Metelkin
657cc33be9
MDL-65622 core: add grade_item_created event
2019-06-07 07:38:41 +10:00
Eloy Lafuente (stronk7)
11cdea3fad
MDL-65201 backup: amend tests to apply for the final agreed criteria
...
backup nextstarttime ASC
course timemodified DESC
2019-06-06 11:16:01 +02:00
Eloy Lafuente (stronk7)
bcd4862e84
MDL-65201 backup: fix wrong sorting that was missed on integration
2019-06-06 10:08:02 +02:00
Matt Porritt
c2716719a6
MDL-65201 Backup: Automated backup course ordering
...
This patch adds sort ordering to the way courses are
automatically backed up. It sets the following preference:
Backup courses that do not have an entry in backup_courses first,
as they are likely new and never been backed up.
Backup courses that have the oldest next start time in backup_courses.
Give preference to most recently modified courses over other courses.
2019-06-04 23:09:57 +00:00
Dmitrii Metelkin
2c7636490a
MDL-65326 backup: check caps exist before assigning
2019-05-28 11:09:51 +10:00
Eloy Lafuente (stronk7)
795304597f
MDL-65643 backup: Bump release to 3.8
2019-05-19 21:11:05 +02:00
Eloy Lafuente (stronk7)
c9a1a6341c
MDL-65571 versions: bump all versions and requires near release
...
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Eloy Lafuente (stronk7)
3c62200fa0
MDL-65498 backup: Add a couple of missing destroy() calls
...
Specially noticeable under Windows, where some resources/files
are kept open/busy/locked, causing all sort of problems, easily
detectable in phpunit resets.
2019-05-06 00:01:55 +02:00
Damyon Wiese
172117618b
MDL-60851 backup: coding style fixes
2019-05-01 08:49:35 +08:00
Damyon Wiese
a1bda6b152
MDL-60851 backup: Sanitise setting dependencies
...
The only different between each setting dependency type is the evaluation of the condition,
and the mform js validation arguments - so that should be the only thing that is extended
by each subclass.
2019-05-01 08:49:35 +08:00
Damyon Wiese
81cbb5b4ef
MDL-60851 backup: Fix undefined $value
2019-05-01 08:49:35 +08:00
Damyon Wiese
a383911cfa
MDL-60851 backup: More unit tests for dependencies
2019-05-01 08:49:35 +08:00
Sara Arjona
bef6805656
Merge branch 'MDL-64702-master' of git://github.com/damyon/moodle
2019-04-29 08:34:21 +02:00
David Monllaó
03876f0b89
Merge branch 'MDL-65207-master' of git://github.com/lameze/moodle
2019-04-24 17:52:10 +02:00
David Monllaó
45c8b226be
Merge branch 'MDL-64782-master' of git://github.com/rezaies/moodle
2019-04-24 17:37:45 +02:00
Adrian Greeve
4962446a44
Merge branch 'MDL-65308' of git://github.com/stronk7/moodle
2019-04-24 09:27:07 +08:00
Shamim Rezaie
7a2e7b29a0
MDL-64782 core_backup: Performance improvement
2019-04-23 17:01:48 +10:00
Damyon Wiese
b3337bd5a4
MDL-64702 badges: Add missing data to backup
...
Backup and restore of badges is missing data:
* alignments
* endorsement
Also added to "clone" (duplicate a badge).
2019-04-23 11:14:00 +08:00
Eloy Lafuente (stronk7)
0b9d7d93f8
MDL-65308 core: change a couple of unsafe preg_quote() cases
...
With PHP 7.3, the hash (#) is being escaped by preg_quote().
While normally that doesnt have much impact and normal operations
continue working perfectly... when the results of the function are
used to match against the same string... they don't match anymore.
Have found a couple of there double-uses in core and this
commit fixes them. Covered with tests.
2019-04-16 01:40:47 +02:00
Matt Porritt
2cd901a4e7
MDL-28505 Backup: Asynchronous backup and restore
...
This patch adds asynchronous backup and restore functionality
to Moodle. This is an optional feature and is not enabled by
default. It can be enabled by site administrators.
Asynchronous backup and restores are actioned by the Moodle
adhoc task API. The progress of backup and restores is
displayedin the Moodle UI. Users can also be sent a message
when a backup or restore operation completes via the
Moodle messaging API.
2019-04-09 00:15:42 +00:00
Mathew May
5cac5fa428
MDL-64506 templates: BS2 m-x-x to BS4 mx-x
2019-04-03 19:47:11 +08:00
Simey Lameze
9bec0e7e74
MDL-65207 core: replace typos by actually
2019-04-01 08:49:18 +08:00
David Monllaó
e034670fac
Merge branch 'MDL-62572-master' of git://github.com/damyon/moodle
2019-04-15 11:04:54 +02:00
Brendan Heywood
af368c1076
MDL-65321 backups: Only require minimal async backup libs if needed
2019-04-13 23:43:01 +10:00
Damyon Wiese
f10c22b691
MDL-62572 backup: Duplicating an activity
...
Don't apply admin defaults for import when using the duplicate function.
2019-04-12 14:04:40 +08:00
David Castro
cc179d9641
MDL-65008 question: Query enhancement.
...
Adding core_question as an additional filter to the tag backup.
2019-03-08 16:35:41 -05:00
Damyon Wiese
031cf251c1
MDL-64878 grades: Rebuild cache on import
...
When the course module cache is out of date during a gradebook re-calculcation it throws
throws exceptions because the module cannot be found. This prevents access to gradebook or
any type of grading functions until the cache is rebuilt.
When the cache still has no module record we log an error and return the course context.
2019-02-27 10:37:31 +08:00
Marina Glancy
d1fc4bdc1e
MDL-57898 core_customfield: strings and other minor fixes
2019-01-18 14:28:24 +01:00
Daniel Neis Araujo
5af9aa6341
MDL-57898 core_course: backup/restore support for course custom fields
...
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:24 +01:00
Sara Arjona
32c863f276
Merge branch 'MDL-63916-master' of git://github.com/damyon/moodle
2019-01-16 15:33:08 +01:00
Damyon Wiese
c85be29355
MDL-63916 backup: Do not display timestamp
...
Convert the date+time field to a userdate for display.
2018-12-12 12:18:32 +08:00
Tim Hunt
2fbd8e9ec0
MDL-63260 qtype_random: orphaned random questions should be deleted
...
This fix is based on some original code written by Bo Pierce.
2018-12-11 13:59:13 +00:00
Jun Pataleta
e96eb02e46
Merge branch 'master-MDL-64290-imscc-restore-temp-dir' of https://github.com/mspall/moodle
2018-12-06 08:57:32 +08:00
Michael Spall
f1a22c4a1b
MDL-64290 backup imscc: Use correct tempdir for imscc restore
...
Use configured temp directory $CFG->tempdir instead of hard coded
$CFG->dataroot . '/temp/backup/'
Remove unused variable, $CFG
2018-12-05 10:44:14 -07:00
Eloy Lafuente (stronk7)
5471eb1758
MDL-64299 backup: Bump release to 3.7
2018-12-02 18:21:52 +01:00
Eloy Lafuente (stronk7)
085353b315
MDL-64282 versions: bump all versions and requires near release
...
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Damyon Wiese
dcb35b721c
MDL-63920 backup: Email string improvement
...
Change from semicolon to colon in email.
2018-11-20 16:14:35 +08:00
Andrew Nicols
2986a99153
MDL-63596 backup: Add missing include
2018-11-10 10:46:38 +08:00
Damyon Wiese
f1f7d45bc7
MDL-63596 backup: Deal with controller types
...
For privacy requests, deal with all 3 controller types.
2018-11-09 17:55:23 +08:00
Mihail Geshoski
fc9bde4bc3
MDL-63596 core_backup: Add support for removal of context users
...
This issue is part of the MDL-62560 Epic.
2018-11-09 16:09:22 +08:00
Mark Nelson
80b6fb7a79
MDL-27520 core_grades: make constant names clearer
...
Also using them in more locations.
2018-10-17 15:57:27 +08:00
Damyon Wiese
dd882ba035
MDL-27520 backup: Backup for feedback files
2018-10-17 13:15:49 +08:00
John Beedell
6189fda47f
MDL-62708 question: Add idnumbers to question and question category
2018-09-21 12:26:24 +01:00
Rohan Khajuria
e372389251
MDL-59227 course: add (copy) to duplicated modules
2018-09-17 15:14:12 -07:00
Víctor Déniz Falcón
02fda279ed
MDL-57281 behat: deprecated step definition I navigate to node in
...
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Eloy Lafuente (stronk7)
b76d8da4a6
Merge branch 'MDL-62581-master' of git://github.com/damyon/moodle
2018-08-09 00:09:12 +02:00
Eloy Lafuente (stronk7)
6760a7e3e9
Merge branch 'MDL-43334-master' of git://github.com/damyon/moodle
2018-08-08 00:11:16 +02:00
Jun Pataleta
1d4eecffc6
Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle
2018-07-27 16:19:22 +08:00