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
path: root/lib
AgeCommit message (Collapse)Author
2019-08-10Split MR widget into cached and non-cached serializersIgor
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
2019-08-09Merge branch 'issue_58494' into 'master'Robert Speicher
Prevent rewritting plain links as embedded Closes #58494 See merge request gitlab-org/gitlab-ce!31489
2019-08-09Remove gfm_embed_metrics flag from BETristan Read
Removes the feature flag that controls whether metrics dashboard urls unfurl the metrics dashboard charts.
2019-08-09Merge branch 'revert-d61dab91' into 'master'Bob Van Landuyt
Revert "Merge branch '65152-selective-highlight' into 'master'" See merge request gitlab-org/gitlab-ce!31643
2019-08-09Merge branch 'lib-differences' into 'master'Rémy Coutable
Resolve EE differences in the lib/ directory See merge request gitlab-org/gitlab-ce!31582
2019-08-09Merge branch 'sh-fix-sidekiq-scheduling-latency' into 'master'Thong Kuah
Fix Sidekiq scheduling_latency_s Closes #65748 See merge request gitlab-org/gitlab-ce!31650
2019-08-09Add Gitaly and Rugged call timing in Sidekiq logsStan Hu
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.
2019-08-09Merge branch '39217-remove-kubernetes-service-integration' into 'master'James Lopez
Remove KubernetesService integration See merge request gitlab-org/gitlab-ce!31365
2019-08-09Merge branch 'speed-up-labels-api' into 'master'Rémy Coutable
Remove label issue and MR counts from default API responses See merge request gitlab-org/gitlab-ce!31543
2019-08-09Fix Sidekiq scheduling_latency_sStan Hu
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
2019-08-09Revert "Merge branch '65152-selective-highlight' into 'master'"Patrick Bajao
This reverts merge request !31361
2019-08-09Add a field for released_at to GH importerCindy Pallares 🦉
2019-08-08Rename githost.log -> git_json.logStan Hu
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.
2019-08-08Bring scoped environment variables to coreHordur Freyr Yngvason
As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
2019-08-08Remove label issue and MR counts from default API responsesSean McGivern
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.
2019-08-08Merge branch '12026-use-notes-finder-target-for-epics-ce' into 'master'Robert Speicher
Use NotesFinder#target to find Epics See merge request gitlab-org/gitlab-ce!31408
2019-08-08Record usage on snippet usageMark Chao
Generalize wiki page counter for other page types to extend to.
2019-08-08Backport EE changes to ProjectSearchResultsYorick Peterse
EE made some changes to the project_ids_relation method, but these were not backported to CE.
2019-08-08Backport EE changes to the project import APIYorick Peterse
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.
2019-08-08Merge branch '63181-collapsible-line' into 'master'Kushal Pandya
Makes section title clickable and collapsible Closes #63181 See merge request gitlab-org/gitlab-ce!31571
2019-08-08Merge branch 'patch-71' into 'master'Grzegorz Bizon
Remove duplicated line from Maven CI template See merge request gitlab-org/gitlab-ce!31440
2019-08-08Merge branch '20137-starrers' into 'master'Stan Hu
Add possibilty to view starrers ("stargazers") of a repository & any user's starred repositories Closes #20137 See merge request gitlab-org/gitlab-ce!24690
2019-08-08Final removal of KubernetesServiceTiger
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
2019-08-08Merge branch 'sh-add-missing-csp-report-uri' into 'master'Mayra Cabrera
Add missing report-uri to CSP config See merge request gitlab-org/gitlab-ce!31593
2019-08-07Checksum clair executablePhilippe Lafoucrière
2019-08-07Fix testsCamil Staps
2019-08-07Expose time since starring on project/:id/starrers API endpoint; exclude ↵Camil Staps
private profiles here as well
2019-08-07Fix API endpoint for starred projects of a user; add info about starred ↵Camil Staps
projects on profile to documentation
2019-08-07Add documentation and changelog for !24690Camil Staps
2019-08-07Add users/:user_id/starred_projects API endpoint for projects starred by a userCamil Staps
2019-08-07Add projects/:id/starrers API endpoint for users who starred a repositoryCamil Staps
2019-08-07Save instance administration project id in DBReuben Pereira
- This will make it easy to identify the project even if admins change the name of the project or move it.
2019-08-07Prevent rewritting plain links as embeddedFelipe Artur
Prevents rewritting plain image/video links as embedded when moving issues.
2019-08-07Add missing report-uri to CSP configStan Hu
This is supported in Rails 5.2, although it may be deprecated in the future by reports-to.
2019-08-07Support dashboard params for metrics dashboardSarah Yasonik
https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support to EnvironmentsController#metrics_dashboard for the following params: group, title, y_label These params are used to uniquely identify a panel on the metrics dashboard. Metrics are stored in several places, so this adds utilities to find a specific panel from the database or filesystem depending on the metric specified. Also moves some shared utilities into separate classes, notably default values and errors.
2019-08-07Makes title section collapsibleFilipa Lacerda
In the job log, if the user clicks the section title the job log section will be collapsed
2019-08-07Initial commit of WIP code for considerationKerri Miller
Squash this commit and reword before merging..
2019-08-07Use Git 2.22 for GitLabZeger-Jan van de Weg
Part of: https://gitlab.com/gitlab-org/gitaly/issues/1715
2019-08-07Merge branch 'sh-support-csp-nonce' into 'master'Ash McKenzie
Add support for Content-Security-Policy Closes #65330 See merge request gitlab-org/gitlab-ce!31402
2019-08-07Use separate Kubernetes namespaces per environmentTiger Watson
Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
2019-08-07Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins
- Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
2019-08-07Add support for Content-Security-PolicyStan Hu
A nonce-based Content-Security-Policy thwarts XSS attacks by allowing inline JavaScript to execute if the script nonce matches the header value. Rails 5.2 supports nonce-based Content-Security-Policy headers, so provide configuration to enable this and make it work. To support this, we need to change all `:javascript` HAML filters to the following form: ``` = javascript_tag nonce: true do :plain ... ``` We use `%script` throughout our HAML to store JSON and other text, but since this doesn't execute, browsers don't appear to block this content from being used and require the nonce value to be present.
2019-08-06Update Packer.gitlab-ci.yml to use latest imageKelly Hair
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-06Merge branch 'make-issue-boards-importable' into 'master'Sean McGivern
Make issue boards importable See merge request gitlab-org/gitlab-ce!31434
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-06Fix error on project nameGosia Ksionek
Add project path to sql query to build proper path
2019-08-05Add group level container repository endpointsSteve Abrams
API endpoints for requesting container repositories and container repositories with their tag information are enabled for users that want to specify the group containing the repository rather than the specific project.
2019-08-05Merge branch 'sh-disable-redis-peek' into 'master'Douglas Barbosa Alexandre
Only track Redis calls if Peek is enabled See merge request gitlab-org/gitlab-ce!31438
2019-08-05Merge branch 'add-missing-timezone-legacy-artifacts' into 'master'Stan Hu
Add missing timezone when copying legacy artifacts (ci_builds) See merge request gitlab-org/gitlab-ce!31447