* fix: handle Windows paths in cloneItem and getDirectoryName functions
* chore: removed commented lines
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* add docs, save not working yet
* working folder docs
* revert unrelated changes
* prettier fix
* allow save folder with command
* include folder docs in `bruno-collection` json export
* docs
---------
Co-authored-by: Filip Gala <filip.gala@student.tuke.sk>
Co-authored-by: lohit <lohxt.space@gmail.com>
* feat: add support for importing collection-level variables from Postman collections
* fix: add optional chaining for collection variables in Postman importer
* Update postman-collection.js
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: import folder and collection level scripts
* refactor: importScriptsFromEvents function and remove duplicate code
* refactor: Improve importScriptsFromEvents function and handle different types of event.script.exec
* refactor: add info about translation log near its definition
* added option to create environments using server urls
* Update openapi-collection.js
---------
Co-authored-by: Anusree Subash <anusree@usebruno.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* fix: sanitize authentication input
edgecase where value is null instead of expected empty string
* fix: refactor to be immutable
* Revert "fix: refactor to be immutable"
This reverts commit eec0e51d98.
* Refactor URL construction in Postman collection processing
* Updated the constructUrl function and made it more loose. Also now when there is a param with its key as undefined we discard it.
* Handled the case when the url is an object and dosen't have a raw value.
* Added missing return.
* Removed the URL fragments
* Removed unused destructures.
* Minor changes.
* 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.
* Improve how the URL values are transformed.
* Made few changes and also added jsdoc comments
* Removed the querystring values that are getting appended in the host array by filtering you the the queryvalues as we already have the queryparams values inside the request.params object.
* Moved the transformUrl logic to a different file for testing. Added new tests.
* Added tests and updated sanitizeUrl function.
* Updates made in jsdocs.
* Updated function params.
* Review: Code restructure.
* Small changes made.
* Updated the return value when there is an error.
* Changes