Commit graph

562 commits

Author SHA1 Message Date
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
Midhun G S
e620e2f880
Hide user details in home and groups page (#3722)
* Hide user deatils in app and groups page

* test case fix

* test case fix
2022-08-03 13:50:47 +05:30
Sherfin Shamsudeen
7a30613c51 Merge branch 'main' into develop 2022-08-01 13:43:53 +05:30
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