Anoop M D
62815e3429
Merge pull request #5008 from anusree-bruno/feat/add-process-env-vars-to-gql-introspection
...
add process.env variable support to GraphQL introspection
2025-10-18 23:15:51 +05:30
lohit
a4b1941817
fix(bru-2035): form-urlencoded logic updates ( #5820 )
2025-10-17 18:22:43 +05:30
Siddharth Gelera (reaper)
2becf49542
fix: harden type checks for buildFormUrlEncodedPayload ( #5811 )
2025-10-16 13:31:13 +05:30
Siddharth Gelera (reaper)
924bc2e79e
Merge pull request #5713 from barelyhuman/fix/form-values-seq-5237
...
fix: reimplement payload serialization for `x-www-form-encoded`
2025-10-09 18:25:28 +05:30
Siddharth Gelera (reaper)
c15d47c0dc
chore: base format ( #5624 )
2025-09-24 13:00:54 +05:30
sid-bruno
6f8c543ee3
tests: additional tests for path params and odata ( #5610 )
...
* Support for Odata style path params (#5048 )
* Support for Odata style path params
* Remove test statement
* Update packages/bruno-app/src/utils/url/index.spec.js
Add more testcases
Co-authored-by: sid-bruno <siddharth@usebruno.com >
* Performance improvements
* Add testcases for odata style url params
---------
Co-authored-by: sid-bruno <siddharth@usebruno.com >
* tests: additional tests for odata and path params
tests(electron): add in odata smoke for interpolation
chore: code format
chore: ESLint atomic diff based formatting (#5592 )
* chore: atomic diff based formatting
chore(format): fix formatting
tests(playwright): interpolation tests
Support for Odata style path params (#5048 )
* Support for Odata style path params
* Remove test statement
* Update packages/bruno-app/src/utils/url/index.spec.js
Add more testcases
Co-authored-by: sid-bruno <siddharth@usebruno.com >
* Performance improvements
* Add testcases for odata style url params
---------
Co-authored-by: sid-bruno <siddharth@usebruno.com >
---------
Co-authored-by: Anton <anton@trugen.net >
Co-authored-by: Siddharth Gelera <ahoy@barelyhuman.dev >
2025-09-23 15:55:04 +05:30
Siddharth Gelera (reaper)
2b6da56c3c
fix(electron): avoid double encoding urls params. Fixes #5380 . ( #5507 )
...
* fix(common): avoid double encoding urls params
2025-09-12 19:08:53 +05:30
sanish chirayath
abddc98767
feat: add WSSE authentication support to gRPC requests ( #5455 )
...
* feat: add WSSE authentication support to gRPC requests
- Introduced WSSE authentication mode in GrpcAuth component.
- Updated supported authentication modes to include WSSE.
- Refactored gRPC event handlers to streamline authentication header setting.
- Added notes regarding limitations of complex auth modes in gRPC.
* fix: update authentication header retrieval in setAuthHeaders function
- Refactored the setAuthHeaders function to correctly retrieve WSSE and OAuth2 refresh token URLs from the request object instead of the collectionAuth object.
- Added comprehensive tests for various authentication modes, ensuring proper inheritance and request-level overrides for AWS v4, basic, bearer, digest, NTLM, WSSE, API key, and OAuth2 authentication methods.
* chore: remove outdated comments on gRPC authentication limitations
2025-09-01 19:19:14 +05:30
sreelakshmi-bruno
48934ef74a
Add type field to env when not present ( #5401 )
2025-08-22 18:27:33 +05:30
sanish chirayath
efb2e83ad9
Add gRPC support ( #5148 )
2025-08-20 16:24:49 +05:30
Pooja
3e3e2e0563
feat: persist cookies in app ( #5318 )
2025-08-19 22:10:22 +05:30
sreelakshmi-bruno
f1f1c1fe5b
Handle decryption for secret env vars ( #5285 )
2025-08-08 17:28:49 +05:30
naman-bruno
4badee903a
Add @usebruno/filestore package ( #5130 )
2025-07-24 18:48:25 +05:30
Pooja
85c4871701
fix: awsv4 signature error bug ( #5099 )
2025-07-15 14:41:56 +05:30
anusree-bruno
d2888daa88
add process.env variable support to GraphQL introspection
2025-06-30 13:12:35 +05:30
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