Commit graph

4121 commits

Author SHA1 Message Date
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
Shubhendra Singh Chauhan
6b2e42dc4a
[README] updated Slack Community URL (#5937)
* updated tooljet slack community url

* update tooljet slack community url on readme

* Update CONTRIBUTING.md

* Update config.yml

* Update 03_documentation_report.yml
2023-04-05 18:10:11 +05:30
Shubhendra Singh Chauhan
9ad68c1fdf
Update slack url in the entire docs (#5938) 2023-04-05 18:09:41 +05:30
Shubhendra Singh Chauhan
c98270f7aa
[docs] updated how-tos in 2.3 (#5927) 2023-04-04 19:02:10 +05:30
Shubhendra Singh Chauhan
a728762c30
[docs] how-to:run multiple actions using runjs (#5919) 2023-04-04 12:32:10 +05:30
Shubhendra Singh Chauhan
c36d77ec21
[docs] version 2.3.0 (#5910)
* added dynamic column

* added docs-v2.3.0
2023-04-04 12:31:44 +05:30
Shubhendra Singh Chauhan
d6b58c8630
[docs] added how-to: import external libs using RunJs (#5908) 2023-04-04 12:31:28 +05:30
Shubhendra Singh Chauhan
d53b30b2e7
[docs] added how-to: import external libs using RunJs (#5908) 2023-04-04 12:31:11 +05:30
Mekhla Asopa
a592e3aeb6
Added automation for edit row feature in Database (#5890)
* added method for edit row

* update method for edit row

* update method name
2023-04-04 08:11:02 +05:30
Ajith KV
8dfcf92dd9
modify cypress test for onboarding phone number feature (#5848) 2023-04-03 12:29:54 +05:30
Midhun G S
d10f030559
Merge pull request #5905 from ToolJet/main
Merge main to develop
2023-03-31 20:04:20 +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
Midhun G S
b56eb6770d
Merge pull request #5902 from ToolJet/main
Bump Version v2.3.0
2023-03-31 16:31:07 +05:30
Midhun G S
c6d71908a0
Merge pull request #5899 from ToolJet/release/v2.3.0
Release v2.3.0
2023-03-31 16:23:19 +05:30
gsmithun4
94ffe56999 Merge branch 'develop' into release/v2.3.0 2023-03-31 14:50:55 +05:30
Midhun G S
7e792bd631
Merge pull request #5898 from ToolJet/merge/main-to-develop
Merge main to develop
2023-03-31 14:48:40 +05:30
gsmithun4
db19e7627b Merge branch 'main' into merge/main-to-develop 2023-03-31 14:44:22 +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
Shubhendra Singh Chauhan
90002c9df8
[docs] Updated ubuntu contributing guides and action button (#5880) 2023-03-30 15:45:20 +05:30
Shubhendra Singh Chauhan
5b136a0b13
[docs] updated props of button group (#5805) 2023-03-30 15:45:00 +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
Shubhendra Singh Chauhan
8fb97f005b
[docs] added Plotly chart examples (#5875) 2023-03-29 17:07:17 +05:30
Kavin Venkatachalam
6ac385fcd3
Fixed loading issue on snowflake datasource (#5868) 2023-03-29 15:43:38 +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
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
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
Kiran Ashok
8d55c637d5
Bugfix/docs upgrade (#5837)
* update :: patches

* update :: minor versions
2023-03-28 13:05:30 +05:30
Shubhendra Singh Chauhan
a50e78c026
[docs] minor updates in 2.2 version documentation (#5853)
* added how-to build market plugin in 2.2

* updated node/npm version on 2.2

* requirements
2023-03-28 12:44:21 +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
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
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
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
Kavin Venkatachalam
70ffc1e27b
Kanban Widget 2.0 (#5380)
* Kanban 2.0 init

* Implemented Kanban 2.0

* Moved add card button to the header

* Added debounce functionality

* Added CSA to Kanban

* Formatted Kanban

* Updated default data on Kanban

* Handled undefined data and exposed lastUpdatedCard

* Added lastCardAdded exposed variable in Kanban

* Fixed id bug on Kanban

* Fixed width issue on Kanban

* Fixed dark mode

* Commented onUpdate event for every action

* Rename containerId to columnId in lastCardMovement in Kanban

* Updated min width in kanban card

* Fixed bug on dropping items into cards when first container is empty

* kanban2 docs

* updated info in kanban doc

---------

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-03-24 15:22:25 +05:30
Adish M
38264b38bd
fix for try-tooljet (#5839) 2023-03-24 14:21:11 +05:30
Valan Baptist Mathuranayagam
507490c995
Fix typo in Chart widget (#5836) 2023-03-24 12:34:21 +05:30
Midhun Kumar E
a5cb4e5da2
Added data-cy for query preview container and undo&redo icons (#5827)
* Add data-cy for query preview containers

* Add data-cy for undo and redo icons
2023-03-24 10:37:04 +05:30