Commit graph

1076 commits

Author SHA1 Message Date
Akshay Sasidharan
4080afcb8d bump to v2.19.0 2023-09-28 15:31:18 +05:30
Akshay Sasidharan
f8fdcde86a Merge branch 'main' into release/marketplace_1.4 2023-09-28 15:25:48 +05:30
gsmithun4
6f9b050101 rebase 2023-09-26 21:36:08 +05:30
Akshay Sasidharan
7b83878464 Merge branch 'develop' into release/marketplace_1.4 2023-09-26 20:59:10 +05:30
Midhun G S
b39603bd7c
bump version (#7498) 2023-09-26 14:59:01 +05:30
Midhun G S
50b5129058
Added unique key constrain to organization users table (#7207)
* added unique key constrain to organization users

* fix

* fix

* added logs and comments

* test case fixes

* resolve fail test

* resolve tests google auth

* comment out organization id checks

* remove all e2e tests changes

* comment tests

* test case fixes

* resolve fail test

* resolve tests google auth

* revert all changes

* fix for test cases

* test case fixes

* revert all test case changes

* refractor

---------

Co-authored-by: Anantshree Chandola <anantshreechandola23@gmail.com>
2023-09-26 11:28:59 +05:30
Akshay
cb0aca6a8c
fix unit tests for import (#7477) 2023-09-21 16:44:27 +05:30
Akshay
b5d08402ec
Add support for bigint (#7458) 2023-09-21 11:54:03 +05:30
Kavin Venkatachalam
a7fd26e256
Merge pull request #7467 from ToolJet/main
Merge main back to develop (2.17.3)
2023-09-20 14:43:55 +05:30
Nakul Nagargade
3ab0cdd030
Fix query panel not returning falsey values on clicking preview (#7464)
* Fix query panel not returning falsey values

* Resolve code comments

* Bump versions
2023-09-20 14:20:03 +05:30
Kavin Venkatachalam
9758c9c695
Merge pull request #7456 from ToolJet/main
Merge main back to develop (2.17.2)
2023-09-18 16:53:06 +05:30
Nakul Nagargade
172f9a2a1f
Make events draggable in inspector (#7450)
* Make events draggable in inspector

* Add drag handle

* Add debugging comments

* Update setup_machine.sh

* Remove Consoles and bump versions

* Update setup_machine.sh

---------

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
2023-09-18 16:14:09 +05:30
Kavin Venkatachalam
2007db302e
Merge pull request #7444 from ToolJet/main
Merge main back to develop (2.17.1)
2023-09-15 16:00:32 +05:30
Kiran Ashok
90264e2186
Hotfix :: Dynamic canvas background (#7441)
* fix :: dynamic canvas background

* version bump
2023-09-15 15:48:02 +05:30
Akshay
3ef7c5db68
Merge pull request #7420 from ValkonX33/updatedPlugin
Fix #7417 Updated plugin descriptions on the Marketplace page
2023-09-14 15:09:18 +05:30
Sumukh
bd05709742 Fix #7417Updated the Titles 2023-09-13 16:47:55 +05:30
Sumukh
e26449d79a Fix #7417 Updated plugin descriptions on the Marketplace page 2023-09-12 22:15:32 +05:30
Kavin Venkatachalam
9f22399029 Merged with main 2023-09-08 16:50:22 +05:30
Akshay
71a5c122e9
Hotfix: marketplace fixes (#7397)
* add default manifest attributes for snowflake

* fix imports and clones with default datasource

* bumpt to v2.16.1
2023-09-08 14:19:52 +05:30
Akshay Sasidharan
be1de4b378 fix events not being linked on import 2023-09-05 16:06:14 +05:30
Kavin Venkatachalam
fe00df1b32 Resolved merge conflicts and version bump 2023-09-05 13:26:51 +05:30
Akshay Sasidharan
2decbf2d39 bump to v2.16.0 2023-09-04 16:31:50 +05:30
Kavin Venkatachalam
c651b5b510 Resolved merge conflicts and version bump 2023-09-04 13:42:50 +05:30
Akshay Sasidharan
1f7d11bcac Merge branch 'develop' into release/marketplace_1.3 2023-09-04 12:58:10 +05:30
Manish Kushare
8a98bea928
Table redsign (#7178)
* set the default width to approx 727 px and height to 452px of table component

* added padding 8px to the wrapper element inside table component

* arranged the header layout according to design

gave style to table-title

* modified global search in the table header

* setting the layout of table footer

* updated pagination

* fixed the indentation

* inital commit

* setting background color of table

* updated text color of footer

* added table-component class to table component wrapper element

* updated background color of table footer

* added svg for eye1, plus and filedownload in assets

* design footer parts

* add new row header typography updation

* updted style of thead of add new row popover

* added cheveron left and right icons and updated pagination icons for jump to first and last page

* removed cheveron svg added in the last commit

created react component to return cheveron double svg and implemented them in table pagination

* updated pixels of pagination container

* updated prev commit

* pagination interactions completed

* minor update

* updated footer design

* updated focus-visible state

* created basic checkbox componet that can be used as generalised checkbox later

* code enhancement

* code enahancement

* commented on two added generalise components in ToolJetUI directory

* handled edge case when add new row pop-up is open for add new row button

* applied padding to table componnet

* removed the jet-data-table class style from theme.scss to table-component.scss

* shfited few styles from theme.scss to table-component.scss

added few styles such as to set the height of header row and  in table-component.scss

* made selector column type width fixed to 40px, made it non-resizable

made input checkbox dimension as 16*16 and placed it at the center of the container on x and y axis

* made changes to header of columns according to design

* added hover and selected psuedo styles

* changed background color of edited cell

* set default table type to classic

* updated bg of stripe even row

* updated design of table when no data is available

* updated the styles for resizing column width according to design

* redesign table header

* resolve the reference for isEditable value

* updated border style according to design and added editable icons for add new row headers

* bg of column while resizing for borderd table type

* removed table name from the header and instead of that placed filter icon at the left side of header

* changed the bg for the  thumb of scrollbar

* removed unwanted fill for Button not having icons

applied color to fill using var()

* changed the way to apply color to icon svg in Pagination component of Table

* set the max width to span element showing total pages in pagination

* removed SingleOptionOfList and checkbox components created in ToolJetUI directory

* made the table responsive

* updated styles for primary button variant

* change the variant of add filter button to primary

* updated save and delete icons

* updated the save and cross icons in the table footer according to current design

* loading state

* avoiding focus-visible for div element inside th

* fixed width for action column type

* removed unwanted code

* made few changes in no data in the table

* bug fixed for draggable header positioning at the start of the drag

* new cell size options

* changed options for table type in table styles

* migrations for tableType and cellSize properties in the styles tab

* supported backward compatibility for older app for cellSize prop

* Added filter applied state diffentiator in the UI

* Added padding to save changes and discard text buttons

* resizer handle updates

* when add new row and filter pop-up window are open, their respective button remains in active state

* made the overlayTrigger for download and manage columns controlled component and bug fixed, when button in the buttons in the footer clicked when in active state, they remain in active state

* updated resizing state

* removed the states for download and manage columns button active state

* updated if checks in the migration file for cell type and border type

* changed style prop to customStyles for ButtonSolid component while rendering

* gave function reference for on click event of clear filters button

* added conditional check in migration file

* replace bg of edited cell with var

* replace value with defaultValue in GlobalFilter component of Table

* Primary button variant remians same for both dark and light theme

* when filter or add new row pop-up window is active, then we disable pointer events in the table header , footer and data

* fixed tooltips for download , add new row and manage columns

* removed console

* added filter applied state as well, when filters are applied

* horizontal alignment bug fixes

* avoided column header to shift to left a bit when sort icon is displayed
2023-09-04 10:01:40 +05:30
Nakul Nagargade
c609fe2a78
Setup sentry logging as per version and upload its source map (#7143)
* Added a fix for snake case properties

* Setup sentry logging as per version and upload its source map

* Remove version

* Fix process not being defined

* Add version to sentry release

* Add release version in config api

* Changes in docker file

* Create a version file in frontend

* Remove docker changes

* fix

* Add a script to bump .version files

---------

Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
2023-09-04 10:00:14 +05:30
Akshay
143b9a5cb6
Hotfix: MySQL ssl connections (#7365)
* hotfix mysql ssl connections

* bump to v2.15.1

* update package.lock
2023-08-31 21:29:04 +05:30
Akshay Sasidharan
080eb5c0a1 fix default ds options recreate on import 2023-08-30 20:52:41 +05:30
Akshay Sasidharan
2183d42a17 Merge branch 'develop' into release/marketplace_1.3 2023-08-30 13:56:22 +05:30
gsmithun4
c4b7a709e8 bump version 2023-08-29 16:37:47 +05:30
Kavin Venkatachalam
cfbbc81e7b
Added polygon path property to map component (#7343)
* Added polygon path property to map component

* Added fx support for polygon and markers in map

* Version bump
2023-08-29 16:04:35 +05:30
Akshay
c6fe0aa45e
Feature: Import export tjdb schema (#5752)
* add ability to import export app and tjdb schema

* init

* feat ::global settings popover new ui

* feat :: ui for version export modal

* fix :: import export modal

* cleanup

* ui updates

* header footer style fixes

* closing settings modal while showing export modal

* style fix header

* feat :: added button to download table schema

* fix :: styling for fx

* add ability to import and export apps with tjdb schema

* handle duplicate table in workspace

* fix table rename

* fix selected table on edit and delete

* fix invalid toast on table delete

* fix column default value

* handle exports to strip '::' and quotes

* make import/export backward compatible

* handle page redirects based on resource import

* handle import without tjdb schema

* fix column delete and addition

* make data migrations to be run per organizations

* wip

* update migration

* fix credentials to be included

* fix specific version export

* make use of apps ability for import export resource

* fix import navigation

* fix lint

* fix failing tests

* fix lint

* enable tjdb for public apps

* update export error message on tjdb table blank

* fix table not selected after creation

* fix :: styling for imp exp modal , and functionality bug fixes after dev merge

* fixes blank slate and columns selection

* fix table delete

* fix invalid toast on table edit

* fix column information missing tjdb query manager

* make ds imports to either reuse global or create

* export only unique table ids

* create default datasources if not present in export data

* reuse existing table on imports

* add timestamp to table name if name already exists

* add ability to clone with tjdb

* make imports work with marketplace plugin

* skip dataqueries for which plugins are not installed

* fix filter input width

* fix failing spec

* fix marketplace plugin installation in diff workspaces

* fix check for plugin installed in workspace

* fix export when table name is empty

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2023-08-28 21:23:15 +05:30
Akshay Sasidharan
7cb2100a2e Merge branch 'release/marketplace_1.3' into feature/restapi-ssl-options 2023-08-24 21:50:51 +05:30
Akshay Sasidharan
b2baddee3e Merge branch 'develop' into release/marketplace_1.3 2023-08-24 11:37:40 +05:30
Midhun G S
f7bac674dd
Merge pull request #7258 from ToolJet/platform/v3.0
Release v2.14.0 Platform v3.0
2023-08-21 10:24:17 +05:30
Arpit
ee79b2015a
Feature - Workspace environment constants (#6810)
* init--

* org constants: controllers, services, module and api for creating new constants

* read operation: all constants from all envs and all constants from a env

* update and delete operation

* updated delete msg

* encrypt constant value before saving and decrypt before sending back to controller

* adds group permission for org constants and required migrations

* adds ability to create constant

* adds group permissions and fixes migrations

* adds workspace constant permission to workspace settings UI

* ToolJetUI - componenst, ref: ee/5c92dc9c03b73d7006562d71d639fe4eb1971dee

* Org constants UI

* UI updates: display constant value as per enviroment

* Added client side pagination

* groups without create/edit/delete permission can only view the the constants

* group permission: Create and Edit - UI updates

* create/update/date flow - UI

* extending api support to create constant in multiple environments

* UI - add constant for multiple envs

* disable name input for update operation

* UI fixes and updates

* adds deprecating banner to variables dashboard

* removes update/create from UI --variables

* adding depricating soon alert in codehinter when workspace vars are used

* extra check to display the banner in preview of cdehinter

* resolves constants for admin in client-side

* resolves constants client-side and server side for queries

* include grp permission for create/delete for org constants

* resolves org constants in runJS and runPY

* cleanup

* updated the tab UI

* fixed: constant pagination footer

* fixes client side pagination bug

* adds docs link

* ui updates and fixes ui flickering on closing the drawer

* refactor updating table data

* adds error state to constant forms

* remove the alert from runJS and runPY after 5s

* added max length constraint for constant value

* refactor: component form

* delete only constant as per environment

* remove unwanted logs

* resolves constants in gds connection forms

* resolve gds source options for testConnections, preview and runQuery

* UI style fixes: banner

* remove alert banner for runJS and runPY

* input text color fixed

* style fixes for disabled inputs

* Edit constant- Until value is changed- CTA should be disabled

* adds tooltip for table name and value

* adds tooltip for disbaled input in edit drawer

* updated the tooltip position

* handle input height on type for large strings

* added empty state

* adds new badge for workspace constants

* substring should be different for viewers

* resolve constants in viewer

* add support to resolve constants for widgets and queires in public apps

* changed the api endpoint for org constant for env

* bugfix: handle org constants for encrypted value from source options

* add support to resolve app variables and constants in a single single

* fixes: multiple multiline and same line variables

* refactor

* cleanup

* remove encryption for ce

* remove group permission from permission dashboard

* text transform for badge

* added padding for each table row

* updated alert banner padding

* updated alert banner padding

* updates width for empty banner

* refactor

* adds tests for constant api

* added validations for constant name

* updates textare dynamic form

* updates the resolvers for constants

* removes decryptiong for source options in services

* refactor - frontend

* resolved conflicts

* fixes: typo-1 ~ workspace variables alert

* fixes: inconsistency in alert info icon

* fixes: naming convention consistency

* fixes: dark theme for confirm box

* disable create button for  add constant with same name,

* adds error state for updating constant with same value

* fixes: error message typo

* fixes: error message typo

* fixes position of tooltip

* fixes frontend lint issues

* update lock file

* UI updates and typos

* cleanup-refactor

* checking error state before creating

* should check all error states

* resolving multiple constants and app variables in a single line

* reafactore

* fixed: depricating icon : codehinter preview box

* remove log

* remove repeated logic for deleteOrgEnvironmentConstant

* only return status code for delete request for org constants

* Add data-cy for workspace constants elements (#7251)

* updates contants doc link

---------

Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
2023-08-14 14:28:51 +05:30
Kiran Ashok
828fac1f52
Fix :: Migration improvement listview component (#7189)
* fix :: migration error listview

* removed unwanted migrations checks in ce
2023-08-14 14:02:45 +05:30
gsmithun4
e204974b99 bump version 2023-08-14 13:54:29 +05:30
gsmithun4
3c4eb1d174 Merge branch 'main' into platform/v3.0 2023-08-14 13:07:20 +05:30
Akshay Sasidharan
838c16dfe1 Merge branch 'develop' into release/marketplace_1.3 2023-08-10 23:08:40 +05:30
arpitnath
cde5121719 bumped version to 2.13.1 2023-08-10 17:03:10 +05:30
Johnson Cherian
55cdc7a0b5
Query manager revamp (#6680)
* global store init

* Moved query data to new component

* Removed unwanted code

* Removed data queries prop drilling

* Moved query state out of editor

* Added unsafe to componentWillReceiveProps

* Selected first query when the version is changed

* Fixed bug on renaming query

* Fixed issue on dark theme

* Fixed running query on page load in viewer

* Query manager refactor init

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Moved query manager to functional component

* Fixed conflict issues

* Fixed infinite loop on tooljetDB

* Set the store name and updated devtools logic

* Fixed issue on displaying draft query from data sources

* Updated comments on the store

* Fixed bug on changing data source and creating query from data source

* Fixed bug on showing unsaved changes popup

* Fixed issue on showing confirmation modal everytime without any changes

* feat: autosave data query functionality

* feat: show publish button only when the status in draft state

* Fixed issues on query renaming

* feat: removed discard popup for data query create/edit widget

* stye: reduced autosave api call timeout and added draft tag

* feat: added minor style changes

* feat: fixed issues with restapi plugin, removed unused api calls

* fix: fixed issue that breaks restapi creation

* fix: reload selected query details after update query

* perf: reduced debounce time for data query update apis

* feat: removed full reloading of query list on query renaming

* feat: duplicate data query feature added

* Fixed issue on creating restAPI query

* fix: fixed issue in transforming response from update queyr api

* fix: refresh selected query details when the selected query is updated

* fix: rename query on click enter

* fix: full refresh of query list on update

* fix: style changes

* fix: subscribing to state to autsave

* feat: updated the query manager styles to new design

* feat: revamped the querypane header buttons

* fix: fixed the padding for query panel maximize button

* feat: updated search box style

* refactor: moved function to render data source icon to its own component

* fix: fixed querymanager widget breaking issue

* merged with feat/query-manager-autosave

* refactor: removed unused consoles

* refactor: removed unused consoles

* refactor: removed unused consoles

* fix: removed commented code

* fix: removed unused code

* refactor: removed unused comments

* fix: show change datasource select only if valid ds available

* Update frontend/src/Editor/Inspector/EventManager.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/QueryManagerBody.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* feat: modify behaviour of search icon in query panel

* fix: fixed theme color mismatch in query manager

* refactor: remove dead code

* refactor: updated theme for data source listner

* fix: theming in filter and sort popup

* refactor: remove unused variables

* fix: removed draftQuery logic from query manager

* refactor: removed unused varibales

* Update frontend/src/Editor/QueryManager/QueryEditors/Restapi/TabParams.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryPanel/QueryCard.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* feat: diable preview for draft queries

* fix: added tooltip for query panel button

* fix: fixed issues in saving query manager events

* fix: moved query save subscriber to QuerPanel component

* feat: converted query run api to save and run

* fix: made varibale an optional param in updateDataQuery dto

* refactor: cleanup update dataquery status api response

* refactor: moved query status to constants file

* feat: prompt for queryname when creating new query

* fix: store new queryname in state on create query pageload

* fix: fixed alignment of Tooljet db component form

* fix: correct translation and format file

* refactor: removed consoles

* merge: merge appbuilder-1.2

* style: updated rename input/button UX

* style: revamped dataquery create widget styles

* style: revamped data source selector styles

* fix: removed code added for debugging

* style: updated data query filter design

* style: Add prop to control visibility of clear button in search box

* style: implement new style for query filter

* merge appbuilder-1.2 to feat/query-manager-sort-filter

* refactor: remove unintended file change

* fix: set default value for method in respapi

* style: updated copilot info popup style

* style: updated quer panel header icons

* style: updated button styles

* style: fixed query manager button styles

* style: smoothened query preview modal view

* fix: correct import for some funs

* fix: fixed minor UX bugs

* style: fixed styling of REST api GDS

* style: fixed styleing of sort and filter popup

* style: improved data queries sort filter UI/UX

* fix: remove click listner when overlay is closed

* fix: moved component declaration out of parent component

* fix: set selected datasource for default sources

* fix: filter DS based on saerch in create dropdown

* fix: restrict draft query running to preview mode

* fix: query renamed on input change in create screen

* fix: set name to state as soon as user renames query

* fix: make query notification message consistent

* style: correct s3 bucket plugin layout config

* fix: fixed issues with cloning of Static DS queries

* fix: made change so that newly created query is reflected immediatly

* style: updated spacing for query manager components

* fix: hide rename input when no query selected

* fix: check bothe selected query and DS before rendering query manager

* fix: set isSaving to true only for api calls in querymanager

* fix: added success message form in qm

* fix: filter out draft queries from viewer on running

* fix: fixed inconsistent gutter for runpy and runjs editors

* fix: reload dataqueris on LDS deletion

* fix: redesigned filter/sort popup

* fix: fixed issue that resets filter on search

* fix: fixed query manager breaking on plugin select

* fix: diable json preview for text output

* fix: reset to filter and sort main menu on close filter popup

* refactor: rename varibales

* stye: redesigned query create panel

* feat: revert data query status column from backend

* style: redesign query picker section

* refactor: removed dead code

* style: querypanel expand/collapse btn style

* style: add query select and query filter popup style redesign

* style: updated filter popup style

* feat: removed draft query checks everywhere

* style: empty dataqueries style changed

* style: updated query selector popup and rest options styles

* style: removed 100% height to query option remove btn

* feat: added the query runnable status check

* style: updated query manager footer style

* feat: changed DS filter from kind to DS ID

* style: minor ui tweaks in filter popup

* style: disable DS filter if no DQs created

* style: minor ui change

* fix: rerender filter popup post DS api call. fixed rest api copy feature

* fix: add local DS to filter popup

* refactor: removed dead code/comments

* add new row is crashing when no data is fed to table (#7102)

* fix: fixed condition that blocked GDS run on load

* fix: revert name back to og name if update fails in rename query

* feat: added tooltip for show query btn

* fix: added click interaction for pill btn as well

* fix: minor UI tweaks to make UX better

* style: fixed the styling of filter popup

* style: minor UI tweaks in query filter popup

* fix: fixed minor css issue in ds picker

* style: wrap overflowing text in queryname

* fix: update updated_at after query update api call success

* fix: update remove the caller query from event query dropdown

* style: minor ui spacing tweaks

* fix: fix issue that cuased app crash when tjdb opened

* fix: fixed update row styles

* fix: fixed info popup dark theme bg

* fix: fixed headers styling according to general QM styles

* style: fixed stripe QM UI

* fix: added tooltip for quernames

* feat: add tooltip for select ds options

* added consoles to debug debugger issue

* fix: fixed :active style of ds select dropdown in QM

* fix: fixed DS kind name in data source selector in QM

* fix: fixed border color mismatch for ds select dd

* fix: change tooltip msg for maximize/minize QM

* Fix automation for query manager revamp. (#7223)

* Add data-cy to support modified specs

* Fix event handler

* Fix RunPy and RunJS specs

* Fix event handler label

* Fix basic components spec

* Fix basic components failure

* Fix tabel spec failure.

* Fix runjs and runpy actions

* Fix table column options

* Add data-cy

* version: version updated to 2.13.0

* Version bump

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
2023-08-09 18:01:48 +05:30
Muhsin Shah C P
4f9f555187
[hotfix] Invitation URLs and SSO redirection URLs are not subpath compatible (#7155)
* Added subpath compatible code to the invitation URL generation

* fix: sharable app link
- launch app url

* Added PR changes
2023-08-08 19:26:55 +05:30
Akshay Sasidharan
0108834ecd bump to v2.12.0 2023-08-03 12:15:23 +05:30
Akshay Sasidharan
22ae4925c7 Merge branch 'develop' into release/marketplace_1.2 2023-08-03 12:13:24 +05:30
Akshay
ead092a21a
Feature: Mysql socket support (#7168)
* Add socket_path for mysql plugin

- Add new property `socket_path`
- If `socket_path` is set, ignore host/port and ssl settings when setting up the connection

* Add socket_path to manifest

* Add socket_path for mysql plugin

- Add new property `socket_path`
- If `socket_path` is set, ignore host/port and ssl settings when setting up the connection

* Add socket_path to manifest

* make mysql connection type as a dropdown

* add data migration for mysql socket opts

* declare generic parameter for the function

* fix lint

* fix migration progress count

---------

Co-authored-by: Kariem Hussein <kariem.hussein@gmail.com>
2023-08-02 15:49:31 +05:30
Akshay Sasidharan
d2a99c6853 Merge branch 'release/marketplace_1.2' of github.com:ToolJet/ToolJet into release/marketplace_1.2 2023-08-01 14:43:00 +05:30
Akshay Sasidharan
48fd674a7e Merge branch 'develop' into release/marketplace_1.2 2023-08-01 14:41:56 +05:30
Akshay Sasidharan
e44428a1dc Merge branch 'release/marketplace_1.2' into release/marketplace_1.3 2023-07-31 23:57:45 +05:30
Ganesh Kumar
74c5d14964 changes in package lock file of server 2023-07-27 11:32:09 +05:30
gsmithun4
1eba9b7fe2 Merge branch 'main' into platform/v2.0 2023-07-25 14:38:06 +05:30
Midhun Kumar E
c789289b19
Fixed cypress App Builder for v2.10.3 (#7118)
* Fix cypress for v2.10.3

* Remove only

* modify the expossed values count

* fix common methods

* Version modified
2023-07-25 13:51:49 +05:30
Muhsin Shah C P
4d09c3b148
Added a fix for snake case properties (#7112) 2023-07-24 16:35:09 +05:30
Muhsin Shah C P
f69a214b78
updated npm module version (#5679) 2023-07-24 16:05:45 +05:30
Anantshree Chandola
ebc5b79374
Remove validation for last name of users, Resolved: update user details bug (#6904)
* remove validation for last name of users

* lint issue

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-07-24 15:47:58 +05:30
gsmithun4
e7381145b1 bump version 2023-07-24 12:26:35 +05:30
Muhsin Shah C P
80ee7b7cac
[Improvement] Auth flow improvements for RestAPI, OpenAPI & GraphQL (#5324)
* Added access token url headers option to open api

* removing and adding code

* add authentication in GraphQL as RestAPI (#6687)

* add authentication in GraphQL as RestAPI

* fix: remove double header check

---------

Co-authored-by: Jean-Baptiste PIN <jeanbaptiste@idruide.com>

* refactor auth flows for restapi, openapi & graphql

* fix type errors

* remove redundant declarations

* fix openapi build error

* update authUrl for OAuth

* fix oauth check

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Jean-Baptiste PIN <jibet.pin@gmail.com>
Co-authored-by: Jean-Baptiste PIN <jeanbaptiste@idruide.com>
2023-07-21 15:38:56 +05:30
Kavin Venkatachalam
e12fd6df85 Appbuilder 1.2 release 2023-07-21 11:51:57 +05:30
Akshay
e076e25968
Hotfix: Setup local static assets (#6960) (#7016)
* add fonts to be served locally

* remove external font usages in stylesheet

* explicitly add font face for code mirror

* remove font link

* add readable error message on pyodide load error

* bump up version
2023-07-13 13:14:26 +05:30
Akshay Sasidharan
a44bf6a431 Merge branch 'develop' into release/marketplace_1.2 2023-07-11 17:17:12 +05:30
gsmithun4
467a96ae15 Merge branch 'main' into platform/v1.1 2023-07-11 14:41:46 +05:30
Kavin Venkatachalam
5b8fd98f3b Version bump 2023-07-11 14:32:16 +05:30
Kiran Ashok
59eee6c12c
Listview component with grid option (#6975)
* feat :: list view component with grid mode

* cypress fix and migration fix for older app to default mode to list
2023-07-11 14:30:54 +05:30
Midhun G S
7370859da9
bump version (#6987) 2023-07-11 13:47:11 +05:30
Muhsin Shah C P
4331b40869
[Improvements] Environment changes (#6762)
* Added priority, enabled, current_environment_id columns
- added data-migrations to backfill the priority and current environment id for each version

* working on multi environments improvement
- added checks for promoted env
- promote env feature
- released app & production env check
- promoted version definition check

* added import support

* working on migration issues

* fixed failing migration

* fixed failing migration once again

* Fixed possible bugs
- seed
- test case helpers
- app version release

* fixed migration bug

* working on migration progress

* working on migration progress class

* added migration progress

* fixed unit tests

* fixed e2e cases

* added default priority

* added PR changes

* changed import logic

* added global datasource design and api changes

* changed default env if the id is null

* added unique constraint and a bug fix

* changed app versions api
- added current environment id to the where conditions

* fixed failing test cases

* added new test cases

* added new api changes

* added back the enabled check

* fixed test case

* change: added environment to create versions dto

* typo: environmentId

* added new api for fetching versions

* added appVersions count changes to CE

* Changed app versions by environmentid logic

* added PR changes for EE

* fixed wrong promoted env id issue

* fix: can't switch to staging

* added import export changes
- update delete modal text

* added EE import export code, modal updated text

* added common migration code for CE and EE

* fixes
- enable run button for released version
- disable change datasource for queries

* changed released version popup design to new EE design

* add: hide delete icons for released version
2023-07-11 10:10:03 +05:30
arpitnath
828cebee9a Merge branch 'platform/v1.1' of github.com:ToolJet/ToolJet into platform/v1.1 2023-07-10 23:45:15 +05:30
arpitnath
39106fb618 Merge branch 'main' into platform/v1.1 2023-07-10 23:44:59 +05:30
arpitnath
77e768d043 Merge branch 'platform/v1.1' into fix/iframe-embed-ce 2023-07-10 19:41:49 +05:30
Midhun G S
93378164f9
Merge pull request #6895 from ToolJet/improvements/increaseUserSessionTimeto10Days
Increased user session time to 10 days
2023-07-10 19:34:17 +05:30
Kavin Venkatachalam
e604fdd2b6
[Hotfix]: Fixed bug on deleting events in query manager (#6963)
* Fixed bug on deleting events in query manager

* Version bump
2023-07-07 23:43:46 +05:30
Midhun G S
12907e65d3
bump version (#6943) 2023-07-06 22:03:20 +05:30
Arpit
4f7d55f0e1
Fix issue with RegExp pattern for server variable validation (#6941) 2023-07-06 21:58:17 +05:30
Kavin Venkatachalam
8cf54bd498 Version bump 2023-07-06 16:27:51 +05:30
Akshay
b0f69fcabb
add datasources count for telemetry (#6867) 2023-07-05 12:39:30 +05:30
Arpit
10668546d9
Improvement - adds ability to resolve workspace variables in GDS connection forms (#6824)
* adds ability to resolveworkspace variables in GDS connection forms

* clean up

* resolves workpace variables in GDS connection form UI (client-side)

* fixes: encrypted source options resolver helper

* add workspace vars support for textarea components used in gds

* updates warning banner

* update textarea with the new UI

* Revert "Merge branch 'develop' into improvements/add-support-workspace-vars-datasource-forms"

This reverts commit f3b42005aa, reversing
changes made to 68334ca281.

* Revert "Revert "Merge branch 'develop' into improvements/add-support-workspace-vars-datasource-forms""

This reverts commit 9b19e5b530.

* fixes crash when trting to resolve variables

* remove comments
2023-07-04 15:32:45 +05:30
Kavin Venkatachalam
66960f19bf Version bump 2023-07-03 17:48:27 +05:30
Anantshree Chandola
bcec8539b4 Added comment 2023-07-03 16:20:47 +05:30
Anantshree Chandola
d985f5bfab Increased user session time to 10 days 2023-07-03 16:16:40 +05:30
Kavin Venkatachalam
883b61285e
Merge pull request #6887 from ToolJet/main
Merge main to develop v2.8.1
2023-06-30 17:56:38 +05:30
Manish Kushare
4ed8e75009
[ hotfix ] Bug fixed, not able to edit column type text when action button is present in the row in the table component (#6820)
* not able to edit text column when action button is present in the row

* version bump
2023-06-30 16:05:12 +05:30
arpitnath
c1f32b1a1f fix/iframe-embed: 634e618..441b894 2023-06-30 00:10:39 +05:30
Arpit
425c0976a3
check for Conflicting Group Memberships (#6755) 2023-06-27 14:18:51 +05:30
Akshay Sasidharan
f660325459 bump to v2.8.0 2023-06-26 14:04:24 +05:30
Shubhendra Singh Chauhan
532a77a8cf
Merge branch 'develop' into release/marketplace_1.1 2023-06-22 11:53:13 +05:30
Akshay Sasidharan
0d4408b59a fix text decoding 2023-06-21 15:36:40 +05:30
Akshay
1602317ad5
Add support for oracle 9i db (#6637)
* update oracledb package for node 18

* add oracle instant client 11 and 21 binaries for linux

* Revert "add oracle instant client 11 and 21 binaries for linux"

This reverts commit 9ba7d18685.

* add ability to specify instant client version

* update dockerfiles to include oracle 11 instant client

* update ami build for oracle instant client 11

* add data migration for oracle ds default client version 21

* remove console.log in code

* fix server dev dockerfile

* define LD_LIBRARY_PATH

* fix LD_LIBRARY_PATH assignment
2023-06-21 11:39:30 +05:30
Ganesh Kumar
50a0a6fd23
Feature/harperdb plugin (#6735)
* harperdb plugin initial commit

* added required fields in manifest and provided default values in operation json

* removed not required query options from harperdb

* review changes inprogress

* added new fields in manifest file to customize port and protocol

* protocol drop down in harperdb is changed to ssl toggle
2023-06-20 12:27:10 +05:30
Sherfin Shamsudeen
418b5d0b85 Bump version to 2.7.0 2023-06-16 13:00:54 +05:30
Sherfin Shamsudeen
9584368820 Merge branch 'develop' into release/2.7.0 2023-06-16 12:59:57 +05:30
Arpit
d062cb8e31
Bugfix - handles plugins to move from gds to lds when importing app to different workspaces (#6268)
* handles plugins to move from gds to lds when importing app to a different workspace

* handles plugins to move from lds to lds when importing app to a different workspace
2023-06-15 17:32:25 +05:30
Muhsin Shah C P
c9a013a40a
fix: public app which from non-access workspace redirecting to the login page (#6722)
* fix: public app which from non-access workspace redirecting to the login page

* refactoring the code
2023-06-15 13:33:18 +05:30
Muhsin Shah C P
f9b6cbb933
resolved conflicts (#6672) 2023-06-07 17:10:05 +05:30
Arpit
d1ec7942d1
Improvements : ToolJet CLI (#6155)
* remove repo url prompt for creating a new plugin

* deprecating : creating new plugins for datasource/plugins

* package version upgraded to v0.0.14

* fixes: delete cmd

* delete prompt confirms marketplace plugins

* removes repo from json
2023-06-07 16:27:58 +05:30
Muhsin Shah C P
a455a50e98
Sanitising workspace folder name while creating or editing a folder (#6396)
* added: frontend validation

* added attributes and constraints to folder name

* fixed migration

* replaced isAlphanumeric decorator with regex matches

* change: handle unwanted spaces

* handle error messages

* reverted css change

* folder name: adding error messages, refactoring code

* adding: PR changes

* fix: test cases

* fix: test cases

* changed max-length

* added PR changes and fixes

* added common error css change

* changed error message

* adding folder name to the prompt

* updated folder constraints

* updated maximum length

* fix: empty check

* added : folder dto name empty message

* fixed failing test cases

* added folder tooltip
2023-06-07 15:03:54 +05:30
Arpit
0e1ab0a684
fixes: on bulk-updating users with csv, the data is not reflected (#6420)
* fixes: on bulk-updating users with csv, the data is not reflected

* add a limit for bulk upload users

* resolved pr comments

* fixes displaying all users emails for existing users

* fixes file selection type in OS File Dialog

* allow users to bulk upload from csv with either last for firstname undefined

* add validations check

* updated the toast msg

* remove comments
2023-06-06 17:29:46 +05:30
Muhsin Shah C P
e7bb22e649
[enhancement] Sanitising app name while creating or editing an app (#6423)
* working on app name unique migrationworking on app name unique migration

* Added checks and conditions

* change: remove staring and ending spaces

* fix: error management

* fix: regex

* working on app name generation

* app name:fixing bugs

* app name: fixing and refactoring code

* app name: fixed test cases

* updated app name constraints and default name

* fix: apps.e2e tests case

* fix: added app name to the prompt

* added app input tooltip

* removed unwanted code

* added tooltip close code

* fixed auto generated name issue

* merging develop

* code refactoring

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-06 14:12:36 +05:30
Muhsin Shah C P
6266a6f30b
Replaced default workspace name Untitled workspace everywhere with My workspace (#6645)
* added missed default name part

* code refactoring
2023-06-05 17:51:02 +05:30
Muhsin Shah C P
dc810061a4
Fixed auto generated workspace name issue (#6642)
* fixed auto generated name issue

* fixed lint error

* fixed test case
2023-06-05 17:30:17 +05:30
Shubhendra Singh Chauhan
d72d8b99c6
Templates revamp (#6629)
* template: updated customer dashboard

* template: updated job application tracker

* template: updated kpi dashboard

* template: store catalogue update
2023-06-05 15:40:47 +05:30
Muhsin Shah C P
9257f6feea
Workspace name sanitisation (#6299)
* added unique organization name constraint

* sanitization task: workspace-name

* refactoring the code

* resolved PR changes

* fixed migration & added some checks

* change: trimming workspace name

* handle error messages

* added missing css

* working on the error messages

* change: first workspace's name of the new user

* change: removed underscore from the list

* Tested and fixed first workspace name changes

* Fixing error handler issues

* working on session storage implementation

* revert: session storage

* change: close modal if the edited name is same as prev name

* fixing bugs

* workspace name: refactoring the code

* workspace name: refactoring again

* workspace name: fixing and refactoring code

* fixed e2e test cases

* added catchDbException to catch db lever errors

* added: PR changes

* workspance name: css fix

* updated workspace name constraints and default name

* fix: test cases

* fix: app.e2e tests case

* fix: wrong error message

* fix: last state issue

* reverted some changes

* added workspace name tooltip

* added more tooltip for workspace name

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-01 19:21:38 +05:30
Midhun G S
77124ff221
wrapping check update API call inside try catch (#6612) 2023-05-31 11:44:09 +05:30
Arpit
f98603f1f8
Disable/removing AWS S3 plugin from marketplace (#6414) 2023-05-30 20:09:28 +05:30
Arpit
38b92e27f5
Adds guards to plugins API endpoints based on env (#6579)
* Add guards to plugins API endpoints based on environment variable

* clean up
2023-05-30 20:08:40 +05:30
Sherfin Shamsudeen
42e8fa8178
Merge pull request #6562 from ToolJet/bump-version/2.6.2
Bump version to 2.6.2
2023-05-26 14:12:06 +05:30
Sherfin Shamsudeen
41eadfa882 Bump version to 2.6.2 2023-05-26 14:09:11 +05:30
Sherfin Shamsudeen
48344b88e9 Merge branch 'main' into merge-back/2.6.1 2023-05-26 13:51:25 +05:30
Arpit
7f281980a3
Hotfix - support resolving codeblocks workspace (#6551)
* fixes: resolve both {{object}} and %%object%% within a single string

* resolved multiple server/client/app variables together

* clean up

* clean up
2023-05-26 13:50:39 +05:30
Sherfin Shamsudeen
b82a8a7a35 Merge branch 'main' into develop 2023-05-25 18:32:59 +05:30
Justin Warren
a558548864
Add LISTEN_ADDR environment variable for server. (#6082)
LISTEN_ADDR defaults to '::' so server supports IPv6 and IPv4
2023-05-25 12:32:00 +05:30
Midhun G S
3282cae0e5
bump version (#6526) 2023-05-25 11:15:46 +05:30
Midhun G S
88549c15c6
building fe assets synchronously (#6514) 2023-05-24 22:26:24 +05:30
Sherfin Shamsudeen
8ff3458a21 Bump version to 2.6.0 2023-05-23 15:50:46 +05:30
arpitnath
91c971832f current organization Id to be passed from frontend 2023-05-16 12:29:34 +05:30
arpitnath
cea948710e changing scope of API key from user to workspace 2023-05-14 01:40:48 +05:30
Arpit
2ddbd3309e
Feature - ToolJet Copilot 🚀 (#6074)
* add support for Copilot assistance

* clean up

* fixes workspace settings crash

* refactor and resolved review comments

* api endpoint should be inferred from env

* copilot style fixes

* copilot style fixed

* beta tag fro copilot settings: workspace

* fire toast for unauthorised recommendation request

* include the previous code with the newly generated response

* scoping apikeys to orgs

* controller updates for copilot

* copilot org key updated

* disable toggle for new workspaces

* disable toggle for new workspaces

* fixes: multi-workspace toggle updates

* uninstall unsued packages

* fixes button state for copilot in transformations

* updated the urls
2023-05-11 15:04:48 +05:30
Muhsin Shah C P
f215d1df96
App version creation flow enhancement - New released version warning popup - Current version issues (#5947)
* current version issue

* working on modal design

* Added released version popup and shake animation

* refactoring the code

* improved the experience

* extra changes

* css revert

* fix: disable components & properties

* fix: switched released version saving & create version modal input value retain issues

* fix: retained values issues

* fix: edit version modal current name issue
- disabled comment's icon

* override grayed out effect for preview

* fix: text overflow issue

* css fix: overflow

* added check for sub-containers

* fixed and added specs

* UI and UX fixes

* lint fix

* added clearInternal fn

* change:added clearInternal fn

* refactoring the code

* removed the comments

* added some code that were missing after the merge

* fixed merge issues

* fixed undo redo

* reverted the store changes
2023-05-11 12:32:21 +05:30
Arpit
c2434d216b
add the missing block (#6332) 2023-05-10 13:49:17 +05:30
Muhsin Shah C P
ff103d0e42
copy pasting the code from EE and testing (#6272) 2023-05-09 15:41:05 +05:30
Akshay
642569b519
Merge pull request #6178 from ToolJet/improvements/marketplace-plugin-schema-validations
Plugins JSON validation to prevent saving invalid data to database
2023-05-04 14:14:30 +05:30
Akshay
0c9a275b4d
Merge pull request #6072 from ToolJet/plugin/textract
Feature/Plugin - AWS Textract Plugin
2023-05-03 16:11:00 +05:30
Arpit
a2b4e49776
remove console log 2023-05-03 16:08:34 +05:30
arpitnath
33416b2563 Merge branch 'develop' into plugin/textract 2023-05-03 13:21:05 +05:30
Akshay Sasidharan
dd75ba8483 bump to v2.5.0 2023-05-03 12:59:17 +05:30
Akshay
36f4bdd401
Merge pull request #6224 from ToolJet/main
Hotfix merge back to develop
2023-05-03 12:46:30 +05:30
arpitnath
752cd7c436 clean up 2023-05-02 15:24:31 +05:30
arpitnath
95f4bdfa9b retreiving the protobuff and saving services and rpcs 2023-05-02 05:19:38 +05:30
arpitnath
a60ffb3dc7 fixes: app crash for adding a new gds from marketplace 2023-04-28 19:48:36 +05:30
Muhsin Shah C P
e28acce37c
[fix] camel paths are converted with underscore while populating the OpenAPI plugin operations field causing internal server error & crashing OpenAPI queries when the user changes the datasource (#6149)
* fix: paths issue

* fix: switching ds from query issue

* fix: decamelizing issue

* fix: else case

* refactoring the code
2023-04-28 16:13:51 +05:30
Muhsin Shah C P
ec8e560af1
[fix] Error when accessing the app preview with slug instead of app id (#6179)
* fix

* refactoring the code
2023-04-28 11:11:08 +05:30
arpitnath
44d696f8bc Plugins JSON validation to prevent saving invalid data to database 2023-04-27 18:48:45 +05:30
Akshay
8772cff54c
Merge pull request #6165 from ToolJet/fix/tracking-vars
Fix: Telemetry flag check
2023-04-27 14:29:23 +05:30
Akshay Sasidharan
d2207cf48c enable check for update when var is unset 2023-04-27 13:54:28 +05:30
Akshay Sasidharan
c995a39cbd fix telemetry flag check 2023-04-27 12:24:01 +05:30
arpitnath
30f5b26e98 Merge branch 'develop' into plugin/textract 2023-04-23 02:28:59 +05:30
arpitnath
fa132fd99a update name 2023-04-21 15:44:12 +05:30
Kiran Ashok
65259afeb2
Feature Homepage and settings redesign (#5763)
* adding colors

* feat :: add button

* feat :: added typography

* feat: init storybook

* removes browserlist

* feat :: adding button styles and button component

* feat :: added sass addon

* stories update

* feat :: replacing with radix colors

* danger variants

* updates buttin story

* fix :: removing default items

* cleanup

* fix icons update

* feat :: folder list component

* fix :: naming

* icon and split button :: init

* intermediate save :: app card component

* renaming

* updates

* update for module imports

* updates icon

* update :: homepage design updates

* design changes dashboard

* updates :: apps section

* workspace stting new design upate

* updates dasboard design

* style :: fixes

* feat :: added context for sidebar nav breadcrumb

* added all solid icons

* intermediate update

* change: conditions for fetching users

* sorybook updates

* design updates :: workspace settings page

* manage users page

* lint fixes

* fix :: styling

* stle fixes :: workspace settings

* homepage redesign

* fix :: all drawer colors and position ,teplate page revamp , database page header fixes

* imported all bulk icons

* svg to jsx : bulk icons

* minor :: cleanup

* fix :: manage users drawer

* fix :: searchboxes , userspage fixes

* fix :: all inputs and minor ui fixes

* database page ui fixes

* fix :: database and folder search functionality and iconlist in homecard

* fixed some db functionality and edge cases for longer texts

* fix :: user addition manage user page

* self review cleanup and change in bulk icon fill state

* fix :: homepage seacbar

* merging develop and resolving conflicts

* remove unwanted stories

* reverting merge with develop

* Revert "reverting merge with develop"

This reverts commit 2150c8ec0c.

* clearing out warnings

* lint fixes

* feat :: added org modal in database page

* fix :: sso loader theme

* fix :: broken styles select

* fixed icon warning and select ui

* fix :: upload bulk and user select dark mode

* merge styles  with develop

* feat :: integrated new ui for database

* removing storybook files

* fix :: all bugs related to users dropdown and cleanup

* fix: user search api for organization page

* cleanup and splitting dropzone component

* fix :: overflow issue in app card time

* fix for scrollbars in homepage

* PR review fixes

* updates :: fix d=global datasource design issues , homepage responsiveness

* tj db operations

* breadcrumb bug fixes

* lint fixes

* removing logs , removed fade in in datasource and database page

* marketplace page ui fix

* removing inital users table fetch

* Pr :: review changes

* remove logs

* fix :: popover bug

* minot style fix

* fix :: remove arrow from all popovers

* fix :: for loading states

* ux :: sidebar items reorder

* style :: fix

* style fix :: templates

* fix :: qa bugs

* fix :: Qa reported bugs

* removes :: folder fetch bug

* share link and datsource bg color fix

* fixes :: rename group ,

* removed logs

* pages popover background fix

* fix :: tj db table addition ui bug

* fix :: ui bug confirm modal password disable

* modal , revert name capitalize in lists, typos fix

* typos , users page route bugfix

* users page header bugfix

* workspace archive btn , datasources form style for select

* groups updated , delete, create flow updated

* avatar bug in profile page fix

* revert styles

* fix :: for create new table nav breadcrumb not being updated

* click state bug fix in avatar

* fix bug with appcard popover

* fix :: text capitalize issue

* fix :: lints and updated icon for filter delete

* fix warnings

---------

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
2023-04-21 11:45:48 +05:30
Akshay
c43266a352
Merge pull request #6085 from ToolJet/main
Merge hotfix 2.4.9 to develop
2023-04-20 18:20:08 +05:30
Akshay Sasidharan
2d527b83ae bump version 2023-04-20 18:02:31 +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
arpitnath
e688662a1f plugin: aws textract 2023-04-19 21:12:57 +05:30
gsmithun4
c95344d121 bump version 2023-04-19 21:05:46 +05:30
vjaris42
45b41eae34
fix: app import conflicts (#6060) 2023-04-19 21:04:42 +05:30
Kavin Venkatachalam
63cf891fc5
bump version (#6062) 2023-04-19 15:19:12 +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
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
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