Commit graph

783 commits

Author SHA1 Message Date
Midhun G S
47faa1f8d9
Merge pull request #6051 from ToolJet/main
Fixed running subsequent actions in runjs (#6050)
2023-04-17 17:47:18 +05:30
Kavin Venkatachalam
1c9b678d7d
Fixed running subsequent actions in runjs (#6050)
* Fixed running multiple actions in runjs

* bump version
2023-04-17 17:10:48 +05:30
Kavin Venkatachalam
2148baca8b Resolved conflicts 2023-04-14 18:04:59 +05:30
Kavin Venkatachalam
a332ba7651
Release v2.4.5 (#6034)
* Added close modal on clicking outside property

* bump version
2023-04-14 17:40:40 +05:30
Sherfin Shamsudeen
08269d7424
Merge pull request #6044 from ToolJet/main
Merge Main to Develop
2023-04-14 17:13:28 +05:30
vjaris42
b955d30966
fix: app import (#6043) 2023-04-14 16:59:27 +05:30
gsmithun4
58904ad9ee Release v2.4.4 2023-04-14 15:39:54 +05:30
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