summaryrefslogtreecommitdiff
path: root/app/controllers/projects/cycle_analytics_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+2
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-0/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-071-7/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-1/+1
|
* Track page views for cycle analytics show pageAdam Hegyi2019-08-141-2/+8
| | | | | This change adds a new counter 'cycle_analytics_views' to the usage data metrics to count the page views for cycle analytics show page.
* Add cr remarksMałgorzata Ksionek2019-07-091-1/+1
|
* Update controllers method callsMałgorzata Ksionek2019-07-091-1/+1
|
* Enable even more frozen string in app/controllersgfyoung2018-09-251-0/+2
| | | | | | | | | | | | Enables frozen string for some vestigial files as well as the following: * app/controllers/projects/**/*.rb * app/controllers/sherlock/**/*.rb * app/controllers/snippets/**/*.rb * app/controllers/users/**/*.rb Partially addresses #47424.
* Track and act upon the number of executed queriesquery-countsYorick Peterse2018-02-011-0/+5
| | | | | | | | | | | 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.
* refactor cycle analytics - updated based on MR feedbackJames Lopez2017-01-171-2/+2
|
* Fix other spec failuresJames Lopez2017-01-171-2/+2
|
* more refactoring and fixing old specsJames Lopez2017-01-171-3/+5
|
* added new summary serializers and refactor all of the summary stuff into ↵James Lopez2017-01-171-45/+5
| | | | separate logical classes
* Merge branch 'jej-fix-missing-access-check-on-issues' into 'security'Douwe Maan2016-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix missing access checks on issue lookup using IssuableFinder 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] :white_check_mark: app/controllers/projects/branches_controller.rb:39 - `before_action :authorize_push_code!` helpes limit/prevent exploitation. Always checks for reporter access so fine with confidential issues, issues only visible to team, etc. - [x] :traffic_light: app/models/cycle_analytics/summary.rb:9 [`.count`] - [x] :white_check_mark: app/controllers/projects/todos_controller.rb:19 - [x] Potential double render in app/controllers/projects/todos_controller.rb - https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#cedccb227af9bfdf88802767cb58d43c2b977439_24_24 See merge request !2030
* Use stage description form endpoint responseAlfredo Sumaran2016-11-211-5/+5
|
* Provide stage legend on server responseAlfredo Sumaran2016-11-211-9/+10
|
* Updated code based on feedbackfix/cycle-analytics-no-dataJames Lopez2016-11-211-5/+1
|
* rename methodJames Lopez2016-11-211-2/+2
|
* Adds a flag to reflect whether or not there is data in cycle analyticsJames Lopez2016-11-211-5/+19
|
* refactored a couple of things based on feedbackfix/cycle-analytics-permissionsJames Lopez2016-11-211-2/+2
|
* Added permissions per stage to cycle analytics endpointJames Lopez2016-11-211-2/+3
|
* refactored duplicated code in controller, updated JSON array naming and ↵James Lopez2016-11-171-9/+2
| | | | fixed specs
* fix module issue in cycle analytics controllerJames Lopez2016-11-171-1/+1
|
* Implement fourth round of comments from @DouweM.Timothy Andrew2016-09-211-3/+8
| | | | | | - Pluralize summary titles - Remove the `run_query` method - always return sql strings from the `date_time_sql` methods
* Move JSON generation (cycle analytics) into a controller method.Timothy Andrew2016-09-201-2/+34
| | | | Helper methods are meant for views
* Move cycle analytics JSON generation to a helper.Timothy Andrew2016-09-171-1/+3
| | | | | 1. Use a new format, with each stage having a `title`, `description`, and `value.
* Add a JSON version of the `CycleAnalytics` page.Timothy Andrew2016-09-081-0/+5
|
* Authorize access to cycle analytics.Timothy Andrew2016-08-261-0/+2
| | | | | All users with "Reporter" access (and above) to a project can see the Cycle Analytics page.
* Fetch cycle analytics data for a specific date range.Timothy Andrew2016-08-261-1/+17
| | | | | | | | | 1. Supported date ranges are 30 / 90 days ago. The default is 90 days ago. 2. All issues created before "x days ago" are filtered out, even if they have other related data (test runs, merge requests) within the filter range.
* Scope Cycle Analytics queries to a projectTimothy Andrew2016-08-261-1/+1
|
* Add the "Plan" Cycle Analytics query.Timothy Andrew2016-08-261-28/+1
| | | | | 1. Move from raw SQL to ActiveRecord. 2. Add a non-persisted `CycleAnalytics` model to store all the queries.
* Display numbers for the "Issue (Tracker)" cycle analytics metric.Timothy Andrew2016-08-261-0/+32
1. Code is messy and untested, but it is a start.