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
sfreeman422
e5425299a2
Import Bruno Collection fails - ValidationError: headers are required #2583 ( #2598 )
...
* Removed headers key on folderRootSchema as it seems unlikely that headers are actually required here
* Removed launch.json
* Added back package-locks
* reverted package-lock
* removed only the .required
2024-07-10 11:19:12 +05:30
lohit
f1e0b112ae
fix/folder bru data loading issue in windows ( #2595 )
...
* pr review changes
* collection root object in export json
* import environment updates
* validations for folder.bru paths for windows
2024-07-10 11:04:55 +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
e462eb6ecd
import environments ui and collection root object for json export - updates ( #2565 )
...
* pr review changes
* collection root object in export json
* import environment updates
2024-07-04 16:10:38 +05:30
lohit
40f7be534a
pr review changes ( #2563 )
2024-07-04 14:47:46 +05:30
lohit
c8f95a34e9
feat: bru hasEnvVar, hasVar, deleteVar ( #2531 )
...
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-07-04 13:21:27 +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
Baptiste Poulain
71353b0404
[Feature] : Bulk env import and UX/UI improvements ( #2509 )
...
* feat(bulk-env-import): bulk import working like a charm
* feat(bulk-env-import): refresh no env dialog's styling
* feat(bulk-env-import): group create and import env within initial modal, UI improvements
* feat(bulk-env-import): minor styling fixes
* feat(bulk-env-import): handle incorrect files in env importer
---------
Co-authored-by: bpoulaindev <bpoulainpro@gmail.com>
2024-07-04 12:01:24 +05:30
Sanjai Kumar
01605f6f2a
Bugfix/links in docs ( #2561 )
...
* chore: fix markdown component
* Refactor MarkDown component to remove unnecessary useCallback hooks
2024-07-04 11:38:35 +05:30
Guillaume Leon
0d204694a6
Add autocompletion for headers value ( #1142 )
...
* feature: add autocompletion for headers value
* chore: rename file to autocompleteConstants and move it to codemirror utils
2024-07-04 11:28:46 +05:30
Nick Boyadjian
0d3765ad66
fix scrolling issue by setting the height of the CodeMirror using ( #1058 )
...
flex
Co-authored-by: Nick Boyadjian <nick.boyadjian@podium.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-07-04 11:26:34 +05:30
lohit
bd61e453ee
fix/variables highlighting ( #2502 )
...
* js highlighting fix, only highlight path params pattern in url bar
* path param pattern matching validation update
* path param tooltip validation update
2024-07-01 19:25:55 +05:30
Anoop M D
02e23df349
chore: version bumped
2024-07-01 18:20:16 +05:30
lohit
61e0ac03fa
updated testbench collection ( #2542 )
2024-07-01 15:40:31 +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
Jean Lethiec
fd57b2ce94
Add collection var to CodeEditor props ( #2501 )
...
Co-authored-by: jean_lethiec <Jean_LETHIEC@connect-tech.sncf>
2024-06-28 20:10:14 +05:30
Vincent Agnano
fc626041e2
Fixed English grammar/typo ( #2493 )
2024-06-21 11:32:45 +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
Sanjai Kumar
01e93b5c2b
Feat/highlight path params ( #2415 )
...
* fix: Update CodeMirror mode to use combinedmode for SingleLineEditor. This will highlight the pathparams in the QueryUrl.
* Refactor: Updated url highlighting.
* refactor: Improved the hinting part.
* refactor: CodeEditor, MultiLineEditor, and QueryEditor to use defineCombinedCodeMirrorMode for highlighting Bruno variables instead of defineCodeMirrorBrunoVariablesMode
* refactor: Updated defineCombinedCodeMirrorMode to defineCodeMirrorCombinedVariablesMode. Now the pathparams at the end of the URL is also highlighted.
* refactor: Update CodeMirror mode to use defineCodeMirrorBrunoVariablesMode instead of defineCodeMirrorCombinedVariablesMode. Now the path params in the URL will be highlighted on application open.
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-06-21 11:03:50 +05:30
Sanjai Kumar
963b197afc
Refactor countRequests function to use getTotalRequestCountInCollection in CollectionSettings/Info/index.js ( #2140 )
2024-06-21 10:46:51 +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
Baptiste Poulain
1e2b07dead
Fix postman translation : support postman. ; additional translations ( #2453 )
...
* fix(postman-translation): cleanup logs after each import, pm.expect.fail(), remove duplicated _test_ key, flex wrap
* fix(postman-translation): support for postman. - update jest file
---------
Co-authored-by: bpoulaindev <bpoulainpro@gmail.com>
2024-06-19 18:41:39 +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
Leonardo Ferreira Lima
a0df5138b3
fix: add authorization token to generate code ( #1792 )
...
fixes #1791
2024-06-19 16:09:21 +05:30
Jack Evans
b432e94a4e
interpolate vars correctly fixes #704 ( #2317 )
2024-06-19 16:06:45 +05:30
Fabio GRANDE
9ec67b5da9
Added IsArray on Assert ( #2413 )
...
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
2024-06-19 16:04:57 +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
3db7d54aca
bugfix( #2462 ) ( #2463 )
...
* fixed
* refactor: conditionals.
* refactor: Update importPostmanV2CollectionItem function to handle file and text formdata
2024-06-18 17:05:09 +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
Leonardo Ferreira Lima
271f988d99
feat: add recursive interpolate ( #2234 )
...
* feat: add recursive interpolate
fixes #2227
* test(bruno-common): fix test with 3 level of recursion
* fix(bruno-common): add ability to reference the same variable repeatedly
2024-06-18 16:08:14 +05:30
anusreesubash
ec1b734b3a
fix: changed title from 'bruno' to 'Bruno' ( #2476 )
...
Co-authored-by: Anusree Subash <anusree@usebruno.com>
2024-06-18 11:23:13 +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
Sanjai Kumar
5c04f884e2
refactor: Handle errors when importing collections ( #2455 )
2024-06-17 12:24:25 +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
Mateusz Pietryga
8628bdbe89
Fix: update broken relative links between various document translations and embedded images ( #2392 )
2024-06-14 17:06:39 +05:30
Anoop M D
9b382fa091
Revert "fix: Move output to stderr #2123 ( #2125 )" ( #2418 )
...
This reverts commit 1b4d9b8f6e
.
2024-06-05 20:37:15 +05:30
Johannes Zorn
1b4d9b8f6e
fix: Move output to stderr #2123 ( #2125 )
...
This change moves informational command outputs from console.log (prints on stdout) to console.warn/console.error (prints on stderr)
to enable stdout processing in pipelines.
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-06-05 20:35:28 +05:30
lohit
f9b33dde38
chore: fix cli tests ( #2412 )
...
* fix tests for bruno-electron & bruno-lang
* chore: fix validatioon breaking cli tests
2024-06-05 20:31:31 +05:30
Johannes Zorn
811a6e6034
fix( #2122 ): add specific error status codes ( #2126 )
...
* fix: add specific error status codes #2122
This change adds specific exit status codes to identify different problems programatically
* feat(#2122 ): Document the cli exit status codes
* Update packages/bruno-cli/src/constants.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/constants.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
---------
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
2024-06-05 20:29:59 +05:30
lohit
bcdbc0ebed
fix tests for bruno-electron & bruno-lang ( #2410 )
2024-06-04 14:17:36 +05:30
Sanjai Kumar
ee4dba54f3
feat: update jsonToBru.js to use getValueString for text type items in multipartForm ( #2407 )
2024-06-04 14:16:07 +05:30
lohit
2621c384c0
Fix/params tests ( #2398 )
...
* fix: params test
* undeclared variable old code
2024-05-31 17:52:14 +05:30
lohit
b63ae360fe
fix: params test ( #2395 )
2024-05-31 15:55:23 +05:30