Commit graph

2086 commits

Author SHA1 Message Date
Midhun Kumar E
d26f1af9a4
- Add data-cy to google sheet connection modal. (#4761)
- Add data-cy to connection modal back button and close button.
2022-11-15 14:48:26 +05:30
Appledora
dd7b743143
adds On change event in color picker component (#4203)
* #issue4174

* #issue-4174

* #issue-4174

* bug fixed : event is getting fired on reloading the component

* bug fixed : event getting fired on changing default value of the color picker from the inspector widget

Co-authored-by: manishkushare <kushare.manish9@gmail.com>
2022-11-15 14:11:29 +05:30
tanishk-23
e75394210a
Change Position of show search box (#4675) 2022-11-14 19:03:30 +05:30
Muhsin Shah C P
fb41192e1d
[enahancement] Added app loader page (#4389)
* Working on an issue

* Added loader skeletons

* Working on skeletons

* Completed basic app loader design
- dark theme

* Added switch organization function

* cleaning code

* Added loader to viewer page

* Fixed svg size

* style fix

* added loader

* have added try-cath

* added redirect path for sso login

* handle json parse error

* Fixed edit app issue

* Code refactoring
- fixed some issues

* fix

* Worked and tested some sub_path cases

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-11-14 12:07:47 +05:30
Kavin Venkatachalam
f489eeaadd
[Bug]: Fixed triggering query on page load if other queries are added/deleted (#4747)
* Fixed triggering query on page load if other queries are updated

* checked preview while triggering query
2022-11-11 17:16:59 +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
c1f0408605
fixes icon crash for plugins (#4744) 2022-11-10 15:51:45 +05:30
Sherfin Shamsudeen
572db9d09f Merge branch 'main' into develop 2022-11-10 15:43:18 +05:30
Arpit
91d0fc9b64
[hotfix] update to pyodide (#4743)
* update to pyodide

* resolved
2022-11-10 15:19:38 +05:30
Ajith KV
936f28c401
Fixed failing profile spec (#4689)
* Add data-cy

* Add cypress file upload

* Fix and modify failing profile spec
2022-11-09 13:32:50 +05:30
Ajith KV
3f33354b79
Fixed failing manage sso spec (#4695)
* Modify data-cy

* Fix and modify failing Manage SSO spec in multi workspace

* Fix and modify failing Manage SSO spec in single  workspace
2022-11-09 13:32:02 +05:30
Arpit
250e58cc38
[Bugfix] Query Manager: Creating a query, the options are set to their previous state used to create the last query from the same datasource/plugin (#4736) 2022-11-08 18:18:28 +05:30
Gandharv
7994aba9db
fix: marketplace plugin viewer bug (#4732)
* fix: viewer not loading widgets

* typo

* handles query icons in inspector

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-11-08 17:30:41 +05:30
Ajith KV
7454169077
Fixed and modified failing cypress spec (#4715)
* Modify manage users spec in multi workspace

* Add data-cy

* Modify login spec

* Replace pagination with filter option

* Replace hard coded wait with alias

* Modify Manage users spec in single workspace
2022-11-08 11:18:25 +05:30
Gandharv
2046eaf85b
fix: marketplace dark mode css changes (#4727) 2022-11-07 16:56:03 +05:30
Arpit
62d2480d04
renders plugin icon from manifest file (#4724) 2022-11-07 14:33:39 +05:30
Arpit
0db36bb7d5
fixes: ref:#4703 and open datasource connection form bug from leftsidebar datasource popup (#4725) 2022-11-07 14:31:53 +05:30
Arpit
494fa0015a
[Bugfix] Datasource Manager: stale connection msg should be removed on back (#4703)
* fixes: stale connection msg should be removed on back

* update asset path
2022-11-07 10:52:23 +05:30
Arpit
657e77f404
camelize the source data and decalize the options (#4720) 2022-11-05 18:42:24 +05:30
Gandharv
83a11c5cdc
fix: query manager loading when marketplace plugin is uninstalled (#4709)
* fix: add foreign key migration

* fix: app crash on clicking marketplace datasource
2022-11-04 13:21:29 +05:30
Arpit
c2af1f52e3
eslint fixes for frontend (#4706) 2022-11-03 19:34:37 +05:30
Dmitriy Danilov
e848316137
Small fixes for Server-side filter button (#4571) (#4580)
* Small fixes for Server-side filter button (#4571)

* fixes: show/hide server side filter toggle button when with resp to show filter button toggle

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-11-03 17:38:21 +05:30
Arpit
25836743a7
[Bugfix] : validating query name on throws error for non-existing queries (#4698)
* fix

* fixed computing queryName
2022-11-03 17:27:34 +05:30
Arpit
46a6125b96
fixes: onload queries fail and fixes the app crash on runjs calling itslef (#4697) 2022-11-03 17:23:59 +05:30
Kiran Ashok
142d2efa11
Enhancement :: setting currentData exposed variable as total data coming to table (#4629)
* setting current data as the original data coming to table

* typo
2022-11-03 17:17:34 +05:30
Manish Kushare
aface7d5db
[ bug fixed ]: [ Table widget ] filter is not getting applied correctly (#4663)
* bug fixed : filter is not getting applied

* bug fixed for matches and does not match filter

* bug fixed : isempty and is not empty filter are not working
2022-11-03 17:09:00 +05:30
Mohammed Bajuaifer
daeada1b00
Add onChange event to passwordInput (#4218)
* closes #4173

* fix lint errors

* fix lint

* Update frontend/src/Editor/Components/PasswordInput.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update PasswordInput.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-11-03 17:02:38 +05:30
Kiran Ashok
361f3c164b
feat :: changed naming from disable -> enabledSort , serverside sort only active when sort enabled (#4477) 2022-11-03 16:53:09 +05:30
Kavin Venkatachalam
8a1ad154b5
Reverted max canvas width bug (#4701) 2022-11-03 15:42:35 +05:30
Kavin Venkatachalam
8a0410717b
[Bug]: Reverting Canvas Max Width Limit (#4678)
* Revetring the max width set to 1292

* Revetring the max width set to gcs-file-explorer template

* Fixed last digit deletion issue
2022-11-03 15:20:51 +05:30
Frenchtoast0
2466320496
Folder Name Length Validation (#4613)
* Added frontend and backend validation

* Ran the linter

* Update server/src/services/folders.service.ts

Co-authored-by: Midhun G S <gsmithun4@gmail.com>

* Minor null check

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-11-03 13:41:52 +05:30
Srisuma Atluri
4c4749af0a
Add border color property to number input widget (#4175)
* add border color property to number input widget

* fix lint

* adds default value

* fixes

* fix lint
2022-11-03 11:02:00 +05:30
Daniele Vilela
a920811cb4
Feature: Number input text color (#4193)
* Number input text color

* Default value and missing commit

* Update widgetConfig.js

* Update NumberInput.jsx

* Update NumberInput.jsx

* Update NumberInput.jsx

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-11-03 07:45:54 +05:30
Akshay
6b3916c2ef
Fix: Login redirect on subpath (#4607)
* fix login redirect for subpath

* hardcode login for subpath path as basename is not picked

* fix broken links

* fix google sso link

* remove invalid condition
2022-11-02 11:37:17 +05:30
Utsav Paul
506b2367df
Copy to clipboard (#4588)
* Update EventManager.jsx

* Update EventManager.jsx

* Update EventManager.jsx
2022-11-02 09:17:20 +05:30
Akarsh Jain
df4352ee0a
fix: Added a modal with warning message on disabling password (#4552) 2022-11-02 09:16:58 +05:30
Arpit
85391d260a
[Marketplace] AWS S3 (#4670)
* fix: sub path for static asset serve (#4665)

* fix: sub path for static asset serve

* fix: sub path for static asset serve

* marketplace: s3

* rename operations file to query_operations

* fix: crash on click of existing plugin

* remove unused console

* adds missing async await

* add isoptional for repo

* plugin card ui style fixes

* update plugin name

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-11-01 16:24:30 +05:30
Ajith KV
299ff9f667
Fixed failing dashboard specs (#4667)
* Add and modify data-cy

* Fix failing manage users spec in multiworkspace

* Fix failing user permission spec in multi workspace

* Fix failing dashboard spec

* Fix failing manage group spec

* Fix failing manage users spec in single workspace

* Fix failing user permission spec in single workspace

* indentation changes

* Remove wait
2022-10-31 19:08:43 +05:30
Arpit
476e011063
persist data without saving the query (#4649) 2022-10-31 19:08:26 +05:30
alammoiz
3ec961e830
Fixed failing manage SSO spec in multi workspace (#4658)
* Fixed failing manage SSO spec in multi workspace

* github to gitHib
2022-10-31 19:07:33 +05:30
3t8
8908617563
Improve toast message shortcut on component deletion (#4513)
* Improve toast message shortcut

* Improved user agent check

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Improved user agent check

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-10-31 17:28:17 +05:30
Manish Kushare
c3a6370fc2
bug fixed : generate file in text is not supported (#4346) 2022-10-31 14:19:34 +05:30
Kiran Ashok
557073df75
Fix :: Closing of textarea ontype Table widget (#4549)
* fix :: closing of textarea ontype

* fix :: bug not able to clear value
2022-10-31 14:13:25 +05:30
Kiran Ashok
2dd9fef0b9
Feature :: Table image column type addition (#4547)
* feat :: adding column type image

* feat :: adding image fit property
2022-10-31 14:12:57 +05:30
Kiran Ashok
50be9d34a3
Bugfix :: Sort event fired on sort removal (#4542)
* onsort applied on sort removal

* bugcheck

* removing unused toast
2022-10-31 14:12:31 +05:30
Gandharv
c00738a75d
fix: sub path for static asset serve (#4665)
* fix: sub path for static asset serve

* fix: sub path for static asset serve
2022-10-31 12:35:04 +05:30
Gandharv
05aedbc8a6
fix: pick env from public_config for marketplace (#4648) 2022-10-28 18:11:18 +05:30
Sherfin Shamsudeen
473f27a056 Merge branch 'main' into develop 2022-10-28 13:53:24 +05:30
Arpit
b3cb665cdf
Hotfix for Python trasnformation (#4641)
* fixes: correct state

* undo

* updates with correct state

* handle pythong comments

* fixes: should also update the options when language is updated onMount

* handle variables when undefined
2022-10-28 13:50:57 +05:30
Gandharv
a1fd1fc301
[Feature] Make plugins installable (#3069)
* feat: add user avatar

* update: @nest/platform-express from 8.0.0 to 8.4.4

* add avatar_id in login response

* add user avatar upload in frontend

* align cross divider with layout icons'

* generate nest model - extensions

* Add extensions module

* Add extension to datasouce

* add not implemented check

* create extension

* refactor

* cleanup

* fix tests

* reduce the avatar size on homepage

* poc: run js code from string

* resolve conflicts

* fix conflicts

* add globals

* add new route

* add icon, manifest file upload

* complete user flow

* add flow for data queries

* add dynamic manifest instead of local datasource types

* add version attr

* remove unused code

* add version

* rename extension(s) -> plugins(s)

* add test connection method

* feat: add marketplace listing page

* Add install plugin cmd + missing attrs {name, repo, desc} to plugin

* add missing icon

* - Add npm workspaces for marketplace monorepo
- Added cassandra datasource plugin
- Created upload to s3 script
- Created plugins.json entry file

* install plugin from s3 bucket

* cleanup

* update pkg locks

* fix icon render

* cleanup

* marketplace changes

* ui changes

* operations file load fix + revert vm2

* update module from string to 3.2.1

* load plugins.json from local file instead of remote

* install plugin from local file if not production environment

* add sqlite

* feat: add plivo api plugin

* exp: add heroku 22 stack

* update assets include path

* Revert "exp: add heroku 22 stack"

This reverts commit a8926b36e1.

* add integrations link

* Add casl ability for plugin

* load host from env else fallback to default

* update imports

* remove sqlite

* typo

* add marketplace flag to cli command

* move ts and ncc to devDep

* add hygen templates for marketplace

* cli tree-node path fix

* template indent fix

* TOOLJET_URL -> MARKETPLACE_TOOLJET_URL

* add tests

* refactor: move to plugins.helper for get-service helper utility

* fix; typo

* update package-lock.json

* review changes

* remove a href

* remove bg color + redirect issue due to href

* add test url

* fix crash on search

* remove extra slash

* feat: allow plugin to be installed from github repository

* remove unwanted args from cli command

* add repo attr while save

* feat: add feature toggle for marketplace feature

* fix: make default config as false

* chore: remove hyperlink

* fix: failing build

* chore: update s3 url to point to prod

* fix failing test

* fix test

* fix: test case

* update module from string pkg

* update env

* fix test

* fix test

* add readme file

* Update README.md

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-10-27 16:59:43 +05:30