Commit Graph

135 Commits

Author SHA1 Message Date
Pragadesh-45
23c22a96bc
Feat/import translation for deprecated pm import (#3388)
* feat: add translation for pm `tests[]`
* feat: add bru.deleteEnvVar function and update translations

---------

Co-authored-by: Pragadesh-45 <temporary7904@gmail.com>
2024-11-20 17:58:59 +05:30
lohit
d70d4a482b
feat:add res() function shim to safe-mode (#3345) 2024-10-24 14:59:54 +05:30
lohit
f43775e245
chore: removed unused libraries (#3330)
* chore: posthog-node lib version upgrade

* chore: removed github button

* chore: removed lossless-json and json-bignt lib

* chore: updated package lock

* chore: removed unused libraries
2024-10-21 18:31:42 +05:30
lohit
cc8f3de8be
feat: upgrade libraries for dependabot alerts (#3300)
* feat: upgrade libraries and code cleanup
2024-10-17 11:04:47 +05:30
lohit
3ef7df57e2
fix(#3287): res.setbody safe mode (#3299) 2024-10-14 12:27:12 +05:30
lohit
90834b8c7d
Merge branch 'main' into feat/global-environments 2024-10-08 10:26:13 +05:30
Pragadesh-45
5c5e3d18fc
add logic to check for key existence in post response (#3249) 2024-10-04 16:53:35 +05:30
lohxt1
5afafb5944 feat: updates 2024-10-03 11:52:00 +05:30
lohit
6bc8acd1e1
feat: bru fns update (#3231) 2024-10-01 23:45:05 +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
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
3cb3f8094f
chore: disableParsingResponseJson shim fn in safe mode (#3110) 2024-09-16 17:13:19 +05:30
Shishir Karanth
238c790f9b
fix: handle functions while marshalling (#3102)
* fix: handle functions while marshalling

* fix: js style
2024-09-16 16:40:29 +05:30
Sergei Karetnikov
81d8c30d84
feat(usebruno#2441): Set response body function (#3076) 2024-09-13 11:48:05 +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
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
lohit
b121afe7bb
feat: revert await keyword for test (#2933)
feat: revert await keyword for test
2024-08-27 11:41:09 +05:30
lohit
4bdbfb5c0c
fix: safe mode validations (#2912) 2024-08-24 14:29:43 +05:30
lohit
5f0e6f13eb
fix: quickjs vm handle errors (#2906)
* fix: quickjs vm handle errors
2024-08-23 18:16:43 +05:30
lohit
44d70ca02a
fix: boolean, undefined, null values eval in quickjs vm (#2893)
fix: boolean, undeifned, null values in pre-request vars
2024-08-23 16:18:41 +05:30
lohit
4aff61b665
fix: getRequestVar shim, boolean values in vm (#2887) 2024-08-22 10:10:15 +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
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
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
c895d7f357
feat: request vars, bru.getRequestVar function (#2541) 2024-07-01 14:15:25 +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
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
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
Anoop M D
411289daa8 chore: bumped cli version 2024-05-06 16:24:00 +05:30
Anoop M D
2cd0e065bd chore: updated lib versions 2024-03-13 03:05:29 +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
Florent Boisselier
a756c49285 feat(#947): set up ajv-formats in script and test runtimes 2024-02-18 14:22:46 +01:00
Anoop M D
c39b8ff282 fix(#1487): updated deps and bumped versions 2024-01-30 22:04:39 +05:30
Anoop M D
e258e7f5ab fix(#1487): rolling back to vm2 from @n8n/vm2 2024-01-30 22:00:58 +05:30
Anoop M D
c48cb56709 chore: updated deps 2024-01-30 15:20:51 +05:30
Timon
dbb5e912eb
fix(#1000): Convert too long numbers into String for collection vars (#1405) 2024-01-18 03:38:57 +05:30
Timon
4e34aba1ca
fix(#263): Replace vm2 with fork of vm2 to fix security issues (#1400) 2024-01-17 04:01:00 +05:30
Anoop M D
784f63ca5b chore: updated deps 2023-12-07 00:57:45 +05:30
Anoop M D
3061507284
Merge pull request #619 from mj-h/feature/add-bru-setNextRequest
feat: bru.setNextRequest()
2023-12-06 01:37:44 +05:30
Anoop M D
861d76f7b7 chore: bump @usebruno/js to 0.9.3 2023-12-02 01:50:32 +05:30
Anoop M D
33f780fb76 fix(#295): bru.setEnvVar() should dynamically create a env var if not found 2023-12-02 01:45:55 +05:30
Anoop M D
bacb70ea7e feat(#931): relax var name strictness 2023-12-02 01:27:18 +05:30
Anoop M D
2aa876e526
Merge pull request #971 from nelup20/bugfix/964-env_var_dot_validation
fix(#964): Allow "." in variable names + make error message more consistent
2023-12-02 01:06:27 +05:30
Shourav Nath
fa7afd4237 feat(#1050): Response time in res 2023-11-25 13:00:59 +06:00
Anoop M D
d2a99b0221 fix(#962): improved error label when name is not defined while setting env var 2023-11-18 09:18:40 +05:30
Anoop M D
4abb4009e6
Merge pull request #963 from mikaoelitiana/962-empty-vars
Improve error message when an empty var is set
2023-11-18 09:01:55 +05:30
Anoop M D
e96da632b2 chore: version bump @usebruno/js @usebruno/cli 2023-11-18 08:29:18 +05:30
Nelu Platonov
2ee6c5effc
fix(#964): Allow "." in variable names + make error message more consistent 2023-11-15 16:27:14 +01:00