summaryrefslogtreecommitdiff
path: root/app/views/peek
Commit message (Collapse)AuthorAgeFilesLines
* Fix various bugs related to relative_url_root in developmentDouwe Maan2018-05-291-1/+1
|
* [Rails5] Use `safe_params` instead of `params` in `url_for` helpersblackst0ne2018-04-281-1/+1
| | | | | | | | | | | | | | | | This commits replaces `params` with `safe_params` in `url_for` helpers to resolve security issues [1] and failing specs with the ``` ArgumentError: Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure. ``` error. [1]: https://gitlab.com/gitlab-org/gitlab-ce/issues/45168
* remove peek performance_barPirate Praveen2018-04-261-5/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix performance bar spacingPhil Hughes2018-03-211-1/+1
|
* Show Ajax requests in performance barSean McGivern2018-03-197-48/+12
| | | | | | | | | | | | | | | | | But first, rewrite the performance bar in Vue: 1. Remove the peek-host gem and replace it with existing code. This also allows us to include the host in the JSON response, rather than in the page HTML. 2. Leave the line profiler parts as here-be-dragons: nicer would be a separate endpoint for these, so we could use them on Ajax requests too. 3. The performance bar is too fiddly to rewrite right now, so apply the same logic to that. Then, add features! All requests made through Axios are able to be tracked. To keep a lid on memory usage, only the first two requests for a given URL are tracked, though. Each request that's tracked has the same data as the initial page load, with the exception of the performance bar and the line profiler, as explained above.
* Improve the frontend code for the performance barSean McGivern2018-03-135-14/+37
|
* Add Gitaly call details to the performance barSean McGivern2018-03-131-4/+13
| | | | | The same as the SQL queries, show the details of Gitaly calls in the performance bar, as a modal that can be opened in the same way.
* Add Gitaly data to the Peek performance barZeger-Jan van de Weg2017-10-231-0/+7
|
* Moves the Performance Bar to the top instead of being at the bottomRémy Coutable2017-07-311-0/+2
|
* Improve & fix the performance bar UI and behaviorRémy Coutable2017-07-062-4/+11
|
* DRYed peek-pg/mysql2 views and update peek-rblineprof monkey-patch file29010-perf-barRémy Coutable2017-06-093-26/+19
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure peek-performance_bar doesn't break existing functionalitiesRémy Coutable2017-06-091-0/+14
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix linting, route, and specsRémy Coutable2017-06-091-3/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve UI of the performance barRémy Coutable2017-06-091-10/+9
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Tweak Peek to display SQL queriesRémy Coutable2017-06-091-0/+15
Signed-off-by: Rémy Coutable <remy@rymai.me>