Sara Arjona
e618ee9fb5
Merge branch 'MDL-63916-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2019-01-16 15:33:57 +01:00
Damyon Wiese
55a1e8b719
MDL-63916 backup: Do not display timestamp
...
Convert the date+time field to a userdate for display.
2018-12-12 12:20:18 +08:00
Tim Hunt
2a0ee3647f
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 14:09:22 +00:00
Michael Spall
559759aa4a
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 11:05:44 -07:00
Eloy Lafuente (stronk7)
9112915855
Merge branch 'MDL-63920-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2018-11-21 16:48:00 +01:00
Damyon Wiese
dc47c7fc8c
MDL-63920 backup: Email string improvement
...
Change from semicolon to colon in email.
2018-11-20 16:28:37 +08:00
Andrew Nicols
977632b715
MDL-63596 backup: Add missing include
2018-11-10 10:49:19 +08:00
Damyon Wiese
d3b5e29e2e
MDL-63596 backup: Deal with controller types
...
For privacy requests, deal with all 3 controller types.
2018-11-09 17:56:05 +08:00
Mihail Geshoski
8f7f422709
MDL-63596 core_backup: Add support for removal of context users
...
This issue is part of the MDL-62560 Epic.
2018-11-09 17:56:05 +08:00
Eloy Lafuente (stronk7)
9e6ea43d93
Merge branch 'MDL-62581-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2018-08-09 00:09:21 +02:00
Eloy Lafuente (stronk7)
127b7446a0
Merge branch 'MDL-43334-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2018-08-08 00:16:30 +02:00
Jun Pataleta
8aa12f5bff
Merge branch 'MDL-62950-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE
2018-07-27 16:19:02 +08:00
Andrew Nicols
5a1aa729df
MDL-62950 behat: Disable editing for boost test
2018-07-27 10:59:46 +08:00
Damyon Wiese
ed90c88864
MDL-62581 backup: CSS fixes
...
Sanitise the CSS for backup and restore. Main fixes are to sanitise the form-inline styles and set a fixed
width for the search forms within the restore form.
2018-07-23 16:20:01 +08:00
Shamim Rezaie
e69a3f20ee
MDL-62897 restore: Fix component name in get_string()
2018-07-23 14:37:48 +10:00
Andrew Nicols
474ec7e94b
Merge branch 'MDL-45851_35' of git://github.com/timhunt/moodle into MOODLE_35_STABLE
2018-07-16 13:18:16 +08:00
Andrew Hancox
f3a11484ad
MDL-61578 backup: Added unit test for is_course_modified check.
2018-07-10 11:02:23 +08:00
Michael Hawkins
af9b4f1f3b
MDL-61578 backup: Prevent backup logging triggering fresh backups.
...
Thanks to Renaat Debleu for their contribution to this solution.
2018-07-10 11:02:23 +08:00
Damyon Wiese
b8daa178de
MDL-43334 backup: Fix cancel JS
...
The cancel button is a form element within a div that has the confirmcancel class. When we
accept a cancel modal, we should attempt to click the most specific form element of the
div, not the entire div.
2018-07-09 12:18:43 +08:00
Damyon Wiese
8405e6f1cc
MDL-43334 backup: Lanuage for cancel
...
Cancel backup buttons need clear lang strings.
2018-07-09 12:18:43 +08:00
Tim Hunt
9eff7d9535
MDL-45851 restore: random questions must always be created
...
They are really a pointer from a particular quiz to a question category.
They should never be shared, because if they are, unexpected things
happend when they are edited.
2018-07-04 16:34:38 +01:00
David Monllao
4f7fa18201
Merge branch 'MDL-58702-35' of git://github.com/zig-moodle/moodle into MOODLE_35_STABLE
2018-06-19 11:54:39 +02:00
Damyon Wiese
d4fea9b20f
MDL-60950 assign: Rename class
...
testable_assign was renamed to mod_assign_testable_assign
2018-06-19 10:59:12 +08:00
Zig Tan
e275b0c4a6
MDL-58702 backup: Fix restoration of role mappings labels
...
Changes:
- Add logic to retrieve all the existing current roles.
- Apply the backup's role shortname by matching on the archetype.
- Added backup lang string 'undefinedrolemapping'.
2018-06-15 09:56:15 +08:00
Mark Nelson
d851bb5c2a
MDL-31443 core_backup: change review heading to 'Restore settings'
2018-06-13 18:39:00 +02:00
Luca Bösch
6fa61e69a7
MDL-31443 core_backup: revert changes to util/ui/renderer.php
2018-06-13 18:39:00 +02:00
Luca Bösch
ef57748905
MDL-31443 backup: Title and cancel messages stating import and restore
2018-06-08 11:34:06 +02:00
Andrew Nicols
7831f2785d
Merge branch 'MDL-62428_master' of git://github.com/markn86/moodle
2018-05-15 10:58:45 +08:00
Mark Nelson
8e24041287
MDL-62428 core: fix incorrect early return in privacy providers
2018-05-14 13:06:29 +08:00
Eloy Lafuente (stronk7)
28ec28e026
Merge branch 'MDL-62251-master' of git://github.com/rezaies/moodle
2018-05-13 20:10:44 +02:00
Shamim Rezaie
f181a24a0b
MDL-62251 backup: Fix replace_tempdir() bug under Windows
...
rename() fails under Windows if the destination file/directory exists.
I modified the code to only call $this->get_workdir_path() once as that function
creates the directory if doesn't exist. And we don't want that considering the
behaviour of rename on Windows.
2018-05-10 18:16:09 +10:00
David Monllao
a83b43a118
Merge branch 'MDL-62308_master' of git://github.com/markn86/moodle
2018-05-10 09:17:30 +08:00
Mark Nelson
0f41e8a2a1
MDL-62308 core_backup: implement privacy provider
...
The provider was added to 'backup/util/ui/' due to
Moodle's implementation of autoclass loading. See
fetch_subsystems() in lib/classes/component.php.
2018-05-09 22:48:07 +08:00
Eloy Lafuente (stronk7)
57ea6753d3
MDL-62361 versions: bump all versions and requires near release
...
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Andrew Nicols
6979cf56e2
Merge branch 'MDL-56511-master' of git://github.com/andrewnicols/moodle
2018-04-18 09:35:29 +08:00
Bas Brands
3ec69c2ece
MDL-56511 theme_boost: Update to Bootstrap 4 stable
...
Behat fixes by David Monllao <davidm@moodle.com>
- Blocks
- Modals
- Messaging styling
- Breadcrumb
- Pagination
- Course & categories management
2018-04-18 09:31:53 +08:00
Matteo Scaramuccia
ef844148a9
MDL-60923 backup: Added $CFG->backuptempdir
...
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.
Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
Eric Merrill
815c44ce07
MDL-61913 restore: Protect against blocks that aren't being created
2018-04-11 00:50:27 +02:00
Claude Vervoort
c02324d96a
MDL-60416 mod_lti: Introduced LTI Advantage
...
A huge thanks goes to 'Diego del Blanco' and
'Chris Lawson' for contributing much of their
code and time to this project, and to Cengage
for sponsoring it.
Much appreciated!
2018-04-09 12:08:35 +08:00
Andrew Nicols
682282de55
Merge branch 'MDL-61464-master' of git://github.com/rezaies/moodle
2018-04-05 09:44:05 +08:00
Ngo Nghia
5a8d683fb2
MDL-25617 backup: backup/restore using extra_question_fields
2018-03-28 18:16:34 +02:00
Zig Tan
ff70e84941
MDL-39060 backup: fix typo backup destroy() function
2018-03-26 09:25:55 +08:00
Shamim Rezaie
70ec79f1ba
MDL-61464 Backup: Restore question tags into the correct context
2018-03-23 14:19:19 +11:00
Shamim Rezaie
06d7352a0a
MDL-61464 Backup: Include contextid for questuin tags
2018-03-23 14:19:19 +11:00
Shamim Rezaie
6bbb7ed570
MDL-61464 Questions: Improved top level category handling in restore
...
Use question_get_top_category() instead of directly inserting into DB when
parent category is 0. This is to make sure we are not ending up with having
multiple top level question categories for a single context.
2018-03-23 14:19:19 +11:00
Shamim Rezaie
c1d31e42ba
MDL-61526 Questions: phpunit test to test restore from 3.4 and 3.5
2018-03-06 01:43:32 +11:00
Shamim Rezaie
e9897ee6ef
MDL-61526 Questions: Add 2 backup fixtures from 3.4 and 3.5
2018-03-06 01:41:45 +11:00
Shamim Rezaie
0f80f793df
MDL-61526 Questions: Fix creation of multiple TOP question categories
...
Backup files that are made from Moodle 3.5 already contain TOP categories.
There is no need to create an additional TOP category for them.
2018-03-05 15:44:29 +11:00
David Monllao
d3e54578ea
Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle
2018-02-06 08:00:11 +01:00
Davo Smith
4ee8ec310a
MDL-52811 course: moodle/course:setforcedlanguage integration fixes
2018-02-05 13:20:42 +00:00