lohit
98c53cf443
update natural to sequential ( #2717 )
2024-07-29 11:04:29 +05:30
Mateusz Pietryga
6fe96a8194
bugfix/test - update Jest configuration to fix unit tests ( #2672 )
2024-07-26 18:24:44 +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
Anoop M D
073c1aae12
chore: bumped version
2024-07-23 17:19:25 +05:30
lohit
9892f7cd40
Feat/electron bump ( #2668 )
...
* pr review changes
* collection root object in export json
* import environment updates
* tests run execution order fix for collection runs
* updated validations
* accept request flag in curl string for method type
* electron version bump to v31.2.1
2024-07-19 16:29:10 +05:30
lohit
7194998b0e
update node-machine-id to @usebruno/node-machine-id ( #2661 )
...
* update node-machine-id to @usebruno/node-machine-id
* added lock file
* tests check
* tests check
2024-07-18 17:19:22 +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
Anoop M D
34a961967e
chore: bumped version
2024-07-15 17:37:54 +05:30
Anoop M D
f159f73340
chore: bumped version
2024-07-10 16:28:58 +05:30
Fabio GRANDE
f64dca16a7
Removed Underscores on variables ( #2603 )
...
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
2024-07-10 12:58:19 +05:30
Anoop M D
b5b9e547c9
chore: bumped version
2024-07-10 12:57:05 +05:30
Fabio GRANDE
240d2d03f7
Cloning a dir now clone also folder.bru files recursively#2593 ( #2596 )
...
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
2024-07-10 11:24:49 +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
Anoop M D
0988f2b86e
chore: bumped version
2024-07-07 14:52:22 +05:30
Timon
e71e38f62e
fix( #2573 ): Fix broken resequenzing of requests ( #2574 )
2024-07-06 23:07:36 +05:30
Anoop M D
589e173256
chore: version bump
2024-07-04 16:28:43 +05:30
lohit
40f7be534a
pr review changes ( #2563 )
2024-07-04 14:47:46 +05:30
lohit
2aa7d26a89
add collection and folder data to exported bruno collection json ( #2560 )
...
* add collection and folder data to exported bruno collection json
* folder root data order
2024-07-04 13:18:40 +05:30
Anoop M D
02e23df349
chore: version bumped
2024-07-01 18:20:16 +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
afcdf30b49
Fix/graphql file load ( #2484 )
...
* fix graphql schema file load issue
* feat: update file load logic
2024-06-21 11:07:29 +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
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
Jack Evans
b432e94a4e
interpolate vars correctly fixes #704 ( #2317 )
2024-06-19 16:06:45 +05:30
Nicolas Nobelis
d88bb68014
fix: Pass the scope conditionally for OAuth2 grant types ( #2447 )
...
Fixes : #2446 .
Signed-off-by: Nicolas Nobelis <nicolas@nobelis.eu>
2024-06-19 16:02:56 +05:30
Sanjai Kumar
9588b442f7
refactor: now the key params in the axiosRequest creation phase is pathParams to resolve the naming conflicts of axios. ( #2465 )
2024-06-18 16:37:08 +05:30
slowjoe007
b01f2e0c5f
feature: Augment default truststore by default, optionally limit to custom CA certs ( #2057 )
...
* feat: Allow default truststore extension on bru CLI
* feat: augment default truststore by default, optionally limit to custom CA certs
* feat: augment default truststore by default, optionally limit to custom CA certs
* feat: Allow default truststore extension on bru CLI
* feat: augment default truststore by default, optionally limit to custom CA certs
2024-06-17 16:28:39 +05:30
Raphaël Bideau
693f882f5a
catch post request variable evaluation errors ( #2324 )
...
fix #2005
- display post request variable evaluation errors in a toast, each individual variable error on a new line
- display the response body (was previously replaced by the an error "Error invoking remote method 'send-http-request': ..."
2024-06-14 17:08:57 +05:30
lohit
bcdbc0ebed
fix tests for bruno-electron & bruno-lang ( #2410 )
2024-06-04 14:17: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
Dhananjay Kadam
32b1ba1c92
feat: add support for state param for OAuth2 Authorization Code flow ( #2330 )
...
* feat: add support for state param
* chore: revert package-lock.json
* test: update tests with state param
* chore: revert package-lock.json
* chore: add state to missing places
* Adding state to PKCE toggle
---------
Co-authored-by: Kadam Dhananjay <kadamdhananjay@johndeere.com>
2024-05-31 15:35:27 +05:30
lohit
3ded960938
fix( #2367 ): handle response body decode ( #2371 )
2024-05-30 23:24:04 +05:30
lohit
470d162fb6
fix/path param ( #2388 )
...
* fix(#484 ): minor code fixes
* code fixes
* fixes for generateCode
* var change
* pr review fixes
2024-05-30 23:09:34 +05:30
Sanjai Kumar
abfd14a306
Feat/improved path params ( #2357 )
...
* feat: path parameters (#484 )
* add path parameters on bruno-app
* add path parameters on bruno-cli
* fix bruno-schema testing
* fix generate request code not replace path parameter value
---------
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
- Update prepare-request.js to filter and rename 'paths' to 'params' with type 'path'
- Remove 'paths' from export.js and interpolate-vars.js
- Update bru.js to use 'params' instead of 'path'
- Update requestSchema in index.js to use 'keyValueWithTypeSchema' for 'params'
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
* refactor: changes form the review
* refactor: Refactor transformItemsInCollection handling
* refactor: Refactor improved export/import functionalities
* refactor: Remove console.log statement in bruToJson.js
---------
Co-authored-by: game5413 <37659721+game5413@users.noreply.github.com>
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-05-30 15:49:14 +05:30
lohit
4f64c2d59b
fix: collection import ( #2353 )
2024-05-22 21:32:24 +05:30
Anoop M D
4f11da12af
release: v1.18.0
2024-05-22 19:57:29 +05:30
busy-panda🐼🐼
53ab9761f8
bugfix( #2152 ): Docs not support "http" markdown image ( #2171 )
...
* bugfix(#2152 ): Docs not support "http" markdown image
* fix: added documentation (#2152 )
2024-05-22 19:19:31 +05:30
lohit
e0b8de5337
fix: Filter out the ZWNBSP character from response body, fixed charset parse logic ( #2351 )
...
* fix(#1003 ): content type for client_credentials & password grant types
* feature(#1003 ): added client is & secret for password credentials grant type
* fix: filter out non-printable control character and ZWNBSP character
* fix: filter out non-printable control character and ZWNBSP character
* remove ZWNBSP character from response body
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-05-22 18:42:25 +05:30
lohit
e56fb74801
Filter out non-printable characters, control characters and ZWNBSP character from the response body ( #2346 )
...
* fix(#1003 ): content type for client_credentials & password grant types
* feature(#1003 ): added client is & secret for password credentials grant type
* fix: filter out non-printable control character and ZWNBSP character
* fix: filter out non-printable control character and ZWNBSP character
2024-05-22 14:16:09 +05:30
Sanjai Kumar
4f115b06fb
Now added the ability to import and export js and json values. changes made in item schema. ( #2296 )
...
* Now added the ability to import and export js values. changes made in item schema.
* Improvements upon review
* Fixes.
* refactor: removed the copyRequest function and wrote the logic directly inside the copyItems function.
* refactor: Update getBrunoJsonConfig function to remove unnecessary parameter
* refactor: Update getBrunoJsonConfig function to remove unnecessary parameter and handle auth object dynamically
* refactor: Update OAuth2 grantType handling in transformCollectionToSaveToExportAsFile function
* refactor: Update getBrunoJsonConfig function to remove unnecessary async
2024-05-22 14:04:52 +05:30
Anoop M D
e149c8dc9a
release: v1.17.0
2024-05-07 23:17:24 +05:30
Anoop M D
392cc80db2
release: v1.16.1
2024-04-30 20:59:12 +05:30
Anoop M D
d7c0f489f6
release: v1.16.0
2024-04-29 19:46:31 +05:30
Anoop M D
2569a1389d
feat( #1667 ): None means None
2024-04-29 19:40:40 +05:30
Anoop M D
16861c9889
chore: bumped versions
2024-04-22 23:41:14 +05:30
Anoop M D
87404132ae
chore: bump to v1.14.0
2024-04-22 20:23:24 +05:30
Bijin A B
7a3cc4e040
fix: error boundary adding return-to-app and force-quit options ( #2131 )
...
* fix: error boundary adding return-to-app and force-quit options
* fix: method context
* fix: method context
* chore: increased print width to 200 in prettier
* chore: reverted the prettier printWidth increase
* feat: remove box-shadow from error boundary message layout
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-04-22 00:11:51 +05:30
Anoop M D
bc70bba0b6
release: v1.13.1
2024-04-16 02:33:30 +05:30
Mateusz Pietryga
12263a71b6
fix: Oauth2: Reuse TLS Certifcate valiadation and custom CA settings from preferences when accessing Auth and Token URLs ( #2071 )
...
#1684
#1003
2024-04-15 22:46:46 +05:30
Anoop M D
eddac73341
release: v1.13.0
2024-04-13 18:27:02 +05:30
lohit
b5a1c80496
fix( #1003 ): content type issue for client credentials & password credentials grant types -- missing client id & secret for password grant type ( #2051 )
...
* fix(#1003 ): content type for client_credentials & password grant types
* feature(#1003 ): added client is & secret for password credentials grant type
2024-04-10 15:04:42 +05:30
Antonin Huaut
1f786871b8
Ignore empty headers ( #1917 )
...
Co-authored-by: Antonin Huaut <antonin.huaut@dejamobile.com>
2024-04-10 02:49:16 +05:30
Anoop M D
4f7c295b88
Revert "fix ignore folders ( #1929 )" ( #2048 )
...
This reverts commit acca7984a4
.
2024-04-10 02:34:06 +05:30
Lukáš Linhart
acca7984a4
fix ignore folders ( #1929 )
...
Co-authored-by: Linhart Lukáš <Lukas.Linhart@tescosw.cz>
2024-04-10 02:29:14 +05:30
Gustavo Kath
179c30b15b
fix( #1920 ): Ignore redirect abortion emmited by loadUrl ( #1959 )
2024-04-10 02:19:37 +05:30
Pushpender Saini
484f6ef0c1
Fix content-type in client_credentials oauth flow ( #2039 )
2024-04-10 02:07:57 +05:30
Anoop M D
fbee23329d
fix( #1810 ): handled error case responseTime
2024-04-09 15:05:08 +05:30
RJ17799
5b2ca0ea03
fix( #1145 ): fix res.responseTime in runner ( #1810 )
2024-04-09 02:15:57 +05:30
ccoVeille
64b90b4cc3
fix typos and french documentation ( #1965 )
...
* chore: fix typos in code
* chore: GitHub is a trademark
Github => GitHub
* chore: fix documentation in French
2024-04-06 06:08:50 +05:30
Anoop M D
d20de4da0a
chore: bumped version to 1.12.3
2024-03-26 00:11:42 +05:30
Mateusz Pietryga
0f69c30a86
Fix: OAuth2 Authorization Request OPTIONAL parameters are required by bruno ( #1797 ) ( #1807 )
2024-03-22 18:44:19 +05:30
Stefan
753ca4341f
check oauth2 authorization code redirect for exact 'code' query parameter ( #1777 )
...
Co-authored-by: Stefan Grüttner <stefan.gruettner@deutschebahn.com>
2024-03-22 18:43:12 +05:30
Mateusz Pietryga
e278116356
Fix: OAuth2 Access Token request is sent as GET ( #1795 ) ( #1808 )
2024-03-22 18:42:00 +05:30
Mateusz Pietryga
ae3c76a6c1
Fix OAuth2 code verifier too short ( #1793 ) ( #1809 )
2024-03-22 18:39:50 +05:30
slowjoe007
8503752e09
Allow to keep the default truststore, when using a custom CA ( #1863 )
2024-03-22 18:35:42 +05:30
Bobby
7741a3e4ee
feat( #1839 ): Add Audio and Video Preview ( #1840 )
...
Any audio and video response can be now be previewed.
2024-03-22 18:29:39 +05:30
Anoop M D
f8ba781340
chore: version bump
2024-03-21 00:50:03 +05:30
Baptiste Poulain
f96f763f14
fix(enableTranslation): remove unused enableTranslation and useTranslation tokens ( #1867 )
...
Co-authored-by: bpoulaindev <bpoulainpro@gmail.com>
2024-03-20 18:45:27 +05:30
Anoop M D
cdbb15f33e
chore: bumped version to v1.12.0
2024-03-19 06:36:38 +05:30
Baptiste Poulain
410eecc884
feature(postman_tests_scripts): automatic tests and scripts translation from postman import ( #1151 )
...
* feature(postman_tests_scripts): automatic tests and scripts translation from postman import
---------
Co-authored-by: Baptiste POULAIN <baptistepoulain@MAC882.local>
Co-authored-by: bpoulaindev <bpoulainpro@gmail.com>
2024-03-13 18:40:31 +05:30
Anoop M D
2cd0e065bd
chore: updated lib versions
2024-03-13 03:05:29 +05:30
Anoop M D
d0c7c872c9
chore: bumped version to v1.11.0
2024-03-13 00:52:00 +05:30
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