Commit Graph

30 Commits

Author SHA1 Message Date
André Glüpker
dc32d7246c Use the body to check for a json content type 2023-11-01 16:32:20 +01:00
André Glüpker
76a26b634d JSON in QueryResult should always be indented
Some APIs return the wrong Content-Type 'application/html', but valid
JSON as payload. In this cases the data is still typeof object and a
indented JSON makes it easier to work with.

However JSON folding and highlighting will still be off in this case.
2023-10-31 11:58:09 +01:00
André Glüpker
820e3033ea Remove unused conditions in QueryResult
The mode is returned by getCodeMirrorModeBasedOnContentType(),
which always prefixes the returned values with 'application/'.

However returning data on those application/html or application/text
break Bruno.
2023-10-31 11:55:45 +01:00
Anoop M D
1f0bde4a12 feat: nudge users how to disable ssl cert vaidation 2023-10-26 00:12:38 +05:30
Martin Sefcik
55c52971d6 bug(#699): fixed crashing app on clicking on request result in runner 2023-10-20 14:34:04 +02:00
Its-treason
b3ee0af226 feat: Use real content size, fix runner, use the correct content charset 2023-10-17 23:03:10 +02:00
Its-treason
187e482feb feat(#596): Show real response in image preview 2023-10-17 23:02:09 +02:00
Anoop M D
7bf049a1f0 feat: use electron-store for saving preferences 2023-10-15 15:59:57 +05:30
Anoop M D
363cbe75d2 Merge pull request #433 from qweme32/feature/code-font
Added a setting that allows you to change the font of the code
2023-10-15 12:04:30 +05:30
Anoop M D
6c3dc7bbd2 Merge pull request #471 from therealrinku/two
showing error response in response tab instead of alert message
2023-10-13 07:10:18 +05:30
Anoop M D
d3ab2f28c6 feat: docs refactor 2023-10-13 06:46:14 +05:30
Nikhil569
4b297f32e0 Would allow bruno to show images 2023-10-11 02:56:01 +05:30
therealrinku
571b4459ac update: showing error in queryresult component 2023-10-10 10:51:45 +05:45
Its-treason
c586deeb30 fix(#382): TypeError r.replace is not a function 2023-10-09 17:56:48 +02:00
Anoop M D
de74edb50f feat: interpolation of proxy vars 2023-10-06 22:49:48 +05:30
Qweme Dev
289625c851 Added a setting that allows you to change the font of the code 2023-10-06 17:53:05 +03:00
Anoop M D
5e2640fe73 fix: fixed query result issue 2023-10-04 05:48:05 +05:30
Anoop M D
9b2e2ed3d8 chore: style updates 2023-10-04 04:11:23 +05:30
Its-treason
ea9e294c54 feat(#245): Update tab design + Remove CSP 2023-10-02 19:50:01 +02:00
Its-treason
dce11d1bd5 Merge branch 'main' of github.com:usebruno/bruno into feature/preview-response-html 2023-10-02 14:34:54 +02:00
Its-treason
e720fed63b feat(#245): Add HTML preview to response 2023-10-02 14:26:24 +02:00
Anoop M D
bfc03f5ae4 fix(#279): fixed codemirror crashes resulting in white screen 2023-10-02 15:25:59 +05:30
Anoop M D
19a7f397bb feat(#197): prettier formatting on all files in packages/bruno-app 2023-09-18 13:37:00 +05:30
Mirko Golze
f189cb1a2e check response type to show XML not surrounded by quotation marks and with highlighting 2023-09-16 22:24:35 +02:00
Anoop M D
58bc247c53 feat: collection runner 2023-02-01 17:06:04 +05:30
Anoop M D
60fc13c765 feat: refactor codemirror bruno variables mode 2023-01-21 01:17:27 +05:30
Anoop M D
695f42df80 feat: run request upon cmd+enter from response pane 2023-01-20 07:16:57 +05:30
Anoop M D
04a0a37ca4 feat: dark-mode (code editor) 2022-10-23 04:48:43 +05:30
Anoop M D
ba219d66db feat: prettier config 2022-10-20 15:09:30 +05:30
Anoop M D
539cdef9ca feat: moved next app to its own package (resolves #21) 2022-10-09 16:13:11 +05:30