Commit graph

169 commits

Author SHA1 Message Date
Sherfin Shamsudeen
d6a72b50bd Merge develop to v2-beta 2022-12-27 20:10:33 +05:30
Akshay
602b1b4ad3
Feature: Tooljet Database (#4951)
* wip

* internal db per workspace

* fix async query

* feat: add storage layer route

* feat: add drawer component

* feat: add react-table to load data

* feat: add columns form

* feat: add create column form, create row form

* feat: add postgrest js

* add tooljet db controller to proxy requests to postgrest

* util: add postgrest filter builder helper utility

* feat: add filter popover

* use helper utility for building query

* add sortable filters

* add box shadow for filter popup

* use overlay trigger

* use react select

* add new column addition

* add dropdown for table header, table list

* Move filter.jsx

* feat: add sort popover

* feat: add postgrest js .order fn

* setup tooljetdb with restricted grants for users

* make db schemas added loaded dynamically on postgrest server

* fix query

* sign jwt token to auth user at postgrest

* update db schema user with workspace

* chore: add table listing

* update data and columns from api

* feat: add context api for sharing data

* add ability to create table, view tables and add columns

* use columns for sort from context api

* fix ormconfig

* feat: add table listing integration

* feat: add create table integration

* fix for rds deployment

* add internal table translation instead of schema

* remove tooljetdb as a datasource

* wrap placeholder on proxy query

* add active workspace guard

* scope tooljetdb by workspace

* update active workspace guard

* seperate proxy related concerns to different service

* make use of org id param

* rename storage layer to tooljet databse

* update specs

* feat: Update list when new table added

* feat: add create column

* chore: add orgId to url + misc changes

* chore: move popover to separate file

* remove unused var

* rename files

* feat: add multiple columns

* feat: add new row

* removes postgrest-js from pkg lock

* feat: add row data

* feat: add sorting

* feat: allow row deletion

* feat: add search

* feat: add filtering

* feat: add edit mode

* feat: add columns while edit table

* add view table action

* update setup for column constraint

* fix query

* integrate view_table, primary key field

* render toogle for boolean data type

* update view table query for primary key

* fetch metadata refactor

* add capability to set default values

* feat: allow deletion of record based on primary key

* feat: add default value while creating column

* send query from sort & filter component

* css changes

* allow empty data

* add requested changes

* add err message

* add common fn

* allow sort + filter

* remove unwanted defaults key

* css changes

* add more operators

* dark mode fixes

* add drawer footer

* add loader for list tables

* add dashboard design changes

* design changes

* add capability to drop table and delete column

* add breadcrumbs

* design changes

* add profile

* refactor tooljetdb controller

* update routes

* add empty page changes

* delete column fix

* fix delete column

* design changes

* fetch tables post delete

* homepage changes

* hide ellipsis on hover

* add org settings page

* add edit + create org

* add notification center

* fix: group permissions switch issue

* add logo

* remove anchor tag

* fix merge conflicts

* css changes

* add err boundary

* setup query editor

* css changes

* fix: merge conflicts

* add menuPortal prop to filterform and sort form

* fix seed

* fix: build

* design changes

* design changes + refactor code

* fix imports

* fix: drawer issue on delete table

* add search box changes

* fix: tablename max-length 255

* fix: set newly created table as selected item

* remove edit column option

* added badges to enterprise only features

* disable edit column

* table styles

* fix: popover position, placeholder default

* fix: display boolean values in table

* fix: tooljet database default type values

* css changes

* add query manager for tooljet db with create and list row

* dark mode fixes

* remove Header component

* add ability to delete tooljetdb rows from query manager

* add ability to update tooljetdb rows

* dark mode fixes

* css changes

* display actions icon on hover

* folder onclick change

* add empty page styles

* fix proxy requests

* feat: randomize icon creation

* add max items per page prop for pagination

* removes unwanted position attr

* add table name validation + disable submit btn while api fetch

* [Bugfix] internal storage toast  | trigger toasts for running preview db queries (#5019)

* resolves: no toasts are fired when preview query is run for db queries

* fire success toast for created and no content status text for query success

* remove invalid migration

* skip migration if tooljet db already created

* fix: app clone icon param

* fix: show confirmation box if filter options are empty in query (#5021)

* for now: show native confirmation box of the brower to confirm the delete all query

* typo

* Revert "typo"

This reverts commit b5ce5ed889.

* cleaned

* cleaned

* show confirmation box if filter options are empty in query

* [Refactor/Bugfix] database query (#5028)

* refactored list rows operations

* remove unwanted cls

* refactor create row

* reafactored update rows

* refactored delete rows

* padding fix for tj-query

* add static templates

* review changes

* remove unused file

* Chore: tooljetdb render setup (#5033)

* add postgrest for render preview deploy

* pin version

* add healthCheckPath

* remove health check

* handle database url parsing db params

* add defaults for tooljetdb env

* fix hostname

* handle env in migration files

* refactor dbconfig build

* fix pg db usage

* add parsed env context

* add tooljetdb env

* refactor db config utils

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-12-23 02:09:57 +05:30
Shubhendra
431e071451 added pages feature doc 2022-12-14 21:28:16 +05:30
Kavin Venkatachalam
12a770cbc4
[Feature]: Form Widget (#4595)
* Created form widget

* Fixed the same name issue in defaultChildren

* Dynamically added buttons to the form inspector

* Added data to exposed variable and handled button click

* Added Reset functionality, CSA to the form widget

* Added Form widget icon

* form component docs

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-12-08 14:41:02 +05:30
Shubhendra Singh Chauhan
21bd58b2c8
[docs] added how-to for setinterval (#4873) 2022-12-01 15:00:39 +05:30
Shubhendra Singh Chauhan
cd6abd8bcc
[docs] updated all the widgets (#4835) 2022-11-23 14:44:25 +05:30
Shubhendra Singh Chauhan
7b4475b803
[docs] widget property updates (#4806) 2022-11-21 09:03:21 +05:30
Shubhendra Singh Chauhan
9bda74108b
[docs] Widget updates (#4793)
* widget updates

* minor update
2022-11-18 16:38:21 +05:30
Shubhendra Singh Chauhan
7ab2d3b296
[docs] how-to access user's location (#4776) 2022-11-17 09:05:44 +05:30
Shubhendra Singh Chauhan
e90889c8ff
Updated button and button group (#4756) 2022-11-14 19:17:30 +05:30
Shubhendra Singh Chauhan
ebbdb39a20
[doc] updated widgets (#4759)
* minor doc update for next release

* updated calendar and chart
2022-11-14 19:16:51 +05:30
Shubhendra Singh Chauhan
67edcdb156
[docs] app menu options (#4763)
* app menu options doc

* export types
2022-11-14 19:16:21 +05:30
Shubhendra Singh Chauhan
4ae1d1fb3b
[docs] cypress setup and running (#4676)
* docs-cypress

* cypress test

* updated testing doc

* fixed creds and header
2022-11-14 19:16:10 +05:30
Shubhendra Singh Chauhan
8dcffe9c58
[doc] marketplace for plugin (#4752)
* added marketplace doc
2022-11-14 18:12:58 +05:30
Shubhendra Singh Chauhan
6a303347d0
updated number input doc (#4738) 2022-11-11 13:18:45 +05:30
Shubhendra Singh Chauhan
57bf084f6f
updated tab doc (#4742) 2022-11-11 13:18:18 +05:30
Hemanth Kumar
a6ba29f423
Fix. Image to button group docs (#4630) (#4631)
* Add. Image to button group docs (#4630)

* Update docs/docs/widgets/button-group.md

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
2022-10-31 17:14:06 +05:30
Akhilesh Kumar Mishra
0c2316e2f7
gifs for Keyboard Shortcuts Added (#4643) 2022-10-31 17:13:57 +05:30
Pakeetharan Balasubramaniam
ef2157b773
Replaced the woocommerce connection screenshot from dark to light one (#4654)
Signed-off-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>

Signed-off-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>
2022-10-31 17:13:47 +05:30
Shubhendra Singh Chauhan
3fbbb846df
[docs] python transformation (#4645)
* python transformation

* typo fix
2022-10-28 17:24:21 +05:30
Shubhendra Singh Chauhan
aeb2dd49b1
mariadb and improvement docs (#4432) 2022-10-14 15:13:22 +05:30
Akshay
956916af48
Add docs for ECS (#4370)
* add docs for ECS

* Formatting

* fix spell

* update doc for default user

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-10-11 16:41:38 +05:30
John Bampton
ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +05:30
Shubhendra Singh Chauhan
d661bd65e4
[docs] ClickHouse plugin (#3951)
* clickhouse docs

* added examples

* minor fixes
2022-10-10 08:08:45 +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
Shubhendra Singh Chauhan
ebe087f126
[docs] Icon widget and updates to s3 and bigquery (#4123)
* added icon widget doc and updates to s3 and bigquery

* Update docs/docs/widgets/icon.md
2022-09-28 22:51:44 +05:30
Shivang
d55e0ee2cb
[docs] Pagination documentation (#3846)
* created pagination doc, updated new page layout

* reverted to the comments

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-28 22:39:11 +05:30
Kavin Venkatachalam
2ffda26f38
[Feature]: Link Widget (#3905)
* Created Link Widget

* Added empty line at the end in theme file

* Fixed overflow issue in Link widget

* Updated visibility in the link widget

* Added doc for link widget

* Updated link widget doc

* Set fxActive on by default for visibility

* Fixed variable typo in link widget

* Updated hidden property

* Updated visibility logic for link widget

* Moved visibility to styles section

* Moved register action to useEffect

* Removed registerActions on useEffect

* Removed dependencies in registerAction function as it is breaking inspector

* updated link doc

* Add clickRef of link component as dependency of registerAction

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-27 11:12:14 +05:30
Arpit
decc924ba2
[improvement] Modal widget (#4045)
* init

* fixes: config-handler clickEvents

* fixes: position attributes for open state modal config handler

* modal body scrollable

* adds loadingState

* adds onOpen and onClose events for modal

* adds visibility property

* open general and layout Options by default

* adds styling options for modal header and body

* adds style options for show button and conditional rendering of button styles

* refactor conditional rendering styles

* clean up

* fixes typos

* remove footer

* modal size

* handles dark theme

* update naming convention for modal: trigger button

* modal size:updates

* updates modal close icon

* adds comments for conditionally rendering style options

* only vertical scrolling inside modals

* clean up

* custom UI for widget config handle for modal

* backfil

* resolves: event should not fire on mount

* modal improvements doc

* hide modal on clicking outside for viewer mode

* Remove unnecessary modification of modal property schema

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-26 15:46:21 +05:30
Arpit
1196aef268
[Bugfix] Fixes: Slack Plugin (#4022)
* fixes: schema and scopes

* updates docs: slack datasource

* fixes:code hinter UI for slack operations

* updates send message ref image: docs
2022-09-26 10:54:12 +05:30
Shubhendra Singh Chauhan
e8ae8a9fe6
[docs] added localization (#4048)
* added localization doc

* Update docs/docs/contributing-guide/l10n.md

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

* Update docs/docs/contributing-guide/l10n.md

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

* Update docs/docs/contributing-guide/l10n.md

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

* Update docs/docs/contributing-guide/l10n.md

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

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-09-16 14:23:20 +05:30
Shivang
b44732e4c2
[docs] created missing svg image doc (#3985)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-09 20:26:26 +05:30
Shivang
2aa76dceb8
[docs] added image for query body details (#3988)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-09 20:25:58 +05:30
Arpit
13aa476fcf
[Plugins] Add support for self-hosted Baserow (#3969)
* Add support for self-hosted baserow

* docs:updated
2022-09-08 08:11:01 +05:30
Shubhendra Singh Chauhan
430c991808
[docs] how-to: access currentUser properties (#3977)
* how to user and group

* hot-to/access current user props
2022-09-08 08:09:43 +05:30
Arpit
a409390c2e
[docs] how to - Bulk update multiple rows in table (#3864) 2022-09-05 23:08:35 +05:30
Arpit
84e7cef097
[Plugins] CosmosDB integration (#3828)
* init

* cosmos db icon

* manifest file

* adds azure package

* test connection

* operations: list databases

* operation: read item, insert items with a lookup function

* operation: delete item

* operation: query database using SQL-like syntax

* adds unit tests

* adds unit test: query db

* clean up

* docs: cosmosdb

* docs: cleanup

* typo

* updated the image(docs)

* updated inserting operation: field: placeholder

* item id for delete operation

* Revert "item id for delete operation"

This reverts commit bc2d1b87e4.

* item id for delete operation
2022-09-01 23:03:44 +05:30
Shubhendra Singh Chauhan
81e1f2b75f
one click deploy-digitalocean (#3885) 2022-09-01 13:38:46 +05:30
Shubhendra Singh Chauhan
42dd78e3a9
added white label docs (#3874) 2022-09-01 00:27:53 +05:30
Manish Kushare
fdb1ea6d24
Updated Minio icon svg (#3849)
* Updated minio logo

* replaced minio-connect png with newly added minio logo
2022-08-30 07:06:30 +05:30
Shubhendra Singh Chauhan
0d4ea6a6ba
[docs] Slack, Stripe, and Twilio datasource (#3852)
* added slack and stripe

* added slack strip and twilio
2022-08-26 11:15:11 +05:30
Shubhendra Singh Chauhan
e630b04e53
[docs] added missing actions in action reference (#3759)
* added action reference docs

* minor fix

* added csa doc

* Update docs/docs/actions/control-component.md

* included filepicker csa
2022-08-18 07:58:57 +05:30
Shubhendra Singh Chauhan
9b17fd2f29
[docs] updated bg-color property in tabs (#3765)
* updated bg color in tabs

* update description
2022-08-08 15:35:32 +05:30
Shivang
49b190e681
[docs] updated tooltip info (#3737)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-08-05 10:42:56 +05:30
Kavin Venkatachalam
3932d72d64
[Feature]: Tree Select Widget (#3533)
* Added Tree Select widget

* Updated checkbox-tree package path

* Added checked-path array

* Added checkedpathArray

* Updated docs

* Updated theme file

* Added default values to exposed variables
2022-08-03 19:22:49 +05:30
Shubhendra Singh Chauhan
af29ab2e93
[docs] updated graphql data source docs (#3695)
* updated graphql docs

* removed include variable
2022-08-01 13:21:03 +05:30
Midhun G S
b710d7b02e
SSO for GitHub Enterprise self hosted (#3352)
* SSO for GitHub Enterprise self hosted

* changes

* test cases

* fixes

* label fix

* fixes

* readme changes
2022-07-29 17:03:42 +05:30
Midhun G S
3297fdb68a
Instance level SSO for Multi-Workpsace (#3441)
* changes

* changes

* e2e testcases

* fixes

* fix

* changes

* e2e fixes

* test cases

* clean up

* redirection changes

* style changes

* test cases

* testcases fix

* added test cases

* doc changes

* doc changes

* invitation token fix

* SSO General settings page changes

* added sso button to signup pages

* added helper text

* fix

* test case fixes

* fix
2022-07-18 11:40:52 +05:30
Shubhendra Singh Chauhan
d002cc12a9
[docs] how-to: run actions from RunJS (#3602)
* [docs]how-to/run-actions-using-runjs

* fixed syntax

* fixed syntax

* go to app syntax update
2022-07-14 07:38:47 +05:30
Muhsin Shah C P
0af0ea901c
Added a basic documentation for organization environment variables (#3476)
* Added a basic documentation for environment variables

* updated org env var doc

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-07-11 21:33:37 +05:30