Commit graph

844 commits

Author SHA1 Message Date
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
Kiran Ashok
b66d38cf45
Feature :: onboarding self hosted users (#4933)
* fix :: keystroke not taken initially

* fix :: trim company name

* fix :: setting autocomplete to off

* removing redirectsso and confirmation page as its unused now

* few ui corrections , laoding states

* Fixed organization login sso issue

* Add db transaction wrap

* refactoring the code

* flow changes

* Added db tranxn wrap to auth services

* adding accept invite screen

* added verify organization token route

* fixes

* adding disable_multiworkspace to default config

* cleanup

* intermediate commit :: revamping organization page , api integration

* fixes

* feat :: organization token send in invite from org account setup

* fix :: making orgtoken conditional and ui changes / functional updates organization invte

* removed unwanted code

* fix :: login/account setup for sso user in single workspace flow

* fixes

* fix :: CTA loader misaligned

* fix :: sso login single workspace

* fix

* fix :: role check db

* fix :: role check DB

* fix :: setting fallback screen for organizational invite

* feat :: org signup

* fix :: loading states bug

* fix :: loading bug

* fixes

* added password length validation

* fixes

* fix: sub path for static asset serve (#4665)

* fix: sub path for static asset serve

* fix: sub path for static asset serve

* fix: sub path for static asset serve (#4668)

* Bugfix :: Sort event fired on sort removal (#4542)

* onsort applied on sort removal

* bugcheck

* removing unused toast

* Feature :: Table image column type addition (#4547)

* feat :: adding column type image

* feat :: adding image fit property

* Fix :: Closing of textarea ontype Table widget (#4549)

* fix :: closing of textarea ontype

* fix :: bug not able to clear value

* bug fixed : generate file in text is not supported (#4346)

* add eslintignore for frontend (#4669)

* [cypress] Fix failing manage SSO spec in single workspace #4390 (#4509)

* added  [data-cy=login-page-logo] also removed one dropdown of same name

* Revert command.js

* call loginpagelogo

* Fixed toast test case

* updated text

* remove timer

* revert linting

* Github text fixed

* 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>

* gifs for Keyboard Shortcuts Added (#4643)

* 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>

* [added] Translated global strings in french #4169 (#4232)

* [added] Translated global strings in french 

Added global strings translated to French language , Issue: #4169

* [localization ] Fixed the Proposed Changes in French Translation

* [localization ] Fixed the Remaining Proposed Changes in French Translation v2

* Update selectHost

Co-authored-by: roiLeo <medina.leo42@gmail.com>

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: roiLeo <medina.leo42@gmail.com>

* [localization] issue-4188 added spanish keys for card app (#4229)

* issue-4188 added spanish keys for card app

* IT-4188 fixed PR

* 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>

* feat: Add DTO for organization create (#4651)

* feat: Add DTO for organization create

* chore: fix eslint error

* chore: eslint ...

* Fixed failing manage SSO spec in multi workspace (#4658)

* Fixed failing manage SSO spec in multi workspace

* github to gitHib

* persist data without saving the query (#4649)

* 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

* [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>

* fix: Added a modal with warning message on disabling password (#4552)

* Copy to clipboard (#4588)

* Update EventManager.jsx

* Update EventManager.jsx

* Update EventManager.jsx

* fix :: adding sso configs based on org id

* loader and password check

* multiworkspace invite flow updated

* restrict only active users

* fix

* added error message for password length check

* fix :: password trim

* fix :: all happy flows tested , single and multi exept sso

* fix: message on invalid password

* revert: package-lock.json file

* feat :: changing ui for user present for org invite in  multi workspace

* fix :: remove password check for existing user multiworkspace

* fix :: added fallback

* fix :: typo

* fix :: adding checks

* fix

* feat :: for single workspace user logged in directly

* fix :: code meaning fix

* fix

* fixes

* fix

* fix

* fix

* fix :: sso fix and bug updates

* fix :: json resolution for only single workspace

* token :: app level

* fix

* fix

* fixes

* fix

* ui fixes , removed loading and added checks

* showing sso options

* fix :: back to

* fix single workspace

* adding sso check ui

* sso single workspace fix

* code refactoring

* fix :: bugfix on click enter submit in signup and signin

* qa fix :: typo

* fix for sending welcome email on invite

* bug fixes

* fix

* qa bug fixes and translations

* switch workspace fixes

* fix :: company name taking empty spaces

* adding some more translations

* making all screens center aligned

* fix :: login page not loading

* fix :: singup conditional

* fixes

* typo fix

* fix :: for diabled cases of sso , password login , disabled signup

* fix

* fix :: added max input length for workspace name

* fix

* fix :: missing validation on edit email

* fix :: all screens vertically aligned

* fix :: alignment link expiry screen

* fix

* fix :: styling terms and condition

* fix :: for redirect url loginto workspace fixed according to new design

* typo

* feat :: removed onboarding modal , redundant

* typo fix

* fix

* name is now mandatory for sign up

* fix for password retry count not updating

* showing onboarding questions for sign up users

* fix :: spaces in password in diff screens

* fix :: darkmode initial

* fix for accept organization invite success message

* fix :: dark mode

* fix :: dark mode

* feat :: updating all dark mode images

* bugfix img

* bugfix ::img

* dark mode :: improvements

* single workspace signup fix

* updating images

* stylefix

* self review :: bugfixes

* sign up page fix

* fix for asking password for single ws activation

* or separator fix for signup page

* fix

* feat :: updating cta images

* fix :: loader bugs

* hiding sso options in org invite, sign in via sso

* fix :: dark mode img

* bugfixes :: cta changed

* Fix :: onboarding styles fixes (#4773)

* fix: styling in authWrappers

* cleanup

Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>

* fix :: conflicting styles

* fix :: loaders , and added header to link expired screen , style fixes

* fix :: mobile onboarding btn

* fix :: loading onboarding completion

* fix :: subpath not taking img path

* fix :: path

* fix :: removing trailing img / for subpath

* fix :: cta img

* fix :: remove scrollbar

* last name as undefined in comments

* fixed loading bug and cursor of company input onboard form

* comments fixes

* fix :: removing verify email screen on org invite

* comments fix

* fix :: no login methods

* fix :: bug in expired  org invite verification link

* fix :: edge case name being empty when user types multiple spaces

* fix :: comments breaking

* fix :: notification breaking

* fix :: user groups table lastname

* fix for sso redirection

* fix :: empty first and last name during org invite

* bug fixed :On updating any permissions under permission tab, currentTab switches to app tab (#4734)

* fix: popout editor closing for tables (#4674)

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added default value for backgroundColor In NumberInput (#4378)

* fix: added background styles for number input

* fix: removed additional f from the background color property

* fix: added backgroundColor property from styles

* fixes: default bg color for dark mode

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added the hover effects on datasources (#4303)

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added Background Color to Text Input (#4194)

* Added Background Color to Text Input

* Added Default Value for Background Color

* added default value and make background of text input consistent with the dark theme

Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* feat: Add update version button on installable plugin (#4766)

* feat: Add update version button on installable plugin

* use id from update method

* removes redundant check

* use plugin id for fetching files from s3

* fetch latest plugins once updated

* disable update and remove buttons while update in progress

* replace href with link-span cx + send body in patch request

* fix: Dark mode on table's `Striped` and `Striped & Bordered` table type mode (#4611)

* [ Hotfix ] :: Hard to resize table columns  (#4438)

* fix :: hard to resize , scrollbar should not be visible

* fix :: resizer not working in pewview

* Enhancement : [RangeSlider widget] Bind onChange event (#4192)

* add onChange event and its handler

* add handler for slider change as well

* fix lint

* added onChange fire event when slider value is changed

Co-authored-by: manishkushare <kushare.manish9@gmail.com>

* Added data-cy for table widget elements (#4792)

* Add data-cy to tooltip label

* Add data-cy to table filter pop-over

* Add data-cy to table elements

* Add review changes

* [docs] Widget updates (#4793)

* widget updates

* minor update

* Update README.md (#4784)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fixed grammatical errors in localization doc (#4800)

* [docs] widget property updates (#4806)

* fixes

* added resend invite API

* Onboarding revamp test cases (#4770)

* fix: test cases for oauth

* fix: app controller test cases

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: single workspace test cases

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* add: test cases for sso

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* fix: test cases for oauth

* fix: app controller test cases

* chore: PR fixes and cleanup

* add: test cases for sso

* fix: app test cases

* fix: linting in files

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* fix: test cases for oauth

* fix: app controller test cases

* chore: PR fixes and cleanup

* add: test cases for sso

* fix: app test cases

* fix: test cases for oauth

* fix: linting in files

* rebase: from feature/onboarding-revamp

Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>

* feat :: api update resend invite

* loading state resend mail

* adding loading state

* checkpoints shown only till tablet

* fix: failing test cases for sso

* pr:: changes changed all imports and removed unwanted fragments

* pr changes

* fix :: naming images

* fix :: style organized for onboarding

* fix for user seed issue

* removing unwanted styles

* Setting darkmode from props :: onboarding (#4885)

* passing darkmode as props to components

* error toast

* Review comment :: rename env variable

* Pr :: changes , code cleanup onborading form

* develop merge

* init :: CE setup page

* pr changes ::form splitted to components

* admin , worspace ui :: init save

* password warning added

* chore :: lint folder renaming

* chore :: lint fix

* review comments

* fixes

* fix for test cases failure

* changes :: removed empty divs

* cleanup

* feat :: onboarding setup completed

* updates

* first-user setup account

* fixes

* add guard for first user sign up api

* validation changes

* feat :: api integration

* workspace is mandatory for first user

* fix :: code cleanup , darkmode

* feat :: signup not enable info card

* fix code cleanup

* Fixed all e2e test cases

* Fixed an issue

* added style changes , signup status

* deisgn review style changes

* self review :: code improvements

* pr review changes

* removed unwanted state

* typo fixes

* feat :: improved ux on form , autofocus and enter key support, removing warnings

* pr review changes :: common constants and helpers moved

Signed-off-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: alammoiz <moixalam@gmail.com>
Co-authored-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>
Co-authored-by: Akhilesh Kumar Mishra <79476272+iamakhileshmishra@users.noreply.github.com>
Co-authored-by: Hemanth Kumar <49117799+Hemanthhari2000@users.noreply.github.com>
Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: akk312000 <akk312000@gmail.com>
Co-authored-by: roiLeo <medina.leo42@gmail.com>
Co-authored-by: Jose Morales <jmoralesmnz@gmail.com>
Co-authored-by: 3t8 <62209650+3t8@users.noreply.github.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Santosh Bhandari <bsantosh909@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Akarsh Jain <72064462+akarsh-jain-790@users.noreply.github.com>
Co-authored-by: Utsav Paul <91927689+Smartmind12@users.noreply.github.com>
Co-authored-by: Vijaykant Yadav <vjaris42@Vijaykants-MacBook-Pro.local>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: geisterfurz007 <geisterfurz007@users.noreply.github.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Abhushan Gautam <carefreeav09@gmail.com>
Co-authored-by: Syed Ansar <82027712+Syed-Ansar@users.noreply.github.com>
Co-authored-by: Rahul Sunil <rahulsunil2@gmail.com>
Co-authored-by: Srisuma Atluri <40341173+Srisuma13@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
Co-authored-by: Akasshhg <91525166+gogoiakash2311@users.noreply.github.com>
2022-12-21 00:13:18 +05:30
Midhun G S
166eeacd24
rest api refresh token fix (#5002) 2022-12-20 15:45:36 +05:30
Muhsin Shah C P
44d450725a
[fix] Redirect URL didn't work for preview apps (#4997)
* Fixed redirect URL Issue
- refactored the code
- added intercepter (valid app check)

* fixed another code

* code refactoring
2022-12-20 14:53:59 +05:30
Arpit
309ab03498
fixes: able to import olders apps with no components (#5016) 2022-12-20 12:35:43 +05:30
Sherfin Shamsudeen
a870b79931 Merge branch 'test/v2-beta' into midhun-v2-beta 2022-12-19 14:19:09 +05:30
gsmithun4
9bc6b81cd4 preview query fix 2022-12-15 16:36:25 +05:30
Midhun G S
a60706e80f
fix for app preview error (#4994) 2022-12-15 16:01:10 +05:30
Midhun G S
e72bb3b9f9
[Fix] v2 Multi env migration fix (#4955)
* fix

* fix

* fix

* code refactoring
2022-12-14 03:31:00 +05:30
Arpit
85a21a20e9
fixes: app import/export: page events should be associated with correct data queries (#4930) 2022-12-13 11:26:25 +05:30
gsmithun4
8cdcfc81de fixes for migration 2022-12-12 23:40:51 +05:30
gsmithun4
6b572a6d60 fix for rest api preview error 2022-12-12 22:12:55 +05:30
gsmithun4
f9ae9e9ac4 app update version fix 2022-12-12 09:28:09 +05:30
gsmithun4
75291e80fc app editing version fix 2022-12-12 09:26:57 +05:30
gsmithun4
cd4976fc5b fix 2022-12-11 02:09:46 +05:30
gsmithun4
7388329f49 added app id validations for app version APIs 2022-12-11 00:16:11 +05:30
Midhun G S
487252c5ea
Feature - Multi Environment support (#4833)
* 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>
2022-12-09 20:23:42 +05:30
Sherfin Shamsudeen
642c5caa71
Feature/multi page applications (Task ID - CU-2h1bfvw) (#4729)
* Add routes for multi-page apps

* Modify Editor, Viewer and Inspector to accept new app structure

* Show a page selector on left side bar

* Align component deletion logic with new app schema

* Make subcontainer work with multi-page apps

* Load components state properly in viewer

* Use UUID instead of handle for pages

* Display sidebar on viewer to switch pages

* Add proper URL suffixing for pages in viewer

* Add action to switch page

* Revert translation file back to its pre-existing linting

* Fix bug that caused modal to not open/close

* Add support for query params in page switch

* Fix the issue that caused navigation to fail while accessed via slug

* Add missing SwitchPage file

* Add support for page level variables

* Add migration to convert existing apps to new schema

* Add rollback for converting multi-page definitions back to single-page

* Fix migration for multi-page apps

* Adapt import/export service for multi-pages

* [improvements] Multi-page applications (#4755)

* UI updates for page selector popup card

* delete page

* delete page check: if only one page exits

* switch to home page if the selected page is removed

* adds and switch to new page

* updating page name

* updates to home page and starting page

* handle updating the home page when home page is deleted

* search box for filtering pages and minor style updates for the page handler card

* header search box style fixes

* for creating a new page, page handle needs to be unique

* seperating into smaller components

* updated pinned icon for page selector styles and settinf styles

* Leftsidebar header ui component

* handle dark theme

* page handle ui and dark theme fixes for page menu

* page handler edit modal

* pinned state and update pinned state for menu options triggered

* dark theme fixes for edit modal

* handle on update should not be empty or prev

* page handler updater

* added loading state for saving

* handles cancels

* fixes slug ui

* fixes crash for older app versions

* updates the query params when handle gets an update

* update homePage to homePageId

* removes console.log

* go back to the popover for modal close

* fixes: Difficult to select page

* fixes: Difficult to select the three-dot menu

* fixes: on visiting the root url, navigate to homepage on viewer

* adds tooltip for url

* updates the page selector sidebar with sync with query manager

* refactor and cleanup

* refactor and cleanup

* Compute component state when page is switched

* modal should not close on click outside

* disable save button if there is not change in the page handle input

* should show/hide page menu when hovered

* page icon

* updates delete icon for disabled state

* query manager should always be on top of page selector

* checks if homePage key exists in pages def

* updates page handler menu

* updates the clear icon

* page handler menu position

* page handler menu position

* handle icon

* alert msg

* global settings handler for updating viewer page navigation

* show/hode page navigation for viewer

* info text for toggle

* Multipages:with sortable list [DnD] (#4783)

* applied sortable list

* on sort updates the definitions

* fixies: app crash for dnd

* viwer: canvas width should be 100% when navigation drawer is disbaled

* fixes: homepage/startpage  reload

* clean up

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* Multipage UI viewer (#4801)

* new ui changes for viewer pages

* fixes postions for debugger and datasources popover

* removes console.log

* Multipage : hide page and unhide page feature (#4803)

* adds: ability to hide pages

* hides pages in viewer

* unhide page

* hide icon

* allow accessing hidden pages from url

* add: duplicate page (#4802)

* add: duplicate page

* do not copy the  same references from the original page

* page name and page handler should be unique for duplicate pages too

* Add support for on-page-load events

* Add icon from page settings menu item

* Convert existing templates to multi-page schema

* error logs for page level and app level errors (#4842)

* Adapt comments feature for multi-pages

* [Bugfix] multipage - page menu interactions (#4844)

* fixes: menu popup interaction

* fixes: on modal input focus, we switch the page

* Adapt multi-player to multi-pages

* Add editingPageId to ymap

* Log self, others and editor props in real-time avatar generation

* Save editing page id to appDef

* Add editingPageId to presence in RealtimeCursors

* adds no results ui for empty search results (#4869)

* page icon updated (#4870)

* fixes:Version switching crashes if the target version does not contain the current page (#4868)

* Remove unnecessary setting of editingPageId on ymap

* Remove unnecessary console.log

* [Bugfix] Multipages: widget inspector event popover unmounts (#4887)

* introduced a local state for events

* cleaned up inspector.jsx

* fixes: table widget inspector event accordion

* Do not run switchPage twice when viewer is loaded

* Preview should open the currently editing page

* Properly place navigation and canvas in viewer

* Update app definition whenever event manager changes are made

* Add support for browser back and forward button in multi-pages

* Rename handleBackButton to handlePageSwitchingBasedOnURLparam

* Add support for cut/copy/paste and clone

* Fix the crash caused by boxShadow

* Add support for background colors in viewer in multi-pages

* Run queries to be run on load on viewer, in multi-pages

* Fix issue that caused inspector popovers to collapse

* resolves workspace vars in viewer mode (#4892)

* Multipage : Navigation for Mobile-ui (#4814)

* refactored to components

* burger menu for mobile ui

* merge conflict fix for hidden pages

* hamburger menu positioned in the header

* viewer header reafctored

* viewer mobile page manu styles

* handles dark theme

* mobile menu with dark mode toggle in the footer

* components are moved to page level, handle for mobile layout

* style fixes

* removing unwanted code block

* dark theme fixes

* style fixes

* fixes: events are sortable (#4895)

* fixes: events are sortable

* Remove uneccesarily repeated call of setEvents in EventManager

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* renamed settings to Event handlers (#4898)

* updates the page setting title to Page Events

* temp commit

* Add support for setting max width in percentage

* fixes: paramUpdates for boxes: 🙌🏻

* [Bugfix] Multipage - viewer canvas dark theme (#4897)

* fixes: darktheme bg for viewer canvas

* reverts canvas size

* Fix for inspector bouncing back to previous values

* resolves pages variables in pythong and js transformation (#4905)

* csa support to event manager for pages (#4907)

* Add support for setting canvas width in percentages

* Persist page level variables across page switches

* latest definitions is merged with the current appdef (#4914)

* latest definitions is merged with the current appdef

* mutating the local obj

* cleanup

* iterate through pages for new versions are created

Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-12-08 17:51:09 +05:30
gsmithun4
62724dec15 migration fix : set user status 2022-12-08 17:02:40 +05:30
Kiran Ashok
d390bd413b
Feature :: Onboarding revamp (#4044)
* typo

* password length check , ui fixes

* fixing typos

* fixing navbar ui

* updated icon , changed history to Link

* fix :: repopulating data

* fix :: key added for non sso logins

* ui improvements , added loading states , bugfixes

* changing folder names

* fix :: removing scroll and fixing to 100%

* fix :: all spell mistakes corrected

* fix :: bug on password show/hide

* fix :: bug in button animation state

* fix :: added loader states for all onboarding buttons

* fix :: imports

* feat :: centering ui for signup and login pages

* bugfixes :: minor

* feat :: added mediaquery for mobile screens

* fix :: typo spell check

* PR changes
- instance configs
- reused jwt payload

* fix :: loading bugfix

* feat :: added loader for verification sucess screen

* styles :: loader

* fix :: typo corrections

* fix :: image path

* fix :: darmode & enter press in onboard

* Fixed organization name issue

* fix :: keystroke not taken initially

* fix :: trim company name

* fix :: setting autocomplete to off

* removing redirectsso and confirmation page as its unused now

* few ui corrections , laoding states

* Fixed organization login sso issue

* Add db transaction wrap

* refactoring the code

* flow changes

* Added db tranxn wrap to auth services

* adding accept invite screen

* added verify organization token route

* fixes

* adding disable_multiworkspace to default config

* cleanup

* intermediate commit :: revamping organization page , api integration

* fixes

* feat :: organization token send in invite from org account setup

* fix :: making orgtoken conditional and ui changes / functional updates organization invte

* removed unwanted code

* fix :: login/account setup for sso user in single workspace flow

* fixes

* fix :: CTA loader misaligned

* fix :: sso login single workspace

* fix

* fix :: role check db

* fix :: role check DB

* fix :: setting fallback screen for organizational invite

* feat :: org signup

* fix :: loading states bug

* fix :: loading bug

* fixes

* added password length validation

* fixes

* fix: sub path for static asset serve (#4665)

* fix: sub path for static asset serve

* fix: sub path for static asset serve

* fix: sub path for static asset serve (#4668)

* Bugfix :: Sort event fired on sort removal (#4542)

* onsort applied on sort removal

* bugcheck

* removing unused toast

* Feature :: Table image column type addition (#4547)

* feat :: adding column type image

* feat :: adding image fit property

* Fix :: Closing of textarea ontype Table widget (#4549)

* fix :: closing of textarea ontype

* fix :: bug not able to clear value

* bug fixed : generate file in text is not supported (#4346)

* add eslintignore for frontend (#4669)

* [cypress] Fix failing manage SSO spec in single workspace #4390 (#4509)

* added  [data-cy=login-page-logo] also removed one dropdown of same name

* Revert command.js

* call loginpagelogo

* Fixed toast test case

* updated text

* remove timer

* revert linting

* Github text fixed

* 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>

* gifs for Keyboard Shortcuts Added (#4643)

* 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>

* [added] Translated global strings in french #4169 (#4232)

* [added] Translated global strings in french 

Added global strings translated to French language , Issue: #4169

* [localization ] Fixed the Proposed Changes in French Translation

* [localization ] Fixed the Remaining Proposed Changes in French Translation v2

* Update selectHost

Co-authored-by: roiLeo <medina.leo42@gmail.com>

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: roiLeo <medina.leo42@gmail.com>

* [localization] issue-4188 added spanish keys for card app (#4229)

* issue-4188 added spanish keys for card app

* IT-4188 fixed PR

* 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>

* feat: Add DTO for organization create (#4651)

* feat: Add DTO for organization create

* chore: fix eslint error

* chore: eslint ...

* Fixed failing manage SSO spec in multi workspace (#4658)

* Fixed failing manage SSO spec in multi workspace

* github to gitHib

* persist data without saving the query (#4649)

* 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

* [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>

* fix: Added a modal with warning message on disabling password (#4552)

* Copy to clipboard (#4588)

* Update EventManager.jsx

* Update EventManager.jsx

* Update EventManager.jsx

* fix :: adding sso configs based on org id

* loader and password check

* multiworkspace invite flow updated

* restrict only active users

* fix

* added error message for password length check

* fix :: password trim

* fix :: all happy flows tested , single and multi exept sso

* fix: message on invalid password

* revert: package-lock.json file

* feat :: changing ui for user present for org invite in  multi workspace

* fix :: remove password check for existing user multiworkspace

* fix :: added fallback

* fix :: typo

* fix :: adding checks

* fix

* feat :: for single workspace user logged in directly

* fix :: code meaning fix

* fix

* fixes

* fix

* fix

* fix

* fix :: sso fix and bug updates

* fix :: json resolution for only single workspace

* token :: app level

* fix

* fix

* fixes

* fix

* ui fixes , removed loading and added checks

* showing sso options

* fix :: back to

* fix single workspace

* adding sso check ui

* sso single workspace fix

* code refactoring

* fix :: bugfix on click enter submit in signup and signin

* qa fix :: typo

* fix for sending welcome email on invite

* bug fixes

* fix

* qa bug fixes and translations

* switch workspace fixes

* fix :: company name taking empty spaces

* adding some more translations

* making all screens center aligned

* fix :: login page not loading

* fix :: singup conditional

* fixes

* typo fix

* fix :: for diabled cases of sso , password login , disabled signup

* fix

* fix :: added max input length for workspace name

* fix

* fix :: missing validation on edit email

* fix :: all screens vertically aligned

* fix :: alignment link expiry screen

* fix

* fix :: styling terms and condition

* fix :: for redirect url loginto workspace fixed according to new design

* typo

* feat :: removed onboarding modal , redundant

* typo fix

* fix

* name is now mandatory for sign up

* fix for password retry count not updating

* showing onboarding questions for sign up users

* fix :: spaces in password in diff screens

* fix :: darkmode initial

* fix for accept organization invite success message

* fix :: dark mode

* fix :: dark mode

* feat :: updating all dark mode images

* bugfix img

* bugfix ::img

* dark mode :: improvements

* single workspace signup fix

* updating images

* stylefix

* self review :: bugfixes

* sign up page fix

* fix for asking password for single ws activation

* or separator fix for signup page

* fix

* feat :: updating cta images

* fix :: loader bugs

* hiding sso options in org invite, sign in via sso

* fix :: dark mode img

* bugfixes :: cta changed

* Fix :: onboarding styles fixes (#4773)

* fix: styling in authWrappers

* cleanup

Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>

* fix :: conflicting styles

* fix :: loaders , and added header to link expired screen , style fixes

* fix :: mobile onboarding btn

* fix :: loading onboarding completion

* fix :: subpath not taking img path

* fix :: path

* fix :: removing trailing img / for subpath

* fix :: cta img

* fix :: remove scrollbar

* last name as undefined in comments

* fixed loading bug and cursor of company input onboard form

* comments fixes

* fix :: removing verify email screen on org invite

* comments fix

* fix :: no login methods

* fix :: bug in expired  org invite verification link

* fix :: edge case name being empty when user types multiple spaces

* fix :: comments breaking

* fix :: notification breaking

* fix :: user groups table lastname

* fix for sso redirection

* fix :: empty first and last name during org invite

* bug fixed :On updating any permissions under permission tab, currentTab switches to app tab (#4734)

* fix: popout editor closing for tables (#4674)

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added default value for backgroundColor In NumberInput (#4378)

* fix: added background styles for number input

* fix: removed additional f from the background color property

* fix: added backgroundColor property from styles

* fixes: default bg color for dark mode

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added the hover effects on datasources (#4303)

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Added Background Color to Text Input (#4194)

* Added Background Color to Text Input

* Added Default Value for Background Color

* added default value and make background of text input consistent with the dark theme

Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* feat: Add update version button on installable plugin (#4766)

* feat: Add update version button on installable plugin

* use id from update method

* removes redundant check

* use plugin id for fetching files from s3

* fetch latest plugins once updated

* disable update and remove buttons while update in progress

* replace href with link-span cx + send body in patch request

* fix: Dark mode on table's `Striped` and `Striped & Bordered` table type mode (#4611)

* [ Hotfix ] :: Hard to resize table columns  (#4438)

* fix :: hard to resize , scrollbar should not be visible

* fix :: resizer not working in pewview

* Enhancement : [RangeSlider widget] Bind onChange event (#4192)

* add onChange event and its handler

* add handler for slider change as well

* fix lint

* added onChange fire event when slider value is changed

Co-authored-by: manishkushare <kushare.manish9@gmail.com>

* Added data-cy for table widget elements (#4792)

* Add data-cy to tooltip label

* Add data-cy to table filter pop-over

* Add data-cy to table elements

* Add review changes

* [docs] Widget updates (#4793)

* widget updates

* minor update

* Update README.md (#4784)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fixed grammatical errors in localization doc (#4800)

* [docs] widget property updates (#4806)

* fixes

* added resend invite API

* Onboarding revamp test cases (#4770)

* fix: test cases for oauth

* fix: app controller test cases

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: single workspace test cases

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* add: test cases for sso

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* fix: test cases for oauth

* fix: app controller test cases

* chore: PR fixes and cleanup

* add: test cases for sso

* fix: app test cases

* fix: linting in files

* fix: test cases for oauth

* fix: app controller test cases

* remove: unused vars

* chore: PR fixes and cleanup

* fix: test cases for oauth

* fix: single workspace test cases

* add: test cases for invitation links

* fix: test cases for oauth

* fix: app controller test cases

* chore: PR fixes and cleanup

* add: test cases for sso

* fix: app test cases

* fix: test cases for oauth

* fix: linting in files

* rebase: from feature/onboarding-revamp

Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>

* feat :: api update resend invite

* loading state resend mail

* adding loading state

* checkpoints shown only till tablet

* fix: failing test cases for sso

* pr:: changes changed all imports and removed unwanted fragments

* pr changes

* fix :: naming images

* fix :: style organized for onboarding

* fix for user seed issue

* removing unwanted styles

* Setting darkmode from props :: onboarding (#4885)

* passing darkmode as props to components

* error toast

* Review comment :: rename env variable

* Pr :: changes , code cleanup onborading form

* develop merge

* pr changes ::form splitted to components

* password warning added

* chore :: lint folder renaming

* review comments

* fixes

* fix for test cases failure

* changes :: removed empty divs

* cleanup

Signed-off-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: alammoiz <moixalam@gmail.com>
Co-authored-by: Pakeetharan Balasubramaniam <bpakee@gmail.com>
Co-authored-by: Akhilesh Kumar Mishra <79476272+iamakhileshmishra@users.noreply.github.com>
Co-authored-by: Hemanth Kumar <49117799+Hemanthhari2000@users.noreply.github.com>
Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: akk312000 <akk312000@gmail.com>
Co-authored-by: roiLeo <medina.leo42@gmail.com>
Co-authored-by: Jose Morales <jmoralesmnz@gmail.com>
Co-authored-by: 3t8 <62209650+3t8@users.noreply.github.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Santosh Bhandari <bsantosh909@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Akarsh Jain <72064462+akarsh-jain-790@users.noreply.github.com>
Co-authored-by: Utsav Paul <91927689+Smartmind12@users.noreply.github.com>
Co-authored-by: Vijaykant Yadav <vjaris42@Vijaykants-MacBook-Pro.local>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: geisterfurz007 <geisterfurz007@users.noreply.github.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Abhushan Gautam <carefreeav09@gmail.com>
Co-authored-by: Syed Ansar <82027712+Syed-Ansar@users.noreply.github.com>
Co-authored-by: Rahul Sunil <rahulsunil2@gmail.com>
Co-authored-by: Srisuma Atluri <40341173+Srisuma13@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
Co-authored-by: Akasshhg <91525166+gogoiakash2311@users.noreply.github.com>
2022-12-08 13:24:31 +05:30
Sherfin Shamsudeen
1e695c3312 Bump version to 2.0.0-beta 2022-12-07 19:33:40 +05:30
Sherfin Shamsudeen
046a212b74 Bump minor version 2022-12-07 18:59:56 +05:30
Sherfin Shamsudeen
27850bf06d Merge branch 'main' into develop 2022-12-07 18:53:58 +05:30
Sherfin Shamsudeen
d9a507733a Bump hotfix version 2022-12-07 18:53:35 +05:30
vjaris42
87528f9882
Feature/multi select search groups (#4713)
* create: multiselect component

* create: filter preview component

* revam: user search dropdown

* fix: loading ui in multi-select

* refactor: multi-select css

* fix: pr changes

* update: test cases for addable_users

* refactor: css files

* chore: revert theme.sccs

* chore: pr suggestion

* add: search labels on dropdown

* chore: pr changes

Co-authored-by: Vijaykant Yadav <vjaris42@Vijaykants-MacBook-Pro.local>
2022-12-07 12:11:48 +05:30
3t8
37e87078ad
Changed "show bulk update actions" label in Table (#4496) (#4497)
* Changed "show bulk update actions" label in table

* Update table.md

* Fix update buttons description
2022-12-05 16:55:42 +05:30
Akshay
cc516b9ddc
Feature: Versioned exports (#4140)
* add ability to export app versions

* remove console.log

* add spec

* [ Enhancement ]: Ability to export versioned apps ( frontend ) (#4271)

* added basic UI and functionality

* added functionality to export all versions or selected versions of app

* added UI

* refactored the code

* refactored code

* use custom hook for checking if component is mounted or not and accessing  darkMode from props

* showing current version first

* added spacing between container and input tag and input tag and text

* added cursor pointer on the version container

* removed use mount to avoid extra re-rendering component

* fixed typo request

* update permissions

* fix permissions

Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-12-02 14:13:28 +05:30
Midhun G S
7fc208e620
merge main to develop (#4832)
* fix for rest api error on API error (#4830)

* Bump minor version v1.29.1
2022-11-22 18:31:05 +05:30
gsmithun4
1f3e4e07ea Bump minor version v1.29.1 2022-11-22 18:07:59 +05:30
Frenchtoast0
20e2f7d6d0
Added Version Name Validation (#4612)
* Added frontend and backend validation

* Added line that got deleted accidentally

* Delete package-lock.json

Did not mean to include

* Minor fixes

* Revert "Delete package-lock.json"

This reverts commit c56f79dfca.

* Reverted package.json

* Ran the linter

* Fixed accidentally changed files

* Ran frontend linter

* Removed changes on frontend json

* Attempting to add newline

* Added missing newline

* Update frontend/src/Editor/AppVersionsManager.jsx

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

* Fixed issue resulting from deleted else

* Attempting to fix lint errors

* Linting fix

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-11-22 17:51:07 +05:30
Gandharv
1853a3233e
feat: Add update version button on installable plugin (#4766)
* feat: Add update version button on installable plugin

* use id from update method

* removes redundant check

* use plugin id for fetching files from s3

* fetch latest plugins once updated

* disable update and remove buttons while update in progress

* replace href with link-span cx + send body in patch request
2022-11-17 16:02:59 +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
Sherfin Shamsudeen
e9cf2fa142 Bump version 2022-11-11 20:17:16 +05:30
gsmithun4
649a63f5e6 fixing test cases 2022-11-11 19:36:17 +05:30
Gandharv
ed3bc9d46d
fix: failing e2e test case (#4745)
* fix: failing e2e test case

* fix lint

* Add if condition
2022-11-10 16:46:21 +05:30
Sherfin Shamsudeen
572db9d09f Merge branch 'main' into develop 2022-11-10 15:43:18 +05:30
Sherfin Shamsudeen
df11cc4d3a Bump hotfix version 2022-11-10 15:42:50 +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
Luis V
7a5f0bb648
Add storage.googleapis.com as a verified source (#4610)
* Add storage.googleapis.com as a verified source

This will allow the users to play mp3 from public google cloud storage buckets

* coma
2022-11-08 14:55:15 +05:30
Gandharv
2046eaf85b
fix: marketplace dark mode css changes (#4727) 2022-11-07 16:56:03 +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
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
Sherfin Shamsudeen
8ea07a317a Merge branch 'main' into develop 2022-11-03 15:44:23 +05:30
Sherfin Shamsudeen
ddb84d1333 Bump hotfix version to 1.28.3 2022-11-03 15:44:01 +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
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
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
Santosh Bhandari
953f7bca69
feat: Add DTO for organization create (#4651)
* feat: Add DTO for organization create

* chore: fix eslint error

* chore: eslint ...
2022-10-31 18:10:20 +05:30
Gandharv
7dbf0d5022
fix: sub path for static asset serve (#4668) 2022-10-31 12:56:57 +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
Sherfin Shamsudeen
9dd9edc20d Merge branch 'main' into develop 2022-10-28 19:08:39 +05:30
Sherfin Shamsudeen
a6ad3e1bea Bump hotfix version 2022-10-28 19:08:19 +05:30
Sherfin Shamsudeen
2c4ca1da15
Remove redundancy in component name (Task ID: #2yedy71) (#4646)
* Remove redundancy in component name

* Remove currentVersionId from GCS template definition
2022-10-28 19:07:20 +05:30
Gandharv
05aedbc8a6
fix: pick env from public_config for marketplace (#4648) 2022-10-28 18:11:18 +05:30
Amit Kumar Sharma
0f30397960
displaying user in lexicographic order (#4394)
* displaying user in lecicographic order

* fetch users in lexicographic order (firstName)

* fix: table head ui

Co-authored-by: Amit Kumar Sharma <91947037+amit-2k1@users.noreply.github.com>
2022-10-28 14:54:29 +05:30
Sherfin Shamsudeen
473f27a056 Merge branch 'main' into develop 2022-10-28 13:53:24 +05:30
Sherfin Shamsudeen
60c6c9fb1b Bump hotfix version 2022-10-28 13:51:46 +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
Sherfin Shamsudeen
510be16753 Bump minor version 2022-10-27 16:39:30 +05:30
Sherfin Shamsudeen
2c2ffd76b2 Bump minor version 2022-10-27 16:37:31 +05:30
Frenchtoast0
075a1da417
Added workspace title length validation (#4402)
* Added workspace title length validation

* Update organizations.controller.ts
2022-10-27 16:20:47 +05:30
Frenchtoast0
416ff9b6e3
Fix negative canvas width (#4423)
* Fixed canvas allowing negative and large widths

* Update SidebarGlobalSettings.jsx

* Attempting to fix lint errors
2022-10-27 15:04:54 +05:30
Arpit
946be9a340
Feature: Support to run Python code in Transformations (#4532)
* init 🚀

* supports Map or hastables in leftside json inspector

* handles python errors

* transform map to json

* persist transformations with custom hook

* load pyodide from frontend/assets

* asset path

* fixes csp error and adds subpath

* subpath

* subpath fix

* dir name changed

* default value syntax

* typo

* dropdown order
2022-10-27 14:11:26 +05:30
Kiran Ashok
47c0daad1f
fix :: gcs templates crashing (#4551) 2022-10-24 21:49:01 +05:30
Sherfin Shamsudeen
94bdec9d87 Bump hotfix version 2022-10-20 19:24:41 +05:30
Sherfin Shamsudeen
df0ec93c2e Bump patch version 2022-10-20 17:34:32 +05:30
Sherfin Shamsudeen
110d319a7c Merge branch 'main' into develop 2022-10-20 16:53:34 +05:30
Sherfin Shamsudeen
3c96419c32 Bump hotfix version 2022-10-20 16:52:46 +05:30
Midhun G S
c862db0f0b
merge main to develop (#4527)
* [ Hotfix ] :: App breaking while reconnecting sheets (#4514)

* app breaking while reconnecting sheets

* back-end fix

* open api fix

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

* Bump to v1.27.2

Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2022-10-19 20:04:57 +05:30
gsmithun4
d238454a12 Bump to v1.27.2 2022-10-19 19:41:12 +05:30
Kiran Ashok
3d5ed1cdf7
[ Hotfix ] :: App breaking while reconnecting sheets (#4514)
* app breaking while reconnecting sheets

* back-end fix

* open api fix

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-10-19 19:33:46 +05:30
Midhun G S
b0e6a34f18
[Fix] Delete app not working if any user mentioned in comments (#4161)
* Fix for app delete issue

* fix

* fix

* added dbTransactionWrap for more functions

* reuse dbTransactionWrap

* onboarding changes

* SSO fix

* fix

* added test cases

* changed threads comments relation

* added test cases
2022-10-17 23:04:06 +05:30
Sherfin Shamsudeen
7189c1e76e Bump hotfix version 2022-10-14 18:55:48 +05:30
Sherfin Shamsudeen
1f827a1a76 Bump version 2022-10-14 15:20:52 +05:30
Sherfin Shamsudeen
a8283831d1 Merge branch 'main' into develop 2022-10-14 15:02:00 +05:30
Sherfin Shamsudeen
6f679777ff Update hotfix version 2022-10-14 15:01:49 +05:30
Muhsin Shah C P
2d777c2d51
[hotfix] Fixed oauth refresh token issue (#4406)
* Fixed refresh token issue

* Added re-auth feature

* Fixed token issue

* fixes

* Added public app check

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-10-14 13:25:32 +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
Vishnu R Kumar
e4b5b6ee17
[feature]:: Mariadb plugin (#4090)
* Integrate mariadb plugin

* Add mariadb logo

* Fix typo and add default connection limit - mariadb plugin
2022-10-11 13:13:59 +05:30
Sherfin Shamsudeen
8cf29bd7d2 Merge branch 'main' into develop 2022-10-11 12:07:21 +05:30
Sherfin Shamsudeen
2e52e34dc2 Update hotfix version 2022-10-11 11:41:53 +05:30
Akshay Sasidharan
cb8eb5aa95 fix: shell variable initialization 2022-10-10 13:58: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
Gandharv
39a330f385
fix: add max file size validator for user avatar (#4103) 2022-10-03 17:40:41 +05:30
mikebarr24
59210b8a9f
Fix/4127 docker dev setup (#4160)
* update shebang to bash

* Update grep to original command
2022-10-01 16:01:29 +05:30
gsmithun4
75ae6c43bb Bump to v1.26.1 2022-09-29 15:45:36 +05:30
Midhun G S
7879d8a760
Hide user data in group permissions get user API (#4141)
* Hide user data from group permission user API

* test case fix

* fix
2022-09-29 15:43:14 +05:30
Sherfin Shamsudeen
9c8577042c Merge branch 'main' into develop 2022-09-29 12:50:36 +05:30
Shubhendra Singh Chauhan
0908036555
Added application template for GCS file explorer (#3835) 2022-09-28 22:39:51 +05:30
Akshay
63052076f2
Fix: Set editing version as latest version on imports (#4117)
* set editing version as latest version on imports

* handle empty versions case
2022-09-27 14:51:33 +05:30
Akshay
0740b4cd01
open app after import (#4125) 2022-09-27 14:49:45 +05:30
gsmithun4
a83aa36ff4 Bump version to v1.26.0 2022-09-26 19:38:55 +05:30
Kiran Ashok
962e4d36cc
Feature :: ClickHouse plugin (#3873)
* feat : setup and basic querying

* docs reference links

* revert settings.json

* updating settings.json

* updates :: more source options , insert query

* cleanup

* updated with insert operation

* database :: required field

* text capitalizing

* updated docs

* PR changes :: added OR operation

* removed format option

* Revert "removed format option"

This reverts commit 02c5edcf86.

* bugfix

* removing session , fornat

* lock files

* Revert "lock files"

This reverts commit d593cf9425.

* rearranging operations

* extra comma removed
2022-09-26 18:35:20 +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
Sherfin Shamsudeen
ddf28a1336 Merge branch 'main' into develop 2022-09-22 19:22:31 +05:30
Sherfin Shamsudeen
4137a25ada Bump hotfix version 2022-09-22 19:22:01 +05:30
Sherfin Shamsudeen
b5507b4ac5
Refactor table component (#3933)
* Updated the table UI

* made the search bar in sync with current applied theme in the application

* updated the UI of the table widget

* adjust x axis in the footer

* made the search text vertically center

* Load text color using new api in Table

* Load action buttons data using new api in table

* Revert usage of new api for table actions

* Use new api to load most properties and styles

* Move logic for loading styles and propeties to another file

* Table: Move loading of actions to separate file

* Move functions to expose data to codehinter to Box.jsx

* Table: Get loadingState from new api

* Table: Use reducer for storing table column properties

* Table: minor refactoring on reducer

* Table: Replace the use of internal state variable componentState

* Abstract out Filter as a separate component

* Move table column definitions to a separate file

* Move action column definition to a separate file

* Move IndeterminateCheckbox to a separate file

* Completely remove any requirement of loading from definition inside loadPropertiesAndStyles

* Reduce the use of reducer dispatch calls in Table.jsx

* Remove the usage of __TjDoNotResolve__

* Load actions without new API

* Update migration to make columnSizes follow default format

* Fix migration to restructure table column sizes data

* Do not update columnSizes property if incoming value is empty

* Remove unnecessary code

* Remove unnecessary linting

* Remove unnecessary reducer action

* Remove unnecessary code

* Merge table changeSet data into table details reducer instead of filter reducer

* Make compact and spacious cell sizing work for table

* Remove custom handling of onRowClicked for Table

* Fix issues with table visibility, border radius and disabled state

* Resolve the issue with invalid date crashing the table

* fixes:widget crash is only for those tables which do not have any actions associated with it yet. (#4078)

* Remove unnecessary code

Co-authored-by: Manish Kushare <manish.altcampus@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-09-21 16:23:02 +05:30
Akshay
5108d12b9f
fix zombie idle db connections from within transactions (#4072) 2022-09-20 18:47:47 +05:30
Akshay Sasidharan
dabd9459df bump to v1.25.5 2022-09-20 16:31:52 +05:30
gsmithun4
53386b224c bump to v1.25.4 2022-09-19 20:52:38 +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
Akshay
410ec82de2
Fix docker dev setup (#3976)
* fix docker dev setup

* remove echo
2022-09-17 14:50:45 +05:30
Gandharv
1e9733e2a6
Hide user data from thread module (#4020) 2022-09-16 14:18:01 -07:00
Akshay Sasidharan
883a55a88c Merge branch 'main' into develop 2022-09-16 22:19:19 +05:30
Akshay Sasidharan
85f90f6b3f bump to v1.25.3 2022-09-16 21:59:42 +05:30
Akshay Sasidharan
2413cae0da hotfix: handle pg env vars from env and env file 2022-09-16 21:57:33 +05:30
Midhun G S
61158d8122
Merge main to develop (#4049)
* Fix: User group permissions error on Openshift platform (#4041)

* update dockerfile for file permissions on root group

* add permissions from the user group on dockerfile

* bump to v1.24.4

* bump to v1.25.0

* [feature] Added pagination and filtering features to users page (#3921)

* added pagination and filtering in backend

* added pagination
    - created a seperate component for users table
    - added pagination

* Added filter UI

* temporary css fix for pagination footer

* fixed pagination width issue

* now result will also clear when user clicks on clear icon

* Added seperate api for comment mentions

* Now we can search mentions by email, first and last names

* Fixed a bug
- email didn't send for comment mentions

* refactoring the code

* resolved PR changes

* Added isAdmin guard

* adding some checks

* fixed lint errors

* added wild card search

* Added no result found text

* fixed failing test case

* Working on PR changes

* Now users table avatars will load image too

* replaced skeleton classes with skeleton library component

* Completed PR changes

* added orderby

* Fixed some issues

* fixed failed test case

* have fixed some css issues

* replaced query with quersrting package

* fixed minor width issue

* Fixed some css issues

* fixed darkMode issue

* implemented on enter press search

* Refactored the code

* fixed white space issue

* refactored the code

* fixed overlapping issue

* refactored the code

* fixing some issues

* fixes

* removed guard

* code cleanup

* comments notification fix

* fixed conflict issues

* fixed css height issue

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

* Remove signup guard from set-password-from-token API (#4050)

* Remove sign up guard set-password-from-token API

* test cases fix

* Bump to v1.25.1

* Feature: Add PG_DB_OWNER env var to disable db and extension creation (#4055)

* add PG_DB_OWNER env var to disable db and extension creation

* update docs

* bump to v1.25.2

Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
2022-09-16 21:08:45 +05:30
Akshay Sasidharan
0f8c568bb6 bump to v1.25.2 2022-09-16 20:54:55 +05:30
Akshay
ba491a1f29
Feature: Add PG_DB_OWNER env var to disable db and extension creation (#4055)
* add PG_DB_OWNER env var to disable db and extension creation

* update docs
2022-09-16 20:50:44 +05:30
gsmithun4
27e2a7c32e Bump to v1.25.1 2022-09-16 12:21:41 +05:30
Midhun G S
1dd2e465ac
Remove signup guard from set-password-from-token API (#4050)
* Remove sign up guard set-password-from-token API

* test cases fix
2022-09-16 12:19:09 +05:30
Muhsin Shah C P
fa4c8fc909
[feature] Added pagination and filtering features to users page (#3921)
* added pagination and filtering in backend

* added pagination
    - created a seperate component for users table
    - added pagination

* Added filter UI

* temporary css fix for pagination footer

* fixed pagination width issue

* now result will also clear when user clicks on clear icon

* Added seperate api for comment mentions

* Now we can search mentions by email, first and last names

* Fixed a bug
- email didn't send for comment mentions

* refactoring the code

* resolved PR changes

* Added isAdmin guard

* adding some checks

* fixed lint errors

* added wild card search

* Added no result found text

* fixed failing test case

* Working on PR changes

* Now users table avatars will load image too

* replaced skeleton classes with skeleton library component

* Completed PR changes

* added orderby

* Fixed some issues

* fixed failed test case

* have fixed some css issues

* replaced query with quersrting package

* fixed minor width issue

* Fixed some css issues

* fixed darkMode issue

* implemented on enter press search

* Refactored the code

* fixed white space issue

* refactored the code

* fixed overlapping issue

* refactored the code

* fixing some issues

* fixes

* removed guard

* code cleanup

* comments notification fix

* fixed conflict issues

* fixed css height issue

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-09-16 10:42:53 +05:30
Akshay Sasidharan
1a98cea4a2 bump to v1.25.0 2022-09-15 12:47:25 +05:30
Akshay Sasidharan
5b3f7382fa Merge branch 'develop' 2022-09-15 12:39:50 +05:30
Akshay Sasidharan
8389bff1c2 bump to v1.24.4 2022-09-14 23:40:02 +05:30
Sherfin Shamsudeen
9998184ba7 Merge branch 'main' into develop 2022-09-08 17:19:17 +05:30
Sherfin Shamsudeen
b3103e7ec0 Bump hotfix version 2022-09-08 16:59:31 +05:30
Muhsin Shah C P
5ab4f1bde5
[feature] Hide apps in dashboard (#3888)
* - Added new field under app view permission
- Added new column to appGroupPermission

* added queries for hiding app from dashboard

* changed a column name
2022-09-08 15:03:03 +05:30
Akshay Sasidharan
421a0b865e bump version to v1.24.1 2022-09-05 23:10:41 +05:30
Erfan Naghashlou
473104e1ff
refactor: remove @babel/plugin-proposal-class-properties (2nd PR after CLA problem) (#3959)
* refactor: remove @babel/plugin-proposal-class-properties as plugin

* Remove class properties plugin from babel.config.js, Update frontend package.json, Update frontend,server,plugin package.lock.json
2022-09-05 22:41:03 +05:30
Akshay Sasidharan
50ab571fe3 bump to v1.24.1 2022-09-05 21:10:48 +05:30
Akshay Sasidharan
8e23f019db bump to v1.24.0 2022-09-01 22:49:14 +05:30
Midhun G S
4f001f9214
fixes for rest api url encoded requests (#3924) (#3931) 2022-09-01 18:53:19 +05:30
Akshay
3cf2c089cc
make health check endpoints backward compatible (#3930) 2022-09-01 18:41:10 +05:30
Akshay
33ac8809dd
Chore: Add wait for it script (#3909)
* add wait-for-it to remove errors on premature server start

* handle pg default port

* run postgres container as root

* remove root user on postgres
2022-09-01 13:00:06 +05:30
Akshay
2be5abfdf0
update seed command on doc (#3910) 2022-09-01 12:42:15 +05:30
Akshay
032c687c45
move data migration to respective folder (#3911) 2022-09-01 12:39:30 +05:30
Gandharv
c324ff8d28
chore: move devDeps to deps in package.json (#3916)
* chore: move devDeps -> deps

* change pos of preview-email import

* fix lint
2022-09-01 11:33:23 +05:30
Akshay Sasidharan
fcfc2735e0 Merge branch 'main' into develop 2022-08-31 20:47:52 +05:30
Akshay
368330ec9a
subpath fixes (#3919) 2022-08-31 20:44:08 +05:30
Muhsin Shah C P
a8c77e4f6f
[enhancement] Handle internal database exceptions in a better way (#3414)
* Added some exceptions

* Edited some error messages

* Removed some errors from handling

* Fixing failed test cases

* Fixed some issues
2022-08-30 12:40:58 +05:30
Akshay Sasidharan
765b98334f Merge branch 'main' into develop 2022-08-29 23:45:12 +05:30
Akshay Sasidharan
d27fa1eaa4 bump version 2022-08-29 15:51:53 +05:30
Akshay
3178cb66b1
Hotfix: subpath link formation (#3897)
* fix link formation

* strip trailing slash

* fix lint
2022-08-29 15:49:39 +05:30
Akshay Sasidharan
23d354f4a2 Merge branch 'main' into develop 2022-08-28 15:21:09 +05:30
Akshay Sasidharan
cc7befcfd9 bump to v1.23.1 2022-08-28 15:20:37 +05:30
Akshay Sasidharan
1ca800a299 Merge branch 'main' into develop 2022-08-27 22:20:29 +05:30
Akshay Sasidharan
1f4d5b9434 bump to v1.23.0 2022-08-27 22:10:47 +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
Muhsin Shah C P
7a4fc97928
[Fixed] User can reset their password with a space (#3825)
* added trim fn

* Added trim fn to dto

* Refactored the code
2022-08-26 11:04:40 +05:30
Gandharv
d87bdbdd70
Hide user data from comments module (#3836)
* fix: hide user data from comments module

* fix lint
2022-08-25 12:27:01 +05:30
Sherfin Shamsudeen
52da989c09 Merge branch 'main' into develop 2022-08-25 02:49:47 +05:30
Sherfin Shamsudeen
c75b627fc2 Bump patch version 2022-08-25 02:49:10 +05:30
Sherfin Shamsudeen
9798c6e444 Merge branch 'main' into develop 2022-08-22 19:42:19 +05:30
Sherfin Shamsudeen
9291e9badc Bump hotfix version 2022-08-22 14:32:43 +05:30
Midhun G S
8efc7a6ea8
Merge Main (#3827)
* GitHub API end point correction (#3826)

* Bump minor version
2022-08-19 18:30:43 +05:30
gsmithun4
cc46414d3b Bump minor version 2022-08-19 18:20:01 +05:30
Midhun G S
b8e559033a
GitHub API end point correction (#3826) 2022-08-19 18:06:58 +05:30
Midhun G S
e2854c7dee
hide response of group permission create (#3820) 2022-08-19 13:24:52 +05:30
Kavin Venkatachalam
a9dcdef13f Merge branch 'main' into develop 2022-08-18 19:14:22 +05:30
Kavin Venkatachalam
b8db979c29 Updated version 2022-08-18 19:13:21 +05:30
Akshay Sasidharan
0d64bf7998 Merge branch 'main' into develop 2022-08-18 13:22:40 +05:30
Midhun G S
6fe5e874f8
Wrap DB queries inside manager to enable rollback (#3809)
* wrap DB queries inside manager

* test cases fix

* fixes

* tetscases fix
2022-08-18 13:22:03 +05:30
Ajith KV
b69b10e94c
Add TypeScript definitions for compression (#3814) 2022-08-18 11:54:58 +05:30
Manish Kushare
0f728e0a8d
Enhancement : added all the css prop for the text in the styles section of the Text Widget (#3392)
* added all the css prop for the text in the styles section of the Text Widget

* removed text shadow prop from inspector, widgetConfig, and Text.jsx Component, fixed es lint error

* removed Accordian folding and unfolding of styles props

* removed console.log and fixed es lint errors

* added migration file for supporting compatibility with existing applications

* revert changes

* adding migration file to support compatibility with existing/old applications

* removed unused groupAction prop from defination.styles in the widgetConfig file

* removed unused lines from Text.jsx

* Changed fontvariant from Boolean type to select type

* updated the migration file for textwidget
2022-08-17 14:52:20 +05:30
Sherfin Shamsudeen
584bf1114c Bump minor version 2022-08-16 18:09:20 +05:30
Gandharv
42935b9f68
Optimize webpack bundle output (#3785)
* webpack: split vendor (node_modules) chunk

* perf: add compression

* compression-webpack-plugin devdeps -> deps

* feat: use eslint as bundler

* undo
2022-08-16 12:36:47 +05:30
Midhun G S
f1a4c28ead
Security issue fix (#3793) 2022-08-16 07:44:03 +05:30
Arpit
6ea6215126
[chore] ESLint fixes (#3749)
* lint fixes for frontend

* resolves warning and run eslint: some dependencies  use another version of ts
2022-08-06 09:34:07 +05:30
Akshay
f3f9baeab2
Fix: Only add distributable files for server on docker image (#3729)
* only add build server files on docker images

* copy .version file

* remove DO clean up script

* add dotenv and joi
2022-08-03 17:06:11 +05:30