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-09-03Merge branch 'clusterable_cluster_environments_path' into 'master'Jan Provaznik
Add #environments_cluster_path which will always return nil in CE See merge request gitlab-org/gitlab-ce!32527
2019-09-03Add pipeline.type key to PipelineEntityShinya Maeda
This commit adds pipeline.type key to PipelineEntity. This key will be used in MR widget in the next iteration.
2019-09-03Add facade which will always return nil in CEThong Kuah
This method will be overridden in EE
2019-09-02Support selective highlighting of linesPatrick Bajao
Instead of highlighting all lines when not all of them are needed, only highlight from the beginning up to the specified limit. The `BlobPresenter#highlight` method has been updated to support `to` param. This param will be used to limit the content to be highlighted.
2019-08-20Use ActiveModel's type instead of virtusPeter Leitzen
The virtus project has been discontinued: https://github.com/solnic/virtus/commit/a6f896984
2019-08-10Replace ... with new expansion optionsSamantha Ming
- expand upwards - expand downwards - expand all in both inline and parallel views
2019-08-09Revert "Merge branch '65152-selective-highlight' into 'master'"Patrick Bajao
This reverts merge request !31361
2019-08-06Merge branch '65152-selective-highlight' into 'master'Bob Van Landuyt
Support selective highlighting of lines See merge request gitlab-org/gitlab-ce!31361
2019-08-06Support selective highlighting of linesPatrick Bajao
Instead of highlighting all lines when not all of them are needed, only highlight specific lines. The `BlobPresenter#highlight` method has been updated to support `since` and `to` params. These params will be used to limit the content to be highlighted. Modify `Gitlab::Highlight` to support `since` param which will then be used to determine the starting line number.
2019-08-05Speed up loading and filtering deploy keys and their projectsNick Thomas
This commit changes how we eager-load projects, routes, and namespaces required by the deploy keys endpoint, getting a 10x improvement in my local testing. The endpoint still doesn't scale in-general, but going from ~13 seconds to dump a 63K result to generating the same thing in ~1.6 seconds seems like a good improvement to me.
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-07-22Fix suggestion on lines that are not part of an MRPatrick Bajao
Return the `text` as plain string in the response instead of including HTML tags but keep `rich_text` as is. The fix is to modify `Blob::UnfoldPresenter#diff_files` to map each raw diff line (limited by the range specified) to a corresponding line in an array of highlighted lines to use as `rich_text`.
2019-06-28GraphQL mutations for add, remove and toggle emojiLuke Duncalfe
Adding new `AddAwardEmoji`, `RemoveAwardEmoji` and `ToggleAwardEmoji` GraphQL mutations. Adding new `#authorized_find_with_pre_checks!` and (unused, but for completeness `#authorized_find_with_post_checks!`) authorization methods. These allow us to perform an authorized find, and run our own additional checks before or after the authorization runs. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826
2019-06-12Expose ci_default_git_depth via project APIFabio Pitino
Enable Get and Update of ci_default_git_depth for Project API. Renaming Project#default_git_depth to :ci_default_git_depth to give more context through the API usage. Add API documentation
2019-06-10Move project default git depth behind feature flagsFabio Pitino
2019-06-06Add project level git depth settingKrasimir Angelov
Introduce default_git_depth in project's CI/CD settings and set it to 50. Use it if there is no GIT_DEPTH variable specified. Apply this default only to newly created projects and keep it nil for old ones in order to not break pipelines that rely on non-shallow clones. default_git_depth can be updated from CI/CD Settings in the UI, must be either nil or integer between 0 and 1000 (incl). Inherit default_git_depth from the origin project when forking projects. MR pipelines are run on a MR ref (refs/merge-requests/:iid/merge) and it contains unique commit (i.e. merge commit) which doesn't exist in the other branch/tags refs. We need to add it cause otherwise it may break pipelines for old projects that have already enabled Pipelines for merge results and have git depth 0. Document new default_git_depth project CI/CD setting
2019-06-05Merge branch 'graphql-file-entry-url' into 'master'Nick Thomas
Add web_url to tree entry in GraphQL API See merge request gitlab-org/gitlab-ce!28646
2019-06-05Merge branch 'revert-git-depth-for-merge-request' into 'master'Kamil Trzciński
Revert a default GIT_DEPTH for MR pipeline See merge request gitlab-org/gitlab-ce!28926
2019-06-05Add web_url to tree entry in GraphQL APIPhil Hughes
2019-06-03Merge branch 'abstract-auto-merge' into 'master'Kamil Trzciński
Refactor and abstract Auto Merge Processes See merge request gitlab-org/gitlab-ce!28595
2019-06-03Abstract auto merge processesShinya Maeda
We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
2019-05-31Added common fields to the IssueTypeBrett Walker
and allow passing of child_complexity to the 'resolver_complexity' metho
2019-05-31Revert a default GIT_DEPTH for MR pipelineFabio Pitino
2019-05-28Fix display of promote to group labelJan Provaznik
Since label presenter is used in label index view, label class check doesn't work as expected because the class is now LabelPresenter. Also `label.subject` doesn't work as expected now because Label's model `subject` method is shadowed by Gitlab's presenter's method which uses `subject` for referencing the original object. Instead we use a presenter's method for both checks now. `label_deletion_confirm_text` is not used anywhere so it's removed
2019-05-27Add changelog entryJacques Erasmus
Added a changelog entry for the feature
2019-05-20Fix specs to match route changesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-05-06Remove duplicate clusterable presenter methodJames Fargher
2019-05-06Instance level kubernetes clusters adminJames Fargher
Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
2019-05-06Show health graphs on group-levelPeter Leitzen
Tweak cluster helper and refactor its specs.
2019-04-30Fix ref_text of merge request pipelinesShinya Maeda
Source branch can be removed after the merge and we have to make sure to avoid rendering links if it's the case.
2019-04-23Move scoped_label into label presenterJan Provaznik
When rendering a label we want to check 'scoped_label' feature availability on a project/group where label is being used. For this reason a label presenter is used in UI and information about context project/group is passed to this presenter.
2019-04-19Improvements to Project overview UIIllya Klymov
2019-04-16Rename CI related selectorsGeorge Tsiolis
2019-04-05Autocorrect with RSpec/ExampleWording copThong Kuah
- rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
2019-04-03Add pipeline bridge presenterGrzegorz Bizon
2019-03-29Renames Cluster#managed? to provided_by_user?Mayra Cabrera
This will allow to user the term managed? on https://gitlab.com/gitlab-org/gitlab-ce/issues/56557. Managed? will be used to distinct clusters that are automatically managed by GitLab
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-25Resolve CE/EE differences in MergeRequestPresenter specSean McGivern
2019-03-19Update pipeline detail view to accommodate post-merge pipelinesShinya Maeda
Commit changes Add spec Add changelog fix fix Fix Fix spec Finish spec ok nice ok ok ok fix
2019-03-07Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon
Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
2019-03-07Merge branch 'expand-diff-to-full-file' into 'master'Douwe Maan
Expand diff to entire file Closes #19054 See merge request gitlab-org/gitlab-ce!24406
2019-03-07Move diff_line preparation into presenterMark Chao
Update spec
2019-03-06Expose merge request entity for pipelinesShinya Maeda
Add preload Fix ok Write tests test only postgresql ok add more test ; Improve wording Add changelog Fix
2019-03-06Add full option for blob diff actionMark Chao
Returns all diff lines for frontend if full is true. Turn UnfoldForm into presenter, and move controller logic to presenter.
2019-03-05Sends update route to the clientJoão Cunha
- extends presenters to include update endpoint path - sends path to the client on clusters clusters show view.
2019-02-25Expose refspec and depth to runnerShinya Maeda
fix fix and fix Allow full ref specification for pipeline creation Add spec Support backward compatibility Use ref path Runner feature flag Simplify the things Support fork workflow (Public only) Expose ref spec Use refspec Glooming Decouple unrelated changes Add changelog Revert unrelated file Decouple unnecessary Add spec Use refspecs Fix changelog Simplify Fix coding offence Fix a ok ok ok ok ok a a Fix Add workaround for ignore_column Fix git depth Fix coding offence Fix spec Simplify more Do not set ignored column Fix tests Fix pipeline Fix spec fix fixture yes Revert nonsense fix Revert more ok Decouple mr pipelines fix spev Remove unrelated changes
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-01-31[master] Pipelines section is available to unauthorized usersKamil Trzciński
2019-01-31Fix subject in trigger presenter testsGrzegorz Bizon
2019-01-31Add some specs for trigger presenterGrzegorz Bizon