Commit graph

1076 commits

Author SHA1 Message Date
Midhun G S
044d1083eb
remove token data from app export (#6035) 2023-04-14 15:37:42 +05:30
Sherfin Shamsudeen
6b0fb48eea
Merge pull request #6030 from ToolJet/main
Merge main to develop
2023-04-13 21:45:27 +05:30
gsmithun4
9b27f0f122 bump version v2.4.3 2023-04-13 21:33:59 +05:30
Midhun G S
7a82f4a981
Merge pull request #6024 from ToolJet/main
Merge main to develop
2023-04-13 16:04:37 +05:30
Midhun G S
6dd8d70de1
bump version (#6023) 2023-04-13 15:56:38 +05:30
Midhun G S
eceff7bb21
Fix for Authorize Oauth API not accessible (#6022) 2023-04-13 15:16:09 +05:30
Arpit
6d2e2046cf
Feature : OpenAI plugin (#5975)
* openai plugin init

* admin private route with admin access only

* update dev mode check
2023-04-11 11:07:27 +05:30
Midhun G S
2f2e79f3be
Merge pull request #5978 from ToolJet/main
Merge main to develop
2023-04-10 16:53:17 +05:30
vjaris42
869c1daa5c
Fixes query duplication on import on apps having multiple versions (#5971)
* fix: app import with multiple versions

* clenaup
2023-04-10 14:03:30 +05:30
Arpit
117d74b720
Chore: eslint checkup (#5887)
* updates eslint configs: frontend, marketplace

* eslint fixes: frontend

* added note for eslint

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-04-10 11:26:23 +05:30
Muhsin Shah
3d57e64d2c fix: yjs token 2023-04-07 13:25:02 +05:30
Muhsin Shah C P
6c1c692b12
fix: conflict b/w yjs auth_token and session token (#5962) 2023-04-07 13:10:43 +05:30
vjaris42
891bed5455
Fixes app import on different workspace (#5957)
* fix: app import on different workspace

* added schema details

* changeQueryDataSource fix

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-04-07 11:48:20 +05:30
gsmithun4
a2c2aaec54 bump version v2.4.0 2023-04-06 17:57:33 +05:30
vjaris42
542aa5b278
API Support for getting data source options under a datasource (#5948)
* feature: multi env support for datasources

* revert: datasources by env id api

* revert: datasources by env id api:frontend

* lint fixes

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2023-04-06 17:52:28 +05:30
Muhsin Shah C P
32740743e1
[Improvement] URLs scoped with workspace id (#5487)
* add: new URL prefix

* fix: working on home page

* add: profile path

* playing with rxjs

* removed context part

* working on path changes

* changing routes
- TODO: replace the workspaceId with actual id

* redo: public apps path

* initial commit

* added authorize API

* remove privileges from auth response

* fixed some api issue
- added subscriptions

* fix: redirect url workspace-id null issue

* fix: switch workspace

* fix: organization list mapping
- menu item paths

* fix: preview url
- editor, viewer permission mapping

* jwt fix

* fix: some url issue
- permission mappings
- workspace login

* fixed some issues
- user invite workspace-id
- org settings menu item default selected item issue

* app viewer fixes

* fixing workspace login issues

* fix

* fixing issues
- tooljet db
- path issues
- refatoring the code

* fix: workspace vars permissions

* fix: multi-page handle

* fix: create app from template

* fix: bulk user upload

* fix: import app
- clone app
- upload profile image

* fix: onboarding

* fix: log out

* fixed multi-workspace logout issue

* fix: launch btn

* fix: oauth2

* fixes

* fix: sso login

* fix: workspace sso login

* fixing sso issues

* fix: moved list of orgs to rxjs
- fixed switching issues

* reverting some changes

* fixed some minor bugs

* fixing sso redirect url issues

* fix: switching network timing issues

* fix: back to workspace-id

* fix: tj-database
- refactored the code - removed org id from some pages
- will get the org id from the service file only

* fix: multi-pages

* fix: infinite loop issue

* fixing workspace switching issue

* fixes
- comment link
- logout & private route redirect url

* fix: wrong uuid error

* fixing subpath
- fixed most of the places
- need to test & fix workspace login, sso, new account

* fix: subpath workspace login

* fix: rxjs handle bug

* Revert "fix: tj-database"

This reverts commit 9632ec2ff0.

* fix: reverted tj-db changes

* fix: subpath sso

* typo fix

* fix: existing session issues

* new: switch workspace page

* fix: modal dark-mode

* added default sso support

* fixes
- subpath workspace switching
- handle wrong routes

* fix: manager user button
- refactored the code

* removed SINGLE Workspace feature

* rebase

* add: change modal text

* fix: added validation

* fixed private app 401 issue

* initial commit

* fix: logged out session multi-tab issue

* refactoring the code

* fix: redirect url issue

* added auth-token in cookies

* Fix: failing e2e specs

* added session API

* fix: backend session guard

* fix: removing user details from local storage

* fix: null wid

* undo and redo

* fix: login page

* fix: viewer login redirection

* fix: login page redirection

* fix: public apps logout issue

* added session storage and scheduler

* added profile api

* fix: sso login
- switch workspace
- login page
- setup admin

* working on fixes

* fix: socket issue

* fix: setup admin api

* connected profile & logout apis

* fix: malfunctioned auth token case

* fix: realtime avatar

* fix: profile avatar

* fix: Realtime cursors avatar

* setting max age for auth token cookie

* add: Go to login page if logout api returns 401

* fix: subpath login

* fix

* fix: app logout [viewer]

* fix: authorize page

* remove expiry from jwt

* fix: integrations route
- session api

* small fix

* fix: updated profile

* fix: workspace login [logged user]

* fix: oauth and another workspace page issue

* fixed app preview logout issue

* subpath fix

* fix: subpath app id

* fix: selected state didnt change for apps page [subpath]

* fix

* add cookie parser to test app

* specs added

* increased user session expiry time

* test: session & new apis

* working on test cases

* fix: onboarding issue

* fixing specs

* fix: test cases

* fix: removing profile api calls

* some fixes

* fixing rebase issues

* fix: global ds issues

* fix: app is crashing

* fix: back to text

* fix: oauth test cases

* fix: test-helper

* fix: onboarding test cases

* fix: tests again

* refactoring the code

* latest develop merging precautions
- fixed a minor null issue

* fix: typo

* fix :menu issues due to the merging

* fix: - clicking on tooljet logo didnt redirect to login page for public apps
- private app preview doesnt load after login

* subpath fixes

* fixed back to issue

* PR changes

* fix: spec fixes for EE

* doc: URL scoped for workspace

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-04-06 16:42:58 +05:30
gsmithun4
e1e217cbf0 release v2.3.0 2023-03-31 14:35:35 +05:30
Midhun G S
c6cd35cd94
fix for query event mapping to other query breaks (#5892) 2023-03-31 14:34:18 +05:30
Ajith KV
bd7b53a540
Fix: database migration from v1 to latest develop (#5863)
* modify column name

* remove console log
2023-03-29 15:18:05 +05:30
Kiran Ashok
49fce7a818
Feature/onboarding phonenumber (#5773)
* feat :: added phone number input

* Add:  phone number to signup api

* revert some changes

* cleanup logs

* feat :: cloud phone number addition

* service

* check for phone input

* add: ph number to onboarding & setup-admin apis

* validation for phone number

* check for wrong phone number case

* adding check if phonenumber is present

* fix :: conditions for active button

* removed validation

* fix :: dark mode style

* lint fixes

---------

Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
2023-03-24 21:47:41 +05:30
vjaris42
bb9a211e55
[Feature] :: Global datasources (#5504)
* add: columns and migrations for data queries and sources

* add: migrations for app environments

* fix: datasources and queries api

* fix: import apis

* add: radixui colors

* create: global datasource page

* fix: version creation not including global datasources queries

* fix: version deletion failure

* fix: ui and other bugs

* add: check for abilities on global ds

* fix: bugs

* fix: existing test cases

* fix: migration and bugs

* fix: rest api oauthorize bugs

* hide: add button for local ds

* fix: query bugs

* fix: new organization environment creation

* fix: local ds label showing for new apps

* fix: on page load queries for preview app and published app

* fix: import bugs from v1

* fix: merge conflicts

* fix: import apis

* fix: apss with mulit envs

* fix: ui bugs

* fix: environments not being created on db:seed

* fix: ui bugs

* fix: route settings for global datasources

* fix: customer dashboard template

* fix: local ds queries not being saved

* fix: runpy issues

* changes: ui

* fix: migration issues

* fix: ui

* hide datasources when no local datasources

* fix: test cases

* fix: unit test cases and global queries on app import/export

* cleanup

* add: package-lock file

* undo: migration rename

* cleanup

* fix: ui bugs

* migration fixes

* fix: dark mode issues

* fix: change datasource failing on query create mode

* fix: workspace selector issues

* fix: clickoutside for change scope option

* migration changes

* fix: open api issue

* reverting configs changes

* [Fix] Global datasources & Environment Id issue (#5830)

* fix: oauth env id issue

* code changes

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
2023-03-24 21:41:21 +05:30
Adish M
4cd8839d44
Fix for entrypoint.sh file to take default port value 5432 in database_url (#5824)
* Fix for entrypoint.sh file take default port value 5432 in database_url

* Added information about database_url in docs

* mentioning what variable needs to be given when passing string

* fix for lint issue in ci

* fixing syntax errors
2023-03-24 20:54:40 +05:30
Arpit
7dea6c9ad1
Enhancements to the process of developing a Marketplace plugin (#5777)
* in dev mode, start watching for changes in all packages

* plugin reload service

* typo

* fixes updates from fs

* checks if marketplace dev mode is on to decode the run code from plugin index file

* clean up

* removes console.log

* refactor: marketplace dashboard

* prep to merge

* dotenv

* fixes: install new upadates for one plugin at a time

* fixes app crash for new plugins(marketplace/datasource) with default schema

* avoid creating docs for marketplace to root docs

* Before starting watcher, build the marketplace once.

* fixes: installed plugin crashes if deleting the entire plugin from the dir, but the build still haves the plugin files
2023-03-24 17:05:08 +05:30
Adish M
17ea045428
Fix for Tooljetdburl (#5808)
* Fix for Tooljetdburl

* changes

* fixed

* final
2023-03-22 01:19:13 +05:30
Kavin Venkatachalam
4c94de899d
Updated React to 18.2.0 (#5555)
* updated react to 18.2.0

* Updated Frontend Packages (#5569)

* Updated tabler icon and fixed react hot keys issue

* Fixed vulnerabilities

* Updated dom purify and yjs

* Reverted Eslint update

* React-big-calendar update

* Updated and fixed changes related to react-bootstrap

* Updated eslint package

* Fixes react-select-search ui

* Updated packages in root

* Updated & Fixed React-tooltip changes

* Updated and fixed changes related to react-router-dom

* Fixed copyToClipboard bug on usersTable

* Fixed folder popover issue and comment issue

* Fixed flickering issue on Editor

* Fixed routing and dark mode bugs

* Fixed app crash on page options click

* Fixed SVG issues in data sources

* Fixed calendar widget crash

* Fixed popover issue in table

* Fixed dark mode issue on react-select-search

* Fixed popover issue in tooljetdb table

* Fixed popover issue in pages

* Fixed search bar crash

* Fixes dark mode issue on react-select-search

* Resolved conflicts
2023-03-20 17:04:24 +05:30
Adish M
46c134916e
fix for database url (#5756)
* fix for database url

* correction

* debug

* corrections

* corrections

* changes in .env example file

* corrections

* corrections

* changes for TOOLJET_DB_URL

* corrections

* naming corrections
2023-03-20 11:45:00 +05:30
Arpit
f098f447d1
fixes: integrating plugins from marketplace (#5678)
* fixes: integrating plugins from marketplace to apps

* clean up

* update deps: markeplace to node 18

* adds plivo

* updates plivo icon

* fixes app crash on clicking sidebae datasources popup

* fixes app crash for rendering selected ds form from leftsidebar

* fixes app crash for loading installed plugins

* fixes: updated correct plugin id to testconection

* init

* updates s3 plugin name

* checking if marketplace flag is "true"

* updates github svg

* plugin icon fix

* fixes:components werent rendering if marketplace plugin queries were used

* github plugin: error message for invalid creds

* fixes: typos

* fixes multiple installation of the same plugin
2023-03-16 18:17:25 +05:30
Muhsin Shah C P
45cd637bde
fix: env id issue (#5683) 2023-03-16 16:06:27 +05:30
Midhun G S
1004dc6554
release 2.2.2 (#5739) 2023-03-13 15:31:52 +05:30
Sherfin Shamsudeen
1f07592634 Bump version to 2.2.1 2023-03-07 12:41:01 +05:30
gsmithun4
0fe7dda015 e2e test case fixes 2023-03-02 19:48:20 +05:30
Sherfin Shamsudeen
c86c460d1d Bump version to 2.2.0 2023-03-02 18:54:59 +05:30
Arpit
fd75a393c4
Fixes error for setting up default value for on creating a new column (Tooljet database) (#5595)
* validate email as default value

* updates error message for default col value
2023-02-27 17:11:07 +05:30
Muhsin Shah C P
7f020ef296
[bug-fix] The public app is redirecting to the login page if the user token expired. (#5461)
* fix: public app issue
- removed auth guard from metadata api

* add: removed auth token from metadata apis

* PR changes

* redo: auth guard

* reverting some changes
2023-02-24 09:32:09 +05:30
Sherfin Shamsudeen
3d40dfe597 Bump hotfix version 2023-02-23 18:13:55 +05:30
Manish Kushare
8bb7102981
Added option to set the default language for the instance (#5445)
* added instance for the language

* added instance for the language
2023-02-23 12:38:19 +05:30
Sherfin Shamsudeen
4bb7aad4e5
Merge pull request #5580 from ToolJet/main
Marge main to develop
2023-02-19 00:50:20 +05:30
Midhun G S
41dbbb2e34
bump version (#5579) 2023-02-17 11:20:49 +05:30
Arpit
10f81fa366
Hotfix - backfill for runpy quries v1 (#5577)
* creates a new runpy data source and attaches all such queries to it

* clean up

* clean up
2023-02-17 11:14:30 +05:30
Midhun G S
1e26e11872
version name dto validation fix for version update (#5567) 2023-02-15 17:23:12 +05:30
Muhsin Shah C P
db4160a819
[improvement] Renamed the column read_on_dashboard to hide_from_dashboard (#5291)
* renamed the column

* refactoring the code
2023-02-14 15:41:55 +05:30
Suraj Rane
fda6de4a0c
Fixed version name sanitization on editing versions (#4570)
* Fixed Version name sanitization on editing versions

* Fixed linting errors

* Fixed definition type for version edit DTO

* Fixed e2e tests for version edit

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2023-02-13 15:35:22 +05:30
Midhun G S
e93172d9da
bump version (#5532) 2023-02-10 20:06:41 +05:30
Midhun G S
dfff847bd3
fix for query events mapping breaks on new version (#5490) 2023-02-10 19:38:15 +05:30
Midhun G S
b389c96ffb
[Bug] app templates not working (#5525)
* fix for app templates

* fix
2023-02-10 19:37:25 +05:30
Mike
440026b1f7
feature: folder dto validation (#4849)
* feature: folder dto validation

* fix: body createFolderDto

* fix: add dto validation to folder name

---------

Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2023-02-10 15:45:40 +05:30
Sherfin Shamsudeen
75b6824cb5
Merge pull request #5486 from ToolJet/main
Bump version to 2.1.1 (#5485)
2023-02-06 17:53:27 +05:30
Sherfin Shamsudeen
80e2c62124
Bump version to 2.1.1 (#5485) 2023-02-06 17:52:09 +05:30
Kavin Venkatachalam
1efcec9e09
[Feature]: Update Node from 14 to 18 (#5393)
* Updated package.json to support node 18

* Updated package-lock.json with force install

* Updated frontend package.json

* Updated server package.json

* update frontend package-lock.json

* update render dockerfile

* update dockerfiles for node 18

* update node version in actions

* fix setup script for AMI

* install using nvm

* debug

* source bashrc

* change ami os version

* change base ami

* make use of ubuntu focal lts version

* update script

* change branch name

* revert branch name

* update workflow

* node upgrade [plugins] modules updated (#5482)

* modules updated

* adds saphana and oracle package

* adds saphana and oracle package

* eslint rules for -unresolved and resolved properties

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2023-02-06 17:38:44 +05:30
Midhun G S
09dd0c165b
Merge pull request #5484 from ToolJet/main
Merge back hotfix to develop
2023-02-06 17:37:39 +05:30
Jittojoyes98
c5becae6eb
Update dto API completed (#5456)
* Update dto API completed

* Fixed file name

* Fixed order of class validator

* Error message shown
2023-02-06 14:07:55 +05:30
Midhun G S
19512b6d4e
fix for onboarding error (#5468) 2023-02-02 17:41:06 +05:30
Sherfin Shamsudeen
174db58aaf Merge branch 'develop' into release/2.1.0 2023-02-02 16:38:08 +05:30
Midhun G S
699f28f318
fixes for e2e test cases (#5451) 2023-01-31 17:13:04 +05:30
Sherfin Shamsudeen
f7231a2021 Bump version to 2.1.0 2023-01-31 13:56:55 +05:30
Akshay
263a14db1c
Add app count for telemetry (#5446) 2023-01-31 13:14:25 +05:30
Arpit
e4ab9299ad
validation error message for columns includes the column name (#5358) 2023-01-27 15:04:13 +05:30
Akshay
7a2659dbb0
fix: show only command related errors (#5009) (#5429)
Co-authored-by: vjaris42 <vjy239@gmail.com>
2023-01-25 14:49:44 +05:30
vjaris42
07ca4710c9
[Fix] :: Check for subpaths in openapi (#5383)
* add: check for keys as subpath

* chore: remove eslint disable
2023-01-25 12:52:21 +05:30
Midhun G S
ef121139ea
lint fixes and sso configs save bug fix (#5425) 2023-01-25 12:50:22 +05:30
Mike
c85865f94f
fix: able to delete the only version (#5123)
* fix: able to delete the only version

* fix: able to delete the only version-update1

* fix: merge fix
2023-01-25 11:40:05 +05:30
tanishk-23
d5e7bbc53d
Bug: Added workspace title length validation while editing (#4671) 2023-01-24 01:53:28 +05:30
Mike
5409133066
chore: add backend version name length validation (#4938)
* chore: add backend length va
lidation to version name

* update: use MaxLength Minlenght for version name dto validation

* fix: dto version name validation

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2023-01-24 01:49:29 +05:30
Midhun G S
93628381d2
Merge branch 'develop' into merge-main/v2.0.4 2023-01-20 22:10:29 +05:30
Midhun G S
2274ac0f31
Bump version (#5381) 2023-01-19 21:08:53 +05:30
Muhsin Shah C P
1230551988
[bug-fix] Public app is redirecting to login page [Subpath] (#5338)
* fix: sub path issue

* fix: preview app login issue
2023-01-19 20:56:34 +05:30
Midhun G S
a7fa7c2fd4
Merge pull request #5356 from ToolJet/merge-back/2.0.3
Merge back/2.0.3
2023-01-18 16:27:35 +05:30
Akshay
82b8ade050
add internal table count for telemetry (#5285) 2023-01-18 14:19:20 +05:30
Sherfin Shamsudeen
d0548e55ca Merge branch 'main' into merge-back/2.0.3 2023-01-17 20:13:10 +05:30
Sherfin Shamsudeen
3683b04631 Bump version 2023-01-17 19:57:26 +05:30
Sherfin Shamsudeen
948456dd08 Merge branch 'main' into merge-back-main-2.0.2 2023-01-13 13:47:57 +05:30
Sherfin Shamsudeen
8e761a6f41 Bump patch version 2023-01-13 13:40:28 +05:30
vjaris42
22b349c8e8
fix: password reset on save for encrypted fields (#5323) 2023-01-13 12:13:13 +05:30
Sherfin Shamsudeen
1bd3e10a70 Bump patch version 2023-01-11 18:49:48 +05:30
Adish M
becb00bb4b
removed seeding trytoolj (#5294) 2023-01-11 18:44:11 +05:30
Midhun G S
6eb7dc84bf
app import fix (#5283) 2023-01-11 13:36:57 +05:30
Sherfin Shamsudeen
b2aa1034a6
Bump version to 2.0.0 (#5284) 2023-01-10 13:46:01 +05:30
Akshay
440c4d73f9
fix create db script (#5279) 2023-01-09 23:38:39 +05:30
Adish M
1ebc8b877d
Chore tooljetdb env (#5267)
* Update digitalocean.md

* Update heroku.md

* Update google-cloud-run.md

* Update docker.md

* Update kubernetes-aks.md

* Update kubernetes-gke.md

* Update ecs.md

* Update google-cloud-run.md

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

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

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

* fix :: called temeltry api on setup sucees

* revert merge

* update endpoints for new onboarding data

* adding try catch

* added try catch for APIs

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

* fixed new issues

* skip: tooljet_db specs

* added comment

* typo

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

* fix

* fixes

* typo fix

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

* add support links

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

* update docs for digital ocean and ec2

* update doc

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

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

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

* fixes

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

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

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

* fix: null lastname on multisearch

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

* restrict routes when tooljetdb is disabled

* validate dbname before creating database

* fix comment

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

* fix

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

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

* footer component with pagintion ui basic styles

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

* open create row drawer from footer button

* border color for dark theme footer button

* cleaned

* pagination

* fixes: input value

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

* adds constraints for psql reserved keyword for column name

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

* update render.yaml for pgrest values

* update env vars

* revise db name
2022-12-26 13:45:21 +05:30
Midhun G S
f77ca5c8e5
v2-beta data migration fix (#5045) 2022-12-23 18:28:10 +05:30
Muhsin Shah C P
9517dde19e
Fixing intercepter bug (#5044) 2022-12-23 17:21:13 +05:30
vjaris42
120a7b310c
fix: last name null issues (#5043) 2022-12-23 13:27:08 +05:30
Akshay
602b1b4ad3
Feature: Tooljet Database (#4951)
* wip

* internal db per workspace

* fix async query

* feat: add storage layer route

* feat: add drawer component

* feat: add react-table to load data

* feat: add columns form

* feat: add create column form, create row form

* feat: add postgrest js

* add tooljet db controller to proxy requests to postgrest

* util: add postgrest filter builder helper utility

* feat: add filter popover

* use helper utility for building query

* add sortable filters

* add box shadow for filter popup

* use overlay trigger

* use react select

* add new column addition

* add dropdown for table header, table list

* Move filter.jsx

* feat: add sort popover

* feat: add postgrest js .order fn

* setup tooljetdb with restricted grants for users

* make db schemas added loaded dynamically on postgrest server

* fix query

* sign jwt token to auth user at postgrest

* update db schema user with workspace

* chore: add table listing

* update data and columns from api

* feat: add context api for sharing data

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

* use columns for sort from context api

* fix ormconfig

* feat: add table listing integration

* feat: add create table integration

* fix for rds deployment

* add internal table translation instead of schema

* remove tooljetdb as a datasource

* wrap placeholder on proxy query

* add active workspace guard

* scope tooljetdb by workspace

* update active workspace guard

* seperate proxy related concerns to different service

* make use of org id param

* rename storage layer to tooljet databse

* update specs

* feat: Update list when new table added

* feat: add create column

* chore: add orgId to url + misc changes

* chore: move popover to separate file

* remove unused var

* rename files

* feat: add multiple columns

* feat: add new row

* removes postgrest-js from pkg lock

* feat: add row data

* feat: add sorting

* feat: allow row deletion

* feat: add search

* feat: add filtering

* feat: add edit mode

* feat: add columns while edit table

* add view table action

* update setup for column constraint

* fix query

* integrate view_table, primary key field

* render toogle for boolean data type

* update view table query for primary key

* fetch metadata refactor

* add capability to set default values

* feat: allow deletion of record based on primary key

* feat: add default value while creating column

* send query from sort & filter component

* css changes

* allow empty data

* add requested changes

* add err message

* add common fn

* allow sort + filter

* remove unwanted defaults key

* css changes

* add more operators

* dark mode fixes

* add drawer footer

* add loader for list tables

* add dashboard design changes

* design changes

* add capability to drop table and delete column

* add breadcrumbs

* design changes

* add profile

* refactor tooljetdb controller

* update routes

* add empty page changes

* delete column fix

* fix delete column

* design changes

* fetch tables post delete

* homepage changes

* hide ellipsis on hover

* add org settings page

* add edit + create org

* add notification center

* fix: group permissions switch issue

* add logo

* remove anchor tag

* fix merge conflicts

* css changes

* add err boundary

* setup query editor

* css changes

* fix: merge conflicts

* add menuPortal prop to filterform and sort form

* fix seed

* fix: build

* design changes

* design changes + refactor code

* fix imports

* fix: drawer issue on delete table

* add search box changes

* fix: tablename max-length 255

* fix: set newly created table as selected item

* remove edit column option

* added badges to enterprise only features

* disable edit column

* table styles

* fix: popover position, placeholder default

* fix: display boolean values in table

* fix: tooljet database default type values

* css changes

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

* dark mode fixes

* remove Header component

* add ability to delete tooljetdb rows from query manager

* add ability to update tooljetdb rows

* dark mode fixes

* css changes

* display actions icon on hover

* folder onclick change

* add empty page styles

* fix proxy requests

* feat: randomize icon creation

* add max items per page prop for pagination

* removes unwanted position attr

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

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

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

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

* remove invalid migration

* skip migration if tooljet db already created

* fix: app clone icon param

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

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

* typo

* Revert "typo"

This reverts commit b5ce5ed889.

* cleaned

* cleaned

* show confirmation box if filter options are empty in query

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

* refactored list rows operations

* remove unwanted cls

* refactor create row

* reafactored update rows

* refactored delete rows

* padding fix for tj-query

* add static templates

* review changes

* remove unused file

* Chore: tooljetdb render setup (#5033)

* add postgrest for render preview deploy

* pin version

* add healthCheckPath

* remove health check

* handle database url parsing db params

* add defaults for tooljetdb env

* fix hostname

* handle env in migration files

* refactor dbconfig build

* fix pg db usage

* add parsed env context

* add tooljetdb env

* refactor db config utils

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-12-23 02:09:57 +05:30
Muhsin Shah C P
7d1fbf5ab0
[fix] Data source only updates production environment values (#5029)
* fix: update data sources

* adding env id for create

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