vjaris42
21177d1317
add: custom endpoint for s3 hosts ( #4881 )
2022-12-07 14:15:05 +05:30
Midhun Kumar E
138ad797d0
Added cypress test for data source PostgreSQL ( #4602 )
...
* Add data-cy
* Add basic spec
* Add basic method to create query
* Add data-cy for query section components
* Add common method for postgreSQL
* Update spec with methods
* Add data-cy for alert-box and query search elements
* Add method for widget integrations and event handler
* Add selector into selectorFile.
* Fix failing cases
* Add labels on Text file
* Fix failing specs due to rerendering
* Remove creds from spec
2022-11-11 11:15:12 +05:30
Arpit
74beb544fe
[Feature/plugin] Zendesk integration 🚀 ( #3943 )
...
* plugin:init
* zendesk svg icon
* zendesk integration 🚀
* clean up
* unit tests
* docs: zendesk
* resolves: error proof
* fix typos
2022-10-06 13:45:42 +05:30
Muhsin Shah C P
638fcf7223
[Feature] Now multiple users can login through RestAPI-Oauth 🚀 ( #4052 )
...
* 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
2022-09-19 20:27:37 +05:30
Navaneeth Pk
98bb7519dd
Reverse proxy using base tag ( #3889 )
...
* reverse proxy
* reverse proxy
* Fix for yjs
* Fix for ws
* Fixes org switching
* Fixes org creation
* Fixes login logo
* Fixes download icon
* Construct use invite URL from base URI
* Fixes apiUrl if sub path is set
* Remove commented code
* Fix profile link
* invitation url changes
* Fixes dev env
* Use url-join lib to connect urls for goto app and invitation link
* Use useHistory instead of helper to get history for template modal
* Review changes
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-08-27 21:58:24 +05:30
Kiran Ashok
c49d752b5a
Fix for app breaking when deleting a datasource and then trying to add DynamoDB / Elastic search ( #3195 )
2022-06-06 06:58:04 +05:30
Muhsin Shah C P
66764d5511
Added custom headers for access token URL ( #3078 )
2022-05-19 18:42:44 +05:30
Muhsin Shah C P
dcee0885d6
Feature: OpenApi import plugin ( #2728 )
...
* Initialized OpenApi plugin
* Added definition field to manifest file
* Added an openapi parser
* Implemented JSON/YAML resolver
- Removed swagger parser lib
- Added a field for choosing definition format type
- Implemented a resolver for resolving $ref
* Implemented a basic operations drop down from spec paths
* Added params and body ui
* Now, can view general parameters and servers
* Added an option to override general params
- Resolved a bug
* Implemented basic openapi plugin
- Added got lib
- Tested basic queries
* Added one more method
* Resolved a common bug
* Working on Parsing definition from datasource modal
- Created new form component for openapi
- Populated select array from security array
* Added ui for authentication
* Added bearer & basic plugin code
* Resolved some ui issues of Apikeys auth option
* Added apikey auth
* Resolved an issue
- Also replaced validate btn with auto validation
- Now spec will be added to db from data-source modal
* Added error text to show validation error
* Now spec will load from props for query manager
* Added some padding to operation description
* Added ui for openapi oauth2 auth
* Implemented oauth2
* Fixed a state issue with a temporary hack
* Now we can show multiple same auth types
* added the icon
* Resolved a bug & improved multiple apikeys process
* Resolved some realtime parsing error
* Resolved a bug from options fn
* Resolved PR changes
* Updated documentation with brief details about the open API plugin
* Removed unwanted package
* Changed if-else to switch
* Code changes
* added setLoadingSpec fn to catch section
* Solved typos and error in doc
* Resolved dropdown issue
* Resolved a bug
* updated openapi icon
2022-04-26 14:14:12 +05:30
Muhsin Shah C P
b3ca2b64fd
Feature: added basic & bearer auth to Rest API ( #2742 )
...
* Added basic and bearer auth fields
* Implemented basic and bearer auth
* Changed token name
* Added encrpyted icon along side label
* resolved a basic-auth bug
* Refactored basic auth code
2022-04-22 13:01:08 +05:30
Arpit
e792e074f1
[Improvement] migrates to react-select: selection dropdown component ( #2322 )
...
* migrates to react-select: selection dropdown component
* styles fixes
* decomposing @ui/Select component into sub-components
* migrates Editor-Select component
* adds width to oauth selection dropdown
* updates datasource: oauth and authentication dropdowns (source component)
* Update frontend/src/_ui/Select/SelectComponent.jsx
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
* resolves currentValue
* fixes scroll issue for dropdown options component
* updates queryManager react-select component
* updates rest api query to react-select
* adds options to render select menuwith portal
* adds: select menu render option for dynamic dropdowns and drodown-component-flip
* fixes: dropdown selection menu for restapi-oauth
* removes unused imports
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-04-11 17:27:07 +05:30
Muhsin Shah C P
81bed483f9
Feature: Added a field for custom query params (REST API OAuth setup) ( #2605 )
...
* Added custom query params to rest api oauth flow
- Also resolved a bug
* Refactoring code
2022-03-24 21:21:34 +05:30
Kiran Ashok
9732004fc6
app crash bugfix while adding same datasource ( #2617 )
2022-03-23 18:35:19 +05:30
Muhsin Shah C P
2cc788ab6c
Feature/plugin: n8n integration 🔥 ( #2227 )
...
* Integrated new n8n datasource [initial]
* Resolved some bugs
* Added a dropdown for auth type
- changed sensitive fields to encrypted
- Added basic & header auth
* Added changes
- Plugin icon
- Removed ecrypted option from username
- Chnaged some placeholder text and field names
* Changed datasource fields
- Removed host from datasource modal
- Added url field to operations
- Changed operation names
* Redesigned dynamic list
* changed error message
* Changed icon
* Added helpText to dropdown-flip component
* Cleaning code
* Cleaning code
* Added n8n documentation
* Edited hint text
2022-02-21 23:37:09 +05:30
Arpit
3a62ac9820
[improvement] Query panel redesign ( #1947 )
...
* query panel headers styles
* create query button style update
* create query button style update
* create query button style update: mixins
* querypanel header nav-links updated
* querypanel header buttons
* restapi: url hinter styles
* fixes querypane header width, undo prev styles applied
* querypanel header icons margin fix
* restapi: header tab
* restapi: params tab
* restapi: body tab
* base url style fixed
* added alert component to @/_ui
* adds margin top to query-panel tabs
* bumped font weight of preview
* on hover query style updated
* selected query style update and along with dark themed
* adds new searchbox component, added search queries
* fixes query panel query lists icons margin
* query selected hover bg
* back icon should not be render if callback is a function
* airtable: queries redesigned
* stripe: queries redesigned
* fixed query-pane header responsiveness
* fixes tab title typo
* undp/redo select datasource only when mode='create'
* removes comments
* refactor restapi url codehinter styles
* fixes white spaces in query pane and query pane header
* minor updates for restapi query options styles
* removes tool-tip for lens svg icon for search: query-pane header
* adds button loading spinner with primary color
* fixes hover bg color for queries
* update: query hover bg color to lighter tint
* update query list icons: trash and play svgs
* adds icons to the selection component
* fixes tabs alignments restapi
* fixes codehonter text margin: restapi url
* fixes advanced-options-container margintop
* new UI query: dynamodb
* new UI query: elasticsearch
* new UI query: firestore
* new UI query: mongodb
* new UI query: mysql
* new UI query: psql
* new UI query: typesenseapi
* new UI query: gsheet
* new UI query: sendgrid
* new UI query: twillio
* new UI query: gcs
* new UI query: minio
* new UI query: aws
* update query bg color and hover bg color
* fixes run query icon for dark theme
* fixes input query title text alignment
* update query header title
* adds search queries placeholder and add icon when search box is displayed
* updated No results query text
* undo/redo rest-api tabs: fixes whote spaces
* undo/redo: rest-api tabs conde hinter placeholder paddinleft
* adding new queries when search box component is mounted:fix
* fixes creating a new query after filtering queries
* fixes dark theme for select search components
* reverts query pane header search box with add icon
* fixes input left margin
* fixes bottom padding rest api tabs
* fixes toggle button:not selected in dark theme
* fixes typos
* fixes preview button spinner size
* undo/redo: query-trash-icon.svg for queries and trash.svg for components
* query icons badge bg update[options]
* icon badge fix
* move static styles to theme.scss
* restapi: url field height increment
* fixes query name when adding a new query with filtered querylist
* fixes alignment issues of the query header icon
* revert back to 32px code hinter height
* adds apdding to code mirror line
* updates to react-select
* remove component unmounts and mounts side effect
2022-02-02 22:29:57 +05:30
Gandharv
2f3b441c0a
Move plugins to root ( #1728 )
...
* feat: move plugins to root
* modify tsconfig
* add .gitignore
* delete old plugins file
* add parcel
* docker compose volume mount
* add gcs
* add typescript to plugins folder
* gcs to ts
* add dynamodb
* add elastic search
* add firestore
* add gsheets
* add graphql
* add mongodb
* mssql
* add mysql
* add postgresql
* add redis
* add s3
* add slack
* add stripe
* remove plugin related packages from pkgjson
* add lib folder
* add gitignore
* remove typescript generated files
* remove generated file
* remove generated files
* add twilio
* add dist to docker compose cache binding
* add dist prefix
* cleanup - 1
* delete dist
* rename to index.ts + add jest config
* add it.todo in tests
* test fixes
* test file changes
* fix type checks
* add @tooljet/plugins to server package json
* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0
* docker file npm package version fix
* add typesense
* cleaup - 2
* add sendgrid
* add lerna build and clean script for all packages + tsconfig
* cleanup -3
* add plugins build step
* add missing plugins build step in npm run build
* add mssql, mysql & postgres as singleton classes
* add db connection to cache only if datasourceId is available
* client: add data source schema/manifest files
* add query operations files
* logic for wrapping form with schema
* add script to create index file
* add @tooljet/plugins to frontend folder
* cleanup 1 -frontend
* cleanup - 2 // frontend // data queries
* add client and index to gitignore
* update gitignore
* fix lint & test
* update ci
* fix unit, e2e
* cleanup -3
* fix test
* fix tests
* fix indent
* try npm ci
* fix tests
* fix typo
* fix
* rename file for server entry
* heroku fix
* add main and types entry points in pkg json
* move common to root
* cleanup - 4: remove redundant $ sign prefix
* cleanup - 4: remove redundant $ sign prefix
* update options in-sync before DOM is painted
* change type cloud to cloud storage
* update readme
* update ci.yml
* update ci yml
* add pkg-lock.json
* rename index.ts to server.ts
* update lock files
* add server package.lock
* remove unused import
* revert commit: add minio
* add root dep
* import server.ts
* remove plugins build step
* add npm shrinkwrap
* update version - plugins
* add new version - 0.0.8
* upgrade version
* move to symlinked package
* add lock file
* feat: add icon inside package
* add plugin creation docs
* Remove seed
* move icons to plugins folder
* install pg dep
* add react to packages
* add seed cmd
* revert change
* add plugins build in lint, e2e, unit
* e2e, lint use npm ci
* update dockerfile for plugins
* try combining release with web
* limit memory on release
* try executing seed script post transpile
* try executing seed from server directory
* update seed execution
* add minio
* add correct type
* add minio to pkg json
* remove old file
* fix provider key
* add python installable + npm ^7.2.0 (#1752 )
* add python installable + npm ^7.2.0
* add py to prod file
* pin npm version to 7.20.0
* pin npm version to 7.20.0
* split into multi stage build and remove python for buildx
* copy plugins from buider stage
* update dependencies
* add freetds dependency
* update server dockerfile
* update client dockerfile
* update dev dockerfile and compose file
* fix entrypoint
* fix server dev dockerfile
* update docker-compose
* remove npm install on root dir on docker build
* fix heroku script
* make lerna prod dependency to enable prod builds
* remove redundant env setup
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Arpit
b4f7334b1f
Bugfix: Scrolling is broken for code editor on postgresql query manager ( #1583 )
...
* fixes: Scrolling is broken for code editor on postgresql query manager
* resolves comments
2021-12-25 08:51:19 +05:30
Arpit
b9754c4b6b
[Feature] popup modal for code hinter ( #1465 )
...
* portal for code hinter popup
* codehinter portal styles
* portal editor height
* update icons
* hinter changes
* refactoring to a separate dir
* code hinter - portal
* component details added in the portal header
* portal header: source name fixed
* portal header: inlcludes field name in the header
* display field names for rest api
* display field names for transformation
* handle for empty component names
* portal preview code bg
* foreUpdate
* foreUpdate
* refactored and using same codemirror component to render portal's editor
* clone codemirror to two different component
* fixed - need click to render the field data
* force update
* table component cell types: included
* chart component types: included
* alignment of the preview area
* btn color adapts to theme-fix
* remove console.logs
* disable portal editor for event manager
* scss unsued ruleset removed
* name fixes and remove unsued var
* .
* null check
* removed hardcode componentName
* app z-indexes: added z-index for suggestion-hints
* hook exhaustive-deps
* portal custom hook
* updated function name
* icon position fix
* hinter fails to open in certail scenarios: fixed
2021-12-10 08:39:23 +05:30
Gandharv
d398266991
fix toggle value ( #1525 )
2021-12-07 15:41:12 +05:30
Gandharv
7a8698645e
Add checked prop to toggle element ( #1520 )
...
* fix: add checked prop to toogle element
* add onChange value based on event.target.checked
2021-12-07 11:21:56 +05:30
Arpit
2b303c026b
[Feature] : Gsheet update operation ( #1453 )
...
* gsheet update op: schema and UI
* gsheet update op: server
* update operation for google sheet datsource api
* remove unsued comments
* backward compatiable: removed custom rule for sheet
* unsused consolelogs
* .
* Show gsheets update query body as a single-line codehinter
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-02 12:25:40 +05:30
Gandharv
29b20ce1e8
fix rest api defaults ( #1450 )
2021-11-24 16:12:16 +05:30
Gandharv
b61d07e0c5
Refactor: move default options to schema files ( #1425 )
...
* refactor: move default options to schema files
* fix: use options instead of source.options
* add default empty object when defaults not present in schema
* add null checks for gsheets and slack component
* removes un-necessary console log
* delete constancts file
* delete default options file for data sources
2021-11-22 13:52:32 +05:30
Arpit
31e8752b65
code hinter height fixed for queryEditors - datasources ( #1431 )
2021-11-21 09:44:26 +05:30
Gandharv
1ddd170539
Add schema for data query editor ( #1361 )
...
* Initial commit for data query schema changes
* db: add mssql schema
* api: add graphql schema
* api: add redis data query editor
* db: add my sql db
* api: dataquery - add airtable api schema
* api: dataquery - add dynamodb api schema
* database: dataquery - add database api schema
* database: dataquery - add elastic search api schema
* database: dataquery - add mongo db schema
* database: dataquery - add postgre sql schema
* api: dataquery - add slack schema
* api: dataquery - add google sheets schema
* database: dataquery - add gcs schema
* fix: dynamodb styles
* fix: elastic search styles
* fix: firestore styles
* fix: remove line numbers + add className prop + add initialValue prop
* remove line numbers
* cleanup: remove jsx files of data queries
* cleanup: fix merge conflicts
* fix: on edit dropdowns not retaining value
* fix: remove unnecessary log statement
2021-11-17 23:29:00 +05:30
Gandharv
c8f3479432
add encrypted icon to firestore data source ( #1272 )
2021-10-25 14:46:46 +05:30
Arnav Puri
6c137306d8
Fixed #1049 Broken Toggle Button ( #1061 )
2021-10-15 07:40:08 +05:30
Arpit
26c9cc655c
Fix linting errors across the app ( #785 )
...
* eslint-setup: rules for frontend and server
* setup pre-commit:hook
* frontend:eslint fixes
* frontend eslint errors and warning fixed
* eslint:fix for ./server
* fix server/test: expectatin string lint/error
* pre-commit:updated
* removed unwanted install cmd from docker file
* recommended settings and extension for vscode
* husky prepare script added
* updated extension recommendations
* added prettier as recommended extension
* added pre-commit to package.json
* remove .prettierrc file
* resolve changes
* resolve changes
2021-09-21 19:18:28 +05:30
Gandharv
9d347ff38f
fix import camelcase of GoogleSheets
2021-09-15 13:10:11 +05:30
Gandharv
a07bc59a72
Feature: Add dynamic form for datasources ( #676 )
...
* feat: add dynamic form (airtable)
* feat: add schema for rest api
* feat: add schema for graphql
* feat: add schema for stripe
* feat: add schema for google sheets
* feat: add schema for slack
* fix: options from correct key
* fix: schema url
* rename headers to http-headers
* fix placeholder
* feat: add schema for dynamodb
* feat: add schema for redis, elastic search, firestore
* feat: add shema for mongodb, postgresql
* feat: add mysql schema
* fix: remove azure option
* feat: add dropdown component flip type
* feat: add mssql schema
* chore: delete previous components
* remove console log
* fix: database value set as port
* feat: add helptext prop to input
* remove unwanted class on toggle
* change placeholders
* change placeholder
* fix typo
* add ssl_enabled to schema
2021-09-15 08:20:55 +05:30