* 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>
* Add cookies parameter to querybuilder frontend
* Add cookies parameter to datasource page
* Add cookies to the request headers in backend
* Change return type of sanitizeCookies function
* Change empty state styling in query-builder
* Add style changes for button
* fix : rounded corners in border for key field in rest api datasource
---------
Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
* fix : fix fill rule clip rule etc to camelcase
* fix : svg width and height made to 100% instead of auto
* fix :: few more svg height and width change in editor
* remove logs
* events should be synced for multi-edit
* remove console
* removes db constrainsts for layouts and handles corrupeted apps created from prev migrations
* Revert "removes db constrainsts for layouts and handles corrupeted apps created from prev migrations"
This reverts commit 10a307118b.
* removing constrainsts fro CE
* bumped the patched version ~ 2.26.3
* fixes: import/export general styles for components
* fixes: viewer crash on adding plugin as gds due to accessing camalised data
* fixes: plugin queries gds
* preserve duplicate search params on restapi
* preserve duplicate params in query manager params fields
* fixes: edge cases where undo of some components crashes thew widget
---------
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* Automatically convert restapi datasource request body to multipart/form-data if a file object is detected (#6621)
* Improve fileobject check function in restapi datasource and guard against bad file data (#6621)
* Avoid null or undefined in restapi datasource form-data payload
* update keyboard shortcuts page (#8143)
---------
Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
* Updated package.json to support node 18
* Updated package-lock.json with force install
* Updated frontend package.json
* Updated server package.json
* update frontend package-lock.json
* update render dockerfile
* update dockerfiles for node 18
* update node version in actions
* fix setup script for AMI
* install using nvm
* debug
* source bashrc
* change ami os version
* change base ami
* make use of ubuntu focal lts version
* update script
* change branch name
* revert branch name
* update workflow
* node upgrade [plugins] modules updated (#5482)
* modules updated
* adds saphana and oracle package
* adds saphana and oracle package
* eslint rules for -unresolved and resolved properties
---------
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
* initial commit
* multi env changes
* multi-env changes
* entity fixes
* data query changes
* fix
* trying to avoid conflict with EE
* moved version creation to app creation function
* fixing some issues
* execution of data query
* revert options changes
* changed migration
* fixed some migration issues: testing migration
* multi env support
* app import export fix
* fixes
* migration fixes
* removed plugins from data query
* fixing some migration issues
* fixes
* remove console log
* fix
* front end api changes
* backward compatibility for app import
* Fixed a bug
* correcting some mistakes
* Added constraints and fixed some issues
* changes
* fix for data source listing
* fixing version operation issues
* remove kind from data query
* removed kind from data query
* fixes
* fixes
* fix for version creation
* migration fixes
* Fixed preview and run query issues
* Fix: new version and event query id issue
* fixed rest api oauth issue
- next test refresh token
* import export changes
* fixes for app import
* import fix
* added await for for loops
* fix
* fix for migration
* Fixed backend oauth-envId issue
* import export changes
* migration fixes
* fix
* fix
* fix for app import from 0.9.0
* test case fixes
* test case fixes
* making app name mandatory for import
* adding type for options
* fix: imported apps query linking issues
* review changes
* lint issue fixes
* added on delete cascade
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
* Implemented multiple access token feature
- working on refresh token case
* worked on refresh token flow
* added multiple token ability to openapi plugin too
- fixed some bugs
* changed tokenData to token_data
- fixed some issues
* added user type with user id
* changed user type
* Rewrote some function
- added switch for enabling and disable multi auth
- fixed some bugs
- refactored the code
* fixed view app issue
* Fixed public app issue
* cleaning some code
* (public_app) add a check to avoid oauth login redirect when there is no access token
* reverted all changes of openapi (temporary)
- will add multi token functionality once done with restapi
* fixed a bug
* fixed a bug
* refactored some code
* changed the switch text
* pr changes
* changed token_data back to tokenData
* cleaning code
* removed token data from datasources query
* removed some lines
* added a comment
* updates body ui toggle
* updates
* Implemented JSON body option
* Tested and resolved some issues
* Changed body json toggle name
* Removed codes of converting json to key ,value pairs
- Resolved array problem
- Now json body will be seperate option
* Removed unwanted lines
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
* Working on refresh token fn
- Added refresh token to options
* Added and tested google oauth refresh token flow
* Working on outlook refresh token code
* Tested refresh token fn with google oauth and outlook
* Resolving a bug
* Added prompt=consent to auth url
* Appended custom params to authUrl
* Resolved a test error
* merge develop
* Add eslint dependencies, configs and scripts to plugins project
* run lint with Github action
* ignore tests and dist folders
* fun eslint with --fix and manual fixes, renamed __tests_ to __tests__
* add plugins packages folder to lint-staged config
* fix lint issue