Commit graph

5 commits

Author SHA1 Message Date
Luke Bennett
18c07084a6 Destroy repo mirrors instead of disabling them
It is important to destroy data related to repo mirrors when they are
disabled.
Use `_destroy` nested attribute instead of `enabled` for push mirrors.
Call `remove_import_data` after saving a project if its pull mirror is
disabled.
2019-05-06 13:15:03 +00:00
Brandon Labuschagne
2d5b7a4b7b Internationalisation of javascript/m* directories
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
2019-04-29 18:17:14 +00:00
Stan Hu
d1a89b27f4 Backport EE JavaScript changes for SSH pull mirrors
This backports the JavaScript code in
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10272.
2019-03-19 01:10:58 -07:00
Stan Hu
0566bbd064
Fix "protected branches only" checkbox not set properly at init
The `only_protected_branches` value was being enabled by default
even though the checkbox was default off. In EE, this wasn't a
problem because there was EE-specific code to update the
entire form.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53515
2018-12-03 13:41:06 -02:00
Nick Thomas
f1bc7b6eb5
SSH public-key authentication for push mirroring 2018-11-19 11:46:39 +00:00