Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Rajesh Taneja
788beb6705
MDL-53126 behat: Fixed radio button in backup step
...
Rather than calling click and check on radio node
use radio form field to set value
2016-02-25 10:33:17 +08:00
Andrew Nicols
223c4add23
Merge branch 'MDL-50268-master' of git://github.com/lameze/moodle
2016-01-19 07:56:41 +08:00
Simey Lameze
11d4bea28b
MDL-50268 core: proper deprecation of get_file_url() method
2016-01-18 13:44:22 +08:00
Dan Poltawski
04a03ff282
Merge branch 'wip-MDL-50851-master' of git://github.com/marinaglancy/moodle
2016-01-12 14:17:14 +00:00
Cameron Ball
088d6086d8
MDL-21912 restore: Add admin setting to restore conflicting admin user
2016-01-11 14:08:58 +08:00
Marina Glancy
c4e868d5f0
MDL-50851 user: use new tag API for interests
2016-01-10 15:25:47 +08:00
Dan Poltawski
77d0aaa5e3
Merge branch 'MDL-52402' of git://github.com/mr-russ/moodle
2015-12-21 12:46:20 +00:00
David Monllao
58920c8e53
Merge branch 'MDL-52523' of git://github.com/timhunt/moodle
2015-12-21 10:47:49 +08:00
Tim Hunt
8eef9244be
MDL-52523 backup of subplugins: add missing global
2015-12-15 15:57:23 +00:00
Marina Glancy
1766e6a17f
MDL-52284 core: PHP7 engine errors have type Throwable
2015-12-10 10:49:37 +08:00
Tony Levi
d74b7e424f
MDL-52284 core: compatibility with Exception/Throwable changes in PHP7
2015-12-10 10:49:36 +08:00
Russell Smith
eb8c0cb163
MDL-52402 backup: Improve debugging output on failed log restores
2015-12-05 10:08:06 +11:00
Eloy Lafuente (stronk7)
8827b67aeb
MDL-52141 backup: test restore_log_rule don't modify passed log anymore
2015-12-03 18:52:26 +01:00
Russell Smith
a8137ec25f
MDL-52141 backup: Ensure we don't alter the log record when parsing it.
2015-12-03 11:11:07 +01:00
Ryan Wyllie
cfe12ff033
MDL-49545 backup: Restore does not respect some capabilities
...
Thanks to Daniel Neis for the original patch that formed the
basis of these changes.
2015-10-15 02:45:27 +00:00
Damyon Wiese
51311962c4
MDL-46455 backup: Keep external database logstore code self-contained.
...
General backup/restore does not need to handle external data sources natively - so
any changes needed to achieve this should be contained to the plugin that needs it.
2015-10-09 16:23:09 -07:00
Mark Nelson
bcfa51ca41
MDL-46455 logstore_database: added backup/restore support
2015-10-09 16:23:09 -07:00
Eloy Lafuente (stronk7)
6a45e6b169
MDL-46455 restore: Extend support for subplugins to any plugin.
...
In order to implement the backup and restore of log stores, that
are created as subplugins of the tool_log plugin , we need to
extend subplugins support from activities to virtually any plugin.
Basically that implies moving the add_subplugin_structure() method from
its current, restricted, activity level to general restore_structure_step.
This commit implements the change in restore, covered with tests verifying
old, bc behavior and also new, general one.
2015-10-09 16:23:09 -07:00
Eloy Lafuente (stronk7)
ba66edd074
MDL-46455 backup: Extend support for subplugins to any plugin.
...
In order to implement the backup and restore of log stores, that
are created as subplugins of the tool_log plugin , we need to
extend subplugins support from activities to virtually any plugin.
Basically that implies moving the add_subplugin_structure() method from
its current, restricted, activity level to general backup_structure_step.
This commit implements the change in backup, covered with tests verifying
old, bc behavior and also new, general one.
2015-10-09 16:23:09 -07:00
Jean-Philippe Gaudreau
e10c9acc19
MDL-50602 - Automated backup: Add constants for storage types
...
Improve the code readability significantly by adding constants for storage types.
2015-09-24 14:08:18 -04:00
Jean-Philippe Gaudreau
2b7c85da17
MDL-50602 - Automated backup: Remove old backups associated to courses
...
Refactoring and renaming of settings.
2015-09-24 14:08:17 -04:00
Serge Gauthier
694f195da0
MDL-50602 - Automated backup: Remove old backups associated to courses
2015-09-24 14:02:19 -04:00
Tony Levi
303936aa57
MDL-50453 core: Replace reserved word usage in progress\null (PHP7)
2015-06-15 12:21:27 +09:30
Dan Poltawski
77679fb2e5
Merge branch 'MDL-36957-master' of git://github.com/FMCorz/moodle
2015-06-02 11:07:57 +01:00
Martin Mastny
4ee052641e
MDL-49493 backup: Implemented missing methods for anonymous backup
2015-05-25 10:35:11 +08:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Dan Poltawski
9b67b43b21
Merge branch 'MDL-49755' of git://github.com/mr-russ/moodle
2015-04-14 17:45:56 +01:00
Dan Poltawski
0627d5802c
Merge branch 'wip-MDL-45774-master' of git://github.com/abgreeve/moodle
2015-04-14 15:32:13 +08:00
Petr Skoda
e49cb057a1
MDL-49828 timezones: fix typos introduced by MDL-49684
2015-04-12 12:11:10 +12:00
Damyon Wiese
46a2fbc4b7
MDL-49412 Navigation: Remaining behat fixed for nav branch
...
Behat is passing after this change.
Part of MDL-45774.
2015-04-10 17:19:28 +08:00
Frederic Massart
725d18f980
MDL-36957 backup: Allow invalid setting level in backup info file
2015-04-09 17:33:52 +08:00
Petr Skoda
d6e7a63d9a
MDL-49684 timezones: rewrite timezone support
...
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.
The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!
Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Russell Smith
9129827158
MDL-49755 backup: Cache backup information.
2015-04-05 20:03:08 +10:00
Rex Lorenzo
7519d366ef
MDL-49595 backup: Behat tests for importing groups/groupings
...
* Also fixed a missing required parameter for an Exception and some coding standards issues.
2015-03-26 09:04:37 -07:00
David Monllao
59aebbed70
MDL-48595 logstore: Replacing references to deprecated interfaces
2015-03-09 08:25:37 +08:00
Matt Sammarco
868b086c4a
MDL-18177 backup: Add backup option to include groups and groupings
2015-02-20 11:45:22 +11:00
John Okely
e7bcd2764a
MDL-44520 behat: Change behat features to use new section selectors
2015-02-06 10:34:54 +08:00
Eloy Lafuente (stronk7)
16dafa5d9f
Merge branch 'MDL-48266-master' of git://github.com/FMCorz/moodle
...
Conflicts:
version.php
2015-01-26 19:19:35 +01:00
Frederic Massart
94b8c63635
MDL-48266 backup: Fix backup strorage misconfiguration
...
Basically if the destination dir is empty then the storage
type should be set to the course backup area. This does
not affect the behaviour of the backups that lived with
misconfigured settings.
2015-01-22 17:49:26 +08:00
Ray Bon
914cad8793
MDL-48837 phpunit: Restore system default timezone
2015-01-16 12:46:26 +08:00
Russell Smith
92996836d0
MDL-41674 backup: Use a trie for grouped path detection.
2015-01-11 12:54:32 +11:00
Eloy Lafuente (stronk7)
9f6658e18c
Merge branch 'MDL-48556-master' of git://github.com/ankitagarwal/moodle
2014-12-15 17:53:27 +01:00
Ankit Agarwal
bd58dfbfa1
MDL-48556 backup: Use correct conditions before checking dir permissions
2014-12-10 14:33:05 +05:30
Mark Nelson
a76eef5bc0
MDL-30937 core_backup: use default log level when none specified
2014-12-07 21:18:13 -08:00
Eloy Lafuente (stronk7)
38ea5e0a39
MDL-21724 course: change remaining tests to new "Save and display"
2014-12-04 12:14:31 +00:00
Sam Hemelryk
eb8f9f9adb
Merge branch 'MDL-42717-master' of git://github.com/ankitagarwal/moodle
2014-12-01 08:47:34 +13:00
Eloy Lafuente (stronk7)
d2142e7b7c
Merge branch '23538-29' of git://github.com/samhemelryk/moodle
...
Conflicts:
backup/util/ui/renderer.php
2014-11-25 17:00:06 +01:00
David Monllao
99e434f2fa
MDL-31500 backup: Warn users about front page backups
...
They should know that they can only be restored on the front
page before selecting the destination course.
2014-11-25 10:30:25 +08:00
David Monllao
d62c556110
MDL-31500 backup: Remove frontpage restore UI restrictions
2014-11-25 09:37:53 +08:00