Commit graph

2507 commits

Author SHA1 Message Date
Akshay
971db32540
add backend validation to prevent editing released version (#2926) 2022-04-28 17:00:58 +05:30
Gandharv
9dbe6368e6
fix: able to edit app post version released (#2915)
* fix: able to edit app post version released

* feat: make datasources & queries realtime
2022-04-28 16:46:27 +05:30
shivangT
86b763d835
[docs] Replaced gif with table widget video (#2925)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-04-28 16:37:54 +05:30
Arpit
7126beb14a
[chore] fixes eslint warning and errors (#2917)
* chore: lint warning and error fixes

* reverts changes to daterangepicker.jsx
2022-04-28 15:03:05 +05:30
Eyuel Berga Woldemichael
0afb3defdd
Fix key-value input increment (#2844)
- add an extra condition to check if the key and value inputs are not empty
2022-04-28 11:37:09 +05:30
Ajith KV
a962ea7276
Added GH issue template for cypress tests (#2919)
* Added gh issue template for cypress tests

* Updated review changes
2022-04-28 11:31:24 +05:30
Akshay
aab3bc15de
Chore: AMI build release workflow (#2923)
* add workflow for packer

* update target

* run workflow only on release

* add multiple regions

* run workflow only when release is published
2022-04-28 11:20:42 +05:30
Manish Kushare
16ce6f1f42
added react-select library to create app version (#2903)
* added react-select library to create app version

* made the background color of  dropdown consistent with the current theme
2022-04-27 18:21:50 +05:30
Muhsin Shah C P
90e192dcb1
Added a field for sending JSON body with Rest Api Queries (#2667)
* updates body ui toggle

* updates

* Implemented JSON body option

* Tested and resolved some issues

* Changed body json toggle name

* Removed codes of converting json to key ,value pairs
    - Resolved array problem
    - Now json body will be seperate option

* Removed unwanted lines

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2022-04-27 15:21:30 +05:30
Manish Kushare
9eed9b1134
Fixes text widget not showing zero and false (#2877)
* fixed Text Widget not showing zero and false

* made the required changes
2022-04-26 19:34:39 +05:30
Muhsin Shah C P
efeef4d0db
Resolved tabs highlight color issue (#2900) 2022-04-26 19:30:36 +05:30
Ajith KV
794e708e6a
Updated cypress folder structure (#2909)
* Removed outdated cypress tests

* Updated cypress folder structure
2022-04-26 19:30:01 +05:30
Gandharv
010a31304b
Style: show tooltip on avatar hover (#2913) 2022-04-26 19:28:24 +05:30
Gandharv
8778428331
Style: hide resolved icon if not the thread owner (#2911) 2022-04-26 19:27:28 +05:30
Muhsin Shah C P
22991ae900
[Feature] Notion plugin 🚀 (#2853)
* initialized the plugin

* Added token field and notion svg icon

* added notion js client

* Added token authentication

* Added database query and retrieve operations

* Working on other operations of database and page

* Added archive page & get single property operations

* Resolved an issue & changed placeholders

* Added operations of block

* Added start cursor to page & database

* Added operations of user endpoint

* changed icon & cover from object to fields

* Updated documentation
2022-04-26 14:58:48 +05:30
Gandharv
571d3642b8
Fixes realtime update for global settings (#2898) 2022-04-26 14:18:34 +05:30
Muhsin Shah C P
dcee0885d6
Feature: OpenApi import plugin (#2728)
* Initialized OpenApi plugin

* Added definition field to manifest file

* Added an openapi parser

* Implemented JSON/YAML resolver
- Removed swagger parser lib
- Added a field for choosing definition format type
- Implemented a resolver for resolving $ref

* Implemented a basic operations drop down from spec paths

* Added params and body ui

* Now, can view general parameters and servers

* Added an option to override general params
- Resolved a bug

* Implemented basic openapi plugin
- Added got lib
- Tested basic queries

* Added one more method

* Resolved a common bug

* Working on Parsing definition from datasource modal
- Created new form component for openapi
- Populated select array from security array

* Added ui for authentication

* Added bearer & basic plugin code

* Resolved some ui issues of Apikeys auth option

* Added apikey auth

* Resolved an issue
- Also replaced validate btn with auto validation
- Now spec will be added to db from data-source modal

* Added error text to show validation error

* Now spec will load from props for query manager

* Added some padding to operation description

* Added ui for openapi oauth2 auth

* Implemented oauth2

* Fixed a state issue with a temporary hack

* Now we can show multiple same auth types

* added the icon

* Resolved a bug & improved multiple apikeys process

* Resolved some realtime parsing error

* Resolved a bug from options fn

* Resolved PR changes

* Updated documentation with brief details about the open API plugin

* Removed unwanted package

* Changed if-else to switch

* Code changes

* added setLoadingSpec fn to catch section

* Solved typos and error in doc

* Resolved dropdown issue

* Resolved a bug

* updated openapi icon
2022-04-26 14:14:12 +05:30
Akshay Sasidharan
ace64c9335 Merge branch 'main' into develop 2022-04-26 12:45:24 +05:30
Akshay
c987303c0f
Add support to specify encoding on s3 upload operation (#2906) 2022-04-26 12:44:46 +05:30
Akshay
5e5a20b47d
Revert "HOTFIX: Add support to specify encoding on s3 upload operation (#2886)" (#2905)
This reverts commit 4af779e1d6.
2022-04-26 12:42:50 +05:30
Akshay
4af779e1d6
HOTFIX: Add support to specify encoding on s3 upload operation (#2886)
* [docs] replaced gif with intro video for the widget (#2797)

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>

* Style updates for widget styles section of the widget inspector (#2757)

* Ensure listItem is exposed for set/unset custom variables handler (#2813)

* [docs] RethinkDB docs updated (#2809)

* updating rethink docs

* docs updates rethinkdb

* updates header

* Centered App Version in Editor (#2644)

* Centered Text in App Version Manager dropdown

* Centered Text in App Version Manager dropdown
Fixes #2570

* resolved all comments

* reverted package-lock

* Updated widget names that were lowercase (#2817)

* [docs] updated baserow and couchDB reference (#2816)

* [docs] changed the s3 sidebar position from 20 to 1.1 (#2829)

* Cypress test for login functionality (#2801)

* Added cypress and other denpendencies

* Added data-cy attribute for elements

* Added cypress test for login functionality

* Reverted unwanted files

* Move documentation link in transformation popover to a new line (#2832)

* Moved read documentation to new line

* added period

* Fixed the tooljet cli link in readme (#2833)

* [Bugfix] On dispatching Undo ⌘Z or Redo ⌘+shift+Z actions to a component on the editor should also update the internal state or props for the children. (#2826)

* fixes currentState should receive updates on appDefinations gets a new update [undo]

* update the internal state or props for the children.

* Improving codehinter UX for better typing  (#2796)

* checking keystroke for backspace and enter

* cleanup

* Set newGroupName to null on cancel (#2835)

* Fix: set newGroupName to null on cancel

* Fix: added comma

* Add missing sourceOptions to Snowflake to fix the warehouse/database/schema/role when connecting (#2718)

* Add missing sourceOptions to snowflake and use official snowflake-sdk

* Revert change to snowflake-sdk

* fix lint error

* [ Feature ] :: svg widget  (#2806)

* svg icon

* svg component

* cleanup

* name updated

* name updated

* fixing overflow issue

* dafault image

* [docs] renamed filepicker.md to file-picker.md (#2848)

* Add count of elements to new datasource modal (#2846)

* [Feature] Implemented SSL certificate option in PostgreSQL data-source  (#2636)

* working on ssl certificates

* Implemented ssl ca certificate feature
- Need to test other options too

* Changed fields order

* Changed cert fields to encrypted

* [Bug-fix] Date picker dropdown breaks table row  (#2803)

* Solved a style issue

* Solved the date picker issue

* Solved table date picker ui issue

* [ Feature ]:: Datepicker exlcudedates addition  (#2751)

* adding excluded dates property

* updates :: writing date parse function

* update parser

* logic update

* logic updated

* reimplemented logic for excluded dates

* typos updated

* pr changes

* pr changes

* cleanup

* docs updated

* default value changed

* cleanup

* [Bugfix]: Allow firing onSearch event of Table widget irrespective of server-side search is set to true or false. (#2660)

* resolves onsearch event for cliendside search

* removes un-used props

* Minor alignment for timeline title (#2849)

* [docs] renamed deployment directory to Setup (#2847)

* feat: Add realtime collaboration (#2517)

* feat: add realtime collaboration

* reduce delay in debounce

* feat: add realtime cursors

* feat: add realtime avatars

* add current user to the online users list

* add border color to the avatar

* feat: allow multi user to edit multi-versions simultaneously

* add getOne fn for fetching single api + avatar component

* fix: set appDef from api call

* replace webrtc with ws

* move yjs to separate port (temp)

* run on same port

* fix: update ymap when styles have changed

* - Add static list of colors
- Show the username on hover

* fix: cursors not showing up

* fix: review comments

* remove unused vars

* add new cursor style

* - Run yjs connection on a different path
- Add zindex to cursor such that query editor has precedence

* fix: event emitter bug + position bug

* use shorthand

* cursor style changes

* fix cursor positions

* inc zindex

* change max avatars to 3

* [Bugfix] stripe query selection dropdown menu should display the selected component value on saving the query (#2106)

* fixes should display selected component value on saving the query

* handles undefined props to select component

* fixes query failure and state update

* removes log

* fixes the crash

* removes test files

* fixes query options state: selected operation should display field on query save

* fixes query options

* fixes stripe query crash: on mount

* adds remove params function

* Update frontend/src/Editor/QueryManager/QueryEditors/Stripe.jsx

resolves

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>

* resolves current value  would lead to being a comma(,)

* resolves current value  would lead to being a comma(,) to null

* resolves review changes

* clean up: refactored

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>

* update label from URL to Base URL (#2859)

* [docs] changed sidebar position for setup (#2858)

* Fix inconsistent action button on share modal (#2854)

* Feature: Add data transfer object layer to validate and sanitize user inputs (#2694)

* add sanitize-html to be used with dto

* add dto for controllers

* add vaalidation to check token not empty

* update test config

* add validation pipe on test setup

* fix spec

* fix params casing

* update dto for empt checks

* update reset password dto

* only check for options to be defined

* update specs

* update dto and spec

* Remove invalid decorator

* update package-lock

* update thread dto

* update user dto

* fix email

* make comment req params attributes as optional

* fix specs

* Followup to #2826 (#2870)

* Fix user group not creating on press enter (#2869)

- add onSubmit handler to form
- made the name input a required field
- removed the newGroup state(it's not being used)

* Bugfix :: datepicker widget shows current date when default date is set as empty (#2875)

* fixing default date bug

* Set arbitrary default date for datepicker, and empty default exluded dates

* If set date is invalid, ensure exposed value is undefined on Datepicker

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* [ enhancement ] :: added on select event (#2707)

* added on select event

* docs updated

* bugfix :: disable cursor when pagination icons are disabled (#2867)

* [Feature] Added a feature to show maintenance state of an app (#2820)

* Implmented toggle and confirmation modal
- Also maintenance state will store in db as a global setting

* Added is_maintenance_on column to apps table

* Now maintenance state will store in app entity

* Lauch btn will be disabled for on-maintenance apps

* Users can't see preview using shared links when app is on maintenance

* Changed toggle name

* Changed maintenance dialog message
- Changed button text
- Fixed some alignment

* Feature: added basic & bearer auth to Rest API (#2742)

* Added basic and bearer auth fields

* Implemented basic and bearer auth

* Changed token name

* Added encrpyted icon along side label

* resolved a basic-auth bug

* Refactored basic auth code

* Fix: Thread/Comment edit and delete (#2880)

* fix thread edit and delete

* fix comment edit and delete

* fix thread id type on entity

* Add support to specify encoding on s3 upload operation

Co-authored-by: shivangT <32157641+shivangT@users.noreply.github.com>
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: KaviiSuri <surikavii@gmail.com>
Co-authored-by: Mathías Donoso <mathiasd88@gmail.com>
Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: Manjunath <kadrimanjunath56@gmail.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Colton Almaraz <60356596+almaraz333@users.noreply.github.com>
Co-authored-by: Josh Taylor <joshuataylorx@gmail.com>
Co-authored-by: Dinath <88936472+DinahWorld@users.noreply.github.com>
Co-authored-by: Eyuel Berga Woldemichael <30384633+eyuelberga@users.noreply.github.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Olaleye Blessing <Olayinkablexxy@gmail.com>
2022-04-26 12:42:12 +05:30
Akshay
7e98d606ce
Fix: Thread/Comment edit and delete (#2880)
* fix thread edit and delete

* fix comment edit and delete

* fix thread id type on entity
2022-04-22 13:27:05 +05:30
Muhsin Shah C P
b3ca2b64fd
Feature: added basic & bearer auth to Rest API (#2742)
* Added basic and bearer auth fields

* Implemented basic and bearer auth

* Changed token name

* Added encrpyted icon along side label

* resolved a basic-auth bug

* Refactored basic auth code
2022-04-22 13:01:08 +05:30
Muhsin Shah C P
380ea73b30
[Feature] Added a feature to show maintenance state of an app (#2820)
* Implmented toggle and confirmation modal
- Also maintenance state will store in db as a global setting

* Added is_maintenance_on column to apps table

* Now maintenance state will store in app entity

* Lauch btn will be disabled for on-maintenance apps

* Users can't see preview using shared links when app is on maintenance

* Changed toggle name

* Changed maintenance dialog message
- Changed button text
- Fixed some alignment
2022-04-21 22:08:54 +05:30
Olaleye Blessing
1ee27bb004
bugfix :: disable cursor when pagination icons are disabled (#2867) 2022-04-21 15:35:46 +05:30
Kiran Ashok
dae2cc3379
[ enhancement ] :: added on select event (#2707)
* added on select event

* docs updated
2022-04-21 15:31:57 +05:30
Kiran Ashok
772c3bd56a
Bugfix :: datepicker widget shows current date when default date is set as empty (#2875)
* fixing default date bug

* Set arbitrary default date for datepicker, and empty default exluded dates

* If set date is invalid, ensure exposed value is undefined on Datepicker

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-04-21 14:18:51 +05:30
Eyuel Berga Woldemichael
d80253e0ca
Fix user group not creating on press enter (#2869)
- add onSubmit handler to form
- made the name input a required field
- removed the newGroup state(it's not being used)
2022-04-21 08:38:02 +05:30
Arpit
ab7ba7c464
Followup to #2826 (#2870) 2022-04-21 08:36:54 +05:30
Akshay
431dc961cd
Feature: Add data transfer object layer to validate and sanitize user inputs (#2694)
* add sanitize-html to be used with dto

* add dto for controllers

* add vaalidation to check token not empty

* update test config

* add validation pipe on test setup

* fix spec

* fix params casing

* update dto for empt checks

* update reset password dto

* only check for options to be defined

* update specs

* update dto and spec

* Remove invalid decorator

* update package-lock

* update thread dto

* update user dto

* fix email

* make comment req params attributes as optional

* fix specs
2022-04-20 14:46:57 +05:30
Eyuel Berga Woldemichael
6d7a92382d
Fix inconsistent action button on share modal (#2854) 2022-04-19 20:46:28 +05:30
Shubhendra Singh Chauhan
0ec6298952
[docs] changed sidebar position for setup (#2858) 2022-04-19 18:41:52 +05:30
Eyuel Berga Woldemichael
98ef37f162
update label from URL to Base URL (#2859) 2022-04-19 17:42:28 +05:30
Arpit
886238fcc9
[Bugfix] stripe query selection dropdown menu should display the selected component value on saving the query (#2106)
* fixes should display selected component value on saving the query

* handles undefined props to select component

* fixes query failure and state update

* removes log

* fixes the crash

* removes test files

* fixes query options state: selected operation should display field on query save

* fixes query options

* fixes stripe query crash: on mount

* adds remove params function

* Update frontend/src/Editor/QueryManager/QueryEditors/Stripe.jsx

resolves

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>

* resolves current value  would lead to being a comma(,)

* resolves current value  would lead to being a comma(,) to null

* resolves review changes

* clean up: refactored

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-04-19 16:26:39 +05:30
Gandharv
40420ee591
feat: Add realtime collaboration (#2517)
* feat: add realtime collaboration

* reduce delay in debounce

* feat: add realtime cursors

* feat: add realtime avatars

* add current user to the online users list

* add border color to the avatar

* feat: allow multi user to edit multi-versions simultaneously

* add getOne fn for fetching single api + avatar component

* fix: set appDef from api call

* replace webrtc with ws

* move yjs to separate port (temp)

* run on same port

* fix: update ymap when styles have changed

* - Add static list of colors
- Show the username on hover

* fix: cursors not showing up

* fix: review comments

* remove unused vars

* add new cursor style

* - Run yjs connection on a different path
- Add zindex to cursor such that query editor has precedence

* fix: event emitter bug + position bug

* use shorthand

* cursor style changes

* fix cursor positions

* inc zindex

* change max avatars to 3
2022-04-19 16:07:39 +05:30
Shubhendra Singh Chauhan
eb2b2759b8
[docs] renamed deployment directory to Setup (#2847) 2022-04-19 08:34:54 +05:30
Dinath
fe3895c9eb
Minor alignment for timeline title (#2849) 2022-04-19 08:00:49 +05:30
Arpit
9b285dacf5
[Bugfix]: Allow firing onSearch event of Table widget irrespective of server-side search is set to true or false. (#2660)
* resolves onsearch event for cliendside search

* removes un-used props
2022-04-18 23:39:41 +05:30
Kiran Ashok
5c3d8ffa71
[ Feature ]:: Datepicker exlcudedates addition (#2751)
* adding excluded dates property

* updates :: writing date parse function

* update parser

* logic update

* logic updated

* reimplemented logic for excluded dates

* typos updated

* pr changes

* pr changes

* cleanup

* docs updated

* default value changed

* cleanup
2022-04-18 23:12:50 +05:30
Muhsin Shah C P
f98c087e99
[Bug-fix] Date picker dropdown breaks table row (#2803)
* Solved a style issue

* Solved the date picker issue

* Solved table date picker ui issue
2022-04-18 23:02:58 +05:30
Muhsin Shah C P
0a28f2a50a
[Feature] Implemented SSL certificate option in PostgreSQL data-source (#2636)
* working on ssl certificates

* Implemented ssl ca certificate feature
- Need to test other options too

* Changed fields order

* Changed cert fields to encrypted
2022-04-18 20:26:05 +05:30
Eyuel Berga Woldemichael
31b4195aa2
Add count of elements to new datasource modal (#2846) 2022-04-18 20:23:31 +05:30
Dinath
83a68c88de
[docs] renamed filepicker.md to file-picker.md (#2848) 2022-04-18 20:22:56 +05:30
Kiran Ashok
58893c5139
[ Feature ] :: svg widget (#2806)
* svg icon

* svg component

* cleanup

* name updated

* name updated

* fixing overflow issue

* dafault image
2022-04-18 19:08:50 +05:30
Akshay Sasidharan
85bd193df1 fix lint error 2022-04-18 16:39:18 +05:30
Josh Taylor
3404aad489
Add missing sourceOptions to Snowflake to fix the warehouse/database/schema/role when connecting (#2718)
* Add missing sourceOptions to snowflake and use official snowflake-sdk

* Revert change to snowflake-sdk
2022-04-18 13:31:30 +05:30
Colton Almaraz
750a7fadd1
Set newGroupName to null on cancel (#2835)
* Fix: set newGroupName to null on cancel

* Fix: added comma
2022-04-18 07:03:03 +05:30
Kiran Ashok
74c839498b
Improving codehinter UX for better typing (#2796)
* checking keystroke for backspace and enter

* cleanup
2022-04-17 23:01:15 +05:30
Arpit
175820ea31
[Bugfix] On dispatching Undo ⌘Z or Redo ⌘+shift+Z actions to a component on the editor should also update the internal state or props for the children. (#2826)
* fixes currentState should receive updates on appDefinations gets a new update [undo]

* update the internal state or props for the children.
2022-04-16 06:50:46 +05:30
Sherfin Shamsudeen
18ee640496 Merge branch 'main' into develop 2022-04-15 19:09:06 +05:30