Commit Graph

1196 Commits

Author SHA1 Message Date
Andreas Schönefeldt
924bf1217f Merge branch 'main' into bugfix/bug-884 2023-11-12 16:53:16 +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
Vaugen Wakeling
99b25fc5b2 feat: Remove unneeded formatting 2023-10-27 17:21:16 +01:00
Max Heidinger
a0fe80604e fix: fix graphql schema interpolation 2023-10-27 14:59:09 +02:00
Vaugen Wakeling
5df9981e20 feat: Adding ability to import postman graphql collections
Fixes: #790
2023-10-27 00:34:16 +01:00
Brian Dentino
d76253ea04 Fixes for getNextRequest in UI 2023-10-26 22:46:35 +02:00
Martin Hoecker
4a1d45f458
Merge branch 'main' into feature/add-bru-setNextRequest 2023-10-26 22:34:05 +02:00
Makar
e4b2b651f5
Auth support for postman collection imports 2023-10-26 13:23:43 -05:00
Anoop M D
1e435b8e10
Merge pull request #791 from Its-treason/feature/variable-name-validation
Enforce variable strictness & validation
2023-10-26 22:19:57 +05:30
Anoop M D
834014b5d1
Merge pull request #797 from mheidinger/local-gql-schema
feat: add loading local graphql schema file
2023-10-26 22:15:34 +05:30
Anoop M D
85b22b53aa
Merge pull request #795 from DaPutzy/feature/additional-script-context-roots
[feature] allow multiple script context roots
2023-10-26 22:06:23 +05:30
Anoop M D
24f92d2b4e
Merge pull request #794 from survivant/feature/add-comment-by-line
Fix the issue when only the first line was imported
2023-10-26 10:09:27 +05:30
Anoop M D
e274aedb9a
Revert "Make Tabs closable by mouseclick. Closes #778" 2023-10-26 09:54:32 +05:30
DaPutzy
7fa68731d2 feat: allow multiple script context roots 2023-10-25 23:16:28 +00:00
Sebastien Dionne
c6440ab849 Fix import error 2023-10-25 17:54:04 -04:00
Its-treason
d52163ceb3 test: Fix failing test 'should parse the json file' 2023-10-25 23:30:31 +02:00
Its-treason
827df18c62 feat(#682): Add validation for request vars & dynamic vars 2023-10-25 23:13:37 +02:00
Anoop M D
7f7b3f479a feat: nudge users to view docs on managing secrets 2023-10-26 00:38:44 +05:30
Its-treason
3a5a213242 Merge branch 'main' into feature/variable-name-validation 2023-10-25 21:00:18 +02:00
Anoop M D
1f0bde4a12 feat: nudge users how to disable ssl cert vaidation 2023-10-26 00:12:38 +05:30
Anoop M D
2e38300a67 chore: updated package lock file 2023-10-25 23:55:07 +05:30
Anoop M D
b731aa28be
Merge pull request #763 from grubersjoe/feat(#762)/preferences
Add menu entry for preferences and add shortcut for it
2023-10-25 23:47:50 +05:30
Anoop M D
ddfd3bdf15
Merge pull request #757 from survivant/feature/cleanup-docs-typo
Fix some typo in documentation
2023-10-25 23:31:26 +05:30
Anoop M D
32b696da57 chore: pr #766 ux polish 2023-10-25 23:29:59 +05:30
Anoop M D
36f19ec7bc
Merge pull request #766 from martinsefcik/feature/save-response-to-file
Added possibility to save response to file
2023-10-25 23:12:38 +05:30
Anoop M D
53e85f4568 chore: added styles to "ipcRenderer not found" error notification 2023-10-25 23:08:05 +05:30
Anoop M D
4607814c09
Merge pull request #768 from Its-treason/feat/dev-hints
feat(#740): Add hints for local bruno setup
2023-10-25 22:57:50 +05:30
Anoop M D
c40f8e654c
Merge pull request #771 from n00o/feature/Tree-View
Add better CodeMirror folding options
2023-10-25 22:52:19 +05:30
Anoop M D
7fbd8f0a8a
Merge pull request #779 from frixxx/feature/close-tabs-with-mouse
Make Tabs closable by mouseclick. Closes #778
2023-10-25 22:40:33 +05:30
Matthias Vöpel
7cd46c3a6c
Make Tabs closable by mouseclick.
Make Tabs closable by mouseclick.
2023-10-25 10:59:53 +02:00
Joel Wetzell
3300e67900 fix cert/key loading in electron for relative path 2023-10-24 18:24:52 -05:00
Martin Hoecker
3374db1ac8
Merge branch 'main' into feature/add-bru-setNextRequest 2023-10-24 22:38:44 +02:00
Its-treason
7b1223d2c5 feat(#740): Add hints for local bruno setup
- Custom error when opening bruno in the browser
- Custom error when starting electron without the web server running
- Force Next dev server to use port 3000
2023-10-24 18:59:35 +02:00
n00o
a3e6ecddbb Add better CodeMirror folding options
Add XML fold to Response and Body. Add count of object directly inside of fold.  Include hotkeys Ctrl-Y to fold and Ctrl-I to unfold all XML/JSON data.
2023-10-24 11:21:47 -04:00
Martin Sefcik
276c9ce1b0 added possibility to save response to file 2023-10-24 17:08:43 +02:00
Jonathan Gruber
3687594cc4 feat(#762): Add menu entry for preferences and add shortcut fora it 2023-10-24 13:17:47 +02:00
Yuliya Bagriy
ba3db06ac6
fix prettier error 2023-10-24 09:16:30 +06:00
Yuliya Bagriy
2f9762da0e
fix OpenAPI method filtering predicate 2023-10-24 08:02:21 +06:00
Sebastien Dionne
766d103e20 Fix some typo in documentation 2023-10-23 21:24:42 -04:00
Anoop M D
e0afbdbb74 chore: release v0.27.2 2023-10-24 03:53:31 +05:30
Anoop M D
d90cb91a19
Merge pull request #754 from survivant/feature/add-yaml-support-insomnia
[feature] Can import Insomnia Yaml file
2023-10-24 03:51:46 +05:30
Anoop M D
1026addc8f
Merge pull request #745 from aviskase/main
OpenAPI import - filter out non-methods on path item objects parsing
2023-10-24 03:50:53 +05:30
Anoop M D
ecf849b207
Merge pull request #753 from survivant/feature/add-comment-by-line
Postman import : Each line will start by a comment
2023-10-24 03:49:51 +05:30
Sebastien Dionne
973f8e036d Can import Insomnia Yaml file 2023-10-23 17:32:04 -04:00
Sebastien Dionne
da9afcabe8 Each line will start by a comment 2023-10-23 17:21:52 -04:00
Joel Wetzell
177f23e19f update @usebruno/js version 2023-10-23 15:59:20 -05:00
Yuliya Bagriy
e77a9adebd
handle non-methods on OpenAPI import 2023-10-24 00:20:30 +06:00
Florian Fankhauser
e8156c5611 fix misleading message 2023-10-23 20:19:05 +02:00
Anoop M D
471e1780a0 bumped version to v0.27.1 2023-10-23 23:14:41 +05:30
bplatta
6c52263c3c Update openapi v3 import handle no operationId and no security 2023-10-23 11:35:07 -05:00
Anoop M D
76787b4080
Merge pull request #730 from survivant/feature/openapi-add-yaml-support
Feature/openapi add yaml support
2023-10-23 17:10:09 +05:30
Sebastien Dionne
73062472b7 Add scripts in comments 2023-10-23 07:07:25 -04:00
Sebastien Dionne
a46e8851c6 Merge branch 'main' into feature/openapi-add-yaml-support
# Conflicts:
#	package-lock.json
2023-10-23 06:56:38 -04:00
Max Heidinger
45126c99ab feat: add loading local graphql schema file 2023-10-23 11:22:21 +02:00
Anoop M D
5ba3903c31 fix(#701): fix bru cli issue 2023-10-23 14:09:24 +05:30
Amr osama
03460c592a Changed Presets Tab positioning 2023-10-23 11:13:27 +03:00
Amr osama
e658629482 removed custom ipc event 2023-10-23 11:11:31 +03:00
Sebastien Dionne
07dd409acd English message 2023-10-22 18:41:45 -04:00
Sebastien Dionne
ddc2740b31 Merge remote-tracking branch 'origin/feature/openapi-add-yaml-support' into feature/openapi-add-yaml-support 2023-10-22 18:28:47 -04:00
Sebastien Dionne
d06d28b7fc Cam import Yaml OpenApi file 2023-10-22 18:28:28 -04:00
Anoop M D
b35596bb59 chore: updated monorepo package versions 2023-10-23 03:28:22 +05:30
Anoop M D
9d9e4b5065 chore: bumped version to v0.26.0 2023-10-23 01:57:00 +05:30
Anoop M D
296e067222 chore(#684): renamed use to enabled in collection proxy config 2023-10-23 01:37:30 +05:30
Anoop M D
49ea7f33e6
Merge pull request #578 from bplatta/feature/import-openapi-v3
feat: openapi v3 import
2023-10-23 01:25:02 +05:30
Its-treason
7267ba6485 feat(#682): Enforce environment variable strictness 2023-10-22 21:54:17 +02:00
Anoop M D
59c5c24752
Merge pull request #664 from cardonator/bugfix/#661
adjust styles on environment dropdown and modal
2023-10-23 01:18:20 +05:30
Anoop M D
64b46caacd
Merge pull request #705 from cwilper/feature/gql-schema-prerequest-postresponse
feat: run prerequest/postresponse actions when fetching gql schema
2023-10-23 01:15:35 +05:30
Anoop M D
861604075a
Merge pull request #683 from SoulKa/fix/571-url-encoded-with-colon
fix #571 - allow newlines and encode uri form data
2023-10-23 00:25:17 +05:30
Anoop M D
ffa4708ea8
Merge pull request #694 from janmonschke/bugfix/overflowing-code-editor
fix: overflowing code editor
2023-10-23 00:19:53 +05:30
Anoop M D
6b85323d1f
Merge pull request #700 from martinsefcik/bug/699
bug(#699): fixed crashing app on clicking on request result in runner
2023-10-23 00:14:45 +05:30
Anoop M D
f22e975d90
Merge pull request #725 from cwilper/fix/https-proxy-agent-opts
fix: respect rejectUnauthorized and ca opts when proxying https
2023-10-23 00:01:55 +05:30
Chris Wilper
1d58bdab59
fix: respect rejectUnauthorized and ca opts when proxying https 2023-10-22 11:29:49 -04:00
Amr osama
cbfd7fa5f4 Added presets to collection settings 2023-10-22 15:32:27 +03:00
Anoop M D
e8199f102a
Merge pull request #697 from aliasgar55/main
fixed: #686
2023-10-22 16:50:44 +05:30
Anoop M D
82c6e83d56
Merge pull request #711 from survivant/feature/pre-req-and-test
Added pre-request and tests scripts support from Postman Collection
2023-10-22 16:23:19 +05:30
Ali Asgar
9fd937bfbc fix: #692 2023-10-22 02:49:10 +05:30
Chris Wilper
bbb904437f
chore: re-sync proxy-util.js copies 2023-10-21 14:32:41 -04:00
Amr osama
36d6d115d4 Added properties to collections 2023-10-21 20:51:13 +03:00
Sebastien Dionne
fe59cd3223 Added pre-request and tests scripts support from Postman Collection 2023-10-20 19:02:04 -04:00
Chris Wilper
a6ddf12ee1
feat: run postrequest code after gql schema fetch 2023-10-20 12:13:35 -04:00
Chris Wilper
7e8073cbdb
chore: consolidate postresponse-related code 2023-10-20 12:08:04 -04:00
Chris Wilper
846ac66ca3
feat: run prerequest code before gql schema fetch 2023-10-20 10:57:26 -04:00
Chris Wilper
c2bdddaa59
chore: consolidate prerequest-related code 2023-10-20 10:42:53 -04:00
Martin Sefcik
55c52971d6 bug(#699): fixed crashing app on clicking on request result in runner 2023-10-20 14:34:04 +02:00
Ali Asgar
3ed7dd3893 fixed: #686 2023-10-20 15:59:36 +05:30
Jan Monschke
16cf654e57 fix: overflowing code editor 2023-10-20 10:59:00 +02:00
Louis Wilke
ddddab8112 571 - allow and encode multiline uri form data 2023-10-19 21:29:17 +02:00
Anoop M D
fc25ea597c chore: bumped version to 0.26.0 2023-10-20 00:15:41 +05:30
Anoop M D
72df4419ff fix(#679): fixed issue while removing client certs 2023-10-20 00:13:10 +05:30
Anoop M D
e9a8763ca0 fix: fix proxy setting issue 2023-10-20 00:07:25 +05:30
Anoop M D
a1d54eacf6
Merge pull request #672 from therealrinku/fix
feat: scroll to the active tab on click
2023-10-19 23:49:02 +05:30
Anoop M D
16137a8189 fix: fixed issue in cmd+r inside query result viewer 2023-10-19 23:39:45 +05:30
Its-treason
623ac0bac6 Merge branch 'main' into feature/better-image-preview 2023-10-19 19:43:31 +02:00
therealrinku
7dc09faa9b feat: scroll to the active tab on click 2023-10-19 09:39:23 +05:45
cardonator
232027ff4e
adjust styles on environment dropdown and modal 2023-10-18 12:42:39 -06:00
Anoop M D
f08871d491 chore: pr #465 polish 2023-10-18 23:36:44 +05:30
Anoop M D
31c4d7ecfd
Merge pull request #465 from Scotsoo/bugfix/fixes-251
Bugfix/fixes 251
2023-10-18 23:34:47 +05:30
Anoop M D
0dcd50f546 Merge branch 'main' of github.com:usebruno/bruno 2023-10-18 23:28:06 +05:30