- 08 Jan, 2018 11 commits
-
-
James Edwards-Jones authored
-
James Edwards-Jones authored
The spec for "#add_key does nothing" would always have passed, since the expectation was on both the wrong object and message.
-
James Edwards-Jones authored
-
Valery Sizov authored
-
Sean McGivern authored
-
Paco Guzman authored
-
Michael Kozono authored
Originally from branch 'fix-authorized-keys-enabled-default-2738' via merge request https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2240 Removed background migrations which were intended to fix state after using Gitlab without a default having been set Squashed commits: Locally, if Spring was not restarted, `current_application_settings` was still cached, which prevented the migration from editing the file. This will also ensure that any app server somehow hitting old cache data will properly default this setting regardless. Retroactively fix migration This allows us to identify customers who ran the broken migration. Their `authorized_keys_enabled` column does not have a default at this point. We will fix the column after we fix the `authorized_keys` file. Fix authorized_keys file if needed Add default to authorized_keys_enabled setting Reminder: The original migration was fixed retroactively a few commits ago, so people who did not ever run GitLab 9.3.0 already have a column that defaults to true and disallows nulls. I have tested on PostgreSQL and MySQL that it is safe to run this migration regardless. Affected customers who did run 9.3.0 are the ones who need this migration to fix the authorized_keys_enabled column. The reason for the retroactive fix plus this migration is that it allows us to run a migration in between to fix the authorized_keys file only for those who ran 9.3.0. Tweaks to address feedback Extract work into background migration Move batch-add-logic to background migration Do the work synchronously to avoid multiple workers attempting to add batches of keys at the same time. Also, make the delete portion wait until after adding is done. Do read and delete work in background migration Fix Rubocop offenses Add changelog entry Inform the user of actions taken or not taken Prevent unnecessary `select`s and `remove_key`s Add logs for action taken Fix optimization Reuse `Gitlab::ShellAdapter` Guarantee the earliest key Fix migration spec for MySQL
-
Rémy Coutable authored
See merge request gitlab-org/gitlab-ee!3323 Backported as part of authorized_keys in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16014
-
Ernst van Nierop authored
Backport to CE, originally branch 'evn-ssh-clarify-docs See merge request gitlab-org/gitlab-ee!3753
-
Michael Kozono authored
Originally branch 'mk-toggle-writing-to-auth-keys-1631' See merge request !2004 Squashed commits: Add authorized_keys_enabled to Application Settings Ensure default settings are exposed in UI Without this change, `authorized_keys_enabled` is unchecked when it is nil, even if it should be checked by default. Add “Speed up SSH operations” documentation Clarify the reasons for disabling writes Add "How to go back" section Tweak copy Update Application Setting screenshot
-
Pablo Carranza authored
Add find key by base64 key or fingerprint to the internal API See merge request !250 Squashed changes: Add unique index to fingerprint Add new index to schema Add internal api to get ssh key by fingerprint Change API endpoint to authorized_keys Add InsecureKeyFingerprint that calculates the fingerprint without shelling out Add require for gitlab key fingerprint Remove uniqueness of fingerprint index Remove unique option from migration Fix spec style in fingerprint test Fix rubocop complain Extract insecure key fingerprint to separate file Change migration to support building index concurrently Remove those hideous tabs
-
- 05 Jan, 2018 29 commits
-
-
Fatih Acet authored
Fix custom name in branch creation for issue in Firefox Closes #41563 See merge request gitlab-org/gitlab-ce!16244
-
Rémy Coutable authored
API: get participants from merge_requests & issues Closes #40986 See merge request gitlab-org/gitlab-ce!16187
-
Brent Greeff authored
-
Kamil Trzciński authored
Resolve "Create secrets failed for Auto DevOps with latest stable of kubectl" Closes #41376 See merge request gitlab-org/gitlab-ce!16218
-
Filipa Lacerda authored
Backport 'Rebase' feature from EE to CE Closes #40301 See merge request gitlab-org/gitlab-ce!16071
-
Sean McGivern authored
Remove the Project#repo method See merge request gitlab-org/gitlab-ce!16238
-
Rémy Coutable authored
Add docs about end-to-end testing / GitLab QA tests Closes #39637 See merge request gitlab-org/gitlab-ce!16043
-
Grzegorz Bizon authored
-
Dmitriy Zaporozhets authored
Expose project_id on /api/v4/pages/domains See merge request gitlab-org/gitlab-ce!16200
-
Sean McGivern authored
Don't use Gitlab::Shell#import_repository on local paths See merge request gitlab-org/gitlab-ce!16228
-
Sean McGivern authored
[EE-backport] Add group boards API endpoint See merge request gitlab-org/gitlab-ce!16194
-
Tim Zallmann authored
Backport of methods and components added in EE See merge request gitlab-org/gitlab-ce!16208
-
Rémy Coutable authored
Update redis-rack to 2.0.4 See merge request gitlab-org/gitlab-ce!16251
-
Rémy Coutable authored
Update settings.md See merge request gitlab-org/gitlab-ce!16233
-
Fatih Acet authored
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into 41563-fix-branch-creation-from-issue-in-firefox
-
Tim Zallmann authored
Fix import project url not updating project name Closes #40607 See merge request gitlab-org/gitlab-ce!16120
-
Felipe Artur authored
-
Filipa Lacerda authored
Add id to modal.vue to support data-toggle="modal" Closes #41584 See merge request gitlab-org/gitlab-ce!16189
-
Yorick Peterse authored
Up until version 2.0.3 redis-rack included a "rake" binary that would overwrite/hijack the one provided by Rake itself. Unfortunately the binary provided by redis-rack would produce errors in many cases. See https://github.com/redis-store/redis-rack/pull/34 for more info.
-
Filipa Lacerda authored
Refactor cluster show page Closes #41335 See merge request gitlab-org/gitlab-ce!16089
-
Winnie Hellmann authored
-
Rémy Coutable authored
Allow local tests to use a modified Gitaly Closes gitaly#833 See merge request gitlab-org/gitlab-ce!16220
-
Jacob Vosmaer (GitLab) authored
-
Jacob Vosmaer authored
-
Sean McGivern authored
Resolve "Verify integrity of repositories" Closes #40228 See merge request gitlab-org/gitlab-ce!15931
-
Rémy Coutable authored
Add online attribute to runner api entity Closes #25774 See merge request gitlab-org/gitlab-ce!11750
-
Filipa Lacerda authored
-
Douwe Maan authored
Reroute batch blobs to single blob RPC See merge request gitlab-org/gitlab-ce!16082
-
Sean McGivern authored
Prepare Gitlab::Git::Repository#rebase for Gitaly migration See merge request gitlab-org/gitlab-ce!16192
-