Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42 | Robert Speicher | 2021-01-20 | 1 | -0/+10 |
| | |||||
* | Fix deprecation: render :text is deprecated because it does not actually ↵ | Jasper Maes | 2018-11-29 | 1 | -1/+1 |
| | | | | render a text/plain response | ||||
* | Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controller | gfyoung | 2018-09-18 | 1 | -0/+2 |
| | | | | | | | | | | | | Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424. | ||||
* | [Rails5] Force the `protect_from_forgery` callback run firstblackst0ne-fix-protect-from-forgery-in-application-controller | blackst0ne | 2018-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | Since Rails 5.0 the `protect_from_forgery` callback doesn't run first by default anymore. [1] Instead it gets inserted into callbacks chain where callbacks get called in order. This commit forces the callback to run first. [1]: https://github.com/rails/rails/commit/39794037817703575c35a75f1961b01b83791191 | ||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Make Prometheus metrics endpoint return empty response when metrics are disabledpawel/show_empty_page_when_prometheus_metrics_are_disabled-35639 | Pawel Chojnacki | 2017-09-25 | 1 | -7/+9 |
| | |||||
* | Remove the need to use health check token | Pawel Chojnacki | 2017-07-05 | 1 | -2/+2 |
| | | | | | in favor of whitelist that will be used to control the access to monitoring resources | ||||
* | Move Prometheus presentation logic to PrometheusText | Pawel Chojnacki | 2017-06-02 | 1 | -4/+2 |
| | | | | | | | | + Use NullMetrics to mock metrics when unused + Use method_missing in NullMetrics mocking + Update prometheus gem to version that correctly uses transitive dependencies + Ensure correct folders are used in Multiprocess prometheus client tests. + rename Sessions controller's metric | ||||
* | Make login_counter instance variable instead of class one. | Pawel Chojnacki | 2017-06-02 | 1 | -1/+3 |
| | | | | | + remove unecessarey require + fix small formatiing issues | ||||
* | Move most of MetricsController logic to MetricsService | Pawel Chojnacki | 2017-06-02 | 1 | -35/+6 |
| | |||||
* | Use interpolation instead of concatenation | Pawel Chojnacki | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | move check if metrics are enabled to before action | Pawel Chojnacki | 2017-06-02 | 1 | -2/+6 |
| | |||||
* | Correctly handle temporary folder for testing multiproces metrics | Pawel Chojnacki | 2017-06-02 | 1 | -1/+1 |
| | |||||
* | Use only ENV for metrics folder location | Pawel Chojnacki | 2017-06-02 | 1 | -2/+6 |
| | |||||
* | Bring back the token | Pawel Chojnacki | 2017-06-02 | 1 | -0/+1 |
| | |||||
* | Split metrics from health controller into metrics controller | Pawel Chojnacki | 2017-06-02 | 1 | -0/+41 |