- Aug 30, 2018
-
-
Roger Rüttimann authored
-
Francisco Javier López authored
-
James Lopez authored
-
Pradyumna authored
- Hint essentially states that a user should first update their target branch with upstream changes and then perform the merge.
-
- Aug 29, 2018
-
-
Phil Hughes authored
Closes #50405
-
Jacopo authored
-
Alexander Popov authored
Fix #47913 (again), revert !21180, fix regression of !8652, improve !20137
-
Sean McGivern authored
This isn't interesting most of the time and is may go over other flash banners.
-
Sean McGivern authored
These don't have performance data saved as they use Grape.
-
James Lopez authored
-
- Aug 28, 2018
-
-
-
-
When backend sends HTML it requires frontend to append it to the DOM causing XSS vulnerabilities. By removing the `<br>` we avoid those vulnerabilities
-
Kushal Pandya authored
-
Kushal Pandya authored
-
Winnie Hellmann authored
-
Paul Slaughter authored
-
Filipa Lacerda authored
-
- Aug 27, 2018
-
-
Michael Kozono authored
-
- Aug 26, 2018
-
-
Kushal Pandya authored
-
Gabriel Mazetto authored
-
Filipa Lacerda authored
-
- Aug 25, 2018
-
-
Franz Liedke authored
-
Franz Liedke authored
-
Franz Liedke authored
-
Bob Van Landuyt authored
When using ruby interpolation in externalized strings, they can't be detected. Which means they will never be presented to be translated. To mix variables into translations we need to use `sprintf` instead. Instead of: _("Hello #{subject}") Use: _("Hello %{subject}) % { subject: 'world' }
-
-
- Aug 24, 2018
-
-
Stan Hu authored
Users importing from Bitbucket Cloud, Bitbucket Server, or GitHub often complained about getting failed imports due to 422 errors. This change ensures that project names are imported with names that are guaranteed to pass the regular expression validation. Part of #50021
-
-
Chantal Rollison authored
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Aug 23, 2018
-
-
Gabriel Mazetto authored
-
Stan Hu authored
Remote mirrors only get created when the URL changes, However, during the GCP migration, the remote mirror did not get created automatically. Plus, there's no guarantee someone restoring a repository from backup would have this remote. We now add the remote each time we attempt to fetch from the repository. This works because Gitaly doesn't throw up an exception or error if the remote already exists: https://gitlab.com/gitlab-org/gitaly/issues/1317 In the future, we should attempt to add if the remote doesn't exist: https://gitlab.com/gitlab-org/gitaly/issues/1316 Closes #50562
-
- Aug 22, 2018
-
-
Stan Hu authored
This fixes a regression in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20916. We now only use the full commit count for the initial push to the default branch. Otherwise, we rely on the number of commits that we calculated occurred in the push. The original behavior in 11.1.4: 1. When a new branch is pushed, `@push_commits_count` was set to the total number of refs available for the branch. 2. For other branches, `@push_commits_count` would remain `nil`. 3. `GitPushService#build_push_data` would build the push data with `@push_commits_count`. 4. If this were `nil`, it would be set to the right value here: https://gitlab.com/gitlab-org/gitlab-ce/blob/v11.1.4/lib/gitlab/data_builder/push.rb#L60 Broken behavior: 1. `GitPushService#push_commits_count` is always called. 2. The total number of commits is therefore always equal to the total number of refs available. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49971
-
Annabel Dunstone Gray authored
-
Stan Hu authored
When a diff has a significant number of commits, the previous behavior would attempt to render the Markdown on all the commit messages but only display 1000 of them. To avoid additional work, we only need to render the Markdown on the set that is displayed.
-
Sean McGivern authored
This is more idiomatic than checking membership explicitly.
-
Gabriel Mazetto authored
-
Gabriel Mazetto authored
We usually want a feature flag to be disabled by default and hide the feature until it's enabled. This is an unconventional use: when the flag is enabled, it will "DISABLE" the behavior.
-
- Aug 21, 2018
-
-
Stan Hu authored
Previously `SystemHookPushWorker` would always be called after a push event, and this would queue a Sidekiq job regardless of whether any system hooks needed that event. Moreover, another call inside `Project#execute_hooks` would also fire system hooks if they existed. This change both removes the duplicate system hook calls. For installations without system hooks for push events, this change also can save significant amount of RAM used by Redis. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50549
-