Zig Tan
e689e4d446
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:55:53 +08:00
Mark Nelson
0c34cc5a93
MDL-31443 core_backup: change review heading to 'Restore settings'
2018-06-13 17:49:38 +02:00
Luca Bösch
2e8491a5be
MDL-31443 core_backup: revert changes to util/ui/renderer.php
2018-06-13 17:49:38 +02:00
Luca Bösch
f55b45e473
MDL-31443 backup: Title and cancel messages stating import and restore
2018-06-08 11:35:02 +02:00
Mark Nelson
8e24041287
MDL-62428 core: fix incorrect early return in privacy providers
2018-05-14 13:06:29 +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
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
Zig Tan
85ba9528c9
MDL-33886 backup: Add backup filename length < 255 char validation
2017-12-22 13:03:08 +08:00
Damyon Wiese
18c02e9f28
Merge branch 'MDL-27886-master' of git://github.com/tobiasreischmann/moodle
2017-11-20 13:25:37 +08:00
Luca Bösch
9ae6cd775a
MDL-60693 backup: Use multilang with course activities
...
On backup and restore, activities are shown after passing format_string,
supporting multilang.
2017-11-12 14:58:18 +01:00
Tobias Reischmann
34eb2faa0d
MDL-27886 backup: Decision if a setting is fixed based on level
...
Previously, when a during backup/restore the "Schema"-stage is loaded,
some settings are fixed if they are LOCKED_BY_HIERARCHY. However, user
data fields of activities can be locked, when the section they are
contained in has user data set to false. When this setting is changed on
the same screen, the fixed setting of the activity can not be "unfixed"
by javascript.
This patch adds a settings-level to the call of is_changeable. With this
only those dependency_settings are considered, which belong to parent
settings, which are not changeable on the current stage.
2017-11-06 12:07:20 +01:00
Tobias Reischmann
77a4d33755
MDL-27886 backup: Added behat tests for user data settings
...
This new test defines different combinations of global and local user
data settings during the restore process and tests that global defaults
can be overriden.
2017-11-06 12:07:20 +01:00
Jake Dallimore
5bbea7338d
MDL-35429 backup: Only show relevant actions for automated backups
...
- Users without permission to download or restore won't see the
respective links.
- The 'Manage backup files' button for the 'automated' backup filearea
now requires the same permissions as downloading does for this filearea,
those being 'restore:userinfo' and 'backup:downloadfile'.
2017-10-10 12:30:57 +08:00
Mark Nielsen
197e2bca5b
MDL-59602 behat: make use of new course nav steps
2017-07-21 13:50:47 -07:00
Eloy Lafuente (stronk7)
aa2b5b214d
Merge branch 'wip-MDL-57769-master' of https://github.com/marinaglancy/moodle
2017-04-05 01:31:08 +02:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Marina Glancy
1091687ac2
MDL-57769 backup: support removed 'numsections' in backup/restore
2017-03-30 08:26:17 +08:00
Marina Glancy
af0698c007
MDL-57769 format_topics: remove numsections option
2017-03-30 08:26:17 +08:00
Dan Poltawski
48f5c05019
Merge branch 'wip-MDL-34859-master' of git://github.com/marinaglancy/moodle
2017-03-20 07:54:22 +00:00
Marina Glancy
44e86fb3d5
MDL-34859 backup: add restore defaults
2017-03-20 14:59:45 +08:00
Damyon Wiese
3e6adcd69c
MDL-40759 icons: Rename activity_icon
...
image_icon is a better name because there are some valid uses for these other than for activity icons.
E.g. Old JS code that is not worth re-writing.
2017-03-17 15:52:18 +08:00
Damyon Wiese
8857c715d1
MDL-40759 icons: Behat fixes for font-awesome
2017-03-17 15:52:18 +08:00
Damyon Wiese
c2dde7eebc
MDL-40759 icons: Split pix_icon from activity_icon
...
Activity icons always use the standard icon renderer.
2017-03-17 15:51:29 +08:00
B Krishnan Iyer
5c3e1eedb7
MDL-57354 output: Render continue button as a primary button.
2017-02-13 15:50:52 +00:00
Rajesh Taneja
2700a9aff1
MDL-57325 behat: Fixed backup/restore steps to use proper api
2016-12-09 09:30:18 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
David Herney
5634310997
MDL-57169 backup: ensure images in category descriptions are shown
2016-11-29 11:40:47 +08:00
Marina Glancy
392367c4f7
MDL-56586 behat: fix behat tests to work with new add block
2016-11-25 14:04:10 +08:00
Rajesh Taneja
4ea8f814a0
MDL-56981 behat: Fixed xpath of radio button to contain class
2016-11-16 08:14:07 +08:00
Damyon Wiese
813afc6797
MDL-56618 behat: Fix xpath for behat
...
We changed the output so the test needs to match
2016-11-15 09:07:39 +00:00
Damyon Wiese
fe3db0ca08
MDL-56618 theme_boost: Fix backup / restore pages (again)
...
I removed most of the layout styles and started again.
2016-11-14 15:00:46 +08:00
Frédéric Massart
17553c6350
MDL-56213 theme_boost: Visual inconsistencies in backup/restore
...
* Some additional SCSS rules were added to be more visually pleasing
* Javascript had to be tweaked as targets were too specific
2016-10-24 10:29:38 +01:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
Dan Poltawski
3a0bc0fdc4
MDL-55244 js: build changes
...
There should be no changes to minified code
2016-07-25 07:58:05 +01:00
Dan Poltawski
bc8b6dc652
MDL-55244 js: fix various lint warnings in yui
...
* Incorrect brace style
* Empty functions
* Multiple var statemnts
2016-07-25 07:53:05 +01:00
Dan Poltawski
5bb4f444de
MDL-55244 js: fix problems with eslint --fix
...
eslint --fix '**/yui/src/**/*.js'
2016-07-25 07:53:05 +01:00
Cameron Ball
1706352d01
MDL-54771 restore: Add deletesource to course object
...
Since deleting a course now triggers the pre_course_delete hook
it may be useful for hook implementations to know whether it was
a "true" course deletion, or one originating from a temporary
course created during a restore.
2016-07-06 23:11:31 +08:00
Rajesh Taneja
921faad9ad
MDL-53571 behat: Use Escaper for escaping
...
xpathLiteral has been depreacted, use Escaper instead
2016-04-06 15:38:31 +08:00
Andrew Nicols
82bb931a31
MDL-53115 backup: Remove unnecessary @javascript tags
2016-04-04 08:08:43 +08:00
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
Tony Levi
303936aa57
MDL-50453 core: Replace reserved word usage in progress\null (PHP7)
2015-06-15 12:21:27 +09:30
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
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
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
John Okely
e7bcd2764a
MDL-44520 behat: Change behat features to use new section selectors
2015-02-06 10:34:54 +08:00