Commit Graph

398 Commits

Author SHA1 Message Date
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
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
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
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
Brandon Gillis
a60f351736 feat: add custom CA Certificate preference 2023-12-06 01:04:35 +01:00
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
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
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
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
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
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
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
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
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
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
Linhart Lukáš
89e0d3ae7e Fix Multipart Form 2023-11-01 07:05:05 +01:00
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
Max Heidinger
45126c99ab feat: add loading local graphql schema file 2023-10-23 11:22:21 +02:00
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
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
Anoop M D
ece5ad3175
Merge pull request #536 from jarne/bugfix/bug-451-max-window-reset
Fix: save window maximized state
2023-10-18 23:27:55 +05:30
Anoop M D
2d29eaa31a
Merge pull request #540 from Its-treason/fix/ctrl-w-closes-bruno-unexpectedly
fix(#529): Fix Ctrl+W closes Bruno
2023-10-18 21:21:06 +05:30
Max Heidinger
82abda85fe feat: use client certificates and proxy for fetching graphql schema 2023-10-18 15:51:19 +02:00
Anoop M D
7484a8a72b refactor: post response lifecyle execution 2023-10-18 11:53:10 +05:30
Anoop M D
5f77ee342b
Merge pull request #587 from rayoz12/552-run-post-response-vars-and-scripts-on-error
Fixes: #552: Runs Post response vars and scripts on HTTP error.
2023-10-18 11:15:49 +05:30
Anoop M D
ae36bdfe7b chore: removed redundant code 2023-10-18 11:09:25 +05:30
Anoop M D
d809a58deb chore: pr polish (#596) 2023-10-18 10:25:01 +05:30
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
Jarne
0cf4f09608 Save window bounds only if not maximized 2023-10-17 17:25:20 +02:00
Mirko Golze
0cd4a4ed94 Merge branch 'main' into feature/proxy-global-and-collection
# Conflicts:
#	packages/bruno-electron/src/ipc/network/index.js
2023-10-17 08:30:44 +02:00
Martin Hoecker
d4c0207545
feat: bru.setNextRequest() 2023-10-16 17:29:26 +02:00
Linhart Lukáš
63e0df1640 fix collection client certs 2023-10-16 14:11:01 +02:00
Mirko Golze
19463cd0cf merge main into proxy branch 2023-10-16 12:08:10 +02:00
Mirko Golze
3fa87fe99a merge main into proxy branch 2023-10-16 11:37:35 +02:00
Mirko Golze
658a47e03e Merge branch 'main' into feature/proxy-global-and-collection
# Conflicts:
#	packages/bruno-app/src/components/Preferences/General/index.js
#	packages/bruno-electron/src/ipc/network/index.js
#	packages/bruno-electron/src/store/preferences.js
2023-10-16 11:24:16 +02:00
Anoop M D
cdfa839cf3 chore: polish request timeout 2023-10-16 03:41:47 +05:30
Anoop M D
4c8ebe7765
Merge pull request #590 from snippetkid/557-configurable-request-timeout
Configurable request timeout
2023-10-16 03:18:20 +05:30
Anoop M D
1f8c4431e0 feat(#589): polish importing postman env 2023-10-16 03:13:06 +05:30
Anoop M D
6c92ad22ef Merge branch 'main' of github.com:usebruno/bruno 2023-10-16 02:20:49 +05:30
Anoop M D
4dd17247d1
Merge pull request #589 from premeaswaran/main
Feature: Support Import postman environment - Fixes issue #193
2023-10-16 02:20:26 +05:30
Anoop M D
58fbe2e64b chore: cleanup 2023-10-16 02:10:18 +05:30
Anoop M D
faa7cdb1d5
Merge pull request #275 from phoval/feat/mTlsInitialSupport
feat: client certificate support
2023-10-16 01:15:41 +05:30
Dipin Jagadish
3302e2e910 Merge branch 'main' into 557-configurable-request-timeout 2023-10-15 20:30:01 +01:00
Dipin Jagadish
0e1869139b fix: fixing merge conflicts 2023-10-15 20:19:08 +01:00
Anoop M D
353be75d9c fix: fixed bug in loading preferences 2023-10-16 00:45:54 +05:30
Mirko Golze
43c5b4cf53 proxy settings global and collection level 2023-10-15 20:30:13 +02:00
Mirko Golze
6dd6879e8f proxy settings global and collection level 2023-10-15 20:26:36 +02:00
Dipin Jagadish
955fcb795d Merge branch 'main' into 557-configurable-request-timeout 2023-10-15 18:34:41 +01:00
Dipin Jagadish
ad3f1b2331 feat: use timeout for axios requests 2023-10-15 18:26:17 +01:00
Mirko Golze
f2bdf2eaf6 Merge branch 'main' into feature/proxy-global-and-collection
# Conflicts:
#	packages/bruno-app/src/components/Preferences/General/index.js
#	packages/bruno-app/src/components/Preferences/index.js
#	packages/bruno-app/src/providers/App/useIpcEvents.js
#	packages/bruno-app/src/providers/Preferences/index.js
#	packages/bruno-electron/src/index.js
#	packages/bruno-electron/src/ipc/collection.js
#	packages/bruno-electron/src/store/preferences.js
2023-10-15 17:06:39 +02:00
Mirko Golze
470e9d0442 proxy settings 2023-10-15 16:40:50 +02:00
Anoop M D
7bf049a1f0 feat: use electron-store for saving preferences 2023-10-15 15:59:57 +05:30
Easwaran Prem K
3cc2e3d4fa Feature: Support Import postman environment - Fixes issue #193 2023-10-14 17:20:31 +05:30
rayoz12
78eec9ea5c Fixes: #552
Runs Post response vars and scripts on error.

This normalises behaviour between:
- Assertions
- Scripts
- Tests
2023-10-14 21:12:37 +11:00
mirkogolze
97a300fbfc
Merge branch 'usebruno:main' into feature/proxy-global-and-collection 2023-10-14 10:26:09 +02:00
nyyu
d6628d960e feat: support client certificates 2023-10-13 22:30:45 +02:00
Anoop M D
102f7a5ecb Merge branch 'main' of github.com:usebruno/bruno 2023-10-14 01:01:31 +05:30
Anoop M D
19498363e1 feat(#583): collection level docs 2023-10-14 01:01:11 +05:30
Linhart Lukáš
e90fc466b4 Dont reset timer when switch tabs 2023-10-13 17:27:17 +02:00
mirkogolze
9e4ff465af
Merge branch 'usebruno:main' into feature/proxy-global-and-collection 2023-10-13 11:53:47 +02:00
Anoop M D
ad02ab8f36
Merge pull request #522 from foneazmi/main
fix(ui): add minHeight & minWidth
2023-10-13 07:17:34 +05:30
Anoop M D
1087cacdb0
Merge pull request #463 from donus3/feature/docs
Bruno Docs
2023-10-13 04:07:28 +05:30
Brian Rodgers
ba8bfc6d17 Added AWS SigV4 to collection auth 2023-10-11 17:00:47 -07:00
Brian Rodgers
f781bd7d8a Merge remote-tracking branch 'upstream/main' 2023-10-11 15:54:56 -07:00
Its-treason
72521a6007 fix(#529): Fix Ctrl+W closes Bruno
The default shortcut to close in the menu is Ctrl+W, I changed it
to Ctrl+Shift+Q because firefox uses this shortcut for closing
2023-10-11 22:09:11 +02:00
Jarne
8a0f7c6b8f Save window maximized state 2023-10-11 19:22:50 +02:00
Mirko Golze
608d606f64 Merge branch 'main' into feature/proxy-global-and-collection
# Conflicts:
#	packages/bruno-app/src/components/ResponsePane/Placeholder/index.js
2023-10-11 08:30:51 +02:00
Donus(ADA)
01c298c58e feat: support documentation 2023-10-11 09:21:12 +07:00
Farkhan Azmi
21c9fda04f
fix(ui): add minHeight & minWidth 2023-10-11 07:55:46 +07:00
Anoop M D
93f89698fd chore: json safeStringify 2023-10-11 03:57:19 +05:30
Anoop M D
037793c113
Merge pull request #504 from grubersjoe/gql-collection-auth
feat(#354): Use collection level auth if available for introspection request
2023-10-11 03:36:39 +05:30
Anoop M D
1979be6c4b
Merge pull request #518 from dozed/fix/error-handling
Fixed error handling
2023-10-11 03:08:49 +05:30
Stefan Ollinger
bd5bc4acb2 Fixed error handling 2023-10-10 21:51:32 +02:00
Stefan Ollinger
e20dc985ef Set request data 2023-10-10 21:43:43 +02:00
Jonathan Gruber
12f8ae37a6 feat(#354): Use collection level auth if available for introspection request 2023-10-10 11:26:10 +02:00
Mirko Golze
d64f4d3740 make code runnable 2023-10-10 07:49:22 +02:00
Mirko Golze
99fe4432c4 Merge branch 'main' into feature/proxy-global-and-collection 2023-10-09 21:11:20 +02:00
Mirko Golze
71e8ea457c try add ca file to global root caas 2023-10-09 21:09:52 +02:00
Jonathan Gruber
0668331822 fix(#222): harden content security policy and allow loading inline images 2023-10-09 15:45:06 +02:00
Mirko Golze
b9291201d9 Merge branch 'main' into feature/proxy-global-and-collection
# Conflicts:
#	package-lock.json
#	packages/bruno-app/src/components/CollectionSettings/ProxySettings/index.js
#	packages/bruno-electron/src/ipc/network/index.js
2023-10-09 07:21:25 +02:00
Anoop M D
46bc097733
Merge branch 'main' into feat/add-support-for-socks5-proxy 2023-10-09 06:40:12 +05:30
Anoop M D
1ce8d707f1 feat(#334): collection level headers, auth, scripts and tests 2023-10-09 06:18:05 +05:30
Mirko Golze
b854e66a24 #224 refactor preferences store, add global proxy settings 2023-10-08 23:12:03 +02:00
Ricardo Q. Bazan
ce2e997c06 feat: add support for socks5 proxy 2023-10-08 10:04:16 -05:00
Anoop M D
159dd90b03 fix: fixed issue where window width and height were not set for first time users 2023-10-08 05:26:49 +05:30
Anoop M D
c222bf47c3
Merge pull request #452 from jarne/feature/persist-window-state
Persist window state (size, position)
2023-10-08 04:36:09 +05:30
Anoop M D
64ac763a13
Merge pull request #441 from grubersjoe/gql-auth
Improve GQL introspection request
2023-10-08 04:17:00 +05:30
Michał Szymborski
6d8bdfa276 fix(#440) open dev tools from menu 2023-10-07 23:42:12 +02:00
Anoop M D
c6fef2f1be chore: removed legacy code 2023-10-08 01:01:40 +05:30
Anoop M D
faf8581ddf feat(#253): hide hotkey 2023-10-08 00:55:09 +05:30
Jarne
fab350a32d Add some checks if position/size is inside screen border 2023-10-07 14:51:47 +02:00