Commit graph

2926 commits

Author SHA1 Message Date
Nathan Bisson
2b77414fab
Added hide logic to widget properties accordian menu item when it contains no items (#3589) 2022-07-25 13:48:51 +05:30
Sherfin Shamsudeen
6b1625c1b4 Merge branch 'main' into develop 2022-07-25 12:26:58 +05:30
Sherfin Shamsudeen
45e9f72b55 Bump hotfix version 2022-07-25 12:26:19 +05:30
Arpit
6968e9f793
fixes: JSON tree component - nth child node component is not rendered for nested array (#3654) 2022-07-25 12:25:31 +05:30
Gandharv
b5850a4694
feat: trigger mail when user is mentioned in comment (#3443)
* feat: trigger mail when user is mentioned in comment

* reset email service

* fix backspace issue

* open comment on view comment clicked from email

* add helper to highlight user in mail

* reset mentioned input value when value turns empty in parent

* fix test

* use where condition + throw error

* add userId

* feat: add notification center (#3484)

* remove commented code
2022-07-25 11:14:59 +05:30
Midhun Kumar E
cf31de35fc
Upgrade Cypres to V10.3.1 (#3651)
* Remove cypress and its dependencies from root dir

* Install cypress to cypress-tests  directory

* Move cypress specs and utils

* Remove older files

* Fix package.json
2022-07-25 10:15:28 +05:30
Akshay
22cea25f09
Chore: Make typescript non dev dependency for plugins build (#3405)
* make typescript non dev dependency for plugins build

* move typescript to peer dependencies
2022-07-20 12:19:48 +05:00
Midhun Kumar E
a68c727eae
Add cypress test for date picker widget (#3592)
* Add and modify data-cy for widgets

* Add selectors

* Add constant texts and methods

* Add common widget operations

* Add momet to Cypress

* Add common utils and optimized commands

* Add methods specific for Datepicker

* Add spec datePickerHappyPath

* Minor selector modification

* Add verification of value from inspector
2022-07-20 12:41:50 +05:30
Akshay Sasidharan
e0101b0b69 add health check on digital ocean deploy template 2022-07-19 23:26:58 +05:30
Akshay Sasidharan
689b7f2894 specify instance type on digitalocean 2022-07-19 22:18:21 +05:30
Akshay Sasidharan
c60f4d94f5 bump to v1.21.1 2022-07-19 22:11:18 +05:30
Akshay
94efa97270
Update digital ocean setup (#3644)
* add placeholder values for digital ocean secrets

* revise dockerfile with security updates

* update postbuild script to use transpiled code

* add cloud-init dependency

* move cloud-init to digitalocean postbuild script

* update digitalocean postbuild script
2022-07-19 22:07:54 +05:30
Sherfin Shamsudeen
bc648c9f31 Merge branch 'develop' into release/1.21.0 2022-07-19 20:21:44 +05:30
Sherfin Shamsudeen
108c0ccff6 Bump minor release version 2022-07-19 20:20:24 +05:30
Sherfin Shamsudeen
5885b09147
Fix app freeze during component name change (#3643) 2022-07-19 20:12:23 +05:30
Sherfin Shamsudeen
48fe8fb5b9 Update Table data validation schema 2022-07-19 19:07:28 +05:30
Arpit
d051095412
hides node indicator for Date types (#3633) 2022-07-19 18:57:46 +05:30
Sherfin Shamsudeen
bc93818621
Feature/component property validation (#2782)
* Initial architecture for component property validation

* Coerce to default and log invalid properties

* eslint rule:frontend for  specifying the path to the  @types/

* removes comment for eslint-disable-next-line

* reverts 27946f1 & adding a temporary fix

* Remove incorrect property validations

* Avoid race condiiton in setting state for error logs

* Fix issue where only one error got logged

* Flush out any errors that are logged

* Remove unnecessary console.log

* Add validations for Table properties

* Add support for multiple validations

* Add validation for chart component

* Add validation for modal

* Set default value common to all validation schemas for component properties

* Add validations for password widget

* Add validations for datepicker

* Add information about default value on validation error message

* Remove unwanted console.log

* Do not validate properties on Viewer

* Use meta information from widget config instead of component state to validate

* Do not coerce to default values while validating

* Do not validate existing components

* Update package-lock.json in sync with develop

* Add validation for general properties

* Add support for size validation of component properties and styles

* Add support for min and max spec in size validation

* Support pattern validation for string properties

* Make size validation specifiable along with type specification

* Component validation optimizations

* Remove unnecessary comments

* Remove unnecessary default value param from validation

* Fixed visibility style validation bug

* Added custom validation to PDF & Custom component

* property/style validation statistics

* values changed to string

* validation button group widget

* bugfix

* Added property validation to timeline widget

* Added visibility prop validation to timeline widget

* steps property/style validation

* svg component property validation

* component property validation numberinput

* bugfix

* validation textarea

* validation vertical divider

* property validation html widget

* validation :: checkbox

* image property validation

* validation :: rangeslider widget

* validation :: circular progress bar

* validation spinner

* added props and style validation

* tags validation

* validation :: pagination

* timer :: validation

* validation :: toggle

* validation :: divider

* validation :: radiobutton

* added props and style validation

* validation:: iframe

* validation :: password input

* validation:: code editor

* validation :: listview

* validation :: star rating

* validation :: modal

* validation :: qrscanner

* validation :: datepicker

* multiselect :: validation

* added union validation for border radius

* added props and style validation

* added props and styles validation

* added props and styles validations

* added props and styles validations

* added props and style validations

* added props and styles validations

* added prop and style validations

* added props and styles validations

* Added ID validation to steps widget

* Removed default value

* Added validation key to SVG widget

* Removed default value

* table validations

* table validations

* removing default value

* removing defaultval

* removing default val

* removing default val

* padding validation update

* updating number validation

* updatin number validation

* validation updates

* border validation

* border radius validation

* number input validation

* validation updates

* border radius validation

* validation update

* Updated misspelled schema text

* Updated Tabs validation schema

* Updated tooltip element schema

* Updated validation for multi select

* Updated validation for dropdown

* Updated validation for text widget

* Rectified mispelled validation

* Fixed : validation not working for format

* Added Array validation to chart widget

* format prop bug fix

* draft complete :: table validation

* Fixed misspelled text

* Don't validate properties that are not defined on widgetConfig

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-07-19 18:51:45 +05:30
Kiran Ashok
24cda4d577
[ Feature ] :: component specific action :: multiselect widget (#3523)
* widget actions multiselect

* completed :: actions and fireevent

* removing logs

* CSA docs

* bugfix :: event fired 2 times

* clear action updated

* Use dependencies on selectOption action

* Use dependencies for deselectOption and clear

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-19 15:36:00 +05:30
Sherfin Shamsudeen
a59d5d13d0 Merge branch 'main' into develop 2022-07-19 12:35:07 +05:30
Sherfin Shamsudeen
b75ac7dae6 Bump hotfix version 2022-07-19 12:34:47 +05:30
Arpit
6d38cc70b8
fixes: event execution for listview widget (#3629) 2022-07-19 12:25:09 +05:30
Kiran Ashok
bc56e1db97
Component specific action for :: checkbox widget (#3505)
* checkbox component specific action for checkbox

* checkbox CSA updated

* exposing check value
2022-07-18 18:47:38 +05:30
Manish Kushare
40953cbfca
added component specific action to Dropdown Widget (#3496)
* added component specific action

* remove the type from params of the action object

* changed action and handle name

* fire event on select

* If the value is not a part of the set of available options, then the exposed value should be undefined

* fixed the logic to set exposed variable to undefined for invalid option

* removed console's

* expose and use updateRegisteredAction to update action whenever dependencies change

* Add support for dependencies in registerAction callback

If dependencies are provided, the registerAction callback will update
the action whenever the dependencies are updates. This is similar to
how useEffect works.

* Remove unnecesary code

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-18 17:51:21 +05:30
Sherfin Shamsudeen
3b36d51b87
Rename colorPicker.svg to colorpicker.svg 2022-07-18 16:17:14 +05:30
Sherfin Shamsudeen
3a54cf846d
Rename Html.svg to html.svg 2022-07-18 16:16:46 +05:30
Ajith KV
f07c827cd5
Cypress test for user permissions multi workspace (#3591)
* Added cypress test for user permissions

* Updated user permissions utils file
2022-07-18 11:56:10 +05:30
Midhun G S
3297fdb68a
Instance level SSO for Multi-Workpsace (#3441)
* changes

* changes

* e2e testcases

* fixes

* fix

* changes

* e2e fixes

* test cases

* clean up

* redirection changes

* style changes

* test cases

* testcases fix

* added test cases

* doc changes

* doc changes

* invitation token fix

* SSO General settings page changes

* added sso button to signup pages

* added helper text

* fix

* test case fixes

* fix
2022-07-18 11:40:52 +05:30
Manish Kushare
844ef5a81c
added component-specific action to set and clear value (#3487)
* added component-specific action to set and clear value

* updating exposed variable

* updated docs

* update the docs

* set exposed variable to empty string upon clear action using controlled components

* onChange event is fired for the actions
2022-07-15 15:53:35 +05:30
Akshay Sasidharan
3e5ffcf4da fix lint 2022-07-15 15:17:18 +05:30
Shivang
9894f4315c
[docs] Corrected grammar mistakes and spellings (#3619)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-07-15 14:15:23 +05:30
Manish Kushare
482ce5ab3c
Modal : added component specific actions (#3494)
* added component specific actions

* updated docs

* changed the action name from show to open
2022-07-14 18:26:53 +05:30
Muhammad Azka
8bc7acd9c2
Add validation for input fields on the profile settings page (#3104)
* Added input fields validation

* Update frontend/src/SettingsPage/SettingsPage.jsx

Co-authored-by: Midhun G S <gsmithun4@gmail.com>

* Linted toast messages

* firstname and lastname field now accept special characters

* removed validation

* linted line 17

* fix lint errors

* Update SettingsPage.jsx

* Update theme.scss

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-14 18:24:53 +05:30
Muhsin Shah C P
d14b4a4d86
[Component specific action] Added setTab component action to Tabs widget (#3507)
* Added setTab component action to Tabs widget

* added the event

* resolved css syntax error
2022-07-14 17:18:12 +05:30
Sherfin Shamsudeen
c46e2f0c78 Merge branch 'main' into develop 2022-07-14 15:33:12 +05:30
Sherfin Shamsudeen
e36f869ed2 Bump hotfix version 2022-07-14 15:32:49 +05:30
Manish Kushare
8dc7711fa8
hotfix : Rename Button's setLabel action's name to setText (#3609) 2022-07-14 15:31:26 +05:30
Akshay Sasidharan
38eb36c803 Merge branch 'main' into develop 2022-07-14 14:06:04 +05:30
Akshay Sasidharan
a93b96d882 bump hotfix version 2022-07-14 14:05:06 +05:30
Akshay
b4999a413b
Hotfix: Split data and db migrations (#3610)
* split data and db migrations

* comment audit logs

* make prod script to print logs

* wrap data migrations in single transaction
2022-07-14 14:03:21 +05:30
Syed Ansar
b66d59b17d
Added confirm input in profile settings (#3375)
* Added confirm input  in profile settings

* Linting changes

* Fixed  ES-lint errors/issues

* Updated confirm password error toast message.

Co-authored-by: Midhun G S <gsmithun4@gmail.com>

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-14 10:33:46 +05:30
Shubhendra Singh Chauhan
d002cc12a9
[docs] how-to: run actions from RunJS (#3602)
* [docs]how-to/run-actions-using-runjs

* fixed syntax

* fixed syntax

* go to app syntax update
2022-07-14 07:38:47 +05:30
Gandharv
b833b930bf
Show version create popup when deleting a widget on released version (#3485) 2022-07-14 07:31:18 +05:30
Shivang
33ad5d2d96
[docs] Updated list view video in documentation page (#3607)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-07-13 16:02:26 +05:30
Shivang
33582b92dc
[docs] Updated tabs widget video (#3606)
* Updated Tabs video in documentation page

* Updated video title

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-07-13 16:02:05 +05:30
Muhsin Shah C P
454e7b07b1
Added a component action for selecting an option from radio button widget (#3512) 2022-07-13 15:50:45 +05:30
Manish Kushare
706ae3fd82
added component specific action - setText and clear (#3489)
* added component specific action - setText and clear

* updated the docs
2022-07-13 15:42:19 +05:30
Jan Bader
510a25052b
#2567 - Feature/add database instance option to mssql (#3545) 2022-07-13 13:15:59 +05:30
Nathan Bisson
6761809015
Fixed typo for background color in container widget style properties (#3588) 2022-07-13 07:26:56 +05:30
(◕ᴥ◕)
cc2ef70b1b
[docs] Fix typos (#3599) 2022-07-13 07:25:57 +05:30