- Sep 04, 2019
-
-
dineshpanda authored
-
- Aug 28, 2019
-
-
Jacopo authored
-
Victor Zagorodny authored
A new param with_security_reports was added to GET /groups/:id/projects API and the code to support this logic in GroupProjectsFinder and Project model. Also, a DB index was added to ci_job_artifacts table to speed up the search of security reports artifacts for projects
-
- Aug 20, 2019
-
-
Luke Duncalfe authored
Adding, destroying and toggling emoji previously lacked services and instead were performed through methods called on Awardable models. This led to inconsistencies where relevant todos would be marked as done only when emoji were awarded through our controllers, but not through the API. Todos could also be marked as done when an emoji was being removed. Behaviour changes - Awarding emoji through the API will now mark a relevant Todo as done - Toggling an emoji off (destroying it) through our controllers will no longer mark a relevant Todo as done Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
-
Luke Duncalfe authored
This finder class acts more as a service, as it only returns mapped data. Renaming this class allows us to create a new AwardEmojiFinder without the ambiguity of there being two similarly-named finders. https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
-
- Aug 13, 2019
-
-
**Prevention of running 2 simultaneous updates** Instead of using `RemoteMirror#update_status` and raise an error if it's already running to prevent the same mirror being updated at the same time we now use `Gitlab::ExclusiveLease` for that. When we fail to obtain a lease in 3 tries, 30 seconds apart, we bail and reschedule. We'll reschedule faster for the protected branches. If the mirror already ran since it was scheduled, the job will be skipped. **Error handling: Remote side** When an update fails because of a `Gitlab::Git::CommandError`, we won't track this error in sentry, this could be on the remote side: for example when branches have diverged. In this case, we'll try 3 times scheduled 1 or 5 minutes apart. In between, the mirror is marked as "to_retry", the error would be visible to the user when they visit the settings page. After 3 tries we'll mark the mirror as failed and notify the user. We won't track this error in sentry, as it's not likely we can help it. The next event that would trigger a new refresh. **Error handling: our side** If an unexpected error occurs, we mark the mirror as failed, but we'd still retry the job based on the regular sidekiq retries with backoff. Same as we used to The error would be reported in sentry, since its likely we need to do something about it.
-
- Aug 09, 2019
-
-
This reverts merge request !30613
-
- Aug 07, 2019
-
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Camil Staps authored
-
Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
-
- Aug 05, 2019
-
-
API endpoints for requesting container repositories and container repositories with their tag information are enabled for users that want to specify the group containing the repository rather than the specific project.
-
Igor Drozdov authored
-
- Aug 01, 2019
-
-
Patrick Derichs authored
Remove project from NotesFinder constructor Add project parameter to specs Also look for methods in private scope Fix specs to match new NotesFinder constructor
-
- Jul 31, 2019
-
-
- DB migration of board milestone values - issue finder & spec updates
-
- Jul 29, 2019
-
-
-
Andreas Brandl authored
We dropped MySQL support and a lot of mysql specific code has been removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608. This comes in from the other direction and removes any `if postgresql?` branches.
-
- Jul 27, 2019
-
-
Stan Hu authored
This reverts merge request !29733
-
- Jul 26, 2019
-
-
Patrick Derichs authored
Add spec for concern IssuableActions Add shared samples for discussions endpoint Add schema validations for discussions Fix rubocop style issue Make target assignable Use new possibility to provide target
-
- Jul 25, 2019
-
-
Heinrich Lee Yu authored
These are not required because MySQL is not supported anymore
-
- Jul 22, 2019
-
-
This pagination is not used anywhere so there is no reason to keep it. It seems the usage of offset_id was probably removed in 90c60138
-
- Jul 05, 2019
-
-
sujay patel authored
-
sujay patel authored
-
- Jul 04, 2019
-
-
Mario de la Ossa authored
If we're not using a trigram index, then ignore the min_chars_for_partial_matching setting
-
- Jul 03, 2019
-
-
sujay patel authored
-
- Jun 28, 2019
-
-
Igor Drozdov authored
Extract diverging_commit_counts into a service class
-
- Jun 26, 2019
-
-
Alexandru Croitor authored
Refactor code to allow multiple issue boards management for projects in CE
-
- Jun 24, 2019
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Lee Tickett authored
-
- Jun 21, 2019
-
-
sujay patel authored
-
- Jun 19, 2019
-
-
Patrick Derichs authored
-
Patrick Derichs authored
-
Patrick Derichs authored
Fix missing iid query on NotesFinder Changed parameters of find_noteable, so changes across a few files were needed. MergeRequest also requires iid instead of id query Make NotesFinder fail with RecordNotFound again Add specs for target_iid Using RSpec tablesyntax for target_iid specs Revert "Using RSpec tablesyntax for target_iid specs" This reverts commit ba45c7f569a. Allow find_by! here Fix variable name Add readable check Revert "Add readable check" This reverts commit 9e3a1a7aa39. Remove unnecessary assignment Add required changes for EE Fix parameter count Reduce code duplication by extracting a noteable module method The call to find_noteable was redundant so multiple files and lines have changed in that commit to use the newly introduced module method `noteable`. Replace casecmp with include check Add parent_type parameter Revert "Reduce code duplication by extracting a noteable module method" This reverts commit 8c0923babff16. Method is no longer needed Check whether noteable can be read by user
-