Commit Graph

560 Commits

Author SHA1 Message Date
Anoop M D
63684afbff chore: bruno notifications endpoint 2024-03-13 00:31:46 +05:30
James Hall
6629d5a2c8
fix(#1521): only show Recent Documents menu on supporting platforms. (#1585)
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-03-12 23:33:30 +05:30
Anoop M D
6a2754d4fb feat: refactor and improve notifications implementation 2024-03-12 02:50:06 +05:30
lohit
b0f4491cd2
feat(#BRU-31): notifications feature draft (#1730)
* feat(#BRU-31): notifications feature
* feat(#BRU-31): date correction
2024-03-11 17:48:52 +05:30
lohit
6a05321109
feat(#1003): closing stale 'authorize' windows | handling error, error_description, error_uri query params for oauth2 | clear authorize window cache for authorization_code oauth2 flow (#1719)
* feat(#1003): oauth2 support
---------

Co-authored-by: lohit-1 <lohit@usebruno.com>
2024-03-11 01:51:55 +05:30
Mateusz Pietryga
5f35d71b8b
Fix #1683 allow OAuth2 authorizationUrl with user provided query parameters (#1712) 2024-03-04 17:21:12 +05:30
Sanjai Kumar
e2d1f52993
Fix/json with bigints (#1710)
* fix(#1689): JSON with Bigints support
* added Jsonbigint support for cli
2024-03-04 15:32:35 +05:30
Jack Jiang
cc02794ce9
Use URL Encoded Form for OAuth2.0 token endpoint (#1701)
OAuth2.0 expects URL encoded form instead of JSON content
https://www.oauth.com/oauth2-servers/server-side-apps/example-flow/

Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-03-04 15:22:34 +05:30
lohit
858536e13d
feat(#1003): collection level oauth2, access_token_url & scope for 'Client Credentials' and 'Password Credentials' grant types (#1691)
* feat(#1003): authorization_code grant type PKCE support, code cleanup..
---------

Co-authored-by: lohit-1 <lohit@usebruno.com>
2024-03-04 15:21:05 +05:30
Anoop M D
0e85b302b8 chore: bumped version to v1.10.0 2024-02-28 00:40:10 +05:30
Anoop M D
13cb71eaef chore: fix tests 2024-02-27 01:43:36 +05:30
Anoop M D
1cf8a2f3f1 chore(#1667): graceful handling of none type for backward compatibility 2024-02-27 01:29:10 +05:30
Anoop M D
389a383b99
Merge branch 'main' into feature/BRU-18--inherit-auth-mode 2024-02-27 01:11:55 +05:30
lohit
9f81e6dc73
feat(#1003): oauth2 support - resourceOwnerPasswordCredentials, authorization code, client credentials (#1654)
* feat(#1003): oauth2 support
Co-authored-by: lohit-1 <lohit@usebruno.com>
2024-02-26 16:44:38 +05:30
lohxt1
3c2cbe63c4 feat(#1655): inherit auth mode for requests 2024-02-26 14:27:59 +05:30
Martin Meciar
b6abc665a5 fix(#1545): empty strings encryption
enable empty strings to be encrypted
2024-02-15 19:01:07 +01:00
Anoop M D
8cb6060558 chore: version bumped to v1.9.0 2024-02-14 04:18:53 +05:30
Ricardo Silverio
942a895ae0
[Feature] Stop button for runner execution (#1580)
* First attempts
* Sending cancel token in run-folder-event
* Remove logs, update lock
* cancelTokenUid with default value
* Indentation
* Generating token in the main process side
* Removing uuid import
2024-02-14 03:16:41 +05:30
Anoop M D
eab50f01d7 fix(#1521): fixed issue related to recent menu being disabled 2024-02-14 03:06:27 +05:30
James Hall
8287126deb
Recent documents menu (#1582)
* Adds recent documents menu.
* Removes erroneous import.
* Open collection from recent document menu.
2024-02-14 02:47:32 +05:30
Mateo Gallardo
64487ad923
Fixed file uploads performance issues (#1562) 2024-02-12 23:48:01 +05:30
Anoop M D
33d5d78e85 chore: bumped version to v1.8.0 2024-02-06 03:37:05 +05:30
Anoop M D
12b9a02f7e chore: updated deps 2024-02-06 03:31:45 +05:30
Anoop M D
123bf198a3 feat(#1496): handling edge cases for ignore config 2024-02-05 03:27:20 +05:30
fredjeck
cb95b5f36a
Introduces a new bruno.json configuration property named 'ignore' allowing to specify which files or folders should be ignored in the collection. (#1514)
Also makes sure the behavior of legacy collections is not altered.

Fixes issue #1496
2024-02-05 03:04:54 +05:30
Anoop M D
09e7ea0d4d feat(#1130): file upload schema updates 2024-02-05 02:52:03 +05:30
Max Destors
634f9ca4a2
feat: Multipart Form Data file uploads (#1130)
* Add multipart form files upload support
* clean up
* Fixed electron files browser for Multipart Form files
* Using relative paths for files inside the collection's folder
---------
Co-authored-by: Mateo Gallardo <mateogallardo@gmail.com>
2024-02-04 23:04:18 +05:30
Rinku Chaudhari
7b6c72c63b
fix: getContentType function and save file logic update (#1499) 2024-02-01 13:29:06 +05:30
Anoop M D
ea7d141d10 chore: release v1.7.1 2024-01-30 22:11:53 +05:30
Anoop M D
c39b8ff282 fix(#1487): updated deps and bumped versions 2024-01-30 22:04:39 +05:30
Anoop M D
e258e7f5ab fix(#1487): rolling back to vm2 from @n8n/vm2 2024-01-30 22:00:58 +05:30
Anoop M D
c48cb56709 chore: updated deps 2024-01-30 15:20:51 +05:30
Anoop M D
28d781a52d chore: bump release version 2024-01-30 00:17:49 +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
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
Anoop M D
4917f24b7c fix(#1436): fixed inconsistent beheviour of res.getHeaders() api 2024-01-29 19:46:41 +05:30
Anoop M D
7ba9b839da feat(#1460): use new interpolation lib in app, electron, cli 2024-01-29 17:17:24 +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
4e34aba1ca
fix(#263): Replace vm2 with fork of vm2 to fix security issues (#1400) 2024-01-17 04:01:00 +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
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
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
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
66f917ecec chore: bumped version to v1.5.0 2023-12-18 04:22:10 +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
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
Akshat Khosya
fff3e6d88a clone functionality in collection 2023-12-11 15:57:28 +05:30
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
Anoop M D
784f63ca5b chore: updated deps 2023-12-07 00:57:45 +05:30
Brandon Gillis
a60f351736 feat: add custom CA Certificate preference 2023-12-06 01:04:35 +01:00
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
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
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
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
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
Its-treason
41e922544c Fix: Update CSP to allow posthog 2023-11-30 19:36:15 +01: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
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
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
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
ayndqy
8a48797e00
Update MacOS icon 2023-11-26 20:06:34 +00:00
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
r.bideau
531426b0a6 fix(1102): silently ignore invalid cookie 2023-11-21 20:59:51 +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
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
d2a99b0221 fix(#962): improved error label when name is not defined while setting env var 2023-11-18 09:18:40 +05:30
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
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
Mirko Golze
e1a74d0652 #937, #921 improve evaluation of proxy configuration, allow empty proxy port 2023-11-10 21:20:30 +01:00
Anoop M D
a0196a01b3 chore: bumped release version 2023-11-09 13:39:24 +05:30
Its-treason
5be12543e5 fix: Fix Content-Security-Policy config 2023-11-06 17:13:24 +01:00
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
64923e47a2
Merge pull request #817 from drinkbird/feature/digestauth
Add Digest Auth Support #119
2023-11-03 20:26:24 +05:30
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
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
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
Linhart Lukáš
89e0d3ae7e Fix Multipart Form 2023-11-01 07:05:05 +01:00
Anoop M D
32d9c4833e chore: bump version to 1.0.0 2023-10-30 23:33:29 +05:30
Tasos Piotopoulos
3838848b03 Add Digest Auth Support (MD5) 2023-10-29 02:36:34 +00:00
Max Heidinger
a0fe80604e fix: fix graphql schema interpolation 2023-10-27 14:59:09 +02: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
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
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
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
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
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
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
Anoop M D
e0afbdbb74 chore: release v0.27.2 2023-10-24 03:53:31 +05:30
Joel Wetzell
177f23e19f update @usebruno/js version 2023-10-23 15:59:20 -05:00
Anoop M D
471e1780a0 bumped version to v0.27.1 2023-10-23 23:14:41 +05:30
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
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
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
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
Ali Asgar
9fd937bfbc fix: #692 2023-10-22 02:49:10 +05:30
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
Anoop M D
fc25ea597c chore: bumped version to 0.26.0 2023-10-20 00:15:41 +05:30
Anoop M D
e9a8763ca0 fix: fix proxy setting issue 2023-10-20 00:07:25 +05:30
Its-treason
623ac0bac6 Merge branch 'main' into feature/better-image-preview 2023-10-19 19:43:31 +02:00