Pooja
c6c3931446
feat: support onFail api to catch errors in pre req ( #4581 )
...
support `onFail` api to catch errors in pre req
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
Co-authored-by: lohit <lohit@usebruno.com >
2025-06-27 19:42:00 +05:30
lohit
fab9d00566
Merge pull request #3973 from betawait/bugfix/bug-remove-content-type-in-post-with-no-body
...
Fix: Allow empty Content-Type when no body (#1693 )
2025-06-27 17:49:34 +05:30
Pooja
e4ae857df3
Merge pull request #4693 from pooja-bruno/mv/isValidValue-in-common-file
...
Fixed a bug causing secrets to appear as null instead of an empty value.
rm isValidValue and directly handle it in encryptString and `decryptString` function
2025-06-09 13:50:25 +05:30
devendra-bruno
8d5d952026
Added runtimeVars in prepareGqlIntrospectionRequest
2025-05-27 14:38:48 +05:30
devendra-bruno
afb2d3dffd
Updated resolved variable assignment and testcases
2025-05-26 22:52:37 +05:30
devendra-bruno
9f1aed3209
Refactored fetch-gql-schema-handler.spec.js
2025-05-26 16:42:18 +05:30
devendra-bruno
788569a5f4
Added testcases for prepare-gql-introspection-request.spec.js
2025-05-26 16:39:07 +05:30
devendra-bruno
c293ceefcf
Refactored fetch-gql-schema-handler.spec.js
2025-05-26 16:37:28 +05:30
devendra-bruno
0948964677
Revert changes to common.spec.js
2025-05-26 09:47:43 +05:30
devendra-bruno
b924e15afa
Added testcases for fetch-gql-schema-handler
2025-05-21 17:35:47 +05:30
devendra-bruno
6cde453032
Added test for prepareGqlIntrospectionRequest
2025-05-21 06:41:18 +05:30
devendra-bruno
8f06889996
Remove mergeEnvironmnetVariable method from spec file
2025-05-21 06:40:21 +05:30
devendra-bruno
52662f0766
Updated testcases in prepare-gql-introspection spec
2025-05-19 17:39:39 +05:30
devendra-bruno
3cd18d1e16
Added testcases for prepare-gql-introspection-request
2025-05-16 00:43:58 +05:30
devendra-bruno
6598d23ff0
Removed mergeEnvrionmentVariables tests from common.spec.js
2025-05-15 15:57:43 +05:30
betawait
1d12bebce4
Fix: Allow empty Content-Type when no body ( #1693 )
...
By default Axios will set the Content-Type for POST/PUT/PATCH requests
to "application/x-www-form-urlencoded" if the Content-Type header is not
specified.
This explicitly sets the content type to "false" when there the body
mode is set to "none", and the user has not set an explicit content type
themselves. Setting the content type to false directs Axios not to send
a Content-Type header.
2025-05-15 07:40:21 +09:00
devendra-bruno
5000bb8db3
Added testcases for mergeEnvironmentVariables method
2025-05-14 12:23:32 +05:30
lohxt1
51be153527
fix bruno-electron unit tests
2025-03-16 14:28:21 +05:30
lohit
8f604efc7e
fixes tests for the file body pr ( #3940 )
...
fixes tests for bruno-app and bruno-electron
2025-02-04 22:12:59 +05:30
Anoop M D
9f5f975f70
feat: async parser workers ( #3834 ) ( #3887 )
...
feat: async parser workers (#3834 )
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2025-01-29 02:53:53 +05:30
lohit
ee715a6dc6
chore: headers/vars/script merge fns refactor ( #3654 )
...
* chore: cli code refactoring
* chore: code refactoring
2024-12-15 15:40:49 +05:30
lohit
1cb0d4e191
chore: node version bump -- v22.11.0 ( #3508 )
...
node version bump with updates to cipher logic
2024-11-20 17:09:02 +05:30
Sanjai Kumar
0937bab7f5
bugfix( #1320 ):Now the form-url-encoded params in the body can contain multiple values with same name. ( #2964 )
...
* Now the form-url-encoded params in the body can contain multiple values with same name.
* Updated the tests and renamed the function name
* Added the inimported function
* Minor changes.
2024-09-15 23:27:16 +05:30
Anoop M D
9e5148f032
fix( #2767 ): Fix serilization issues of bigint in json body ( #2773 )
...
Fix serilization issues of bigint in json body
---------
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2024-08-27 14:12:56 +05:30
Mateusz Pietryga
6fe96a8194
bugfix/test - update Jest configuration to fix unit tests ( #2672 )
2024-07-26 18:24:44 +05:30
Anoop M D
45ff36d394
Folder level Headers, Scripts and Tests ( #2529 )
...
* [Feature] : Settings on folder level (#1334 )
* feat(folder_settings): enable settings tab from folder, currently not using folder.bru
* feat(folder_settings): read and write in folder settings only in headers, ignore folder.bru file il requests list
* feat(folder_settings): merge collection and folder settings when sending network request
* feat(folder_settings): remove console, testing headers merging working fine
* feat(folder_settings): add missing endl for prettier check, remove redundant imports
---------
Co-authored-by: Baptiste POULAIN <baptistepoulain@MAC882.local >
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
* feat: folder level scripts and tests
* feat: folder level variables (#2530 )
---------
Co-authored-by: Baptiste Poulain <64689165+bpoulaindev@users.noreply.github.com >
Co-authored-by: Baptiste POULAIN <baptistepoulain@MAC882.local >
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2024-07-01 12:52:56 +05:30
Antti Sonkeri
9c11e27d1c
fix: decomment not working in json body ( #1819 )
...
Request body json was not decommented if json parsing fails, which
would happen if variables are not quoted.
Fixes usebruno#888
2024-06-19 16:18:36 +05:30
Dakshin K
46df2e967f
fix: Check OAuth2 redirect URL for matching callback URL and authorization code in query parameters ( #2148 )
...
* Check OAuth2 redirect URL for matching callback URL and authorization code in query parameters
In an Authorization code flow, there may be multiple intermediate redirects before reaching the final one which matches the callback URL and has a code in the query params.
We should wait until we see a redirect URI that matches both the conditions. This fixes the issue where, when a redirect contains `code` as a query param but is not the final one (i.e., is not to the callback URL) an error is thrown saying the callback URL is invalid.
Fixes #2147
* Add test cases for callback URL check
* Update check to cover URLs with same host but different endpoints
2024-05-31 15:41:31 +05:30
Anoop M D
13cb71eaef
chore: fix tests
2024-02-27 01:43:36 +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
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
bacb70ea7e
feat( #931 ): relax var name strictness
2023-12-02 01:27:18 +05:30
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
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
Mirko Golze
470e9d0442
proxy settings
2023-10-15 16:40:50 +02:00
Anoop M D
2dadad3af0
Merge branch 'main' into feature/env-secrets
2023-09-24 23:11:45 +05:30
Anoop M D
f78c1640e9
feat( #199 ): electron safeStorage util for storing secrets with aes256 fallback
2023-09-24 17:49:28 +05:30
Anoop M D
e3ce420216
feat( #122 ): supporting process.env vars in UI and electron layer
2023-09-23 02:55:54 +05:30