Commit graph

2719 commits

Author SHA1 Message Date
Muhsin Shah C P
2fdcfcc117
[Feature] Added ability to update and delete app folders (#3132)
* Added migration to add forder_delete column

* Added new group permission

* Added deleteFolder ability

* Added delete folder api

* Added menu icon

* Added new defualt permissions of admin

* Implemented folder menu and delete action

* Implemented update folder name in frontend

* Added folder name update feature

* Refactoring code

* Added specs for update and delete apis
- Updated test-helper function with new permissions

* Resolved failing specs

* corrected method name & add count checking to delete spec

* added organizationId scope

* Changed toast and modal texts

* Resolved a mistake

* Added a check box for update permission

* Now, an user can only delete folders, if he has the permission to view all apps

* Edited update and delete spec cases

* Added error toasts

* Refactored code

* Resolved PR changes
- Changed permission name in the frontend
- Refactored the code

* capitalized all toasts
- Changed error message

* Fixed new user permission issue

* Update a spec

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-06-16 19:41:38 +05:30
Sherfin Shamsudeen
8f7a1baf44 Bump version to 1.18.0 2022-06-16 19:09:08 +05:30
Kavin Venkatachalam
337e033832
[Feature]: Run query while Creating/Saving (#3131)
* Run query while saving it

* Fixed data update while save & run query

* Fixed loading issue in the query

* Added check to avoid crash during create/run
2022-06-16 18:04:07 +05:30
Manish Kushare
22f9e1f97c
added HTML-CSS widget (#2938)
* added HTML widget

* removed console

* removed injecting css to the html page

* Shorten the div of default code for HTML widget

* Updated widget icon from tabler icons

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-06-16 17:58:11 +05:30
Sherfin Shamsudeen
1e9c22dcd5 Merge branch 'main' into develop 2022-06-16 17:55:37 +05:30
Sherfin Shamsudeen
d3be4da8eb Bump hotfix version 2022-06-16 17:54:53 +05:30
Manish Kushare
29db040eea
added instruction text property in file picker widget to add custom instructions (#2731)
* added instruction text property  in file pciker to make user unable to provide custom instructions

* Added default instruction text

* made the changes to make sure existing app do not crashes because of instructionText prop

* Solve issue -  existing file pickers wont display anything if we don't default to the default instruction text

* changes in operation.json file

* migration script for adding instructionText prop

* removed unwanted operations.json file

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2022-06-16 17:53:31 +05:30
Muhsin Shah C P
48a3f701aa
[hotfix] Date range picker is showing error inside the modal (#3289)
* Fixed issue

* Expose range picker dates on load and on default dates change

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-06-16 16:33:44 +05:30
Muhsin Shah C P
bcd62d874e
Fixed textColor issue (#3298) 2022-06-16 15:29:03 +05:30
Kavin Venkatachalam
802ad5e5df
[Feature]: Trigger actions from RunJS (#3115)
* Trigger actions from RunJS

* returned promise while running query in runjs

* Fixed preview issues

* Reusing executeAction function
2022-06-16 15:09:26 +05:30
Kiran Ashok
48dc072f17
Feature :: adding 'add datasource' option on datasource panel (#3191)
* adding datasource button

* lifting stateup :: completed

* naming update

* name change

* checks for udefined

* Revert "checks for udefined"

This reverts commit c542359e0f.

* icon updated

* fontweight removed
2022-06-15 16:16:51 +05:30
Ajith KV
a71c7b8a7f
fix: failing button widget cypress test (#3238)
* Updated cypress test for button widget

* Updated the custom command for create app

* Added data-cy attributes for elements

* Updated common selectors file
2022-06-15 15:57:03 +05:30
Kavin Venkatachalam
21ce5b5ea4
Fixed table border broken issue (#3227) 2022-06-15 14:24:08 +05:30
Manish Kushare
6f6d59fd20
display current version in the dashboard (#3244)
* display current version in the dashboard

* reverting the changes

* display version name in the dashboard using public config file
2022-06-15 13:26:02 +05:30
Prajwal Borkar
b7eb6563ec
[docs] Removed introduction page (#3282) 2022-06-15 09:15:44 +05:30
Ajith KV
a6c0277daf
Cypress test for the manage users page in the single workspace. (#3256)
* Added cypress test for manage users page in the single workspace

* Updated user selectors and user text file

* Added data-cy attributes for the elements

* Updated the folder structure
2022-06-14 17:19:58 +05:30
Gandharv
c2dfe4e30e
Change auto-save text when auto save fails (#3276) 2022-06-14 16:23:03 +05:30
Sherfin Shamsudeen
daaa6dc8e2 Merge branch 'develop' into release/1.17.2 2022-06-14 14:31:15 +05:30
Sherfin Shamsudeen
42a982b249 Add newline to server version file 2022-06-14 14:26:52 +05:30
Midhun G S
b2be27c68c
Invited user should be able to login and activate account using SSO (#3164)
* SSO login flow changes

* changes

* Fix

* added more testcases

* testcase fixes

* changes

* documentations

* flow changes

* doc changes

* reviewed docs - user lifecycle and general settings

* Fixes

* docs changes

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 14:05:38 +05:30
Sherfin Shamsudeen
1e53667dc8 Bump version to 1.17.2 2022-06-14 14:04:02 +05:30
Sherfin Shamsudeen
b705157f46
Do not fire event when step is programatically changed in step widget (#3280) 2022-06-14 14:01:24 +05:30
Arpit
b48fd53ec2
[Feature] Kanban board widget (#3049)
* init kanban board widget

* kanban board

* reverts to beautifully

* kanban UI updates and dnd fixes

* bugfix: when dropped outside the col, should return back to it inital position

* updates min-width of the column

* container and widget styles

* style fixes: column container onDrag

* adds button for new group

* fixes new card overflow

* add btn for adding cards

* groups and cards updated

* add property definition

* improves draggable card position while drag is active

* handle delete group/col

* handle col/group title updates

* handles editing card title

* style fixes for input cursor

* cleanup

* card popover with codehinter fields

* minor card fixes

* updates exposed variable

* simplify boardData into cols and cards

* adds width and min-width style definations

* build board from queries

* handle draggable rbd-id

* removes add group card and delete group option

* fixes typos

* show empty state message

* fixes typos

* removes card extra border color

* fixes column typi and cards updates issue

* adds enableAddCard property defination

* adds accent color options

* default style accent color

* accent color fix

* revets popover with hinter

* fixes card drag and drop

* removes hook

* fixes: state synced with property defination updates(col and cards data)

* fixes: on re-arranging the card via dnd, update the card content

* handles if card columnId is updated

* adds card container layer

* clean up

* dark theme

* fixes card onDrop issue

* renamed the exposed variable data --> lists

* adds custom resolvers to the popover

* handle widget crash when non iterables are passed

* updates default card and col value

* fixes dnd issues for dynamic card values

* refactor: cleanup

* handles empty and undefined cardData

* fixes Height of widget is changing when popover thing is displayed.

* fixes: updating card data in widget inspector

* fixes: updating column data in widget inspector

* fixes adding cards for newly created groups/columns

* clean up

* Add kanban event onCardAdded and expose lastAddedCard

* Add onCardRemoved action and expsed lastRemovedCard variable

* Add events and variables for card movement and selection

* Add card edit feature for kanban widget

* Rename lastAddedRemoved to lastRemovedCard in kanban

* Rename lists to columns on kanban board

* Set max height of kanban column to respond to widget height

* Have "Add description" link if there is no description for Kanban cards

* kanban docs

* Change text from "add +" to "Add card" on kanban

* Validate card data before update

* Add tip about card id type on kanban documentation

* Add default min width and width for kanban

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 11:06:36 +05:30
Kiran Ashok
e1b3c26e1d
[ Docs ] OIDC docs (#3259)
* open id docs

* typo fix

* typo

* image updated

* note added

* naming

* reviewed openId docs

Co-authored-by: Shubhendra <withshubh@gmail.com>
2022-06-14 07:23:38 +05:30
Kiran Ashok
b6c4b5204e
Manage sso link correction (#3271) 2022-06-14 07:23:05 +05:30
Sherfin Shamsudeen
f9860363e8 Bump version to 1.17.1 2022-06-13 17:51:52 +05:30
Sherfin Shamsudeen
cfc4421422 Fix typo on Steps widget event name 2022-06-13 17:50:24 +05:30
Kiran Ashok
bb6fc26f7e
[ Feature ]:: steps widget (#3200)
* tabs event

* completed event firing on selection tab

* steps widget basic structure & code

* active item logic

* logic for currentstep

* logic for steps theme

* event onSelect handled and exposed currentStepId

* fixing tooltip

* logic for colour updated

* updates

* bugfixes and color theme fix

* darkmode fixes

* some bugfixes

* cleanup

* reverting

* reverting unwanted change

* updating green theme

* pr changes : style changes

* pr change :: color style made dynamic :rocket

* style fix 🚀

* docs updated

* bugfix
2022-06-13 17:44:03 +05:30
Sherfin Shamsudeen
559965bccd Bump version to 1.17.0 2022-06-13 15:13:04 +05:30
Sherfin Shamsudeen
3f6802063b Merge branch 'develop' into release/1.17.0 2022-06-13 15:12:26 +05:30
Sherfin Shamsudeen
ad3a9ddec7
Do not zoom image on scroll if zoom buttons are not turned on (#3266) 2022-06-13 14:11:35 +05:30
Kiran Ashok
002ae8cea6
Support for background colour for tabs widget (#3254)
* style fix :: added bg colour option

* bg colour for content

* colour fix

* realtime fix
2022-06-13 14:11:09 +05:30
Sherfin Shamsudeen
037bdb5ed8
Substract 4 from canvas container widget of tabs subcontainer (#3264) 2022-06-13 12:26:43 +05:30
Abhijnan Bajpai
79eb5585a8
[docs] Fixing typo for issue #3247 (#3250) 2022-06-13 10:36:38 +05:30
Yash Dhanore
722bfa8d1c
[docs] Fixes typo in statistics widget docs #3245 (#3246) 2022-06-11 13:09:18 +05:30
Muhsin Shah C P
f215f8901f
Added url-encoded body support to restapi plugin (#3218)
* Added url-encoded body support to restapi plugin

* Refactored the code
2022-06-10 11:22:23 +05:30
Sherfin Shamsudeen
0d4d8f4448
Use visibility instead of opacity to hide non-active tabs (#3243) 2022-06-09 16:37:15 +05:30
Sherfin Shamsudeen
738acff277
Remove needless resize of container children when clicked and dragged (#3240) 2022-06-09 16:01:02 +05:30
Gandharv
292673aa67
fix: re-render when cursor hovered on canvas (#3210)
* fix: re-render when cursor hovered on canvas

* rename

* remove redundant check

* add app_id as yjs docname
2022-06-09 15:36:11 +05:30
Akshay Sasidharan
ce0c993cce bump version 2022-06-09 13:47:00 +05:30
Akshay Sasidharan
8b6faf128a Merge branch 'main' into develop 2022-06-09 13:24:30 +05:30
ToolJet Bot
b6998b4c49
Merge pull request #3222 from ToolJet/feat-3221/hot-fix
Added environment variable to view/hide account setup link
2022-06-09 13:22:20 +05:30
Brent Schroeter
51c7629ba7
Remove frontend display name validation (#2494) (#3230) 2022-06-09 12:59:33 +05:30
Ajith KV
c0232c816b
Cypress test for the manage users page (#3187)
* Added cypress test for manage users page

* Updated common text file

* Updated common utils file

* Added data-cy attributes for the elements

* Modified cypress test for manage users

* Added data-cy attributes for elements
2022-06-09 12:29:53 +05:30
Sherfin Shamsudeen
65cc6b562e
Feature/tabs tabs (#3235)
* Fix

* Fix

* Fix

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-06-09 11:45:48 +05:30
Sherfin Shamsudeen
0071e43125
Stop container children from getting resized when handle is clicked (#3232) 2022-06-09 11:16:19 +05:30
Arpit
59f0db5d03
fixes leftsidebar inspector crash for n depth nodes with actions (#3206) 2022-06-08 20:40:14 +05:30
Kiran Ashok
5664803194
Feature :: event firing on tab selection in Tabs widget (#3193)
* tabs event

* completed event firing on selection tab

* pr changes :: renaming event

* updated event
2022-06-08 12:20:51 +05:30
Kavin Venkatachalam
5280e9d6e7
Move & Resize portal (#3224) 2022-06-08 12:18:47 +05:30
Akshay Sasidharan
86ea2ceb52 Merge branch 'main' into develop 2022-06-08 11:22:19 +05:30