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
2018-06-20[Rails5] Set request.format in commits_controllerblackst0ne
Since Rails 5.0 `request.format` is being set depending on the route extension. In commits pages we pass a ref as a URL parameter. If the ref is an extension-like, Rails converts it and sets to `request.format`. E.g. if the ref is `some_branch.atom`, Rails starts responding with `atom` format, but it should response with `html` because `.atom` is the part of ref name, not the format. This commit explicitly sets `request.format` to `:html` when needed.
2018-03-01Fetch commit signatures from Gitaly in batchesAhmad Sherif
Closes gitaly#1046
2018-02-01Track and act upon the number of executed queriesYorick Peterse
This ensures that we have more visibility in the number of SQL queries that are executed in web requests. The current threshold is hardcoded to 100 as we will rarely (maybe once or twice) change it. In production and development we use Sentry if enabled, in the test environment we raise an error. This feature is also only enabled in production/staging when running on GitLab.com as it's not very useful to other users.
2018-01-18Retrieve commit signatures with GitalyJacob Vosmaer (GitLab)
2017-11-27Fix 404 on empty branchhaseeb
2017-11-16Optimise getting the pipeline status of commitsYorick Peterse
This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one).
2017-11-08Use Commit#notes and Note.for_commit_id when possible to make sure we use ↵Douwe Maan
all the indexes available to us
2017-10-19Renders 404 in commits controller if no commits are foundGuilherme Vieira
2017-09-06Adds cacheless render to Banzai object renderTiago Botelho
2017-07-27fetch gpg signature badges by ajaxAlexis Reigel
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-12Refactor atom builder by using xml.atom layoutTieu-Philippe KHIM
2016-12-09Merge branch 'jej-23867-use-mr-finder-instead-of-access-check' into 'security'Douwe Maan
Replace MR access checks with use of MergeRequestsFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 :warning: - Potentially untested :bomb: - No test coverage :traffic_light: - Test coverage of some sort exists (a test failed when error raised) :vertical_traffic_light: - Test coverage of return value (a test failed when nil used) :white_check_mark: - Permissions check tested - [x] :bomb: app/finders/notes_finder.rb:17 - [x] :warning: app/views/layouts/nav/_project.html.haml:80 [`.count`] - [x] :bomb: app/controllers/concerns/creates_commit.rb:84 - [x] :traffic_light: app/controllers/projects/commits_controller.rb:24 - [x] :traffic_light: app/controllers/projects/compare_controller.rb:56 - [x] :vertical_traffic_light: app/controllers/projects/discussions_controller.rb:29 - [x] :white_check_mark: app/controllers/projects/todos_controller.rb:27 - [x] :vertical_traffic_light: app/models/commit.rb:268 - [x] :white_check_mark: lib/gitlab/search_results.rb:71 - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_267_266 Memoize ` merged_merge_request(current_user)` - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_248_247 Expected side effect for `merged_merge_request!`, consider `skip_authorization: true`. - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_269_269 Scary use of unchecked `merged_merge_request?` See merge request !2033
2016-10-24Pass `@ref` along so we know which pipeline to showLin Jen-Shin
Closes #23615
2016-10-20Refactoring find_commits functionalityValery Sizov
2016-04-29API support for the 'since' and 'until' operators on commit requestsPaco Guzman
- Parameter validation as ISO8601 format
2016-02-10Replaces "Create merge request" link with one to the MR when one existsDouglas Barbosa Alexandre
2016-01-07Add support for ref and path to commits filteringDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-07Filter commits by search parameterDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-12-28Prevent an XSS warning from the updated BrakemanRobert Speicher
2015-10-22Fix: Inability to reply to code comments in the MR view, if the MR comes ↵Valery Sizov
from a fork
2015-04-20Fixed the Rails/ActionFilter copJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-20Move 'require_non_empty_project' filter to front so 'assign_ref_vars' ↵Douwe Maan
doesn't 404.
2015-02-06Apply default scope to labels and remove one for notesDmitriy Zaporozhets
2015-01-27Explicitly set before_filter for ref-related controllersDmitriy Zaporozhets
2014-11-05remove auth duplicationValery Sizov
2014-10-13Factor authorize_push! and authorize_code_access!Ciro Santilli
with existing method_missing. Pattern already used extensively, so let's be consistent and use it everywhere.
2014-10-07Remove outdated comment from commits_controllerCiro Santilli
2014-06-10notes count in 1 query for mr and commitsskv
2013-11-28Drop rjs from Infinite scrollingDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-06-23Move projects controllers/views in Projects moduleDmitriy Zaporozhets