* Fix: Improve UX for selecting location when create/import collection
Allow editing the input path where previously the `<input>` is marked
`readonly`.
Also this will allow automating test using Playwright.
* Fix: Import-collection select-location Modal closes on error
* Improved error-toast for creating and importing collections
- Added a util for formatting the error form IPC
- Updated Toast global styles to prevent text overflow.
Whenever long file paths are shown, it overflows the Toast container.
* move file/folder uids to new paths
* drag file/folder preview ui updates, can item be dropped ui hint check
---------
Co-authored-by: lohit <lohit@usebruno.com>
- Fixed inconsistency in validating last character between
bruno-electron and bruno-app.
- Fixed inconsistency in sanitizing first character between
bruno-electron and bruno-app.
- Updated the comments to accurately reflect the patterns
- Fixed inconsistencies in escaping certain characters in the patterns
itself.
~ axios error interceptor fixes and timeline network logs ui updates
~ axios instance error interceptor now returns promise rejects instead of plain objects
~ fixed digest_auth regression
~ removed the interceptor logic for the oauth2 token url calls
~ timeline network logs ui updates
~ updated oauth2 test collections
* ssl/tls fixes and error handling
~ set the min allowed tls version to 1.0 (TLSv1)
~ proxy/certs/tls setup error handling
* enhance JSON stringification with circular reference handling
- Add getCircularReplacer to safely handle circular references in objects
- Update safeStringifyJSON to support indentation and handle undefined values
~ we currently support digest auth for bruno-cli
---------
Co-authored-by: lohit <lohit@usebruno.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
This contains the bulk of the changes apart from renaming files.
This is a continuation of #2341.
Co-authored-by: lohit <lohit@usebruno.com>
Co-authored-by: pooja-bruno <pooja@usebruno.com>
This commit just moves the required files to the new destination
using `git mv` to force Git to recognise it as `Renamed`.
This is a continuation of #2341.
Co-authored-by: lohit <lohit@usebruno.com>
Co-authored-by: pooja-bruno <pooja@usebruno.com>
Co-authored-by: ramki-bruno <ramki@usebruno.com>
Updated the `importScriptsFromEvents` and `importPostmanV2CollectionItem` functions to properly handle cases where `event.script.exec` is an empty array. Now, if `exec` is empty, `requestObject.script.req` and `requestObject.tests` are set to an empty string instead of being undefined.
vm2 returns a recursive Proxy for accessing the return value which
cannot be serialized for IPC using `structuredClone`.
Co-authored-by: ramki-bruno <ramki@usebruno.com>
* fix: codemirror lint errors
* chore: added comments for await lint fix and removed the indent config prop that was not needed
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>