Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-27Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-26Add usage pings for merge request creatingIgor
Code Review Usage Ping for Create SMAU
2019-05-06Fix merge request pipeline exist methodShinya Maeda
Refactor
2019-04-12Add frozen_string_literal to spec/servicesThong Kuah
Probably useful as we often move these files to "new" files.
2019-04-09[CE] Support multiple assignees for merge requestsOswaldo Ferreira
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
2019-04-04Backport attached merge request pipelinesShinya Maeda
Backport changes to CE
2019-03-29Create detached merge request pipelinesShinya Maeda
By using `refs/merge-requests/:iid/head` ok ok Improve naming nicely Add nice tests add nice tests fix some more revert
2019-03-01Add suffix for merge request eventShinya Maeda
Fix ok Add spec Fix ok Fix Add changelog Fix Add memoization a fix
2019-02-05Merge branch 'not-run-pipeline-on-empty-merge-request' into 'master'Grzegorz Bizon
Don't create new pipeline for merge requests with no commits See merge request gitlab-org/gitlab-ce!24503
2019-02-05Fix false-positive specHiroyuki Sato
2019-01-28Move validation logic to service layerHiroyuki Sato
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-04Refactor the logic of updating head pipelinesShinya Maeda
Sort out some logic
2018-12-05Merge request pipelinesShinya Maeda
2018-08-16Whitelist existing destroy_all offensesYorick Peterse
This whitelists all existing places where we use "destroy_all".
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-04-11Prevent new merge requests for archived projectsBob Van Landuyt
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
2018-03-01/wip slash command on MR creationAdam Pahlevi
change to symbol add complete changelog add test for /wip unwip as sym test for work in progress separate from issuable
2018-01-17Merge branch '41567-projectfix' into 'security-10-3'Sean McGivern
check project access on MR create See merge request gitlab/gitlabhq!2273 (cherry picked from commit 1fe2325d6ef2bced4c5e97b57691c894f38b2834) 43e85f49 check project access on MR create
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-09-19Fix refreshing of issues/MR count cachesYorick Peterse
This ensures the open issues/MR count caches are refreshed properly when creating new issues or MRs. This MR also includes a change to the cache keys to ensure all caches are rebuilt on the fly. This particular problem was not caught in the test suite due to a null cache being used, resulting in all calls that would use a cache using the underlying data directly. In production the code would fail because a newly saved record returns an empty hash in #changes meaning checks such as `state_changed? || confidential_changed?` would return false for new rows, thus never updating the counters. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38061
2017-08-23Cache the number of open issues and merge requestsYorick Peterse
Every project page displays a navigation menu that in turn displays the number of open issues and merge requests. This means that for every project page we run two COUNT(*) queries, each taking up roughly 30 milliseconds on GitLab.com. By caching these numbers and refreshing them whenever necessary we can reduce loading times of all these pages by up to roughly 60 milliseconds. The number of open issues does not include confidential issues. This is a trade-off to keep the code simple and to ensure refreshing the data only needs 2 COUNT(*) queries instead of 3. A downside is that if a project only has 5 confidential issues the counter will be set to 0. Because we now have 3 similar counting service classes the code previously used in Projects::ForksCountService has mostly been moved to Projects::CountService, which in turn is reused by the various service classes. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
2017-08-16Don't create event in Merge Request Create ServiceJarka Kadlecova
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-15Rename "Slash commands" to "Quick actions"Eric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-05-29Set head pipeline when creating merge requestsFelipe Artur
2017-05-15[Spec optimization] Joining one-line 'it' blocksValery Sizov
2017-05-12Move update_assignee_cache_counts to the serviceValery Sizov
2017-05-04Backport of multiple_assignees_feature [ci skip]Valery Sizov
2017-03-28Use `:empty_project` where possible in service specsRobert Speicher
2016-12-28Check if user can read issue before being assignedFelipe Artur
2016-09-20Add a spec for merge request metric caching while refreshing a merge request ↵Timothy Andrew
from a forked project.
2016-09-20Use the `IssuableBaseService` lifecycle hooks to cache ↵Timothy Andrew
`MergeRequestsClosingIssues` - Instead of overriding `create` and `update` in `MergeRequests::BaseService` - Get all merge request service specs passing
2016-09-20Implement a second round of review comments from @DouweM.Timothy Andrew
- Don't use `TableReferences` - using `.arel_table` is shorter! - Move some database-related code to `Gitlab::Database` - Remove the `MergeRequest#issues_closed` and `Issue#closed_by_merge_requests` associations. They were either shadowing or were too similar to existing methods. They are not being used anywhere, so it's better to remove them to reduce confusion. - Use Rails 3-style validations - Index for `MergeRequest::Metrics#first_deployed_to_production_at` - Only include `CycleAnalyticsHelpers::TestGeneration` for specs that need it. - Other minor refactorings.
2016-09-19Test all cycle analytics pre-calculation code.Timothy Andrew
All the code that pre-calculates metrics for use in the cycle analytics page. - Ci::Pipeline -> build start/finish - Ci::Pipeline#merge_requests - Issue -> record default metrics after save - MergeRequest -> record default metrics after save - Deployment -> Update "first_deployed_to_production_at" for MR metrics - Git Push -> Update "first commit mention" for issue metrics - Merge request create/update/refresh -> Update "merge requests closing issues"
2016-08-13Support slash commands in noteable description and notesRémy Coutable
Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-07-12Avoid `describe`-ing symbols in specsRobert Speicher
2016-05-20Allows MR authors to have the source branch removed when merging the MRJeroen Jacobs
2016-02-20Rename Tasks to TodosDouglas Barbosa Alexandre
2016-02-20Create a pending task when an MR is assigned to someoneDouglas Barbosa Alexandre
2015-12-09Tag service specsDouwe Maan
2015-08-11Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets
This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.