summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Backfill project_repositories for legacy storage projectsDouglas Barbosa Alexandre2018-12-183-123/+238
| | | | | Adds a background migration that will ensure all projects that are on legacy storage have a row in `project_repositories`.
* Merge branch 'osw-revert-suggestions-ff' into 'master'Douwe Maan2018-12-181-1/+0
|\ | | | | | | | | Remove feature flag for suggest changes feature See merge request gitlab-org/gitlab-ce!23892
| * Remove feature flag for suggest changes featureOswaldo Ferreira2018-12-181-1/+0
| |
* | Merge branch 'zj-upgrade-gitaly-version' into 'master'Douwe Maan2018-12-181-7/+0
|\ \ | |/ |/| | | | | Upgrade Gitaly to 1.9.0 See merge request gitlab-org/gitlab-ce!23865
| * Upgrade Gitaly to 1.9.0Zeger-Jan van de Weg2018-12-171-7/+0
| | | | | | | | | | This upgrade moves logic from gitlab-rails to Gitaly, which allowed code removal too.
* | Merge branch 'bvl-hide-confidential-events-take2' into 'master'Sean McGivern2018-12-181-30/+12
|\ \ | | | | | | | | | | | | | | | | | | Hide confidential events in ruby Closes #51791 See merge request gitlab-org/gitlab-ce!23746
| * | Hide confidential events in rubyBob Van Landuyt2018-12-171-30/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're filtering the events using `Event#visible_to_user?`. At most we're loading 100 events at once. Pagination is also dealt with in the finder, but the resulting array is wrapped in a `Kaminari.paginate_array` so the API's pagination helpers keep working. We're passing the total count into that paginatable array, which would include confidential events. But we're not disclosing anything.
* | | Add "none" syntax highlighting "color" schemekhm2018-12-181-1/+2
| | |
* | | Change SafeRequestStore#write to accept an options hashDouglas Barbosa Alexandre2018-12-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change the write to accept an options hash to make it compatible with ActiveSupport::Cache::Store#write method. The options hash are not passed to the underlying cache implementation because RequestStore#write accepts only a key, and value params.
* | | Merge branch 'revert-1cccfca1' into 'master'Grzegorz Bizon2018-12-171-16/+10
|\ \ \ | |/ / |/| | | | | | | | Revert "Merge branch 'auto_devops_kubernetes_active' into 'master'" See merge request gitlab-org/gitlab-ce!23826
| * | Revert "Merge branch 'auto_devops_kubernetes_active' into 'master'"Thong Kuah2018-12-171-16/+10
| |/ | | | | | | | | This reverts merge request https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22929
* | Merge branch '55230-remove-project-cleanup-feature-flag' into 'master'Douwe Maan2018-12-171-0/+1
|\ \ | | | | | | | | | | | | | | | | | | Remove the project_cleanup feature flag Closes #55230 See merge request gitlab-org/gitlab-ce!23814
| * | Fix repository cleanup with object storage onNick Thomas2018-12-151-0/+1
| |/ | | | | | | | | | | | | | | When the BFG object map file is in object storage (i.e., uploads in general are placed into object storage), we get an instance of the Gitlab::HttpIO class. This doesn't behave as expected when you try to read past EOF, so we need to explicitly check for this condition to avoid ending up in a tight loop around io.read
* | Merge branch ↵Yorick Peterse2018-12-172-21/+104
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '55433-un-revert-https-gitlab-com-gitlab-org-gitlab-ce-commit-00acef434031b5dc0bf39576a9e83802c7806842-revert' into 'master' Resolve "Un-revert https://gitlab.com/gitlab-org/gitlab-ce/commit/00acef434031b5dc0bf39576a9e83802c7806842 revert" Closes #55433 See merge request gitlab-org/gitlab-ce!23861
| * | Revert "Revert "LfsToken uses JSONWebToken::HMACToken by default""Ash McKenzie2018-12-172-21/+104
| |/ | | | | | | This reverts commit 00acef434031b5dc0bf39576a9e83802c7806842.
* | Remove rails4 specific codeJasper Maes2018-12-1612-109/+23
|/
* Merge branch '54786-mr-empty-file-display' into 'master'Nick Thomas2018-12-151-0/+4
|\ | | | | | | | | | | | | Display empty files properly on MR diffs Closes #54786 See merge request gitlab-org/gitlab-ce!23671
| * Display empty files properly on MR diffsSean Nichols2018-12-111-0/+4
| |
* | Merge branch 'rs-transient-help-page-failure' into 'master'Stan Hu2018-12-151-3/+4
|\ \ | | | | | | | | | | | | | | | | | | Resolve transient failure in Help page spec Closes #55372 See merge request gitlab-org/gitlab-ce!23839
| * | Use class methods for VersionCheckRobert Speicher2018-12-141-3/+4
| | | | | | | | | | | | | | | | | | | | | All of these methods are stateless, there was no point to have them as instance methods. Mostly this allows us to remove an `allow_any_instance_of` usage.
* | | Remove rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes2018-12-141-16/+0
|/ /
* | Merge branch 'remove-issue-suggestions-flag' into 'master'Douwe Maan2018-12-142-4/+8
|\ \ | | | | | | | | | | | | | | | | | | Remove issue_suggestions feature flag Closes #55166 See merge request gitlab-org/gitlab-ce!23723
| * | Pass on arguments passed to the FeatureConstrainerBob Van Landuyt2018-12-141-4/+4
| | | | | | | | | | | | | | | All arguments passed to the `FeatureConstrainer` will be passed on to the `Feature.enabled?` check.
| * | Enable GraphQL API endpointPhil Hughes2018-12-132-4/+8
| | |
* | | Merge branch 'ac-releases-name-sha-author' into 'master'Kamil Trzciński2018-12-141-1/+2
|\ \ \ | | | | | | | | | | | | | | | | Add name, author and sha to releases See merge request gitlab-org/gitlab-ce!23763
| * | | Add name, author and sha to releasesAlessio Caiazza2018-12-131-1/+2
| |/ / | | | | | | | | | | | | | | | This commit adds a name to each release, defaulting it to tag name, keeps track of the SHA when a new release is created and tracks the current user as release author.
* | | Fix deprecation: Passing ActiveRecord::Base objects to ↵Jasper Maes2018-12-131-1/+1
| | | | | | | | | | | | sanitize_sql_hash_for_assignment
* | | Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-1311-2/+103
| | |
* | | Merge branch 'zj-backup-restore-object-pools' into 'master'Douwe Maan2018-12-131-1/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Restore Object Pools when restoring an object pool Closes gitaly#1355 See merge request gitlab-org/gitlab-ce!23682
| * | | Restore Object Pools when restoring an object poolZeger-Jan van de Weg2018-12-131-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pool repositories are persisted in the database, and when the DB is restored, the data need to be restored on disk. This is done by resetting the state machine and rescheduling the object pool creation. This is not an exact replica of the state like at the time of the creation of the backup. However, the data is consistent again. Dumping isn't required as internally GitLab uses git bundles which bundle all refs and include all objects in the bundle that they require, reduplicating as more repositories get backed up. This does require more data to be stored. Fixes https://gitlab.com/gitlab-org/gitaly/issues/1355
* | | | Re-define default only except policyKamil Trzciński2018-12-134-50/+15
| |/ / |/| |
* | | Merge branch 'feature/gb/ci-pipeline-bridge' into 'master'Kamil Trzciński2018-12-122-0/+42
|\ \ \ | | | | | | | | | | | | | | | | Add basic implementation of CI/CD bridge job See merge request gitlab-org/gitlab-ce!23730
| * | | Add basic implementation of CI/CD bridge jobGrzegorz Bizon2018-12-122-0/+42
| | | |
* | | | Merge branch 'fix-rubocop-issues' into 'master'Rémy Coutable2018-12-122-5/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Fix ConstantName rubocop offense See merge request gitlab-org/gitlab-ce!23677
| * | | Fix ConstantName rubocop offenseSemyon Pupkov2018-12-092-5/+5
| | | |
* | | | Merge branch 'sh-fix-diff-check-issue-55137-ce' into 'master'Stan Hu2018-12-111-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | [CE] Fix DiffCheck failing due to invalid string argument See merge request gitlab-org/gitlab-ce!23741
| * | | | Remove now-unnecessary checksDouwe Maan2018-12-111-1/+1
| | | | |
| * | | | Fix DiffCheck failing due to invalid string argumentStan Hu2018-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | Hot patch for #55137
* | | | | Update GitLab Workhorse to v8.0.0Nick Thomas2018-12-111-1/+0
| | | | |
* | | | | Merge branch '7788_parse_license_management_reports_in_be-ce' into 'master'Kamil Trzciński2018-12-114-22/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Generalise test compare service See merge request gitlab-org/gitlab-ce!22833
| * | | | | Generalise test compare serviceGilbert Roulot2018-12-114-22/+31
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | It adds a base class for CompareTestReportsService containing common code with CompareLicenseManagementReportsService which is present in GitLab Enterprise Edition.
* | | | | Fix MR pipelines run on only: refexShinya Maeda2018-12-111-4/+8
|/ / / /
* | | | Merge branch '55116-runtimeerror-can-t-modify-frozen-string' into 'master'Douwe Maan2018-12-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a frozen string error in lib/gitlab/utils.rb Closes #55116 See merge request gitlab-org/gitlab-ce!23690
| * | | | Fix a frozen string error in lib/gitlab/utils.rbRémy Coutable2018-12-101-1/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch 'sh-remove-gitlab-shell-include' into 'master'Rémy Coutable2018-12-102-3/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Remove unnecessary includes of ShellAdapter See merge request gitlab-org/gitlab-ce!23607
| * | | Remove unnecessary includes of ShellAdapterStan Hu2018-12-052-3/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Determined by running the script: ``` included = `git grep --name-only ShellAdapter`.chomp.split("\n") used = `git grep --name-only gitlab_shell`.chomp.split("\n") included - used ```
* | | Merge branch 'sh-ignore-arrays-url-sanitizer' into 'master'Rémy Coutable2018-12-101-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Only allow strings in URL::Sanitizer.valid? Closes #55079 See merge request gitlab-org/gitlab-ce!23675
| * | | Only allow strings in URL::Sanitizer.valid?Stan Hu2018-12-091-0/+1
| | |/ | |/| | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55079
* | | Merge branch ↵Grzegorz Bizon2018-12-101-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '54626-able-to-download-a-single-archive-file-with-api-by-ref-name' into 'master' Add endpoint to download single artifact by ref Closes #54626 See merge request gitlab-org/gitlab-ce!23538
| * | | Add endpoint to download single artifact by refSteve Azzopardi2018-12-071-0/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Add a new endpoint `projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name` which is the close the web URL for consistency sake. This endpoint can be used to download a single file from artifacts for the specified ref and job. closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54626