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
2019-07-16Add result to MoveService#execute_multiplePatrick Derichs
It adds a hash response which includes the count, success state and the moved issues itself so the caller has additional information about the result of the process.
2019-07-12Merge branch 'upgrade-rails-5-2-ce' into 'master'Bob Van Landuyt
[CE] Upgrade to Rails 5.2 See merge request gitlab-org/gitlab-ce!30052
2019-07-12Fix reply to discussion on promoted epicAlexandru Croitor
Regenerate discussion_id for notes that are being copied over to the epic when issue is promoted to epic. https://gitlab.com/gitlab-org/gitlab-ee/issues/11445
2019-07-12Merge branch '55623-group-cluster-apis' into 'master'Grzegorz Bizon
Resolve "API support for group-level clusters" Closes #55623 See merge request gitlab-org/gitlab-ce!30213
2019-07-12Upgrade to Rails 5.2Heinrich Lee Yu
Updates changed method names and fixes spec failures
2019-07-11Format `from` and `to` fields in JSON audit logStan Hu
To make it possible to index the `from` and `to` fields with Elasticsearch and other tools, we need the types to be the same. Currently they are a mix of boolean and string values. Part of https://gitlab.com/gitlab-org/gitlab-ee/issues/12599
2019-07-11Merge branch '35757-move-issues-in-boards-pderichs' into 'master'Jan Provaznik
Add endpoint to move issues in boards See merge request gitlab-org/gitlab-ce!30216
2019-07-11Add endpoint to move multiple issuesPatrick Derichs
Add specs for new endpoint to move multiple issues. Add changelog entry Just check the first issue for the ability to move / update Add specs for exceeding limits and malformed requests Changed name of shared examples Change title of changelog entry Use %i instead of %w Check permission to update issue on project instead of board Use admin_issue permission to check for issue move ability Changed variable name to avoid shadow issue_params method Rename route to bulk_move Change route definition Check permissions for each issue Combine methods for parameters permit check Remove extra context Change description of context Check param for type Array Add unit tests to MoveService Use before_action for permission check Use set instead of let! Use let's instead of set
2019-07-11Give Knative serving permissions to service accountHordur Freyr Yngvason
GitLab uses a kubernetes service account to perform deployments. For serverless deployments to work as expected with externally created clusters with their own knative installations (e.g. via Cloud Run), this account requires additional permissions in the serving.knative.dev API group.
2019-07-11Refactor: model errors for multi cluster validationDylan Griffith
The current approach requires catching exceptions to handle these errors and callers are already handling model validations so it seems more appropriate. Also it seemed to convoluted to add this logic directly to the model since the model needs to check too many possible associations to determine whether or not there are more than one cluster since the model doesn't know what it's being created on. Additionally we only wanted to validate during create to avoid the risk of existing models becoming invalid by many different edge cases.
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10Adds 15m bucket for CI job queueElliot Rushton
2019-07-09Merge branch 'osw-bypass-push-rules-for-merge-to-ref' into 'master'Stan Hu
[CE port] Bypass push rules for merge to ref service See merge request gitlab-org/gitlab-ce!30426
2019-07-09[CE port] Bypass push rules for merge to ref serviceOswaldo Ferreira
Turns out push rules to validate commit message does not apply in the context of automatic merge to the refs/merge-requests/:iid/merge. Mainly because if it fails to merge to it, we currently can't give enough preemptive feedback to the user and it'll turn the merge request unmergeable (given we automatically mark it as unmergeable if we can't merge to the ref). In general, it's a systematic operation, which already bypasses user authorization and git hooks. Therefore, this commit makes it bypass the push rules at EE as well.
2019-07-09Skip spam check for task list updatesFelipe Artur
Task list updates should not mark users action as spam on akismet.
2019-07-09CE Port of Allow bulk update for group issuesFatih Acet
This is a port MR for CE Original MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14141
2019-07-05Merge branch 'create-merge-train-ref-ce' into 'master'Douwe Maan
CE Port: Extend `MergeToRefService` to create merge ref from an arbitrary ref See merge request gitlab-org/gitlab-ce!30361
2019-07-05Merge branch 'make-explicit-endpoint-abort-in-auto-merge-ce' into 'master'Kamil Trzciński
CE Port: Split AutoMergeService interfaces into two `cancel` and `abort` See merge request gitlab-org/gitlab-ce!30249
2019-07-05Refactor PositionTracer to support different typesPatrick Bajao
This is to prepare for supporing image type position tracing
2019-07-05Extend MergeToRefService for creating merge ref from the other refShinya Maeda
Currently, MergeToRefService is specifically designed for createing merge commits from source branch and target branch of merge reqeusts. We extend this behavior to source branch and any target ref paths.
2019-07-05Split AutoMergeService interfaces into two `cancel` and `abort`Shinya Maeda
Create explicit endpoint - abort.
2019-07-04Remove now unused KubernetesService methodsJames Fargher
Now that KubernetesService can no longer be a DeploymentPlatform we can remove all kubernetes client code and KubernetesService edge cases.
2019-07-04Merge branch '54117-transactional-rebase' into 'master'Douglas Barbosa Alexandre
Allow asynchronous rebase operations to be monitored Closes #54117 See merge request gitlab-org/gitlab-ce!29940
2019-07-04Merge branch 'refactor-pipeline-errors_message-ce' into 'master'Kamil Trzciński
CE Port: Refactor pipeline errors_message See merge request gitlab-org/gitlab-ce!30116
2019-07-04Allow asynchronous rebase operations to be monitoredNick Thomas
This MR introduces tracking of the `rebase_jid` for merge requests. As with `merge_ongoing?`, `rebase_in_progress?` will now return true if a rebase is proceeding in sidekiq. After one release, we should remove the Gitaly-based lookup of rebases. It is much better to track this kind of thing via the database.
2019-07-04Fix MWPS system notes shows inconsistent shaShinya Maeda
Fix the system note service
2019-07-04Refactor pipeline errors_messageShinya Maeda
Use the shared method in Ci::Pipeline
2019-07-04Merge branch 'limit-amount-of-tests-returned' into 'master'Stan Hu
Limit amount of JUnit tests returned Closes #64035 See merge request gitlab-org/gitlab-ce!30274
2019-07-03Limit amount of JUnit tests returnedKamil Trzciński
Currently, we do not cap amount of tests returned to frontend, thus in some extreme cases we can see a MBs of data stored in Redis. This adds an upper limit of 100 tests per-suite. We will continue showing the total counters correctly, but we will limit amount of tests that will be presented.
2019-07-03Merge branch 'issue/55953' into 'master'Sean McGivern
rename `discussion` to `thread` Closes #55953 See merge request gitlab-org/gitlab-ce!29553
2019-07-03Merge branch 'jc-deprecate-diverging-count-with-max' into 'master'Jan Provaznik
Deprecate diverging commit count with max parameter Closes gitaly#1702 See merge request gitlab-org/gitlab-ce!30275
2019-07-03Merge branch 'master' into michel.engelen/gitlab-ce-issue/55953Sean McGivern
2019-07-03Show upcoming status for releasesJason Goodman
Add released_at field to releases API Add released_at column to releases table Return releases to the API sorted by released_at
2019-07-03Deprecate diverging commit count with max parameterJohn Cai
In 12.0, we turned the feature flag on that effectively turned off the --max-count flag for the count diverging commits call. Since we have commit graphs turned on, this did not affect preformance negatively. Thus, we want to deprecate the call that passes --max-count
2019-07-02Add username to deploy tokensKrasimir Angelov
This new attribute is optional and used when set instead of the default format `gitlab+deploy-token-#{id}`. Empty usernames will be saved as null in the database. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/50228.
2019-07-02Includes logic to persist namespace statisticsMayra Cabrera
- Add two new ActiveRecord models: - RootNamespaceStoragestatistics will persist root namespace statistics - NamespaceAggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled - Inject into UpdateProjectStatistics concern a new callback that will call an async job to insert a new row onto NamespaceAggregationSchedule table - When a new row is inserted a new job is scheduled. This job will update call an specific service to update the statistics and after that it will delete thee aggregated scheduled row - The RefresherServices makes heavy use of arel to build composable queries to update Namespace::RootStorageStatistics attributes. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows
2019-07-02changed string `discussion` to `thread` in timeline update ("[user] resolved ↵Michel Engelen
all threads")
2019-07-01Merge branch '58583-confidential-mr-branch-backend' into 'master'Rémy Coutable
Support creating an MR/branch on a fork from an issue See merge request gitlab-org/gitlab-ce!29831
2019-07-01Merge branch 'id-stale-branches' into 'master'Grzegorz Bizon
Add endpoint for fetching diverging commit counts See merge request gitlab-org/gitlab-ce!29802
2019-06-28Fix issues when creating system notesPatrick Bajao
When `confidential_issue_project_id` is set and the issue is under that project, create the a note about branch creation in that project. If not, do nothing. When creating `new_merge_request` system note, set the project where the MR will be referenced from so it'll be linked to when the MR is created in another project.
2019-06-28Support creating an MR on a fork from an issuePatrick Bajao
2019-06-28Add endpoint for fetching diverging commit countsIgor Drozdov
Extract diverging_commit_counts into a service class
2019-06-28Do not change updated_at on an issue when reordering on an issue boardEugenia Grieff
2019-06-28Backport CE changes for multiple GroupSAML supportStan Hu
This commit makes it possible for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14420 to handle multiple SAML providers.
2019-06-27Merge branch '53811-issue-boards-to-core-projects-backend-ce' into 'master'Stan Hu
Move Multiple Issue Boards for Projects to Core See merge request gitlab-org/gitlab-ce!29757
2019-06-26Speed up obtaining Let's Encrypt certificatesVladimir Shushlin
2019-06-26Move Multiple Issue Boards for Projects to CoreAlexandru Croitor
Refactor code to allow multiple issue boards management for projects in CE
2019-06-26Disable Rails SQL query cache when applying service templatesStan Hu
When the SQL query cache is active, the SELECT query for finding projects to apply service templates returns the same values. This causes an infinite loop because even though bulk INSERT queries are made, the cached results never reflect that progress. To fix this, we call `Project.uncached` around the query to ensure new data is retrieved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63595
2019-06-24Merge branch 'sync-merge-ref-upon-mergeability-check' into 'master'Douwe Maan
Automatically update MR merge-ref along merge status See merge request gitlab-org/gitlab-ce!29569
2019-06-24Merge branch '60617-enable-project-cluster-jit' into 'master'Thong Kuah
Enable JIT Kubernetes resource creation for project level clusters See merge request gitlab-org/gitlab-ce!29515