Commit graph

2540 commits

Author SHA1 Message Date
Ajith KV
05db8affa4
Add data-cy for edit workspace button (#5942) 2023-04-20 10:29:19 +05:30
Midhun G S
963a7130bc
Merge pull request #6073 from ToolJet/main
Merge Main to Develop
2023-04-19 21:40:27 +05:30
Kiran Ashok
cafbc8dc8b
fix :: Line height dropdown (#6058)
* fix :: line height dropdown

* added default padding

* revert change
2023-04-19 16:58:11 +05:30
Kavin Venkatachalam
f2318dd1b4
Added date sorting on table widget (#6055)
* Added date sorting on table widget

* Fixed picking the right field on date sorting
2023-04-19 14:53:28 +05:30
Kavin Venkatachalam
b992662c43
Making app to run on React 17 (#6054) 2023-04-19 14:53:11 +05:30
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
Kavin Venkatachalam
2586fd649f
Fixed issue on running app load queries multiple time for the released app (#6040)
* Fixed issue on multiple app load

* Removed unwanted code and added comments
2023-04-14 15:38:13 +05:30
Sherfin Shamsudeen
6b0fb48eea
Merge pull request #6030 from ToolJet/main
Merge main to develop
2023-04-13 21:45:27 +05:30
Kavin Venkatachalam
cc92f2f09b
Fixed exposing currentUser issue (#6028) 2023-04-13 21:32:10 +05:30
Akshay
a00e431de9
Merge pull request #5753 from ToolJet/fix/tjdb-same-col-filters
Fix: Tooljet database filter conditions using same column
2023-04-12 21:53:36 +05:30
Midhun Kumar E
97e1a73dc8
Add data-cy for modal components (#6015) 2023-04-12 12:54:16 +05:30
Kiran Ashok
a438bf35ee
Adding scroll for container widget (#5877)
* adding scroll for container

* added container for scroll

* feat:: added container widget scroll

* updated container doc

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-04-11 16:05:19 +05:30
Arpit
636c4a62c5
[chore] Eslint fixes (#5988)
* lint fixes: frontend

* lint fixes: marketplace

* lint fixes: plugins-client js files

* typo fix

* eslint updates/fixes for marketplace

* eslint updates/fixes for plugins

* removing "@typescript-eslint/no-floating-promises for plugins"

* ignore client.js and server.js

* ignore client.js and server.js

* ignore client.js and server.tss

* Delete client.js

* ignore cypress-test/**
2023-04-11 15:34:58 +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
Muhsin Shah
4836874d68 fix: query handler issue - query success message is also showing with error toast 2023-04-10 16:11:40 +05:30
Avirup Banik
a7cb6817b1
Fixed the typo in event handler screen in page menu (#5930)
* Fixed the typo in event handler screen in page menu

* Updated the code as per suggestion
2023-04-10 13:53:13 +05:30
Midhun Kumar E
9b4914b8c5
Added data-cy to fix cypress specs on v2.3.1 (#5974)
* data-cy changes -temp

* Revert unwanted chanches
2023-04-10 12:08:13 +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
2dc6ae8e4b fix: subpath table column drag svg image issue 2023-04-07 18:57:04 +05:30
Arpit
9ad8b72b83
Improvement - handle resolved data structures from pyproxies (#5904)
* handle resolved data structures from pyproxies

* removes console.log
2023-04-07 16:30:50 +05:30
Muhsin Shah
a76e4189d3 fix: editor switch workspace issue 2023-04-07 14:58:47 +05:30
Muhsin Shah
a5fb655133 GD editor link issue 2023-04-07 12:40:42 +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
Midhun G S
6bbec4f081
global data source improvement (#5958) 2023-04-06 21:10:14 +05:30
gsmithun4
774fb9e437 Fix for app-environments API service 2023-04-06 18:15:51 +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
Muhsin Shah C P
7dbebd5534
fix - App version Issues (#5882)
* fix: app version issues

* fix: creating version

* fix: editing version issues
2023-03-31 19:59:06 +05:30
vjaris42
7e6a446619
Refactoring for Global Datasources Modal and UI (#5871)
* fix: styling issues and states for global ds modal

* fix: close button dark mode issue

* fix: svg color for back button on datasource manager
2023-03-30 12:42:05 +05:30
Kiran Ashok
e52bc6147d
Fix :: Bug in phone number input during enter key press (#5879)
* fix :: bug in country select

* typo fix
2023-03-30 11:03:29 +05:30
Kavin Venkatachalam
d6a8551cfa
Fixes for integration issues (#5857)
* Fixed issue while running multiple quesries on app load

* Fixed event propogation issue from modal

* Fixed fx value on dynamic column in table

* Fixed routing issue

* Fixed Kanban empty data issue
2023-03-29 15:38:33 +05:30
Arpit
ceb8521e66
Improvements marketplace - beta (#5858)
* adds marketplace icon to the dashboard and minor UI fixes

* fixes: capitalizeFirstLetter for toast message

* updates to docs: how to build marketplace plugin

* update confirm dialog box

* removing beta tag from leftsidebar

* updated tooltip
2023-03-29 14:31:54 +05:30
Muhsin Shah C P
144b055dda
fix: sso login error message doesn't show (#5866) 2023-03-29 14:22:49 +05:30
Kavin Venkatachalam
0c6419464a
Added dynamic column support in table widget (#5792)
* Created dynamic column in table widget

* Added column data field in table inspector

* Fixed generating previous dynamic column when dynamic column toggle is turned off

* Updated logic to display dynamic column

* Fixed issues on editable & updated logic

* Fixed issue on displaying dynamic column in viewer
2023-03-28 16:25:23 +05:30
Arpit
233f47630c
Efficient Integration and Setup of Marketplace Plugins as Universal Datasource with Global Datasource (#5851)
* decamlise schema for plugins(marketplace)

* fixes: home modal diaglue zindex

* fixes typo

* fixes typo
2023-03-28 13:14:27 +05:30
Manish Kushare
b56d6b0e0e
added feature to change the column name dynamically in the Table component (#5795)
* added feature to change the column name dynamically

* code refactored

* made the chnages to avoid app crashing if column key is defined

* bug fixed: column.accessor is not a function error

* bug fixed

* bug fixed if column name is empty then provide empty string
2023-03-27 14:21:08 +05:30
Manish Kushare
a7f7492d81
Exposed display_values to the exposed variables as optionLabels for dropdown component (#5806)
* exposed display_values to the expsoed variables as optionlabels

* removed console

* added exposed vars of dropdown

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-03-27 14:15:26 +05:30
Manish Kushare
af7b4c95c5
Feature to support pagination in the listview widget (#5721)
* initial commit

* made the UI changes

* added property to enable or disable pagination

* code enhancement

* bug fixed: app is getting crashed for older versions

* code enhancement

* bug fixed : scrollbar thumb was pratially getting hidden under the pagination div

* shifted enablePagination check before is data array check

made changes so that scrollbar thumb visible only for list item container

* if pagination is disabled, blank space is visible at the bottom

* bug fixed

* bug fixed: Pagination was showing NaN and not showing any data when invalid rowPerPage value provided

* list view is not closing on clicking on hide modal icon

* bug fixed when rowsPerPage is provided with string value its not working as desired

* pagination:listview

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-03-27 14:14:31 +05:30
Manish Kushare
96bb6df1e9
Added Disable Field on Action Button in Table Widget (#5474)
* added functional changes to support enabling/disabling action button in the table component

* designed UI

* minor changes

* added disable property for the action button

* minor changes

* added feature to disable/enable action button in the table widget

* fixed lint issues

* bug fixed : not able to programatically disable or enable action button based on fx value

* made the suggested changes

* bug fixed

* initial commit

* made action button programatcially enabled/disabled

* code enhancement

* removed console in actions file

* fixed es lint issue

* made default value of codehinter to false

* deep cloned current state instead of shallow cloning

* code enhancement

* code enhancement

* action button doc update

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-03-27 14:08:49 +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
Manish Kushare
e7a62d9ee9
Added feature to programatically enable/disable, the make editable field in the tables column (#5767)
* made editable programtical using fx

* updated doc for programmatically enabling the editable option in column

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-03-24 20:07:57 +05:30
Manish Kushare
f8c235d25b
Tree component is not reflecting data correctly (#5759)
* bug fixed: tree select is getting crashed, when data,checkedData,expandedData props are not valid

* bug fixed: tabs component is crashing when in valid data provided for the tabs property

* removed unwanted commented line

* bug fixed for button group component

* bug fixed for steps components

* app is becoming unresponsive for invalid data type in labels property of Button group widget

* app is becoming unresponsive for invalid data type in currentStep property of Steps  widget

* made sugggested changes

* new buttons are getting added to the button groups if labels length exceeds values length

* reverting back last commit

* removing unwanted commented code
2023-03-24 18:59:35 +05:30
Kavin Venkatachalam
d292d26fdc
Fixed modal closing issue & select widgets inside modal (#5832) 2023-03-24 18:57:23 +05:30
Mekhla Asopa
67e0618210
added data-cy for edit row (#5822) 2023-03-24 17:05:46 +05:30