Commit graph

705 commits

Author SHA1 Message Date
Sherfin Shamsudeen
3683b04631 Bump version 2023-01-17 19:57:26 +05:30
Sherfin Shamsudeen
8e761a6f41 Bump patch version 2023-01-13 13:40:28 +05:30
Sherfin Shamsudeen
1bd3e10a70 Bump patch version 2023-01-11 18:49:48 +05:30
Adish M
becb00bb4b
removed seeding trytoolj (#5294) 2023-01-11 18:44:11 +05:30
Midhun G S
6eb7dc84bf
app import fix (#5283) 2023-01-11 13:36:57 +05:30
Sherfin Shamsudeen
b2aa1034a6
Bump version to 2.0.0 (#5284) 2023-01-10 13:46:01 +05:30
Akshay
440c4d73f9
fix create db script (#5279) 2023-01-09 23:38:39 +05:30
Adish M
1ebc8b877d
Chore tooljetdb env (#5267)
* Update digitalocean.md

* Update heroku.md

* Update google-cloud-run.md

* Update docker.md

* Update kubernetes-aks.md

* Update kubernetes-gke.md

* Update ecs.md

* Update google-cloud-run.md

* Add tooljetdb env vars for separate instance (#5273)

* Update try tj docker file for tjdb env vars (#5274)

Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2023-01-09 20:35:24 +05:30
Midhun G S
9325dab8b1
added . to support default value (#5268) 2023-01-09 18:51:57 +05:30
Gandharv
cd37623f05
fix: pick organization id from param for internal storage (#5263) 2023-01-09 17:56:42 +05:30
Kiran Ashok
d3df7c3123
Bugfix :: Onboarded data saved to telemetry (#5205)
* feat :: onboarded data forwarded to telemetry

* fix :: called temeltry api on setup sucees

* revert merge

* update endpoints for new onboarding data

* adding try catch

* added try catch for APIs

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-01-09 17:33:50 +05:30
Muhsin Shah C P
ff4822c397
Fix: v2-beta test cases (#5221)
* stashed from multi-env-cases

* fixed new issues

* skip: tooljet_db specs

* added comment

* typo

* fix: fixing errors after merging with v2-beta
2023-01-09 17:30:32 +05:30
Midhun G S
8ca58725bb
[V2-Beta] add validation to overcome sql injection (#5251)
* validation to overcome sql injection

* fix

* fixes

* typo fix

* add validation for table and column names
2023-01-09 17:07:18 +05:30
Arpit
d89f9481a5
fixes: runpy queries from v1 is not created in v2 (#5250) 2023-01-09 12:11:32 +05:30
Akshay
bed57d1f32
Docs: v2 migration (#5198)
* add migration guide

* add support links

* Update docs for digital ocean and ec2 (#5224)

* update docs for digital ocean and ec2

* update doc

* update digital ocean doc and script
2023-01-09 11:51:57 +05:30
Muhsin Shah C P
cf3a045a2f
fix: boolean column issues (#5242) 2023-01-06 17:31:02 +05:30
Midhun G S
d6f13d68a9
fix for v1 app import (#5227) 2023-01-06 13:52:40 +05:30
Midhun G S
0c9f81e899
making email services asynchronous (#5233) 2023-01-06 13:51:39 +05:30
Midhun G S
f1e915e6e2
migration fixes (#5192) 2023-01-04 21:47:53 +05:30
vjaris42
fb9e080a2f
fix: avatar and last name blank issues (#5171) 2023-01-04 17:47:13 +05:30
vjaris42
01be98f363
onboarding fix (#5175)
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-01-04 17:35:07 +05:30
Midhun G S
dd9c929ff3
[V2-Beta] Fix : ToolJet Database bugs (#5166)
* database fixes

* default value fix
2023-01-04 14:01:01 +05:30
Akshay
e5150640f6
fix subpath proxy to tooljetdb (#5168) 2023-01-04 13:32:52 +05:30
vjaris42
7426ba3e2a
add: db transaction on async invitations (#5154) 2023-01-04 10:05:50 +05:30
Akshay
ad8704a2f1
Fix heroku on click deploy (#5147) 2023-01-03 13:25:45 +05:30
Manish Kushare
59d2acfb88
[ Bug fixed ] : Edit version pop-up is not getting closed after clicking on x button (#5118)
* bug fixed : edit version pop-up is not getting closed after clicking on x button

* made the suggested changes
2023-01-03 08:31:47 +05:30
Midhun G S
08583bd065
default data source fix (#5136) 2023-01-02 15:05:19 +05:30
Kiran Ashok
312be78918
toast fixes (#5134) 2023-01-02 14:21:54 +05:30
Midhun G S
d5da6f7024
[V2-BETA] Migration fixes (#5130)
* migration fix: connection timeout

* fixes

* fix
2023-01-02 14:12:07 +05:30
Sherfin Shamsudeen
d9b8013cef
Send queries along with appDefinition from server (#5132) 2023-01-02 14:03:02 +05:30
Akshay
4ed492ea0d
Fix: enable tooljet db flag (#5119)
* setup db connection only if flag is enabled

* revert old change
2022-12-30 17:14:25 +05:30
Midhun G S
637af22024
[v2-beta] Improvement - Editor (#5038)
* editor improvement

* review comments
2022-12-30 14:56:12 +05:30
Muhsin Shah C P
27c3ee1f17
fix: open api redirect issue (#5114) 2022-12-30 00:58:56 +05:30
vjaris42
71bac415bb
[Fix] :: App import from v2->v2 (#5100)
* filter: static datasources

* fix: null lastname on multisearch

* chore: add datasource type field while importing app
2022-12-30 00:56:37 +05:30
Gandharv
dbdd228665
fix: homepage design changes (#5073)
fix: homepage design changes (#5073)
2022-12-29 17:19:10 +05:30
Midhun G S
f5f6d6a724
Plugins caching fix (#5086) 2022-12-29 13:14:37 +05:30
arpitnath
bf3be3701f fixes:create and update runPy 2022-12-28 20:06:55 +05:30
Sherfin Shamsudeen
d6a72b50bd Merge develop to v2-beta 2022-12-27 20:10:33 +05:30
Akshay
9c62b2d317
Feature: Make tooljetdb optional (#5062)
* make tooljetdb optional

* restrict routes when tooljetdb is disabled

* validate dbname before creating database

* fix comment

* format
2022-12-27 16:18:36 +05:30
Midhun G S
1aa477fc31
[v2-beta] migration improvement (#5047)
* migration improvement

* fix

* added constants and comments
2022-12-27 16:16:13 +05:30
Arpit
dd90cd44fb
[Bugfix]internal storage - column validations (#5055)
* fixes:failing validations for varchar and floats

* fixes typos
2022-12-26 23:32:16 +05:30
Arpit
6712bd2fb3
Internal storage - Pagination for Database table (#5040)
* init

* footer component with pagintion ui basic styles

* pagination:  apply a limit and offset rows through query params

* open create row drawer from footer button

* border color for dark theme footer button

* cleaned

* pagination

* fixes: input value

* moved functions to component level
2022-12-26 17:09:12 +05:30
Arpit
bfceb37da9
[Improvement] Internal storage - table validations (#5034)
* adds dto for create and rename tables, renametable service

* adds constraints for psql reserved keyword for column name

* validations for column default value
2022-12-26 17:06:25 +05:30
Akshay
9b2787cc76
Chore: Render preview with supervisord (#5048)
* run postgrest and tooljet with supervisord for preview apps

* update render.yaml for pgrest values

* update env vars

* revise db name
2022-12-26 13:45:21 +05:30
Midhun G S
f77ca5c8e5
v2-beta data migration fix (#5045) 2022-12-23 18:28:10 +05:30
Muhsin Shah C P
9517dde19e
Fixing intercepter bug (#5044) 2022-12-23 17:21:13 +05:30
vjaris42
120a7b310c
fix: last name null issues (#5043) 2022-12-23 13:27:08 +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
Muhsin Shah C P
7d1fbf5ab0
[fix] Data source only updates production environment values (#5029)
* fix: update data sources

* adding env id for create

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-12-21 23:33:15 +05:30
Midhun G S
464dec4c42
Fix for multiple data source creation new version (#5024) 2022-12-21 13:55:59 +05:30