summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Merge branch 'sh-fix-import-export-suggestions' into 'master'Michael Kozono2019-08-121-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly save suggestions in project exports Closes #65880 See merge request gitlab-org/gitlab-ce!31690
| * | | | | | Properly save suggestions in project exportssh-fix-import-export-suggestionsStan Hu2019-08-101-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously imports would fail if a merge request note included a suggestion with an `ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection` exception. This was happening because suggestions were listed as a descendant of merge requests, but this doesn't work because suggestions are directly associated with notes, not merge requests, and that association is lost. Rails also disallows creating intializing a has_many association through a different object. We fix this by making `suggestions` a child of `notes` within a merge request. This doesn't fix previously broken exported project exports, but new exports will work. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65880
* | | | | | Merge branch '65790-highlight' into 'master'Annabel Dunstone Gray2019-08-121-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds highlight to collapsible line in job log Closes #65790 See merge request gitlab-org/gitlab-ce!31665
| * | | | | | Adds highlight to collapsible lineFilipa Lacerda2019-08-121-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | In the job log adds a highlight when hovering the collapsible line
* | | | | | Merge branch '65278-fix-puma-master-counter-wipe' into 'master'Stan Hu2019-08-121-3/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix active metric files being wiped after the app starts See merge request gitlab-org/gitlab-ce!31668
| * | | | | | Remove worker label from puma terminations metric65278-fix-puma-master-counter-wipeAleksei Lipniagov2019-08-121-3/+1
| |/ / / / /
* | | | | | Update Gitaly server and gem to 1.58.0Jacob Vosmaer2019-08-121-22/+0
| | | | | |
* | | | | | Merge branch 'georgekoltsov/63408-user-mapping' into 'master'Grzegorz Bizon2019-08-124-4/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add author lines to project import comments See merge request gitlab-org/gitlab-ce!31579
| * | | | | | Add code review suggestionsGeorge Koltsov2019-08-121-4/+4
| | | | | | |
| * | | | | | Apply code review feedbackGeorge Koltsov2019-08-081-6/+4
| | | | | | |
| * | | | | | Add author lines to project import commentsGeorge Koltsov2019-08-074-5/+13
| | | | | | |
* | | | | | | Add changelog entryGeorge Koltsov2019-08-121-1/+1
| | | | | | |
* | | | | | | Add BitBucketServerImport project filteringGeorge Koltsov2019-08-121-1/+2
| |/ / / / / |/| | | | |
* | | | | | Split MR widget into cached and non-cached serializersIgor2019-08-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Splits auto-refreshing of MR widget into 2 requests: - the one which uses etag-caching and invalidates the fields on change - the one without caching The idea is to gradually move all the fields to etag-cached endpoint
* | | | | | Merge branch 'issue_58494' into 'master'Robert Speicher2019-08-091-1/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent rewritting plain links as embedded Closes #58494 See merge request gitlab-org/gitlab-ce!31489
| * | | | | | Prevent rewritting plain links as embeddedissue_58494Felipe Artur2019-08-071-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents rewritting plain image/video links as embedded when moving issues.
* | | | | | | Remove gfm_embed_metrics flag from BETristan Read2019-08-093-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the feature flag that controls whether metrics dashboard urls unfurl the metrics dashboard charts.
* | | | | | | Merge branch 'revert-d61dab91' into 'master'Bob Van Landuyt2019-08-092-8/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Merge branch '65152-selective-highlight' into 'master'" See merge request gitlab-org/gitlab-ce!31643
| * | | | | | | Revert "Merge branch '65152-selective-highlight' into 'master'"revert-d61dab91Patrick Bajao2019-08-092-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | This reverts merge request !31361
* | | | | | | | Merge branch 'lib-differences' into 'master'Rémy Coutable2019-08-092-1/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve EE differences in the lib/ directory See merge request gitlab-org/gitlab-ce!31582
| * | | | | | | | Backport EE changes to ProjectSearchResultslib-differencesYorick Peterse2019-08-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EE made some changes to the project_ids_relation method, but these were not backported to CE.
| * | | | | | | | Backport EE changes to the project import APIYorick Peterse2019-08-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EE added a single line to this file that can easily be backported to CE, but it appears this was overlooked. The method called is a noop in CE, so no additional changes are necessary.
* | | | | | | | | Merge branch 'sh-fix-sidekiq-scheduling-latency' into 'master'Thong Kuah2019-08-091-1/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Sidekiq scheduling_latency_s Closes #65748 See merge request gitlab-org/gitlab-ce!31650
| * | | | | | | | | Fix Sidekiq scheduling_latency_ssh-fix-sidekiq-scheduling-latencyStan Hu2019-08-081-1/+5
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This number was reporting a negative number because `current_time` was a monotonic counter, not an absolute time. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65748
* | | | | | | | | Add Gitaly and Rugged call timing in Sidekiq logsStan Hu2019-08-094-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help identify Sidekiq jobs that invoke excessive number of filesystem access. The timing data is stored in `RequestStore`, but this is only active within the middleware and is not directly accessible to the Sidekiq logger. However, it is possible for the middleware to modify the job hash to pass this data along to the logger.
* | | | | | | | | Merge branch '39217-remove-kubernetes-service-integration' into 'master'James Lopez2019-08-091-27/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove KubernetesService integration See merge request gitlab-org/gitlab-ce!31365
| * | | | | | | | | Final removal of KubernetesService39217-remove-kubernetes-service-integrationTiger2019-08-081-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating new records has been disabled, and all existing records been migrated to clusters as of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28534
* | | | | | | | | | Merge branch 'speed-up-labels-api' into 'master'Rémy Coutable2019-08-094-9/+19
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove label issue and MR counts from default API responses See merge request gitlab-org/gitlab-ce!31543
| * | | | | | | | | Remove label issue and MR counts from default API responsesspeed-up-labels-apiSean McGivern2019-08-084-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These counts significantly increase the load time for these requests. Users can now opt in to receiving the counts by setting `with_counts=true` in requests. This is a breaking change, but hopefully a fairly minor one.
* | | | | | | | | | Add a field for released_at to GH importerCindy Pallares 🦉2019-08-091-0/+1
| |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Rename githost.log -> git_json.logStan Hu2019-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The githost.log name was often confused with GitHost.io. Rename this to git_json.log to make it clear it's coming from Git and that it's JSON data.
* | | | | | | | | Bring scoped environment variables to coreHordur Freyr Yngvason2019-08-084-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
* | | | | | | | | Merge branch '12026-use-notes-finder-target-for-epics-ce' into 'master'Robert Speicher2019-08-081-3/+9
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use NotesFinder#target to find Epics See merge request gitlab-org/gitlab-ce!31408
| * | | | | | | | | Use NotesFinder#target to find Epics12026-use-notes-finder-target-for-epics-cePatrick Derichs2019-08-041-3/+9
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | Record usage on snippet usageMark Chao2019-08-085-27/+91
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Generalize wiki page counter for other page types to extend to.
* | | | | | | | Merge branch '63181-collapsible-line' into 'master'Kushal Pandya2019-08-081-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes section title clickable and collapsible Closes #63181 See merge request gitlab-org/gitlab-ce!31571
| * | | | | | | | Makes title section collapsible63181-collapsible-lineFilipa Lacerda2019-08-071-2/+2
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the job log, if the user clicks the section title the job log section will be collapsed
* | | | | | | | Merge branch 'patch-71' into 'master'Grzegorz Bizon2019-08-081-2/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove duplicated line from Maven CI template See merge request gitlab-org/gitlab-ce!31440
| * | | | | | | | Remove duplicated line from Maven CI templateZsolt Kovari2019-08-031-2/+0
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge branch '20137-starrers' into 'master'Stan Hu2019-08-082-0/+34
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add possibilty to view starrers ("stargazers") of a repository & any user's starred repositories Closes #20137 See merge request gitlab-org/gitlab-ce!24690
| * | | | | | | Fix testsCamil Staps2019-08-071-1/+1
| | | | | | | |
| * | | | | | | Expose time since starring on project/:id/starrers API endpoint; exclude ↵Camil Staps2019-08-072-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | private profiles here as well
| * | | | | | | Fix API endpoint for starred projects of a user; add info about starred ↵Camil Staps2019-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | projects on profile to documentation
| * | | | | | | Add documentation and changelog for !24690Camil Staps2019-08-071-4/+6
| | | | | | | |
| * | | | | | | Add users/:user_id/starred_projects API endpoint for projects starred by a userCamil Staps2019-08-071-0/+16
| | | | | | | |
| * | | | | | | Add projects/:id/starrers API endpoint for users who starred a repositoryCamil Staps2019-08-071-0/+12
| | | | | | | |
* | | | | | | | Merge branch 'sh-add-missing-csp-report-uri' into 'master'Mayra Cabrera2019-08-071-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing report-uri to CSP config See merge request gitlab-org/gitlab-ce!31593
| * | | | | | | | Add missing report-uri to CSP configsh-add-missing-csp-report-uriStan Hu2019-08-071-1/+1
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is supported in Rails 5.2, although it may be deprecated in the future by reports-to.
* | | | | | | | Checksum clair executablePhilippe Lafoucrière2019-08-071-0/+2
| |/ / / / / / |/| | | | | |
* | | | | | | Save instance administration project id in DBReuben Pereira2019-08-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This will make it easy to identify the project even if admins change the name of the project or move it.