Commit graph

692 commits

Author SHA1 Message Date
Sherfin Shamsudeen
b81dbd77bd Bump hotfix version 2022-08-01 13:43:14 +05:30
Midhun G S
b710d7b02e
SSO for GitHub Enterprise self hosted (#3352)
* SSO for GitHub Enterprise self hosted

* changes

* test cases

* fixes

* label fix

* fixes

* readme changes
2022-07-29 17:03:42 +05:30
Sherfin Shamsudeen
4362125d5b Merge branch 'main' into develop 2022-07-27 10:04:20 +05:30
Sherfin Shamsudeen
534c44e9b9 Bump hotfix version to 1.21.4 2022-07-27 10:03:56 +05:30
Sherfin Shamsudeen
ecc4e0646b Merge branch 'main' into develop 2022-07-26 16:23:25 +05:30
Sherfin Shamsudeen
f482cc5f2a Bump hotfix version 2022-07-26 16:22:50 +05:30
Muhsin Shah C P
7595b74519
[hotfix] Public apps are redirecting to login page while using environment variables inside an app (#3635)
* Fixed env vars 404 error while opening public apps

* Resolved the PR changes
- Replaced currentUser with isPublic
- Added a new guard to check if the current app is not public or not

* Refactored some code

* Removed orga variable dependency from org module

* Resolved all PR changes

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-07-25 16:18:12 +05:30
Sherfin Shamsudeen
6b1625c1b4 Merge branch 'main' into develop 2022-07-25 12:26:58 +05:30
Sherfin Shamsudeen
45e9f72b55 Bump hotfix version 2022-07-25 12:26:19 +05:30
Gandharv
b5850a4694
feat: trigger mail when user is mentioned in comment (#3443)
* feat: trigger mail when user is mentioned in comment

* reset email service

* fix backspace issue

* open comment on view comment clicked from email

* add helper to highlight user in mail

* reset mentioned input value when value turns empty in parent

* fix test

* use where condition + throw error

* add userId

* feat: add notification center (#3484)

* remove commented code
2022-07-25 11:14:59 +05:30
Akshay Sasidharan
c60f4d94f5 bump to v1.21.1 2022-07-19 22:11:18 +05:30
Akshay
94efa97270
Update digital ocean setup (#3644)
* add placeholder values for digital ocean secrets

* revise dockerfile with security updates

* update postbuild script to use transpiled code

* add cloud-init dependency

* move cloud-init to digitalocean postbuild script

* update digitalocean postbuild script
2022-07-19 22:07:54 +05:30
Sherfin Shamsudeen
bc648c9f31 Merge branch 'develop' into release/1.21.0 2022-07-19 20:21:44 +05:30
Sherfin Shamsudeen
108c0ccff6 Bump minor release version 2022-07-19 20:20:24 +05:30
Sherfin Shamsudeen
a59d5d13d0 Merge branch 'main' into develop 2022-07-19 12:35:07 +05:30
Sherfin Shamsudeen
b75ac7dae6 Bump hotfix version 2022-07-19 12:34:47 +05:30
Midhun G S
3297fdb68a
Instance level SSO for Multi-Workpsace (#3441)
* changes

* changes

* e2e testcases

* fixes

* fix

* changes

* e2e fixes

* test cases

* clean up

* redirection changes

* style changes

* test cases

* testcases fix

* added test cases

* doc changes

* doc changes

* invitation token fix

* SSO General settings page changes

* added sso button to signup pages

* added helper text

* fix

* test case fixes

* fix
2022-07-18 11:40:52 +05:30
Akshay Sasidharan
3e5ffcf4da fix lint 2022-07-15 15:17:18 +05:30
Sherfin Shamsudeen
c46e2f0c78 Merge branch 'main' into develop 2022-07-14 15:33:12 +05:30
Sherfin Shamsudeen
e36f869ed2 Bump hotfix version 2022-07-14 15:32:49 +05:30
Akshay Sasidharan
38eb36c803 Merge branch 'main' into develop 2022-07-14 14:06:04 +05:30
Akshay Sasidharan
a93b96d882 bump hotfix version 2022-07-14 14:05:06 +05:30
Akshay
b4999a413b
Hotfix: Split data and db migrations (#3610)
* split data and db migrations

* comment audit logs

* make prod script to print logs

* wrap data migrations in single transaction
2022-07-14 14:03:21 +05:30
(◕ᴥ◕)
cc1e6b73a9
Remove incorrect license field (#3597) 2022-07-13 07:25:44 +05:30
Muhsin Shah C P
a5476de350
Added a feature for updating the group names (#3452)
* Added a feature for update group names

* Fixed issues
- create new group button should not show when update form is visible
- disable save btn when user tries to update with the same name

* Added a spec for update group name feature

* resolved a bug

* resolved a spell error

* Added 2 specs for checking
- default groups are being updated or not
- update a group with existing name

* Fixed a bug

* Fixed trim issue

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-13 00:27:32 +05:30
Sherfin Shamsudeen
e3917a13f1 Merge branch 'main' into develop 2022-07-12 16:11:37 +05:30
Sherfin Shamsudeen
512aac84f4 Bump hotfix version 2022-07-12 16:02:40 +05:30
Kiran Ashok
6880d99d75
Feature :: Tabs widget enhancement (#3390)
* tabs widget :: included tab width and disable property

* tabs docs updated

* migration

* migration script added
2022-07-08 17:42:34 +05:30
Sherfin Shamsudeen
1383aa5e0e Bump version to 1.20.1 2022-07-07 19:03:07 +05:30
Akshay Sasidharan
cee03a1394 Merge branch 'main' into develop 2022-07-05 15:11:33 +05:30
Akshay Sasidharan
5f99e1221d bump version to v1.20.0 2022-07-05 15:06:53 +05:30
Akshay
49df02a256
Feature: Add support for http proxy (#3456)
* add support for http proxy

* conditionally bootstrap global agent

* fix env var set
2022-07-05 11:26:05 +05:30
Sherfin Shamsudeen
92b832629a Bump hotfix version 2022-07-04 14:44:28 +05:30
Sherfin Shamsudeen
87f71624f1
Feature/modal updates rebased to main (#3465)
* modal docs

* modal enhancement , added more properties

* widget properties updates

* revert unwanted change

* bugfix close

* renaming as "hideTitleBar"

* migration

* revert unwanted code

* temp stash

* updates

* migration tested

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2022-07-04 14:43:36 +05:30
Sherfin Shamsudeen
ff0397f1ef Merge branch 'main' into develop 2022-07-03 16:22:33 +05:30
Sherfin Shamsudeen
1edcd1a9f8 Bump hotfix version 2022-07-03 02:11:02 +05:30
Sherfin Shamsudeen
76c864e4d5 Bump hotfix version 2022-07-02 18:01:23 +05:30
Sherfin Shamsudeen
79b10679d7 Merge branch 'main' into develop 2022-07-02 15:53:17 +05:30
Sherfin Shamsudeen
7cbac49a9b Bump hotfix version 2022-07-02 15:50:38 +05:30
Muhsin Shah C P
dc8f69e4b2
[Feature] Organisation level environment variables 🚀 (#3068)
* Added new page for env vars

* Changed a field name

* Added some backend files
- Entity, Dto, services

* Started working with api endpoints
- implmented create
- added ability

* Added fields validation
- Added env variables into module

* Added update, delete, get apis
- Also implemented delete feature in frontend

* Implemented update operation on frontend
- Solved an api problem

* Added encryption

* Added encryption to update operation
- Exposed env vars to editor
- working on viewer

* Exposed env vars in viewer also
- Resolved a bug

* Updated edit & delete icon sizes

* Added specs
- Resolved issues that occurred while testing

* removed logout code

* Changed api endpoint

* splitted page into 3 different parts, Form & table

* Now, non-admin users can see all org env vars

* Resolved divider missing issue

* Added variable_type field

* Now secret server values will be shown as 'SecureValue'

* Now you can't update variable_type

* Now server will resolve the secret env values

* Resolved variable name issue

* Added unique constraints

* Resolved some frontend bugs

* Changed error text

* Fixed failing specs

* Added group permissions for org env vars

* Added permission checking in the backend

* Implemented permission checking in the frontend

* Edited spec for new changes

* Changed some specs and fixed failing specs

* Resolved failing case that showed up after merging with the latest develop

* Added default admin seed permissions

* Refactored some code

* Changed value to organization_id

* Fixed a bug

* Resolved a failing case

* Resolved PR changes
- Changed permission name
- Changed column type to enum
- Fixed some errors
- Refactored the code

* minor code change

* added scope

* Fixed: hide table when 0 no of vars available

* Fixed table dark theme issues

* Fixed encryption switch style

* Fixed failing cases and updated a spec

* Added %% for environment variables

* Added code to resolve single variable

* Fixed multi-variable usage

* resolved an issue

* removed extra divider

* Suggestions will also show up for %% too

* now, suggestions dropdown will only show env variables results

* env vars suggestions will not be included  in js search results

* You can't resolve env variables from js code
- Also, we can't resolve js code from env variable enclosures

* added an info text

* Resolved variables issue

* fixed Viewer issue

* Resolved a bug
- client variable was not working on query preview and run actions

* Update error message while using server variable on canvas

* Revert "Update error message while using server variable on canvas"

This reverts commit 081e1c9e29.

* Resolved all PR changes
- removed prefix 'environmentVariable'
- redefined variable evaluation
- removed environmentVariable object from inspector
- fixed a small bug

* Fixed a server side issue

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-01 16:20:37 +05:30
Muhsin Shah C P
6e307a7b21
Fixed migration issue (#3445) 2022-06-30 14:41:14 +05:30
Midhun G S
54c1a43006
Fix for db migration issue (#3439) 2022-06-30 12:33:26 +05:30
Midhun G S
9a5dbacf9f
Password retry limit (#3300)
* password retry limit

* minor change in doc

* test cases

* fixes

* lint issue

* doc changes

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-30 00:49:45 +05:30
Akshay
700705c7ff
Chore: One click digitalocean deploy (#3429)
* add digital ocean deploy template

* update readme

* fix template

* update script for digital ocean ca cert

* update digital ocean script

* set certificat authority from env for digitalocean

* fix script

* add digitalocean postbuild script

* update script

* test

* test

* strip ssl mode require from env

* revert testing changes
2022-06-29 15:21:37 +05:30
Midhun G S
f79ff97a47
Merge pull request #3214 from ToolJet/bugfix/signup-email-case-sensitive-issue
[Bugfix] Fixed Signup email case sensitive issue
2022-06-29 14:44:34 +05:30
Muhsin Shah
2ecd7a45d7 Added lowercase transform to UserOnboardingDto 2022-06-29 13:57:53 +05:30
Midhun G S
6bc17b4ed6
Merge pull request #3281 from ToolJet/feature/athena
Feature ::  Amazon Athena plugin
2022-06-29 13:47:08 +05:30
Muhsin Shah C P
44fd5ef9bd
added orderby clause (#3369) 2022-06-28 16:12:52 +05:30
Brent Schroeter
85b86f6826
[Bugfix] CHECK_FOR_UPDATES=0 is not respected (#2851) (#3084) 2022-06-28 13:55:51 +05:30
Muhsin Shah C P
cf5a37c56a
[bugfix] Now users can't create multiple versions with the same name for an app (#3342)
* Created a new migration file

* Added the migration

* added the failing error

* Fixed failing specs

* Working on PR changes
- error messages

* edited the migration

* added existed check

* Changed some variable names and error messages

* Resolved PR changes
- Typo
- Removed useless code
2022-06-28 12:36:28 +05:30
Sherfin Shamsudeen
835107e868 Merge branch 'main' into develop 2022-06-24 16:10:55 +05:30
Sherfin Shamsudeen
ee140bab54 Bump hotfix version 2022-06-24 16:10:47 +05:30
Sherfin Shamsudeen
97b45c9e97 Merge branch 'main' into develop 2022-06-23 15:14:07 +05:30
Sherfin Shamsudeen
aaf96cd743 Bump patch version 2022-06-23 15:13:36 +05:30
Muhsin Shah
076083c771 resolved PR changes 2022-06-22 12:54:33 +05:30
Muhsin Shah
eafd27410f Merge branch 'develop' into bugfix/signup-email-case-sensitive-issue 2022-06-22 10:52:32 +05:30
Manish Kushare
4a78949aa4
Enhancement : added border radius property in the styles property of the List View Widget (#3287)
* added border radius property in the styles prop

* added migration file to add border-radius as 0 in the existing applications
2022-06-21 02:34:42 +05:30
Sherfin Shamsudeen
7a8ec89c27 Bump minor version 2022-06-17 20:00:22 +05:30
Sherfin Shamsudeen
d5fa6e9816 Merge branch 'main' into develop 2022-06-17 17:58:16 +05:30
Sherfin Shamsudeen
c93bc4fe78 Bump hotfix version 2022-06-17 17:57:37 +05:30
Midhun G S
100e51b57b
User account level security issue (#3272)
* user account level security issue

* review comments

* review comments
2022-06-17 17:09:13 +05:30
Muhsin Shah C P
2fdcfcc117
[Feature] Added ability to update and delete app folders (#3132)
* Added migration to add forder_delete column

* Added new group permission

* Added deleteFolder ability

* Added delete folder api

* Added menu icon

* Added new defualt permissions of admin

* Implemented folder menu and delete action

* Implemented update folder name in frontend

* Added folder name update feature

* Refactoring code

* Added specs for update and delete apis
- Updated test-helper function with new permissions

* Resolved failing specs

* corrected method name & add count checking to delete spec

* added organizationId scope

* Changed toast and modal texts

* Resolved a mistake

* Added a check box for update permission

* Now, an user can only delete folders, if he has the permission to view all apps

* Edited update and delete spec cases

* Added error toasts

* Refactored code

* Resolved PR changes
- Changed permission name in the frontend
- Refactored the code

* capitalized all toasts
- Changed error message

* Fixed new user permission issue

* Update a spec

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-06-16 19:41:38 +05:30
Sherfin Shamsudeen
8f7a1baf44 Bump version to 1.18.0 2022-06-16 19:09:08 +05:30
Sherfin Shamsudeen
1e9c22dcd5 Merge branch 'main' into develop 2022-06-16 17:55:37 +05:30
Sherfin Shamsudeen
d3be4da8eb Bump hotfix version 2022-06-16 17:54:53 +05:30
Manish Kushare
29db040eea
added instruction text property in file picker widget to add custom instructions (#2731)
* added instruction text property  in file pciker to make user unable to provide custom instructions

* Added default instruction text

* made the changes to make sure existing app do not crashes because of instructionText prop

* Solve issue -  existing file pickers wont display anything if we don't default to the default instruction text

* changes in operation.json file

* migration script for adding instructionText prop

* removed unwanted operations.json file

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2022-06-16 17:53:31 +05:30
stepinfwd
017c40987c Merge branch 'develop' into feature/athena 2022-06-15 12:15:46 +05:30
Muhsin Shah
4b88ea33cc Fixed threads migration
- added comment migration
2022-06-15 00:01:03 +05:30
Muhsin Shah
89b0a2c08e Added transform 2022-06-14 19:22:01 +05:30
Muhsin Shah
7b09d36dd0 Resolved permission case 2022-06-14 17:39:40 +05:30
Sherfin Shamsudeen
daaa6dc8e2 Merge branch 'develop' into release/1.17.2 2022-06-14 14:31:15 +05:30
Sherfin Shamsudeen
42a982b249 Add newline to server version file 2022-06-14 14:26:52 +05:30
Midhun G S
b2be27c68c
Invited user should be able to login and activate account using SSO (#3164)
* SSO login flow changes

* changes

* Fix

* added more testcases

* testcase fixes

* changes

* documentations

* flow changes

* doc changes

* reviewed docs - user lifecycle and general settings

* Fixes

* docs changes

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 14:05:38 +05:30
Sherfin Shamsudeen
1e53667dc8 Bump version to 1.17.2 2022-06-14 14:04:02 +05:30
Muhsin Shah
e480ea157f Created a migration for changing email to lowercase
- Delete duplicate users and merge their data to original user
Next test with different cases
2022-06-13 20:49:00 +05:30
Muhsin Shah
913c405faa Merge branch 'develop' into bugfix/signup-email-case-sensitive-issue 2022-06-13 20:41:25 +05:30
Sherfin Shamsudeen
f9860363e8 Bump version to 1.17.1 2022-06-13 17:51:52 +05:30
Sherfin Shamsudeen
559965bccd Bump version to 1.17.0 2022-06-13 15:13:04 +05:30
Sherfin Shamsudeen
3f6802063b Merge branch 'develop' into release/1.17.0 2022-06-13 15:12:26 +05:30
Gandharv
292673aa67
fix: re-render when cursor hovered on canvas (#3210)
* fix: re-render when cursor hovered on canvas

* rename

* remove redundant check

* add app_id as yjs docname
2022-06-09 15:36:11 +05:30
Akshay Sasidharan
ce0c993cce bump version 2022-06-09 13:47:00 +05:30
gsmithun4
e5f4054c2b added env var to view-hide account setup link 2022-06-08 00:49:14 +05:30
Muhsin Shah
194842f5c4 Added transformation to invite-new-user dto 2022-06-07 12:01:54 +05:30
Muhsin Shah
6a92a5863b Fixed Signup email case sensitive issue 2022-06-06 23:47:29 +05:30
Akshay Sasidharan
eca176571b bump to v1.16.0 2022-06-02 15:25:13 +05:30
Midhun G S
fadf025365
[BUG] Account level security issue (#3150)
* bug fixes

* changes

* changes for single workspace support

* added guards for signup route

* test cases fixes

* Workspace invite and user onboarding flow changes (#3190)

* invite user flow changes

* review comments

* cleanup

* testcase fix
2022-06-02 15:20:51 +05:30
Gandharv
5dbe795d73
feat: add user avatar (#2920)
* 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

* cleanup

* fix tests

* reduce the avatar size on homepage

* fix review comments

* import Express

* add blob to csp
2022-06-02 12:19:49 +05:30
Akshay
9db1aee6f7
update routes for nginx conf and event gateway for being proxied (#3183) 2022-06-01 18:23:41 +05:30
Sherfin Shamsudeen
7c27188699 Bump minor version 2022-05-31 21:58:22 +05:30
Sherfin Shamsudeen
c13f7c20d8 Merge branch 'main' into develop 2022-05-31 21:54:41 +05:30
Sherfin Shamsudeen
997fc93d8b Bump patch version 2022-05-31 21:54:10 +05:30
Akshay
a13a2d4d63
Chore: ToolJet setup to try locally (#3158)
* add dockerfile for try tooljet setup

* update npm scripts and logged messages

* refactor npm scripts for dist folder scripts

* update usages of db setup and seed

* setup script to init db and boot app

* fix dockerfile

* update dockerfile

* user production.Dockerfile as base image

* fix script

* fix script exit

* fix lint
2022-05-31 18:42:36 +05:30
Sherfin Shamsudeen
5d076bc5fd Bump version 2022-05-26 19:41:43 +05:30
Sherfin Shamsudeen
df54debeb0 Merge branch 'main' into develop 2022-05-26 19:39:51 +05:30
Sherfin Shamsudeen
c3278a98d5 Update patch version 2022-05-26 19:39:33 +05:30
Akshay
bd56792d58
Add deployment platform for telemetry (#3126)
* add deployment platform telemetry

* make use of config service
2022-05-26 07:11:56 +05:30
Muhsin Shah C P
4e6e6f5826
[Feature] Now users can edit created version's name 🚀 (#3106)
* Added a feature for updating a version's name

* fixed icon space

* Fixed a bug

* solved a possible error

* Added a new state for edit name modal
2022-05-25 22:58:29 +05:30
Akshay
fd89a0f242
Fix: Show sign up form for single organization when no org present (#3107)
* show sign up form for single organization when no org present

* update spec

* fix spec
2022-05-24 22:16:01 +05:30
Midhun G S
4b68627431
[BUG] Error while switching organization (#3054)
* Fix - error while switching organization

* fixes

* Update oauth.service.ts
2022-05-23 17:47:46 +05:30
Akshay
f7db75ee14
Add editor and viewer user count to telemetry (#3103) 2022-05-22 14:43:03 +05:30
Sherfin Shamsudeen
9ffd885222 Merge branch 'main' into develop 2022-05-20 14:05:45 +05:30
Sherfin Shamsudeen
ab3df95e2f Bump patch version 2022-05-20 14:04:55 +05:30
Muhsin Shah C P
66764d5511
Added custom headers for access token URL (#3078) 2022-05-19 18:42:44 +05:30
Sherfin Shamsudeen
8304bd21cb Merge branch 'main' into develop 2022-05-19 13:28:02 +05:30
Sherfin Shamsudeen
bed71b1311 Bump patch version 2022-05-19 13:23:19 +05:30
Kiran Ashok
3b96e99d6a
Woocommerce integration 🚀 (#2866)
* base structure

* tested all customer operations

* all product enpoints tested

* all order api tested

* typo fix

* icon updated

* tested all operation , cleanup

* added create coupon operation

* removing unwanted types

* cleanup

* updating test connection bug

* doc updated

* docs updated

* removing logs :: pr updates

* removing types :: pr updates

* cleanup :: pr changes

* operation structure updated

* restructured whole code for seperating operations

* typo bug updated

* updating pr updates remove host , test error case updated

* typo bug fixed

* updating naming conventions

* plugins operation.json reusable fields

* pr changes :: making all ids common

* fixing customer params

* updating all additional param types

* updating all product params

* including some more product params

* adding all order params

* adding all coupon params

* updating common defenitions

* capitalise labels

* updating all list operation definitions

* clearing some typos

* global defenition

* lock file changes

* lock file changes

* server lock file changes

* typo fix

* typo fix

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-05-19 11:38:14 +05:30
Sherfin Shamsudeen
145ccd2a56 Merge branch 'main' into develop 2022-05-17 19:55:33 +05:30
Sherfin Shamsudeen
9e61fab479 Bump patch version 2022-05-17 19:54:18 +05:30
Tanmoy Bhowmik
15c909abb2
Avoid creation of system group names (#2999)
* fix(group_permission): avoid useage of system defined user group

* test(group_permission): add test to verify the chaanges related to system group names

* fix(group_permission): change error message and fix reserved group list
2022-05-13 13:18:26 +05:30
Sherfin Shamsudeen
e3ad6b7cd2 Bump version to 1.13.0 2022-05-11 21:48:35 +05:30
Midhun G S
e656ea9259
Relabelling organization with workspace (#2992)
* Relabelling organization with workspace

* placeholder fix

* Bug fixes

* fix

* firefox issue fix
2022-05-11 16:30:25 +05:30
Kavin Venkatachalam
7c30a830db
[Feature]: Custom Component Widget (#2960)
* Created custom component widget

* Updated the custom component key

* Added doc for custom component

* Update iframe.html

* Installed HTML parse in dependencies

* Updated script source

* Added scripts to CSP

* Added Skypack to CSP

* Fixed Run Query issue in Viewer
2022-05-10 15:09:09 +05:30
Muhsin Shah C P
197f313f66
[Feature] Added textSize style to the text widget (#2948)
* Added textSize style to text widget

* Added new migration

* Edited the migration file
2022-05-09 13:35:02 +05:30
Gandharv
2da1b274fe
Merge main to develop (#3004)
* bump up version

* Fixes new added/deleted query doesnt update on query manager (#3001)

* Bump hotfix version

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-05-09 12:47:12 +05:30
Gandharv
1716213247
Chore: add option to enable/disable multiplayer feature (#2984)
* chore: add env to enable/disable multiplayer feature

* fix merge conflict

* rename env

* add default true

* add null check on ymap
2022-05-06 12:29:50 +05:30
Tanmoy Bhowmik
e69ce71f4e
Fixes query order in query manager (#2967)
* fix(dataQueries): sort queries by createdAt

* test(dataQueries): add test to verify the queries are sorted

* test(dataQueries): sort queries in desc
2022-05-05 17:21:00 +05:30
Midhun G S
0545528504
Support for multiple workspaces 🚀 (#2778)
* multi org changes

* Initial changes

* changes

* manage sso page

* Multi-organization changes

* Multi organization changes

* multi-org changes

* multi-org changes

* multi-org changes

* multi-org fixes

* env variables app.json changes

* multi-org-fix

* user invitation token fix

* multi-org group permission fix

* multi-org app privilege

* google oauth fix

* Remove enable signup for form login

* Multi organization fixes

* multi-org user invite flow changes

* multi-org sign up fix

* rebase and multi-org fixes

* revert testing logs

* test logs revert

* migration changes

* migration file fix

* error message changes

* git login for private email fix

* dropdown fix

* test cases

* e2e test cases added

* test cases fix

* documentation changes

* testcases fix

* testcases added

* replace findOne with findOneOrFail

* accept invite testcases

* login page fixes

* added encrypted tag

* review comments

* migration fixes

* improvements

* manage sso loading fix

* review comments

* migration file changes

* new organization creation bug fix

* added e2e testcases

* added testcases

* Update data_sources.controller.ts
2022-05-05 12:38:42 +05:30
Ankush
a07b8e3439
Fixes addition of application to folder more than once (#2961)
* fixed addition of application to folder more than once

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

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

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-05-05 12:04:42 +05:30
Akshay Sasidharan
0959ab335d bump up version 2022-05-04 19:33:46 +05:30
Tanmoy Bhowmik
ad223e701f
Fix invalid error message for user group (#2964)
* fix(groupPermission): add check for uniqueness before creating the group

* fix(groupPermission): add test for the uniqueness of group permission group name
2022-05-04 16:28:02 +05:30
Muhsin Shah C P
722a701b22
[Feature] option to delete a data source 🚀 (#2790)
* Implemented frontend
- icon and confirmation modal
- delete fn in services

* Implemented backend Endpoint
- Changed confirmation modal msg

* Added unit test for delete operation

* Changed the modal msg again

* Fixed delete btn alignment issue

* Resolved a bug

* changed popover width

* Now delete endpoint will only return the status

* Added a new spec to test delete a data-source from a specific version

* Added deleteDataSource ability

* Removed commented code

* Added BadRequestException in else case

* Resolved an error

* Changed confirmation modal
2022-05-02 18:42:14 +05:30
Akshay Sasidharan
8b1f8ab6d2 bump to v1.11.0 2022-04-28 17:12:13 +05:30
Akshay
971db32540
add backend validation to prevent editing released version (#2926) 2022-04-28 17:00:58 +05:30
Akshay
7e98d606ce
Fix: Thread/Comment edit and delete (#2880)
* fix thread edit and delete

* fix comment edit and delete

* fix thread id type on entity
2022-04-22 13:27:05 +05:30
Muhsin Shah C P
380ea73b30
[Feature] Added a feature to show maintenance state of an app (#2820)
* Implmented toggle and confirmation modal
- Also maintenance state will store in db as a global setting

* Added is_maintenance_on column to apps table

* Now maintenance state will store in app entity

* Lauch btn will be disabled for on-maintenance apps

* Users can't see preview using shared links when app is on maintenance

* Changed toggle name

* Changed maintenance dialog message
- Changed button text
- Fixed some alignment
2022-04-21 22:08:54 +05:30
Akshay
431dc961cd
Feature: Add data transfer object layer to validate and sanitize user inputs (#2694)
* add sanitize-html to be used with dto

* add dto for controllers

* add vaalidation to check token not empty

* update test config

* add validation pipe on test setup

* fix spec

* fix params casing

* update dto for empt checks

* update reset password dto

* only check for options to be defined

* update specs

* update dto and spec

* Remove invalid decorator

* update package-lock

* update thread dto

* update user dto

* fix email

* make comment req params attributes as optional

* fix specs
2022-04-20 14:46:57 +05:30
Gandharv
40420ee591
feat: Add realtime collaboration (#2517)
* feat: add realtime collaboration

* reduce delay in debounce

* feat: add realtime cursors

* feat: add realtime avatars

* add current user to the online users list

* add border color to the avatar

* feat: allow multi user to edit multi-versions simultaneously

* add getOne fn for fetching single api + avatar component

* fix: set appDef from api call

* replace webrtc with ws

* move yjs to separate port (temp)

* run on same port

* fix: update ymap when styles have changed

* - Add static list of colors
- Show the username on hover

* fix: cursors not showing up

* fix: review comments

* remove unused vars

* add new cursor style

* - Run yjs connection on a different path
- Add zindex to cursor such that query editor has precedence

* fix: event emitter bug + position bug

* use shorthand

* cursor style changes

* fix cursor positions

* inc zindex

* change max avatars to 3
2022-04-19 16:07:39 +05:30
Navaneeth Pk
391c2e0481 Lock sentry version 2022-04-12 15:05:22 +05:30
Sherfin Shamsudeen
a7223d9bf3 Bump hotfix version 2022-04-12 13:08:35 +05:30
Sherfin Shamsudeen
e9b8e29790
Fix vulnerability with token validation (#2793)
* Fix token validation

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-04-12 13:06:18 +05:30
Sherfin Shamsudeen
3baa3ea9ae Bump version to 1.10 2022-04-11 17:33:31 +05:30
Sherfin Shamsudeen
a9b6d00306 Merge branch 'main' into develop 2022-04-08 16:08:53 +05:30
Sherfin Shamsudeen
4d760d3c9f Bump hotfix version 2022-04-08 16:08:09 +05:30
Akshay
3c8b25dafc
make pino pretty as prod dependency (#2770) 2022-04-08 14:44:36 +05:30
Navaneeth Pk
7cbe7925d5 Fixes sheets 2022-04-05 10:56:06 +05:30
Sherfin Shamsudeen
ab3fce7ae5 Merge branch 'main' into develop 2022-04-04 22:30:01 +05:30
Maurits Lourens
35663b1502
Update passport and run npm audit fix (#2493) 2022-04-03 16:30:59 +05:30
Akshay
dab65ddf88
Chore: Trim version load (#2688)
* trim tooljet version being loaded

* remove console.log
2022-04-03 12:52:32 +05:30
Hannah Walsh
256e691e5f
Add check for null or empty string group name on creation (#2711) 2022-04-02 18:51:42 +05:30
Sherfin Shamsudeen
c6176ee9a1 Merge branch 'develop' into release/1.9.0 2022-03-30 21:02:16 +05:30
Akshay
9b82ed6e4c
fix table events not being associated on version create (#2687) 2022-03-30 20:32:12 +05:30
Arpit
67df2dff63
[Bigfix] Fixes edited version's component definition's schema gets altered (#2641)
* fixes Edited version's component definition's schema gets altered

* Fixes typos
2022-03-28 21:52:34 +05:30
Muhsin Shah C P
05edf4bcf0
Feature: Added refresh token functionality to Rest API OAuth flow (#2536)
* Working on refresh token fn
- Added refresh token to options

* Added and tested google oauth refresh token flow

* Working on outlook refresh token code

* Tested refresh token fn with google oauth and outlook

* Resolving a bug

* Added prompt=consent to auth url

* Appended custom params to authUrl

* Resolved a test error
2022-03-25 12:48:29 +05:30
Muhsin Shah C P
81bed483f9
Feature: Added a field for custom query params (REST API OAuth setup) (#2605)
* Added custom query params to rest api oauth flow
- Also resolved a bug

* Refactoring code
2022-03-24 21:21:34 +05:30
Akshay Sasidharan
02af271d67 bump version 2022-03-24 17:34:32 +05:30
Akshay Sasidharan
a73c71c0b0 Merge branch 'develop' 2022-03-24 17:33:24 +05:30
Akshay
153ce5b60b
Chore: Revise metadata fetch setup for telemetry (#2610)
* revise metadata service for telemetry

* send finish installation metric only on prod

* fix endpoint

* keep fetching metadata with an interval

* fix version check error

* remove ip address on telemetry
2022-03-23 19:53:40 +05:30
Akshay Sasidharan
4a6fd3f80a bump to v1.7.0 2022-03-23 12:29:32 +05:30
Brent Schroeter
e30116e3d8
Check OAuth domain only if restrictions specified. (#2577) 2022-03-21 10:16:58 +05:30
Sherfin Shamsudeen
fd23643d6e Bump version 2022-03-17 22:27:17 +05:30
Sherfin Shamsudeen
f8335a1bf5 Merge branch 'main' into develop 2022-03-16 18:15:03 +05:30
Sherfin Shamsudeen
427f6800f4 Bump hotfix version 2022-03-16 18:13:20 +05:30
Muhsin Shah C P
2d367ffeab
Resolved azure outlook oauth issue (#2499) 2022-03-15 17:07:21 +05:30
Sherfin Shamsudeen
5ec645a845
Split app export query to simpler faster ones (#2485) 2022-03-15 15:13:55 +05:30
Akshay
841710aa9b
Fix: Version creation on empty/invalid version from id (#2510)
* fix version creation on empty/invalid version from id

* fix spec

* hotfix: Edited changes not shown when switching versions (#2386)

* fix edited changes not shown when switching versions

* fix version create from not picking editing version

* fix version switch not updated on editing version save
2022-03-15 15:12:43 +05:30
Muhsin Shah C P
eaf93616ae
Feature/oracledb plugin (#2388)
* oracledb initial commit
- Added oracledb package

* Implemented connection and operations

* Working on oracle db integration

* Implemented query & bulk operations

* Fixed initial client reintialization problem

* Added custom client library path option

* Added oracle client library installation steps to dev docker file

* Testing changed docker setup on cloud

* Testing heroku app.json

* Removed unwanted scripts from dockerfiles

* Updated field label

* update oracledb client lib for ec2

* update package-lock

* refactoring code

* Updated docs

* Resolved some lint errors

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-03-15 08:00:02 +05:30
Sherfin Shamsudeen
eec83b4f13 Bump minor version 2022-03-11 12:05:17 +05:30
Sherfin Shamsudeen
cba9837d06 Merge branch 'main' into develop 2022-03-11 12:02:37 +05:30
Sherfin Shamsudeen
04ba701ac8 Bump patch version 2022-03-11 12:01:08 +05:30
Akshay
8bfd814b3a
Feature: Version deletion (#2492)
* add ability to delete versions

* add specs for version delete

* add check for preventing released version deletion
2022-03-11 01:44:37 +05:30
Kiran Ashok
2c5c66bfb1
Integration couchDB (#2337)
* feature :: couch db

* updates

* types update

* updated types

* couch db integration updates for crud opertations

* updates

* updated icon

* inlcluding port

* port addition

* crud updates

* updates including proper variables

* optimizing

* updates

* completed basic crud with couchdb

* updates

* view get option

* removing hints

* adding skip

* updates for adding params and mangoquery

* changing auth order

* adding condition check to conditionally add  and remove  params

* adding checks

* sepreated protocol and host

* updates

* included connection testing

* updated with pr suggestions

* couch db documentation

* updates

* fixed bugs , completed docs

* typo

* marking optional params

* optimizing

* image updated

* changed img for find

* updating list record query to include doc data

* updating couchdb docs :: include_docs key addition
2022-03-10 18:24:11 +05:30
Akshay
c6747ffb4a
make use of entityManager within migration backfill (#2475) 2022-03-10 12:21:34 +05:30
Sherfin Shamsudeen
0b60bb3b58 Bump patch version 2022-03-09 17:19:35 +05:30
Sherfin Shamsudeen
4db86f03cb
Hotfix/fix for missing query reassociations (#2471)
* Reassociate run query events and queries in backfill for new versioning system

* Promote the order of execution for AddApplicationIconColumn

* Do not create application_icon column if it already exists

* Consider table toggle actions while migrating
2022-03-09 16:56:03 +05:30
Maurits Lourens
9c6098688b
Remove the password from the apps request (#2461) 2022-03-09 08:35:33 +05:30
Sherfin Shamsudeen
f83b123ec1 Bump version to 1.4.0 2022-03-08 14:59:52 +05:30
Naveen Pandurangi
1cfffb902c
FIX #2375 - Incorrect error message when user email already exists (#2418)
* FIX #2375

Incorrect error message when user email already exists

* Remove console log

* Add existing user check before creating new user
2022-03-04 07:58:02 +05:30
Akshay
e81c7cdf93
fixes failing spec (#2425) 2022-03-03 22:05:19 +05:30
Akshay
0ea41d9a9b
Fix: Make use of db queries instead of in memory operations (#2421)
* make use of db queries instead of in memory operations

* handle case where version is not present

* fix app load on slug
2022-03-03 21:37:00 +05:30
Akshay
62044cbb41
Make editing version as last updated version (#2371) 2022-03-01 09:44:05 +05:30
Akshay
4d259ebd34
Fix: App version export order (#2367)
* fix app version export order

* add comment for querybuilder usage
2022-03-01 09:23:04 +05:30
Akshay Sasidharan
18c4d91016 Merge branch 'main' into develop 2022-02-28 14:42:09 +05:30
Akshay
fe93d2af7d
hotfix: update telemetry vars as documented (#2376) 2022-02-28 14:41:35 +05:30
Maurits Lourens
93af7cedcb
Feature: Add remove from folder option to apps dashboard (#2333)
* Add remove from folder option to apps dashboard

* Add confirmation modal
2022-02-28 08:45:03 +05:30
Sherfin Shamsudeen
bff40ea37a Merge branch 'main' into develop 2022-02-25 20:04:47 +05:30
Arpit
a6b72d387a
[Bugfix] multi-line SQL queries generated with Javascript (#2310)
* fixes multi-line js in sql queries

* add test case for multi-line string passes as optins to getQueryVariables
2022-02-25 20:04:05 +05:30
Akshay Sasidharan
1ee420ad52 bump version 2022-02-25 12:27:20 +05:30
Akshay Sasidharan
3b30205ac2 bump tooljet version 2022-02-23 19:07:19 +05:30
Akshay
c152be5d55
ping with tooljet version on telemetry endpoint (#2318) 2022-02-22 16:15:59 +05:30
Navaneeth Pk
e8fbe8a4e8 Bump ToolJet version 2022-02-17 22:10:26 +05:30
Akshay
98d6fb928e
Feature: Adds toojet hub telemetry endpoint (#2283)
* adds endpoint for telemetry on tooljet hub

* remove optional params

* enable telemetry only for prod env

* remove org scope
2022-02-17 21:49:53 +05:30
Akshay
3c0aeb3253
Fix: Remove trailing slashes on tooljet host on invite email (#2230)
* remove trailing slashes on tooljet host on invite email

* strip trailing slash only when host name is present
2022-02-17 14:41:43 +05:30
Navaneeth Pk
8a15765c38
Add organization to metadata modal (#2273)
* Add organization to metadata popup

* Fixes
2022-02-17 11:40:25 +05:30
Gandharv
87f385d727
Chore: update sentry sdk to 6.17.6 (#2220) 2022-02-10 14:30:43 +05:30
Shubhendra Singh Chauhan
85121ff29c
Updated template: create record query in store catalogue (#2212) 2022-02-10 14:26:08 +05:30
Navaneeth Pk
39b3317aed Bump ToolJet version 2022-02-08 12:43:10 +05:30
Akshay
28b72ef773
update package lock for bigquery (#2198) 2022-02-08 10:53:42 +05:30
Sherfin Shamsudeen
cba49a8813
Fix failing specs on oauth and templates (#2197) 2022-02-08 09:49:27 +05:30
Sherfin Shamsudeen
c64b68187a
Convert multiple fields to fx (#2170)
* Set visibility, loadingState and disabledState of all components to be displayed as UI

* Set fxActive of visibility, loadingState and disabledState of all existing components to true

* Remove unnecessary console.log from migration
2022-02-07 19:58:34 +05:30
Shubhendra Singh Chauhan
14c29ee92c
Added more templates (#2123)
* Added templates

* added new categories

* removed multiple versions in a template
2022-02-07 18:51:15 +05:30
Akshay
59cf3b1931
Fix: Googlesheets OAuth refresh token flow (#2118)
* implement google sheet oauh token refresh flow

* format lint

* make use of constructor name as instanceof fails

* remove unused import

* force consent to get refresh token on googlesheets ds
2022-02-05 07:09:40 +05:30
Navaneeth Pk
966e7b6d77 Merge branch 'main' into develop 2022-02-02 14:48:55 +05:30
Sherfin Shamsudeen
eb483d088a
Run only queries belonging to current version (#2016) 2022-01-31 14:11:58 +05:30
Akshay Sasidharan
7c0ca61012 Merge branch 'main' into develop 2022-01-31 12:16:12 +05:30
Akshay
fa78963ec2
Fix: Folder and app scopes on homepage (#2004)
* fix folder scope on homepage

* bump up version
2022-01-31 11:15:44 +05:30
Midhun G S
486b8625c3
[BUG-1941] typeorm findone fix (#1973)
* BUG-1941 typeorm fineOne fix

* e2e test case failure
2022-01-28 11:44:44 +05:30
Muhsin Shah C P
25aaf6c1f1
Added an organization 'role' field to the page that redirects after the email confirmation (#1944)
* Role field is added

* Resolving test failure
2022-01-27 20:56:35 +05:30
Midhun G S
5000f745b1
Github OAuth integration (#1837)
* Initial commit

* git auth

* git sso

* Git sso

* Git Oauth rebase

* review comments

* added email validation

* improvement

* Package lock revert

* E2E test case fix

* fix data population in migration

* Supress initial error thrown by google

* Fix

* e2e test cases

* added e2e test cases

* isValidDomain improvement

* e2e test cases fix

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-27 15:21:17 +05:30
Akshay
e3317aa5b7
Chore: Docker compose plugins dev (#1953)
* add plugins to docker compose

* build common

* change cmd

* build:pkgs

* fix'

* temp: add named vol

* update docker-compose for plugins dev

* update seed script to transpile only

* fix ci

* fix ci

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
2022-01-27 15:08:32 +05:30
Akshay
4f70e0b3f8
Fix: version find getting latest rec when not found (#1927)
* fixes version find getting latest rec when not found

* remove old spec

* fix e2e test
2022-01-25 13:09:50 +05:30
Akshay
56826c3183
Feature: Auto save editor and version management revamp (#1784)
* add modal to create init version

* add init version and ability to auto save

* auto save only when editing version is set

* Feature: App version management ui revamp (#1873)

* add modal to create init version

* add init version and ability to auto save

* auto save only when editing version is set

* revamp version switching on editor

* skip save on app definition load

* handle click outside dropdown

* fix remove component and update styling

* fix auto save detail

* change wording of deployed to released

* remove console.log

* add spec for version creation from another version

* update version create model and hide save detail after shown
2022-01-24 11:21:54 +05:30
Sherfin Shamsudeen
89e00af6f4 Merge branch 'main' into develop 2022-01-21 18:24:39 +05:30
Akshay
6418fc2d18
fix associated events on dataqueries on version creation (#1893) 2022-01-21 18:24:00 +05:30
Midhun G S
2f6608bf6f
[Home Page Design Changes] App listing style (#1808)
* feature-1802

* Changes

* feature-1802

* review comments

* Fix for firefox issue

* Styles Reveiw

* review comments

* fix

* fix

* Increased app title height condition

* Test

* Remove logging

* Review comments

* debounce changes
2022-01-20 18:35:37 +05:30
Akshay Sasidharan
21a20bfd78 Merge branch 'main' into develop 2022-01-19 18:21:08 +05:30
Akshay
888a5d6bf1
Hotfix: oauth provider parse (#1867)
* fix oauth provider parse

* bump version

* fix failing spec
2022-01-19 18:19:21 +05:30
Sherfin Shamsudeen
0a5cb30013 Do not return any data on signup 2022-01-19 15:02:36 +05:30
Gandharv
2f3b441c0a
Move plugins to root (#1728)
* feat: move plugins to root

* modify tsconfig

* add .gitignore

* delete old plugins file

* add parcel

* docker compose volume mount

* add gcs

* add typescript to plugins folder

* gcs to ts

* add dynamodb

* add elastic search

* add firestore

* add gsheets

* add graphql

* add mongodb

* mssql

* add mysql

* add postgresql

* add redis

* add s3

* add slack

* add stripe

* remove plugin related packages from pkgjson

* add lib folder

* add gitignore

* remove typescript generated files

* remove generated file

* remove generated files

* add twilio

* add dist to docker compose cache binding

* add dist prefix

* cleanup - 1

* delete dist

* rename to index.ts + add jest config

* add it.todo in tests

* test fixes

* test file changes

* fix type checks

* add @tooljet/plugins to server package json

* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0

* docker file npm package version fix

* add typesense

* cleaup - 2

* add sendgrid

* add lerna build and clean script for all packages + tsconfig

* cleanup -3

* add plugins build step

* add missing plugins build step in npm run build

* add mssql, mysql & postgres as singleton classes

* add db connection to cache only if datasourceId is available

* client: add data source schema/manifest files

* add query operations files

* logic for wrapping form with schema

* add script to create index file

* add @tooljet/plugins to frontend folder

* cleanup 1 -frontend

* cleanup - 2 // frontend // data queries

* add client and index to gitignore

* update gitignore

* fix lint & test

* update ci

* fix unit, e2e

* cleanup -3

* fix test

* fix tests

* fix indent

* try npm ci

* fix tests

* fix typo

* fix

* rename file for server entry

* heroku fix

* add main and types entry points in pkg json

* move common to root

* cleanup - 4: remove redundant $ sign prefix

* cleanup - 4: remove redundant $ sign prefix

* update options in-sync before DOM is painted

* change type cloud to cloud storage

* update readme

* update ci.yml

* update ci yml

* add pkg-lock.json

* rename index.ts to server.ts

* update lock files

* add server package.lock

* remove unused import

* revert commit: add minio

* add root dep

* import server.ts

* remove plugins build step

* add npm shrinkwrap

* update version - plugins

* add new version - 0.0.8

* upgrade version

* move to symlinked package

* add lock file

* feat: add icon inside package

* add plugin creation docs

* Remove seed

* move icons to plugins folder

* install pg dep

* add react to packages

* add seed cmd

* revert change

* add plugins build in lint, e2e, unit

* e2e, lint use npm ci

* update dockerfile for plugins

* try combining release with web

* limit memory on release

* try executing seed script post transpile

* try executing seed from server directory

* update seed execution

* add minio

* add correct type

* add minio to pkg json

* remove old file

* fix provider key

* add python installable + npm ^7.2.0 (#1752)

* add python installable + npm ^7.2.0

* add py to prod file

* pin npm version to 7.20.0

* pin npm version to 7.20.0

* split into multi stage build and remove python for buildx

* copy plugins from buider stage

* update dependencies

* add freetds dependency

* update server dockerfile

* update client dockerfile

* update dev dockerfile and compose file

* fix entrypoint

* fix server dev dockerfile

* update docker-compose

* remove npm install on root dir on docker build

* fix heroku script

* make lerna prod dependency to enable prod builds

* remove redundant env setup

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Muhsin Shah C P
3c99dd6fed
Added different border shapes for image widget (#1735)
* added different border types

* added migration file

* rounded-0 replaced with none
2022-01-15 10:38:13 +05:30
Sherfin Shamsudeen
9b1b19e831
Feature/templated library apps (#1820)
* add launch icon

* Set categories for app templates

* Display button with dropdown for create new app

* Show modal when "create from template" is chosen

* Implement template selection modal category list

* Filter and list app templates based on selected category

* Display template screenshot on templates modal

* Align template screenshot vertically and horizontally centered

* Deploy template app when deploy button of template modal is clicked

* Display data sources in template preview

* Add search functionality to template modal

* Show "no results" if templates are not found

* Display category counts on template list

* Add styles for darkmode

* Dark mode style updates for template modal

* Add dark mode template screenshots

* Correct template screenshot proportion

* Change text on deploy button of template modal

* Remove links to apps and library from dashboard

* Remove library apps

* Remove unnecessary import of deleted component Library

* Show loading icon when template is being created

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-15 08:07:05 +05:30
Midhun G S
21d63d2c99
Feature: Mongodb more operations support (#1717)
* feature-842 mongo support

* feature-842 fix

* json parse improvement

* Feature-842 date data type support

* feature-842 fix

* convert ejson to bson on mongo queries

* fix type on parse

* json parsing

* Typo error fix

* Insert Many Fix

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-14 13:53:57 +05:30
Midhun G S
1e103ad4b7
[Home Page Design Changes] Update icon API (#1787)
* Feature-1786 Update Icon API

* Update Folders.jsx
2022-01-12 18:04:39 +05:30
Sherfin Shamsudeen
4b8fbc5c74
Bugfix: resolve missing query associations on importing app (#1800) 2022-01-11 23:03:00 +05:30
Sherfin Shamsudeen
73d2bfc851
Revert "Bugfix: resolve missing query associations on importing app (#1798)" (#1799)
This reverts commit 45d6c6e3fb.
2022-01-11 22:58:22 +05:30
Sherfin Shamsudeen
45d6c6e3fb
Bugfix: resolve missing query associations on importing app (#1798) 2022-01-11 20:01:32 +05:30
Akshay Sasidharan
c6031d6a30 bump to v0.13.0 2022-01-07 14:54:34 +05:30
Akshay
783ed2133c
Fix: Archived user cannot login or perform authenticated actions (#1749)
* archived user cannot login or perform authenticated actions

* fix spec

* invalidate invite token on archive
2022-01-07 14:46:23 +05:30
Akshay
51f3c2f9ab
Fix: check on removing last active admin (#1714)
* fix check on removing last active admin

* fix typo
2022-01-06 16:08:18 +05:30
Akshay
adb04304da
Feature: Add minio datasource integration (#1662)
* add minio datasource integration

* fix import
2022-01-04 15:02:57 +05:30
Akshay
823833b12e
Feature: Versioning data sources & queries (#1620)
* add migrations for versioning datasources and dataqueries

* eslint migrations folder

* update ormconfig to use app context in migrations

* make app to make use versioned data sources and queries in editor

* app import should honor data source and query versioning

* register ts-node path on running migrations

* load data queries when finding versions

* update e2e tests

* handle for invalid oauth2 datasources

* update e2e tests

* introduce db migrations access lock to handle concurrent backfill

* scope migrations by missing version id

* fix import export without data source/query versions

* fix import

* fix spec

* handle invalid data on migration

* fix import

* remove console logs

* handle new app imports

* fix version check

* fix async creation

* explicitly add timestamps on version import
2022-01-04 13:34:12 +05:30
Bhavin Ag
10ee3639f1
chore(deps): update type deps to dev deps (#1715)
* chore(deps): update type deps to dev deps

* fix: update dependency as per latest npm
2022-01-04 09:42:15 +05:30
Akshay
682ed0d5aa
Ability to configure for custom CA certificates (#1711) 2022-01-03 09:42:22 +05:30
Akshay
e2dfbf038a
Feature: Unarchive users (#1694)
* add ability to unarchive users

* add e2e specs

* reset password on unarchive

* fix spec
2021-12-31 02:11:10 +05:30
Akshay
ad4baabf79
Feature: Customizable calendar date (#1656)
* make calendar week date formattable

* update version only if calendar is present

* Fix erroneous date format determination while migrating to custom week view date format

* Add documentation for calendar week view header date format style

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-29 15:36:45 +05:30
Arpit
210366ee3e
[improvement] Rest API query response-request (#1630)
* rest api query response-request

* remove console.logs

* add req/res obj to sidebar inspector: queries

* remove console.logs

* add collapseStringsAfterLength to restapi json comp

* fix typo convention

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-28 16:09:38 +05:30
Akshay
577e7b82b9
introduce db migrations access lock to handle concurrent backfill (#1628) 2021-12-27 17:11:35 +05:30
navaneeth
62f930987a Bump ToolJet version 2021-12-22 17:27:30 +05:30
Arpit
8a89bc8b71
[Feature] : SendGrid integration (Datasource API) (#1608)
* SendGrid integration

* unused logs

* unused logs

* update help text

* fixestypos for schema description

* fixestypos for schema description

* adding sendgrid docs

* updates logo from  Sendgrid's media kit

* sendgrid query schema updated

* fixes typos

* updates docs

* typos fix

* fix jest module transform

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2021-12-22 17:23:45 +05:30
Midhun G S
5bdd0fd6bf
Home Page Application search box (#1603)
* feature-1567 initial commit

* feature-1567

* freture-1567 App search box

* added default value for search key

* Loading fix

* Review comments

* Separated like query

* feature-1567 e2e testcases

* feature-1567 Fix

* feature-1567 fix

* feature-1567 fix
2021-12-22 14:37:37 +05:30
Sherfin Shamsudeen
a68a7b67d1
Feature/typesense integration (#1613)
* Install typesense npm package

* Implement CRUD operations using TypeSense

* Add documentation for typesense integration

* Rename apiKey to api_key and make it encrypted for typesense

* Add logo for typesense data source

* Add delete operation to typesense

* Add documentation for delete document

* Make protocol field a dropdown for TypeSense

* Additional documentation for TypeSense data source
2021-12-22 07:19:17 +05:30
Midhun G S
4f73a34365
Twilio SMS Integration (#1598)
* Twilio SMS Integration

* package lock fix

* package-lock fix

* Review comments
2021-12-20 11:49:00 +05:30
Akshay
fa9de160cc
add capability to add prefix on s3 listing (#1601) 2021-12-18 09:57:39 +05:30
Sherfin Shamsudeen
7a79695af7
Feature/disable password login (#1585)
* Add option to disable login/signup via username/password

* Add documentation for disabling login via username/password
2021-12-15 22:53:07 +05:30
Akshay
b26a23176c
Chore: Update user e2e tests (#1556)
* Update tests

* remove console log

* remove explicit db connection close

* remove reload usage
2021-12-14 16:32:03 +05:30
Arpit
f1457a1905
[improvement] Widget components #1475 - multi-select widget (#1535)
* upddated to new api & multiselect labels fixed

* backfill properties

* Expose default value of multiselect once the component is loaded

* Make multiselect reset to empty whenever option set is changed

* Whenever option set of multiselect changes, set it to default value if default value fits inside the new set of options

* Avoid crash in multiselect using ? operator.

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-13 21:43:09 +05:30
Midhun G S
d9c541ec83
BugFix-1555 Apps listing order fix (#1566) 2021-12-13 14:30:19 +05:30
Gandharv
6c90a1667b
Feature: undo/redo for canvas 🔥 (#1446)
* feat: add restore shortcut when component is deleted

* change toast messages to hot toast from toastify

* change toast messages to hot toast from toastify

* change toast messages to hot toast from toastify

* on key press match clear the pressed keys

* add react hotkeys hook and delete use-shortcuts custom hook

* change toast messages to hot toast from toastify

* add immer lib

* applyPatches from immer + add undo redo on appdefination changes

* remove notification on undo

* add can-undo + can-redo checks

* add missing can-redo to handlePatchAdd

* add component versioning on componentDefinitionChanged

* set default value of loading state to interpolated boolean false for table

* set canUndo on initial load to false

* fix last element not getting removed on undo

* Remove console log

* add migration to change loadingState for existing tables

* set loadingstate value based on the previous value

* fix: app crash on inspector opening

* add check for selectedComponentId inside components def

* update template definitions for loadingState

* fix alert for success, error, info for button notifications
2021-12-11 04:41:24 +05:30
Akshay
5b30aa2007
Chore: Setup pipeline (#1539)
* github actions for PR and push to develop branch

* test workflow

* move to workflows folder

* add setup node action

* modify build

* specify npm version

* config unit test

* specify host postgres

* specify container to run on

* add postgresql dependency

* add specify ws adapter for test

* add e2e test

* fix linting

* only log errors on tests

* update eslint config

* fix linting

* run e2e test in silent mode

* fix library app spec

* dont send email on test env

* fix org scope

* mock env vars

* remove reset modules

* force colors

* explicitly close db connection

* add eslint rule for floating promises

* update workflow

* fix floating promise

* fix lint

* update workflow

* run on all push and pulls

* update lint check files

* simplify workflow

* increase js heap size on env

* separate lint and build

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2021-12-10 08:43:05 +05:30
navaneeth
5b558588d9 Bump ToolJet version 2021-12-09 15:52:06 +05:30
Gandharv
9db30829fd
Add migration for global settings for old apps (#1545)
* migration: add migration for global settings

* add empty check for definition

* update template definitions

* set slug as null on definitions

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2021-12-09 15:47:56 +05:30
navaneeth
b4a5a3a16a Update helmet policy 2021-12-09 11:50:51 +05:30
navaneeth
50b98f0178 Bump ToolJet version 2021-12-07 21:21:18 +05:30
Akshay
bf13cf5e1c
Feature: library apps with templates (#1529) 2021-12-07 18:55:41 +05:30
Arpit
2b15fe6bdd
explicitly set frame-src & frame-ancestors directive (#1524) 2021-12-07 15:04:43 +05:30
Akshay
260cde50ce
Fix: folder create permission (#1518)
* fix folder create permission

* scope migration
2021-12-07 00:37:19 +05:30
Arpit
2b303c026b
[Feature] : Gsheet update operation (#1453)
* gsheet update op: schema and UI

* gsheet update op: server

* update operation for google sheet datsource api

* remove unsued comments

* backward compatiable: removed custom rule for sheet

* unsused consolelogs

* .

* Show gsheets update query body as a single-line codehinter

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-02 12:25:40 +05:30
Akshay
67f297db9a
fix specs (#1460) 2021-11-25 18:16:39 +05:30
navaneeth
4af865b8cd Bump ToolJet version 2021-11-25 14:22:39 +05:30
Sherfin Shamsudeen
3e3955844a
Consider parent container width only if parent container exists while migrating to responsive (#1455) 2021-11-24 23:04:11 +05:30
Sherfin Shamsudeen
598a46f76b
Fix failing oauth specs due to change in permissions (#1422) 2021-11-21 09:44:54 +05:30