lohit
f1e6d5eefe
add createFormData import from utils
2024-12-15 17:38:22 +05:30
lohit
ba41f17439
Merge branch 'main' into fix/multipart-file-with-same-key-name
2024-12-15 17:34:39 +05:30
Pragadesh-45
47179535d5
fix: update content-type header for XML requests to application/xml ( #3648 )
2024-12-15 16:40:12 +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
Sanjai Kumar
f110d898f5
fix: refactor createFormData function
2024-12-03 18:01:22 +05:30
lohxt1
6bebbfe9f3
fix: include global env varaibles for oauth2
2024-10-30 16:35:52 +05:30
Giuseppe
6588dcf2fd
Fixes Issue #3233 : set httpsAgentRequestFields on request.httpsAgent when shouldProxy or shouldUseSystemProxy was false ( #3317 )
...
* fix: set httpsAgentRequestFields on request.httpsAgent when shouldProxy is false
* fix: set httpsAgentRequestFields on request.httpsAgent when shouldUseSystemProxy is false
2024-10-23 21:00:27 +05:30
lohit
90834b8c7d
Merge branch 'main' into feat/global-environments
2024-10-08 10:26:13 +05:30
dwolter-emarsys
93f8d916c4
INTERNAL | correcting WSSE logic ( #3252 )
2024-10-03 23:23:40 +05:30
lohxt1
5afafb5944
feat: updates
2024-10-03 11:52:00 +05:30
lohit
4797119657
fix: interpolate form-urlencoded and multipart formdata values individually ( #3237 )
...
* fix: interpolate form-urlencoded and multipart values individually
* feat: cli updates
2024-10-01 18:24:03 +05:30
lohit
e2baed6724
fix: interpolate json body for type object -- graphql variables ( #3212 )
2024-09-30 17:14:58 +05:30
lohxt1
a8fce54e97
feat: global env var highlight and interpolation
2024-09-30 11:48:30 +05:30
lohit
25f43f12c7
feat: request execution mode ( #3200 )
2024-09-26 15:54:20 +05:30
Sam Briggs
2dd5ae400c
Fix #2760 : Path params trailing slash ( #3065 )
...
As reported in #2670 , if a URL has a trailing slash and also contains
path parameters then the original logic had a bug that would drop the
trailing slash.
This implements the fix proposed by @ThenTech.
2024-09-26 11:18:18 +05:30
Sanjai Kumar
4d820af4e0
Improved Feat/wsse auth ( #3172 )
...
* adding wsse auth logic
* adding wsse auth logic to electron
* adding wsse auth formatting
* Refactoring WSSE 'secret' to 'password'
* Incorporating PR feedback
* Removed unused packages from package.json
* Fixed issue caused when resolving merge conflicts and added new route to test wsse
* Removed deprecated package usages from bruno-cli
* Fixed tests
---------
Co-authored-by: dwolter-emarsys <dylan.wolter@emarsys.com >
2024-09-23 17:46:31 +05:30
lohit
ed20eccc25
fix: multipart/form-data body interpolation ( #3142 )
...
* feat: updates
* feat: updates
* feat: updates
* feat: updates
2024-09-23 15:54:54 +05:30
Sanjai Kumar
637e53421e
Feat/api key auth ( #2478 )
...
* feat: Added ApiKeyAuth component
* feat: Add support for API Key authentication
- Added the ApiKeyAuth component to handle API Key authentication mode.
- Updated the AuthMode component to include an option for API Key authentication.
- Updated the collections schema to include validation for API Key authentication.
- Updated the collectionsSlice to handle API Key authentication in the Redux store.
* refactor: input value handlers
- Removed the separate handleKeyChange, handlePlacementChange and handleValueChange functions and consolidated them into handleAuthChange.
* feat: Update prepare-request to handle API Key authentication in query parameters
* refactor: handling the queryparams placement api key values in the ConfigureRequest function
* refactor: added collection level api key auth
* refactor: updated collection export function
* refactor: add default placement for API key authentication in ApiKeyAuth component
* refactor: add default placement for API key authentication in ApiKeyAuth component in CollectionSettings
* refactor: update generateAuth function to handle API key authentication in postman collection exporter
* refactor: fix typo in API key placement for collection export
* Made minor changes in the logic.
* Updated the importers for postman to handle new auth type.
2024-09-20 17:28:53 +05:30
Lukáš Linhart
dd2b93e8cd
fix: Allow to set custom user agent ( #3146 )
...
Co-authored-by: Linhart Lukáš <Lukas.Linhart@tescosw.cz >
2024-09-20 14:09:11 +05:30
lohit
8b6e55dfc0
fix: axios transform request bind ( #3123 )
2024-09-18 15:08:04 +05:30
Lukáš Linhart
b3c72b1640
bugfix/useragent-header ( #2979 )
...
* add bruno-specific userAgent header
* Update axios-instance.js
---------
Co-authored-by: Linhart Lukáš <Lukas.Linhart@tescosw.cz >
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-09-16 00:03:45 +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
Oleg Vaskevich
5d7f44fc61
Don't include state in OAuth 2 exchange flow ( #3034 )
...
* Don't include state in OAuth 2 exchange flow if not specified
* Remove state entirely
2024-09-06 15:18:31 +05:30
Grégoire Bellon
450b1d3ae3
fix: invalid json body mistakenly quoted ( #2449 )
...
* fix: invalid json body mistakenly quoted
* Update axios-instance.js
* chore: better code for json header check
---------
Co-authored-by: lohit <lohxt.space@gmail.com >
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-09-05 12:26:12 +05:30
Jonathan Gruber
bcc8811f65
chore( #673 ): remove obsolete mustache.js library ( #674 )
...
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-09-05 00:24:09 +05:30
Anoop M D
cb395e7649
Collection Variables Support ( #2963 ) ( #3018 )
...
Support for Collection Variables
---------
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
Co-authored-by: lohit <lohxt.space@gmail.com >
2024-09-03 21:18:38 +05:30
j-lebek
5931f0bb4e
feat: Store cookies received in Runner execution ( #2951 )
2024-09-03 21:12:54 +05:30
Anoop M D
c5c343c543
feat: update proxy implementation in preferences ( #2977 )
2024-08-30 15:22:06 +05:30
lohit
c1ec95dc29
fix: option to toggle on/off system proxy env variables ( #2724 )
...
fix: option to toggle on/off system proxy env variables
2024-08-30 11:44:29 +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
Zhaolin Liang
25e57d2578
bugfix/fix save text response as base64 ( #2886 )
2024-08-24 00:38:21 +05:30
Anoop M D
753a576c3c
Feat/safe mode quickjs ( #2848 )
...
Safe Mode Sandbox using QuickJS
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2024-08-21 12:52:49 +05:30
Adrian
df120787ca
fix: remove scope with auth code grant ( #2815 )
2024-08-16 20:05:33 +05:30
Sanjai Kumar
5706c4b138
Added the ablility to save the response in utf8 format. ( #2792 )
2024-08-12 17:20:56 +05:30
Rinku Chaudhari
de226d2e44
feat: added runner delay ( #2218 )
...
* feat: added runner delay
* fix: check if delay is greater than 0
* fix: input type number and added missing onclick
2024-08-08 17:13:17 +05:30
Anoop M D
d7ec3d1cc5
Revert "fix: BigInters are now correctly shown in the response ( #2736 )" ( #2768 )
...
This reverts commit 3e2a3b65a4 .
2024-08-06 16:00:49 +05:30
Vincenzo De Petris
92073e7573
fix: draft variables and headers ( #2651 )
...
* fix: extract variables and headers from the provided request
* fix: handling draft headers and vars
* fix: handling draft headers and vars
---------
Co-authored-by: Vincenzo De Petris <vincenzodepetris@gmail.it >
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-08-06 14:32:54 +05:30
Timon
3e2a3b65a4
fix: BigInters are now correctly shown in the response ( #2736 )
...
Fixes : #1753
2024-08-06 13:01:30 +05:30
lohit
98c53cf443
update natural to sequential ( #2717 )
2024-07-29 11:04:29 +05:30
Mateusz Pietryga
f2ba351f0d
Fix: OAuth 2.0 Grant Type Authorization: "invalid_client" error / URL Encode of Client ID ( #2129 )
...
#2115
#1003
2024-07-26 18:17:38 +05:30
Timon
2e2c60d90e
feat: Add flow option for "natural" flow in scripts ( #2704 )
...
- Adds a new key in the `bruno.json` under `scripts.flow`
- When concating post and tests scripts the flow will now be used
to determine to correct order
Fixes : #2648 #2680 #2597 #2639
2024-07-26 18:10:10 +05:30
BruAlcaraz
c99da3a581
Allow bru.setNextRequest() on Test Scripts ( #2155 ) ( #2552 )
...
Co-authored-by: Alcaraz, Bruno <Bruno.Alcaraz@ulgroup.com >
2024-07-25 16:57:55 +05:30
lohit
ab9bcbe5ed
feat/rename collectionVariables variable name to runtimeVariables ( #2638 )
...
* pr review changes
* collection root object in export json
* import environment updates
* tests run execution order fix for collection runs
* updated validations
* collectionVariables -> runtimeVariables
* removed husky, adjusted indentation
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-07-17 17:21:03 +05:30
lohit
58c8085a64
fix/collection export import ( #2601 )
...
* pr review changes
* collection root object in export json
* import environment updates
* tests run execution order fix for collection runs
* headers schema update, export only required parts of request
* update auth in object spread
* docs not present in folder level settings
* docs not present in folder level settings
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2024-07-10 11:21:58 +05:30
lohit
c895d7f357
feat: request vars, bru.getRequestVar function ( #2541 )
2024-07-01 14:15:25 +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
lohit
ca22ad06df
update interpolate function in bruno js ( #2479 )
...
* update interpolate function in bruno js
* removeed handlebars import, updated validations
* removed handlebars import
2024-06-21 11:15:23 +05:30
lohit
5259c5fb4a
Feat/client cert types ( #2482 )
...
* feat: pfx/cert client certificates
* ui updates
* file tooltip
* feat: updated client cert logic
* feat: updated validations
* const to let
* throw error incase of invalid file paths
* fix htmlFor label
* updated cli error messages
2024-06-21 11:13:52 +05:30
lohit
b031e1f009
add decomment step in a try catch block ( #2485 )
...
* add decomment step in a try catch block
* request params validation - fix unit tests
2024-06-21 10:45:12 +05:30
lohit
929d2b5299
fix/generate code auth header validation ( #2490 )
...
* geenrate code for request to include collection auth headers only if request auth is of type inherit
* validations
2024-06-21 10:44:24 +05:30