GitLab Bot
acc3d48da4
Add latest changes from gitlab-org/gitlab@master
2023-10-12 06:11:31 +00:00
GitLab Bot
abdb550f69
Add latest changes from gitlab-org/gitlab@master
2023-05-23 15:08:01 +00:00
GitLab Bot
571b02efc9
Add latest changes from gitlab-org/gitlab@master
2023-05-08 12:13:55 +00:00
GitLab Bot
70c1d0352e
Add latest changes from gitlab-org/gitlab@master
2023-04-28 09:18:08 +00:00
GitLab Bot
9edf852c3a
Add latest changes from gitlab-org/gitlab@master
2023-04-26 12:09:18 +00:00
GitLab Bot
b6b9abb7cd
Add latest changes from gitlab-org/gitlab@master
2023-04-18 15:09:26 +00:00
GitLab Bot
b161512b30
Add latest changes from gitlab-org/gitlab@master
2023-04-06 12:08:07 +00:00
GitLab Bot
f7b08f4264
Add latest changes from gitlab-org/gitlab@master
2023-03-22 12:11:32 +00:00
GitLab Bot
46d07ca5c2
Add latest changes from gitlab-org/gitlab@master
2023-03-17 15:14:54 +00:00
GitLab Bot
ce97c89886
Add latest changes from gitlab-org/gitlab@master
2023-03-15 15:08:30 +00:00
GitLab Bot
7cd852a871
Add latest changes from gitlab-org/gitlab@master
2023-03-10 09:08:01 +00:00
GitLab Bot
66089ccf1a
Add latest changes from gitlab-org/gitlab@master
2023-03-06 03:10:24 +00:00
GitLab Bot
f6b95a66bc
Add latest changes from gitlab-org/gitlab@master
2023-02-23 18:09:16 +00:00
GitLab Bot
7b69a22d49
Add latest changes from gitlab-org/gitlab@master
2023-02-06 15:08:52 +00:00
GitLab Bot
39e7e7beda
Add latest changes from gitlab-org/gitlab@master
2022-08-19 09:11:29 +00:00
GitLab Bot
7eca3f5662
Add latest changes from gitlab-org/gitlab@master
2022-05-13 15:07:43 +00:00
GitLab Bot
b662e7d21d
Add latest changes from gitlab-org/gitlab@master
2021-11-13 03:09:49 +00:00
GitLab Bot
93c966ae2a
Add latest changes from gitlab-org/gitlab@master
2021-07-20 03:08:21 +00:00
GitLab Bot
d811b6d8f6
Add latest changes from gitlab-org/gitlab@master
2021-07-15 18:09:37 +00:00
GitLab Bot
b82c4935ec
Add latest changes from gitlab-org/gitlab@master
2021-06-14 12:10:13 +00:00
GitLab Bot
990b7413bc
Add latest changes from gitlab-org/gitlab@master
2021-01-11 06:10:29 +00:00
GitLab Bot
319ac09313
Add latest changes from gitlab-org/gitlab@master
2020-12-14 18:09:48 +00:00
GitLab Bot
2ac4833015
Add latest changes from gitlab-org/gitlab@master
2020-10-08 18:08:32 +00:00
GitLab Bot
ec72da1833
Add latest changes from gitlab-org/gitlab@master
2020-07-17 18:09:20 +00:00
GitLab Bot
e829ca213b
Add latest changes from gitlab-org/gitlab@master
2020-06-22 15:09:27 +00:00
GitLab Bot
8c8b94e711
Add latest changes from gitlab-org/gitlab@master
2019-10-07 21:07:54 +00:00
GitLab Bot
80f61b4035
Add latest changes from gitlab-org/gitlab@master
2019-09-18 14:02:45 +00:00
Adam Hegyi
c5cb5da4ac
Track page views for cycle analytics show page
...
This change adds a new counter 'cycle_analytics_views' to the usage data
metrics to count the page views for cycle analytics show page.
2019-08-14 16:12:12 +00:00
Małgorzata Ksionek
3459ba13b2
Add cr remarks
2019-07-09 12:16:38 +02:00
Małgorzata Ksionek
80dfe40e44
Update controllers method calls
2019-07-09 12:16:37 +02:00
gfyoung
12ee2753c1
Enable even more frozen string in app/controllers
...
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 .
2018-09-25 22:43:49 -07:00
Yorick Peterse
cca61980d5
Track and act upon the number of executed queries
...
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-02-01 17:00:46 +01:00
James Lopez
b805666984
refactor cycle analytics - updated based on MR feedback
2017-01-17 11:32:55 +01:00
James Lopez
a67311cb4c
Fix other spec failures
2017-01-17 11:32:55 +01:00
James Lopez
02e1e48192
more refactoring and fixing old specs
2017-01-17 11:32:54 +01:00
James Lopez
fc6f8f2056
added new summary serializers and refactor all of the summary stuff into separate logical classes
2017-01-17 11:32:54 +01:00
Douwe Maan
6d37fe952b
Merge branch 'jej-fix-missing-access-check-on-issues' into 'security'
...
Fix missing access checks on issue lookup using IssuableFinder
Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867
⚠️ - Potentially untested
💣 - No test coverage
🚥 - Test coverage of some sort exists (a test failed when error raised)
🚦 - Test coverage of return value (a test failed when nil used)
✅ - Permissions check tested
- [x] ✅ 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] 🚥 app/models/cycle_analytics/summary.rb:9 [`.count`]
- [x] ✅ 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
2016-11-28 21:25:46 -03:00
Alfredo Sumaran
2748a01a3a
Use stage description form endpoint response
2016-11-21 13:57:10 -05:00
Alfredo Sumaran
06fd2879ee
Provide stage legend on server response
2016-11-21 13:57:09 -05:00
James Lopez
a3331eee91
Updated code based on feedback
2016-11-21 17:29:07 +01:00
James Lopez
7a63021ab3
rename method
2016-11-21 17:19:18 +01:00
James Lopez
dde8fba524
Adds a flag to reflect whether or not there is data in cycle analytics
2016-11-21 17:19:18 +01:00
James Lopez
9b69168858
refactored a couple of things based on feedback
2016-11-21 14:09:26 +01:00
James Lopez
0fd397bba1
Added permissions per stage to cycle analytics endpoint
2016-11-21 10:49:05 +01:00
James Lopez
192918cde9
refactored duplicated code in controller, updated JSON array naming and fixed specs
2016-11-17 08:22:57 +01:00
James Lopez
f59b8afc82
fix module issue in cycle analytics controller
2016-11-17 08:22:57 +01:00
Timothy Andrew
244ec0a84c
Implement fourth round of comments from @DouweM.
...
- Pluralize summary titles
- Remove the `run_query` method - always return sql strings from the
`date_time_sql` methods
2016-09-21 09:57:14 +05:30
Timothy Andrew
a4a0ce9500
Move JSON generation (cycle analytics) into a controller method.
...
Helper methods are meant for views
2016-09-20 18:50:48 +05:30
Timothy Andrew
edb38d69cc
Move cycle analytics JSON generation to a helper.
...
1. Use a new format, with each stage having a `title`, `description`,
and `value.
2016-09-17 12:16:48 +05:30
Timothy Andrew
9901c3df41
Add a JSON version of the `CycleAnalytics` page.
2016-09-08 15:03:38 +05:30