* REST API changes from LTS and new changes
* Fix: Response, Request and Metadata coming out to be undefined on query failure and success inside Inspector
---------
Co-authored-by: devanshu052000 <devanshu.rastogi05@gmail.com>
* Feature: Prometheus plugin (#13161)
* prometheus plugin
* added existing props
* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)
* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)
* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)
* Feature: Ability to configure the database name in Redis datasource (#13165)
* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)
* Send content-type only with body in request
* Persist OpenAPI parameters per operation only
* Configure different host
* Add disable styles to the select input
* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)
* Update slack frontend
* Update slack backend to handle custom creds
* Add backfill migrations
* Dynamically change dropdown according to versions
* Change migration file name
* Correctly access scope in chat:write logic
---------
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidrn@gmail.com>
Fetch the auth code using correct method in request
Get the plugin object correctly for reloading
Fix woocommerce operation rendering
Resolve promise correctly
Pass plugin_id as prop
Resolve plugin saving issue with caching tokens
Add json-message in query correctly
Use auth code once without cache
* API backend setup for fetching decrypted options object
* Frontend setup to use and fetch decrypted options object
* Debounce validation and include encrypted fields
* Update banners and point back to inputs
* Remove ssl config from connection string in postgresql
* Add support for textarea design component
* Improve conditional requirement logic
* Fix validation banner bugs
* Change schema for airtable
* Change schema for bigquery
* Change schema for mongodb
* Change schema for mysql
* Change schema for mssql
* API backend setup for fetching decrypted options object
* Frontend setup to use and fetch decrypted options object
* Debounce validation and include encrypted fields
* Update banners and point back to inputs
* Remove ssl config from connection string in postgresql
* Add support for textarea design component
* Improve conditional requirement logic
* Fix validation banner bugs
* Change schema for airtable
* Change schema for bigquery
* Change schema for mongodb
* Fixed GET and DELETE request input renders and added all UX fixes (#9498)
* fixed get and delete request input renders and added all UX fixes
* Extracted Stripe plugin component as a separate component for Dynamic Form.
* Resolved PR review comments and fixed issue where rendering path input field crashed the app.
* Changed param name underline to dashed for tooltip and revamped input field clear button
* Fixed a few sonarlint issues.
* Removed the duplicate code by creating a separate function named RenderParameterFields.
* Refactored computeOperationSelectionOptions function to not nest functions more than 4 levels deep.
* Refactored RenderParameterFields function to reduce its Cognitive Complexity.
* Made span tag with the 'button' interactive role focusable.
* Inside switch case for codehinter in DynamicForm > getElementProps, Extracted nested ternary operation for theme into an independent statement.
* Added keyboard listener to the clear button.
* Removed opacity from select dropdown and operation from operation select dropdown UI.
* Fixed syntax error in clearButton function.
* Removed the package @nrwl/nx-linux-x64-gnu from marketplace dependencies.
---------
Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
* Made changes according to new app builder architecture in v3.
* Fixed import issue for codehintor
* Fixed issue where due to incorrect value, stripe queries crashed the entire app.
---------
Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
* Enhanced rest api body to accept raw input instead of raw json.
* Changed content type from application/json to text/json and changed copywrite to RAW.
* Changed rest api body toggle label from 'RAW' to 'Raw'.
* Added request label for static REST API data source.
* Fixed issue where GET query failed since body was undefined.
* Integrated json_body to add backward compatibility.
* Removed console logs.
* Added support for 'text/json' type in checkIfContentTypeIsJson function.
* Made changes according to new frontend architecture in v3.
* Fixed request URL field overflow issue.
---------
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* Add retry-toggle to app builder
* Add backend logic for number of retries
* Add retry-toggle to restAPI data-source
* Add margins between settings options in app builder
* Add changes for static-query toggle in app builder
* Initialise toggle value in store
* Change tooltip text
* Change classname for tooltip
* Add default value for toggle from manifest.json
* fix : rest api retry network toggle width issue
* Refactor: Setup retry initialization within restapi component (#10219)
* refactor to setup retry initialization within restapi component
* remove unused css class
* rename condition
* remove unused css
* Refactored: Merged RestAPIToggle into existing Toggle component
* Fix cookies support input render in querybuilder
* Add delayed initialization for retry_network_errors
---------
Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>