Commit Graph

1492 Commits

Author SHA1 Message Date
Julian Silden Langlo
0e24efbd88
Include the filename of a bruno request in the results. (#1164) 2024-01-29 23:49:32 +05:30
Jeff Edmondson
555387598a
Feature: Add an optional param to cli to only run requests that have tests (#1314)
* Add an optional param to cli to only run requests that have tests

* Added to recrusive run

* added asserts to test only flag

---------

Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-01-29 23:36:24 +05:30
Adarsh Lilha
0dd8154d8b
add query param even when value is missing (#1370) 2024-01-29 23:34:35 +05:30
Anton Ödman
467e63d6fa
feat: correctly format json when importing from curl (#1472) 2024-01-29 23:29:31 +05:30
Tuyen Pham
acc646a05d
feat: add response filter placeholder (#1293) 2024-01-29 20:25:36 +05:30
Romain Eggermont
969c44023f
feat(#1352): add collection headers to introspection query (#1353)
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-01-29 20:23:32 +05:30
mj-h
abeccbb182
[feat] Add option "--bail" to cli (#1390)
* add bail option to cli
* change --bail so that is also bails on request errors (e.g., ECONNREFUSED)
* update cli help regarding the ---bail option
---------

Co-authored-by: Martin Hoecker <martin.hoecker@sap.com>
2024-01-29 20:21:37 +05:30
Martin Sefcik
d31147961d
fix(#1417): fixed selecting SOCKS4 proxy option (#1418) 2024-01-29 20:20:02 +05:30
Martin Sefcik
a077d65a3e
fix(#1419): fixed ignored SSL verification and client certificates configuration when using SOCKS proxy (#1420) 2024-01-29 20:19:08 +05:30
Rinku Chaudhari
c3f6318d69
style: overflow of environment name fix (#1464) 2024-01-29 19:56:51 +05:30
Anoop M D
4917f24b7c fix(#1436): fixed inconsistent beheviour of res.getHeaders() api 2024-01-29 19:46:41 +05:30
Anoop M D
00e11e3177 fix: fixed ui module loading issue 2024-01-29 19:25:43 +05:30
Anoop M D
54d4a74355 fix: fixed failing test 2024-01-29 19:02:39 +05:30
Anoop M D
65b76b7281 fix: fixed github test workflow issues 2024-01-29 17:42:27 +05:30
Anoop M D
7ba9b839da feat(#1460): use new interpolation lib in app, electron, cli 2024-01-29 17:17:24 +05:30
Anoop M D
a0beefa9bc feat: added cli tests to testing github workflow 2024-01-29 13:45:25 +05:30
Anoop M D
1bc2c8d0a6 chore: deleted orphan package 2024-01-29 13:36:45 +05:30
Anoop M D
80806fef30 feat: bruno-tests package 2024-01-29 13:34:55 +05:30
Anoop M D
2a6bfabc30 pr(#1461): addressed review comments 2024-01-28 18:12:17 +05:30
Anoop M D
f2a187d5fe
feat(#1460): string interpolation (#1461)
* feat(#1460): string interpolation

* chore: deleted file commited accidentally
2024-01-28 18:07:25 +05:30
Tathagata Chakraborty
aed1b41da6
fixed misspelling (global, collection) (#1299)
Co-authored-by: Tathagata Chakraborty <tathagata.chakraborty97@gmail.com>
2024-01-26 22:25:39 +05:30
Anoop M D
d8354dca14 chore(#1441): updated codemirrot hint: bru.setNextRequest(requestName) 2024-01-25 23:40:40 +05:30
Felipe Vidal
e375ffbed1
Added bru.setNextRequest into the hint words list (#1441) 2024-01-25 23:38:04 +05:30
Nelu Platonov
7de5bbbdf6
fix(#1143): Fix PR #971 - Use literal segments only for env/collection variables + Add to CLI (#1154)
* fix(#1143): Fix PR #971 - Add literal-segment notation in string only to variables that are not process env vars
* fix(#1143): Fix PR #971 - Add to CLI as well
* fix(#1143): Fix PR #971 - Use improved Regex after CR + add test case for escaped vars
2024-01-25 19:36:32 +05:30
Timon
dbb5e912eb
fix(#1000): Convert too long numbers into String for collection vars (#1405) 2024-01-18 03:38:57 +05:30
Timon
4e34aba1ca
fix(#263): Replace vm2 with fork of vm2 to fix security issues (#1400) 2024-01-17 04:01:00 +05:30
Rinku Chaudhari
b5fccef417
style: fix dark mode colors of golden edition modal (#1358) 2024-01-10 15:46:05 +05:30
Anoop M D
db9aeec498 feat: improved handling logic while closing unsaved tabs/requests 2024-01-09 22:12:40 +05:30
Anoop M D
3e627522b7 feat(#1162): warn if there are unsaved requests when quitting 2024-01-09 14:01:04 +05:30
Ricardo Silverio
85f24eec77
[Feature] Prompt user to save requests before exiting app (#1317)
* Starting quit flow and focusing in draft
* Finishing app if there is no draft to save
* Automatically opening request after creation through event queue
* Fix remove events from queue using pathname to find item
* Removing updateNextAction
* Listening via predicate
* Confirm close dialog toggle moved to store
* Draft operations as tab actions
* Complete quit flow
* Fixing close app/window hooks
* Breaking the chain when dismissing dialog
* Displaying request name in ConfirmRequestClose modal
* Added disableEscapeKey and disableCloseOnOutsideClick props to Modal (passed in ConfirmRequestClose)
* Removing logs
* Refactor
* listenerMiddleware module
* ipc events listeners names
* Update next action
* Helpful comments
* Eventually handle events to close request even if is no draft
* Request name in bold
2024-01-08 17:21:55 +05:30
Anoop M D
814d31e638 chore: bumped version to 1.6.1 2024-01-05 16:17:59 +05:30
Anoop M D
51d4dbd69b fix(#1214): fixed code mirror lint issues 2024-01-05 16:11:33 +05:30
Anoop M D
05cab18e18 fix(#1330): fixed graphql syntax highlighting issue 2024-01-05 14:52:29 +05:30
Anoop M D
fcc3a1e944 fix(#1329): fix code generation issue 2024-01-05 14:28:02 +05:30
Anoop M D
45395754bf chore: bumped version 2024-01-05 03:24:15 +05:30
Anoop M D
0db6103b69 feat: golden edition modal 2024-01-05 03:17:55 +05:30
Anoop M D
2608ec035e
Merge pull request #1155 from BrandonGillis/feat/custom-ca-certificate
feat: add custom CA Certificate preference
2024-01-04 22:54:29 +05:30
Gustavo Fior
d0c25d46c9
fix #1208: add collection headers to code generated (#1316)
* fix collection headers in code generator
* remove logs
2024-01-04 13:55:13 +05:30
Anoop M D
3967859c51 chore: deleted unused vscode package as it is being tracked in a seperate repo 2024-01-03 00:17:14 +05:30
Anoop M D
abb24c93c5 feat(#1303): toml parser for scripts and tests 2023-12-31 02:52:41 +05:30
Anoop M D
5ba2c98e1d feat(#1303): toml handle reserved header names 2023-12-30 21:53:37 +05:30
Anoop M D
bc01188c98 feat(#1303): toml handle duplicate headers 2023-12-30 21:27:15 +05:30
Anoop M D
1754ea9f59 feat(#1296): toml tests: different kinds of headers 2023-12-30 20:29:31 +05:30
Anoop M D
2aa073c69a feat(#1296): toml tests: simple header 2023-12-30 19:09:17 +05:30
Anoop M D
35b6f7bb0a feat(#1296): restructured toml json test setup 2023-12-30 17:13:15 +05:30
Anoop M D
41d0698a87 feat(#1296): toml stringify simple get request 2023-12-28 22:52:30 +05:30
nguyenbavinh-decathlon
e49999bb56 Fix issue crash app when edit environment 2023-12-27 15:11:41 +07:00
Anoop M D
5ca7f6b7ad Merge branch 'main' of github.com:usebruno/bruno 2023-12-25 01:57:59 +05:30
Anoop M D
83f5763e01
Merge pull request #1263 from tobiasbrandstaedter/feature/font-preferences-collection-level
feat(#1224): use font preferences in collections
2023-12-25 01:57:28 +05:30
Anoop M D
4a5196c8f5 chore: updated package deps 2023-12-25 01:55:56 +05:30
Ricardo Silverio
00c7b40593 Fix relative position 2023-12-23 22:04:30 -03:00
Dj Isaac
1f4ab3b5bd
bugfix: bump codemirror dep 2023-12-22 15:49:31 -06:00
Ricardo Silverio
fe11e45703 Fixed typo in modal 2023-12-21 22:55:15 -03:00
tobiasbrandstaedter
a08fd7eb52 feat(#1224): use font preferences in collections 2023-12-21 20:29:30 +01:00
Anoop M D
d268b4786a
Merge pull request #1243 from chrisnagel/feat/bruno-cli/commands/description
Update bruno-cli/options-description
2023-12-20 04:24:46 +05:30
Anoop M D
4b76bf85f4
Merge pull request #1213 from bpoulaindev/bugfix/delete_running_api
bugfix(#1210): prevent collection run mapping on deleted items
2023-12-20 00:28:44 +05:30
Anoop M D
ed6f91533b
Merge pull request #1176 from bpoulaindev/bugfix/docs_links
bugfix(docs_links): open external URL in browser window, remove depre…
2023-12-20 00:23:02 +05:30
Chris Nagel
7899b04c40 Update bruno-cli/options-description
- Update of the options description due to the new available formats (json/junit)
2023-12-19 08:04:56 +01:00
Anoop M D
cdddf8af76 Merge branch 'main' of github.com:usebruno/bruno 2023-12-18 22:45:19 +05:30
Anoop M D
9e44c4a95f
Merge pull request #952 from amstiel/feature/system-theme
feat(#731): support theme sync with system
2023-12-18 22:34:27 +05:30
Anoop M D
3982f9c3c3 chore: bumped version to v1.5.1 2023-12-18 17:38:19 +05:30
Gyunseo Lee
9f6890b769 feat: set the polling mode based on path type 2023-12-18 17:56:12 +09:00
Anoop M D
eb340d4ace chore: updated bru cli changelog 2023-12-18 04:56:25 +05:30
Anoop M D
66f917ecec chore: bumped version to v1.5.0 2023-12-18 04:22:10 +05:30
Anoop M D
e3865d4710
Merge pull request #1187 from awinder/feature/junit-reporter
Feature/junit reporter
2023-12-18 04:05:37 +05:30
Anoop M D
983fb2c4fd fix(#1215): fixed issue where runner was not displaying test results 2023-12-18 03:58:40 +05:30
Anoop M D
cb6513c580
Merge pull request #1202 from akshat-khosya/feature/clone-collection
clone functionality in collection
2023-12-18 01:26:26 +05:30
Akshat Khosya
b8451d01ca removed promise from clone collection action 2023-12-16 23:19:17 +05:30
Akshat Khosya
a15a4e4a2d corrected typo error in comments 2023-12-16 13:18:52 +05:30
Akshat Khosya
cada4f201a removed try catch from clone collection 2023-12-16 13:16:03 +05:30
Akshat Khosya
93661bd0d2 handle dir of files, comments in code 2023-12-16 13:07:51 +05:30
Andrew Winder
647a819051 remove extraneous import 2023-12-15 12:06:36 -05:00
Andrew Winder
99c2dd9030 test updates 2023-12-15 12:04:52 -05:00
Andrew Winder
ab37e53346 refactor for reporters directory 2023-12-15 12:04:41 -05:00
Andrew
de530a889c adding request-level error reporting 2023-12-15 10:09:20 -05:00
Andrew
882341c35b remove duplicated test suite 2023-12-15 10:09:20 -05:00
Andrew
174f99f9fb test coverage for junit reporter 2023-12-15 10:09:20 -05:00
Andrew
2103ab20bf implements a reporter flag w/ junit reporter type 2023-12-15 10:09:20 -05:00
Andrew
f0e22cb5df adds xmlwriter dependency for writing junit files 2023-12-15 10:09:20 -05:00
Anoop M D
ee2295aec1 pr #1184: addressed review comments 2023-12-15 00:55:21 +05:30
Anoop M D
2d16e07747
Merge pull request #1184 from smebberson/feature/clear-response
You can now clear a response.
2023-12-15 00:47:02 +05:30
Anoop M D
82bafd5268 chore: adjusted copy icon position in code generator 2023-12-15 00:29:01 +05:30
Anoop M D
fc09697404 Merge branch 'main' of github.com:usebruno/bruno 2023-12-15 00:22:45 +05:30
Sebastien Dionne
f8ff305cf4 And adding style to GenCode 2023-12-12 19:54:27 -05:00
Sebastien Dionne
c2c2ef6e2b Use tabler icon 2023-12-12 17:53:37 -05:00
Baptiste POULAIN
aa18f17fb9 bugfix(#1210): prevent mapping on deleted items 2023-12-12 15:37:34 +01:00
Akshat Khosya
fff3e6d88a clone functionality in collection 2023-12-11 15:57:28 +05:30
Sebastien Dionne
89c5fc2f03 Add copy to clipboard icon 2023-12-10 15:12:04 -05:00
Baptiste Poulain
d257db27b8
Update packages/bruno-app/src/components/MarkDown/index.jsx
Co-authored-by: Timon <39559178+Its-treason@users.noreply.github.com>
2023-12-08 16:12:22 +01:00
Scott Mebberson
08935c64bb
You can now clear a response. 2023-12-08 08:35:35 +10:30
Baptiste POULAIN
8e1d04f5c1 bugfix(docs_links): reverse tsx to jsx 2023-12-07 18:09:30 +01:00
Baptiste POULAIN
56a456a9b6 bugfix(docs_links): open external URL in browser window, remove deprecated method in electron, refactor to index.tsx 2023-12-07 14:33:42 +01:00
Zomzog
eaa448306b fix(#1117): Sort env alphabetically 2023-12-07 12:00:37 +01:00
Anoop M D
784f63ca5b chore: updated deps 2023-12-07 00:57:45 +05:30
André Glüpker
77cdc2179d
Merge branch 'main' into feature/always-indent-json-in-queryresult 2023-12-06 17:41:17 +01:00
Brandon Gillis
a60f351736 feat: add custom CA Certificate preference 2023-12-06 01:04:35 +01:00
Anoop M D
0d0c4166c1 chore: release bruno cli v1.2.0 2023-12-06 02:24:13 +05:30
Anoop M D
567744c2ce chore: bumped version to 1.4.0 2023-12-06 01:49:35 +05:30
Anoop M D
3061507284
Merge pull request #619 from mj-h/feature/add-bru-setNextRequest
feat: bru.setNextRequest()
2023-12-06 01:37:44 +05:30
Graham White
98b45a2fd4 refactor: protocol regex matches axios
Since axios is used for requests, it makes sense to match the protocol parsing
with their code at
https://github.com/axios/axios/blob/main/lib/helpers/parseProtocol.js

Closes: #1152

Signed-off-by: Graham White <graham_alton@hotmail.com>
2023-12-05 17:22:56 +00:00
Anoop M D
dc39538d02 chore: release 1.3.2 2023-12-04 19:23:39 +05:30
Brandon Gillis
e24b75e7d8 fix(#124): Improve localhost handling, add cache for ipv6 & ipv4 check 2023-12-04 13:36:32 +01:00
Anoop M D
318036a279 chore: bumped version to 1.3.1 2023-12-04 14:46:26 +05:30
Anoop M D
b482dd68a5 temporarily disabling fix related to pr #1114 2023-12-04 14:34:26 +05:30
Anoop M D
e0969d6aab
Merge pull request #1114 from BrandonGillis/main
fix(#124): resolve all *.localhost to localhost, and fix ipv6 issue
2023-12-04 12:36:12 +05:30
Anoop M D
07eee055d4
Merge pull request #1122 from maticrivo/fix/remove-console-log
fix: remove debug console.logs
2023-12-04 12:32:20 +05:30
Flero
480f8cf877
fix(web): set documentation editor font to preferences value 2023-12-04 09:47:10 +10:30
Matias Crivolotti
9246bf4fcb fix: remove debug console.logs 2023-12-03 15:25:33 +02:00
Brandon Gillis
06d62175bf Add support for ipv6 localhost & refactor *.localhost handling 2023-12-02 02:50:44 +01:00
Brandon Gillis
96d50ebd93 fix(#124): resolve all *.localhost to localhost 2023-12-01 23:51:01 +01:00
Anoop M D
6632ae1dcb fix: dummy test to pass the build 2023-12-02 03:00:26 +05:30
Anoop M D
832810cacd chore: temporarily disabling failing test 2023-12-02 02:23:53 +05:30
Anoop M D
2c618cb08b chore: updated deps 2023-12-02 02:11:40 +05:30
Anoop M D
95197098af chore: updated documentation 2023-12-02 02:07:30 +05:30
Anoop M D
06893bf3c3 chore: bump version to 1.3.0 2023-12-02 01:55:34 +05:30
Anoop M D
861d76f7b7 chore: bump @usebruno/js to 0.9.3 2023-12-02 01:50:32 +05:30
Anoop M D
33f780fb76 fix(#295): bru.setEnvVar() should dynamically create a env var if not found 2023-12-02 01:45:55 +05:30
Anoop M D
bacb70ea7e feat(#931): relax var name strictness 2023-12-02 01:27:18 +05:30
Anoop M D
2aa876e526
Merge pull request #971 from nelup20/bugfix/964-env_var_dot_validation
fix(#964): Allow "." in variable names + make error message more consistent
2023-12-02 01:06:27 +05:30
Anoop M D
2240acb272 fix(#1042): fixed setCookie issue when cookie is not a string 2023-12-02 00:58:19 +05:30
Anoop M D
752d4ae79e feat(#1094): deleting all cookies for a domain 2023-12-02 00:49:46 +05:30
Anoop M D
32c8bf296a #968, #1023: support for disabling sending and storing of cookies 2023-12-01 23:56:19 +05:30
Androse
f4b27afb8d fix params to updateNextAction 2023-12-02 00:24:16 +10:00
Anoop M D
a1f2e9336d
Merge branch 'main' into feature/946-fix_prepend_after_interpolation_and_add_to_cli 2023-12-01 14:04:40 +05:30
Anoop M D
d13b4d1a6b
Merge pull request #1104 from nickheniser/feature/remove-tauri
Remove Tauri.
2023-12-01 14:00:55 +05:30
Its-treason
41e922544c Fix: Update CSP to allow posthog 2023-11-30 19:36:15 +01:00
Nick Heniser
669a9fad69 Remove Tauri.
It seems Tauri will not be supported, so removing it.

See: https://github.com/usebruno/bruno/issues/20#issuecomment-1488185033

closes #1099
2023-11-30 11:29:25 -06:00
Nelu Platonov
d0f858681d
feat(#946): Fix PR #1070 - Add feature to CLI & prepend 'http://' to URL after interpolation 2023-11-30 01:23:27 +01:00
Anoop M D
bb852c5f80
Merge pull request #995 from gianpo86/main
Update openapi-collection.js to change the order of the source for the operationName
2023-11-30 02:10:12 +05:30
Anoop M D
6c73362ff2 temporarily reverting pr #1070 2023-11-30 01:56:01 +05:30
Anoop M D
b7e84f3623
Merge pull request #887 from Andreas-Schoenefeldt/bugfix/bug-884
#884: Made sure graphql variables are only parsed after interpolation
2023-11-30 00:22:08 +05:30
Anoop M D
64bdda6f90
Merge branch 'main' into feature/jsonpath-filtering 2023-11-30 00:18:45 +05:30
Anoop M D
a6a59ddbd7
Merge pull request #1028 from StonyTV/feature/clone-option-for-folders
feat(#1017) Added ability to clone a folder
2023-11-30 00:06:47 +05:30
Anoop M D
b715e917fe
Merge pull request #1047 from n00o/bugfix/Digest_toUpperCase_Error
Fix(#1002): Digest Error
2023-11-30 00:00:36 +05:30
Anoop M D
4e02f8ad45
Merge pull request #1070 from nelup20/feature/946-send_request_without_specifying_http
feat(#946): Send request even when protocol isn't specified in URL
2023-11-29 23:58:30 +05:30
Anoop M D
ffe4f7dba8
Merge pull request #1060 from ayndqy/feature/macos-style-icon
Update MacOS icon
2023-11-29 23:54:43 +05:30
Anoop M D
e31b601cef
Merge pull request #1061 from Its-treason/bugfix/docs-table-styles
fix(RequestPane): Fix Mardown Table styling
2023-11-29 23:53:02 +05:30
Anoop M D
7d3d543f24
Merge pull request #1078 from nelup20/bugfix/1024-importing_from_a_insomnia_collection
fix(#1024): Fix validation error on GraphQL request when importing Insomnia collection
2023-11-29 23:51:09 +05:30
Matias Crivolotti
3bc774bf55 fix(CodeGenerate): filter out disabled query params 2023-11-29 11:01:53 +02:00
Nelu Platonov
0fe657d0fc
fix(#1024): Return "variables" as a string for Yup schema validation when there's an exception 2023-11-28 14:54:12 +01:00
Nelu Platonov
ce545724bd
feat(#946): Use Regex to check if URL has protocol 2023-11-28 13:39:55 +01:00
Nelu Platonov
2b08468581
feat(#946): Prepend 'http://' to URL if no protocol is specified 2023-11-27 22:13:28 +01:00
n00o
746c5e825e Fix (#1038): Handle unquoted variables in JSON Lint
Convert unquoted variables in JSON body to 1 in JSON linter. This allows for putting multiple environment/collection variables next to each other and still be unquoted.
2023-11-26 16:57:31 -05:00
Its-treason
6a55a8d6ea fix(RequestPane): Fix Mardown Table styling 2023-11-26 22:41:30 +01:00
ayndqy
8a48797e00
Update MacOS icon 2023-11-26 20:06:34 +00:00
Anoop M D
fad71e936c
Merge pull request #1055 from adarshlilha/bugfix/boolean-falsy-response-missing
fix(#1035): fix falsy check of response
2023-11-26 13:14:27 +05:30
Anoop M D
61f3e64751
Merge pull request #1057 from n00o/JSON_Linting_Comments
Fix (#1008) by removing comments from JSON linter.
2023-11-26 13:10:00 +05:30
n00o
fc6ba4641a Add Ability to ignore comments in JSON body
Replace comments with spaces for the JSON linter.
2023-11-26 02:05:11 -05:00
StonyTV
aa1cef9e70 Fixed an oversight when cloning from the parent 2023-11-25 23:36:52 +01:00
Adarsh Lilha
fb8277f03e fix falsy check of response 2023-11-25 14:20:27 +05:30
Shourav Nath
fa7afd4237 feat(#1050): Response time in res 2023-11-25 13:00:59 +06:00
n00o
be58497ba9 Fix(#1002): Digest Error
This is to fix toUpperCase() error and uri path not being correct.
2023-11-24 04:39:25 -05:00
Jérôme Dathueyt
c018bfc044 Removed unused import 2023-11-22 21:14:37 +01:00
Jérôme Dathueyt
379697a02d Remove missing argument & moving parseCollectionItems 2023-11-22 21:12:26 +01:00
Jérôme Dathueyt
c62f96c96e New clone option for folders 2023-11-22 20:57:11 +01:00
Anoop M D
e1e0696e3c revert: chore: pr #993 review 2023-11-23 00:34:44 +05:30
Anoop M D
98ea1aa548
Merge pull request #1016 from StonyTV/feature/new-run-item-action-in-sidebar
feat(#1017) Added ability to run a single request from sidebar
2023-11-22 23:07:59 +05:30
Anoop M D
553d1c062e chore: pr #993 review 2023-11-22 22:42:45 +05:30
Anoop M D
2ec343a95b
Merge pull request #993 from Jofresh/feature/handle-import-postman-folder-same-name
feat: handle postman import with same folder names (#955)
2023-11-22 22:30:36 +05:30
Anoop M D
2ddf79ed3f
Merge pull request #1014 from therealrinku/feat/response_header_count
feat: added response headers count
2023-11-22 22:23:11 +05:30
Jérôme Dathueyt
fd1e8f6aa8 Added missing import 2023-11-22 09:05:23 +01:00
Jérôme Dathueyt
738c6af797 Added ability to run a single item 2023-11-22 08:49:37 +01:00
therealrinku
4c83dff96c feat: added response headers count 2023-11-22 08:50:30 +05:45
r.bideau
531426b0a6 fix(1102): silently ignore invalid cookie 2023-11-21 20:59:51 +01:00
Gianluca
4d9549d2cc
Update openapi-collection.js
Swap order for the source of the operationName when importing from openApi with a summary
2023-11-20 11:00:54 +01:00
Geoffray Gaborit
7980b726f6 feat: handle postman import with same folder names (#955) 2023-11-20 09:34:24 +01:00
Anoop M D
3f80a4dfa2 chore: bumped version to v1.2.0 2023-11-20 13:42:56 +05:30
Anoop M D
e1a96e0f23 feat(#968): cookie support 2023-11-20 13:41:47 +05:30
Andreas Schönefeldt
49be0b243b Merge branch 'main' into bugfix/bug-884 2023-11-19 21:45:11 +01:00
Anoop M D
9f535aeba7 feat(#989): show collection location inside collection settings 2023-11-19 15:06:13 +05:30
Anoop M D
bd71adebe0 chore(#718): collcetion presets pr review 2023-11-19 13:13:31 +05:30
Anoop M D
f345155a94
Merge branch 'main' into feature/add-properties-to-collections 2023-11-19 12:21:48 +05:30
Anoop M D
8f4ce9c13b chore: added null check before trimming request url 2023-11-19 00:01:29 +05:30
Anoop M D
a7e2f08efc
Merge pull request #920 from adarshlilha/bugfix/environment-save-empty-secret
fix(#904): fix environment save when empty secret exists
2023-11-18 10:43:13 +05:30
Anoop M D
30a2eb5ee7
Merge pull request #925 from n00o/feature/CodeMirror_AutoComplete
feat (#861): Add Autocomplete + JSON/JavaScript Linting
2023-11-18 10:42:24 +05:30
Anoop M D
11ce057310
Merge pull request #951 from mirkogolze/bugfix/correct-proxy-settings-evaluation
#937, #921 improve evaluation of proxy configuration, allow empty port
2023-11-18 09:34:43 +05:30
Anoop M D
42f6353ec8
Merge pull request #938 from adarshlilha/bugfix/code-generator-headers
fix(#901): fix headers in code generator
2023-11-18 09:32:19 +05:30
Anoop M D
3bd7bc75a8
Merge pull request #965 from Art051/bugfix/openapi-import-selfref-infinite-loop
Fix inifinite loop in openapi-spec import with self-references
2023-11-18 09:24:02 +05:30
Anoop M D
d2a99b0221 fix(#962): improved error label when name is not defined while setting env var 2023-11-18 09:18:40 +05:30
Anoop M D
4abb4009e6
Merge pull request #963 from mikaoelitiana/962-empty-vars
Improve error message when an empty var is set
2023-11-18 09:01:55 +05:30
Anoop M D
f8c23ed6da chore: save icon should use yellow color to indicate draft 2023-11-18 08:29:53 +05:30
Anoop M D
e96da632b2 chore: version bump @usebruno/js @usebruno/cli 2023-11-18 08:29:18 +05:30
Anoop M D
cef8094709
Merge pull request #972 from bennieboj/bugfix/961_trim_url
fix #961 by using trim
2023-11-18 08:26:20 +05:30
n00o
4f56506dac Merge branch 'main' into feature/CodeMirror_AutoComplete 2023-11-17 08:51:55 -05:00
n00o
52baa69b70 Fix formatting
Pass prettier tests
2023-11-16 18:55:43 -05:00
n00o
b68e622695 feat(#970): Add PDF Preview
Any PDF response can be now be previewed. There is no UI fancy UI interface for it for simplicity. This makes it look very similar to Postman.
2023-11-16 18:19:25 -05:00
Nelu Platonov
005a936a61
fix(#964): Use const 2023-11-15 21:42:38 +01:00
Nelu Platonov
bad9d0a3ef
fix(#964): Fix Handlebars interpolation when env var has "." in name 2023-11-15 20:29:40 +01:00
Bennieboj
fff6870002 fix #961 by using trim 2023-11-15 19:42:53 +01:00
Nelu Platonov
2ee6c5effc
fix(#964): Allow "." in variable names + make error message more consistent 2023-11-15 16:27:14 +01:00
Art051
f39d985877 Problem: Issue relates to OpenAPI specs which have self referencing components, resulting in infinite loops being made within resolveRefs.
Solution: Added basic use of Set to store already-traversed items within the OpenAPI spec.
Linked to personal use having import problems as well as this issue raised: https://github.com/usebruno/bruno/issues/939#issue-1986513743

Tested against the API Spec mentioned in the issue both as JSON and YAML.
2023-11-14 18:28:35 +00:00
Mika Andrianarijaona
500e3853a5 Improve error message when an empty var is set
Fixes #962
2023-11-14 16:33:27 +01:00
Alexey Kunitsky
1ee6b5f974 fix: wrap watcher into useEffect 2023-11-14 11:00:44 +01:00
mirkogolze
d17c2f8ebd
Merge branch 'usebruno:main' into bugfix/correct-proxy-settings-evaluation 2023-11-12 21:42:19 +01:00
Mirko Golze
a5ce7e9c9c #937, #921 improve evaluation of proxy configuration, allow empty proxy port 2023-11-12 21:41:25 +01:00
Andreas Schönefeldt
924bf1217f Merge branch 'main' into bugfix/bug-884 2023-11-12 16:53:16 +01:00
Alexey Kunitsky
8130de23ff feat: support auto theme change according to system 2023-11-11 20:44:44 +01:00
MrLuje
a0b2f80508
fix(openapi-import): spec security should be optional 2023-11-11 14:59:57 +00:00
Mirko Golze
e1a74d0652 #937, #921 improve evaluation of proxy configuration, allow empty proxy port 2023-11-10 21:20:30 +01:00
n00o
8ed88d42c0 Fix Crashes and improve AutoComplete logic
Fix crash when autocomplete pops up and then is deleted. Fix autocomplete from appearing inside interpolation or strings. Fix JSON linting when its empty and not lint when mode is undefined (Code Generation). Improve tab to indent on full line or multiple lines selected.
2023-11-10 00:28:17 -05:00
Adarsh Lilha
043b80171e fix headers in code generator 2023-11-10 03:27:17 +05:30
Anoop M D
ba761098be chore(#827): bumped bruno cli version to 1.1.0 2023-11-09 16:12:33 +05:30
Boris Baskovec
7b9a4f457e Merge remote-tracking branch 'upstream/main' into feature/jsonpath-filtering 2023-11-09 10:01:36 +01:00
Anoop M D
3e137ac6b4 fix: fixed failing test 2023-11-09 13:47:33 +05:30
Anoop M D
a0196a01b3 chore: bumped release version 2023-11-09 13:39:24 +05:30
Anoop M D
aab591cb12 feat(#338): switch to curl mode if a curl cmd is pasted in new request modal 2023-11-09 13:20:07 +05:30
Boris Baskovec
bab12d7894 Changes from review 2023-11-08 22:45:45 +01:00
Boris Baskovec
25af7a211a Merge branch 'main' into feature/jsonpath-filtering 2023-11-08 22:43:44 +01:00
n00o
af0d4d26bb Add Autocomplete + JSON/JavaScript Linting
Add JavaScript Autocomplete with all built-in Bruno functions. Add code linting markers for JSON and JavaScript CodeMirror sections. Add a few hotkeys to improve code editing.
2023-11-08 08:53:57 -05:00
Adarsh Lilha
435847081d make value field nullable 2023-11-08 15:47:46 +05:30
Anoop M D
ce91812ce5 feat(#338): curl parser based in curlconverter 2023-11-08 01:36:37 +05:30
Boris Baskovec
04aa921099 Add jsonpath response filtering 2023-11-07 13:35:48 +01:00
Anoop M D
08fbb91667
Merge pull request #903 from Its-treason/bugfix/csp
fix: Fix Content-Security-Policy config
2023-11-06 22:07:44 +05:30
Its-treason
5be12543e5 fix: Fix Content-Security-Policy config 2023-11-06 17:13:24 +01:00
Anoop M D
1e6c85eb01
Merge pull request #827 from martinsefcik/fix-axios-versions-inconsistency
fix (#759): fixed axios versions inconsistency
2023-11-06 21:16:58 +05:30
Andreas Schönefeldt
a3125605f3 #884: Made sure graphql variables are only parsed after interpolation 2023-11-04 21:50:55 +01:00
Anoop M D
8fb8eee5ef chore: bump version 1.1.0 2023-11-03 20:42:49 +05:30
Anoop M D
4a23e75dee
Merge pull request #863 from mikaoelitiana/849-collection-item-dnd-hovered
feat: add class when collection name is hovered during drag and drop
2023-11-03 20:28:01 +05:30
Anoop M D
64923e47a2
Merge pull request #817 from drinkbird/feature/digestauth
Add Digest Auth Support #119
2023-11-03 20:26:24 +05:30
Anoop M D
0ce3deea86
Merge pull request #866 from Its-treason/bugfix/variable-name-validation
fix(#853): Allow - in variable names & small refactor
2023-11-03 20:25:31 +05:30
Boris Baskovec
fdb9b10353 Add node-vault library 2023-11-03 12:25:43 +01:00
Its-treason
44d90c42ed fix(#853): Allow - in variable names & small refactor 2023-11-02 18:17:21 +01:00
Anoop M D
9271c67d7f Merge branch 'main' of github.com:usebruno/bruno 2023-11-02 22:37:03 +05:30
Anoop M D
1f709c6faa chore: cli release 1.0.0 2023-11-02 22:36:48 +05:30
Mika Andrianarijaona
c46fbfbde3 feat: add class when collection name is hovered during drag and drop
Resolves #849
2023-11-02 15:52:25 +01:00
Martin Hoecker
8183ce03c5
feat: bru.setNextRequest(null) breaks execution without error 2023-11-01 23:53:15 +01:00
Martin Hoecker
129d659628
Count the number of jumps to break out of infinite loops.
This is especially useful for the bru cli, to make sure that test-runners
that are accidentally stuck in an infinite loop still terminate in a
reasonable amount of time and don't hog up resources.
2023-11-01 23:15:54 +01:00
Martin Hoecker
db0de68987
Merge branch 'main' into feature/add-bru-setNextRequest 2023-11-01 22:59:39 +01:00
Dipin Jagadish
09d6bc8169 fix: address validation issue in schema 2023-11-01 18:36:39 +00:00
André Glüpker
631e436079 Revert "JSON in QueryResult should always be indented"
This reverts commit 76a26b634d.
2023-11-01 17:32:57 +01:00
André Glüpker
dc32d7246c Use the body to check for a json content type 2023-11-01 16:32:20 +01:00
Anoop M D
0e0f04c5ad
Merge pull request #840 from snippetkid/338-curl-to-request
Add new request from cURL command
2023-11-01 17:43:29 +05:30
Dipin Jagadish
dbd3ab6064 fix: validate curl command before submit 2023-11-01 10:58:07 +00:00
Anoop M D
e8f88d8a13
Merge pull request #832 from martinsefcik/bug/680
fix (#680): fixed non-string variables to be displayed correctly in code editor
2023-11-01 14:56:46 +05:30
Anoop M D
c04b83bcaa
Merge pull request #809 from mheidinger/fix-gql-schema-interpolation
fix graphql schema interpolation
2023-11-01 14:54:16 +05:30
Anoop M D
6fd84fcec3
Merge pull request #833 from n00o/bugfix/Adjust_Divider_Offset
fix (#402): response/body cursor offset on resize
2023-11-01 14:51:09 +05:30
Anoop M D
68a508e26a
Merge pull request #844 from panda7789/bugfix/multipart-form
fix: Multipart Form
2023-11-01 14:48:35 +05:30
Anoop M D
05bf40fa82 chore: bumped version to 1.0.1 2023-11-01 14:38:33 +05:30
Anoop M D
49f29fa2af fix(#836): Fix graphql blank screen issue 2023-11-01 14:36:28 +05:30
Linhart Lukáš
89e0d3ae7e Fix Multipart Form 2023-11-01 07:05:05 +01:00
Dipin Jagadish
bbcab8d338 feat: add new request from curl feature 2023-10-31 19:32:31 +00: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
n00o
fb4ad848d6
Update index.js
Pass prettier test.
2023-10-30 20:59:40 -04:00
n00o
31ecc281a8 Fix response/body cursor offset on resize
Now response/body will be refresh each time it gets resized so the cursor always stays in the right place.
2023-10-30 20:10:36 -04:00
Martin Sefcik
745cb85f95 fix (#680): fixed defined non-string variables to be displayed correctly in code editor 2023-10-30 23:43:44 +01:00
Anoop M D
32d9c4833e chore: bump version to 1.0.0 2023-10-30 23:33:29 +05:30
Martin Sefcik
ff63cea108 fix (#759): fixed axios versions inconsistency 2023-10-30 18:03:32 +01:00
Anoop M D
fa8ec4267f
Merge pull request #807 from vaugenwake/feature/import-graphql-collection
feat: Adding ability to import postman graphql collections
2023-10-29 11:40:39 +05:30
Tasos Piotopoulos
3838848b03 Add Digest Auth Support (MD5) 2023-10-29 02:36:34 +00:00