Commit graph

2538 commits

Author SHA1 Message Date
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
Sherfin Shamsudeen
99bcacfd82 Bump patch version 2022-04-15 19:08:45 +05:30
Manjunath
29e01e38a9
Fixed the tooljet cli link in readme (#2833) 2022-04-15 19:01:54 +05:30
Manjunath
78560933e3
Move documentation link in transformation popover to a new line (#2832)
* Moved read documentation to new line

* added period
2022-04-15 18:43:42 +05:30
Ajith KV
5abdbce06c
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
2022-04-15 14:29:17 +05:30
Manjunath
93724336b1
[docs] changed the s3 sidebar position from 20 to 1.1 (#2829) 2022-04-15 11:21:21 +05:30
Kiran Ashok
ec0bd7d2f4
fix for button loading state bug (#2823) 2022-04-14 14:41:30 +05:30
Shubhendra Singh Chauhan
84d36ddc46
[docs] updated baserow and couchDB reference (#2816) 2022-04-14 09:29:41 +05:30
Mathías Donoso
8826c9f5ce
Updated widget names that were lowercase (#2817) 2022-04-14 09:27:19 +05:30
KaviiSuri
4b5b8b1d19
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
2022-04-14 00:19:50 +05:30
Kiran Ashok
347020fc82
[docs] RethinkDB docs updated (#2809)
* updating rethink docs

* docs updates rethinkdb

* updates header
2022-04-14 00:13:57 +05:30
Sherfin Shamsudeen
fda71f04e0
Ensure listItem is exposed for set/unset custom variables handler (#2813) 2022-04-13 15:42:00 +05:30
Kiran Ashok
fb3465581e
Style updates for widget styles section of the widget inspector (#2757) 2022-04-12 21:01:47 +05:30
shivangT
b049d12230
[docs] replaced gif with intro video for the widget (#2797)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-04-12 20:45:39 +05:30
Navaneeth Pk
391c2e0481 Lock sentry version 2022-04-12 15:05:22 +05:30
Sherfin Shamsudeen
a7223d9bf3 Bump hotfix version 2022-04-12 13:08:35 +05:30
Sherfin Shamsudeen
e9b8e29790
Fix vulnerability with token validation (#2793)
* Fix token validation

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-04-12 13:06:18 +05:30
Sherfin Shamsudeen
3baa3ea9ae Bump version to 1.10 2022-04-11 17:33:31 +05:30
Arpit
e792e074f1
[Improvement] migrates to react-select: selection dropdown component (#2322)
* migrates to react-select: selection dropdown component

* styles fixes

* decomposing @ui/Select component into sub-components

* migrates Editor-Select component

* adds width to oauth selection dropdown

* updates datasource: oauth and authentication dropdowns (source component)

* Update frontend/src/_ui/Select/SelectComponent.jsx

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

* resolves currentValue

* fixes scroll issue for dropdown options component

* updates queryManager react-select component

* updates rest api query to react-select

* adds options to render select menuwith portal

* adds: select menu render option for dynamic dropdowns and drodown-component-flip

* fixes: dropdown selection menu for restapi-oauth

* removes unused imports

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-04-11 17:27:07 +05:30
Shubhendra Singh Chauhan
0c5daad9d9
[docs] updated references for Airtable, Appwrite, BigQuery, Firestore (#2787) 2022-04-11 17:26:29 +05:30