calcom/lib
Edward Fernández 1d10874890
Web3 App (#1603)
* Crypto events (#1390)

* update schemas, functions & ui to allow creating and updating events with a smart contract property

* remove adding sc address in the dialog that first pops-up when creating a new event, since its an advanced option

* add sc to booking ui

* some more ts && error handling

* fetch erc20s and nfts list in event-type page

* some cleanup within time limit

* ts fix 1

* more ts fixes

* added web3 section to integrations

* added web3 wrapper, needs connection to user_settings db

* extract to api

* Update eventType.ts

* Update components/CryptoSection.tsx

Change comment from // to /** as @zomars suggested

Co-authored-by: Omar López <zomars@me.com>

* convert axios to fetch, change scAddress to smartContractAddress, load bloxy from next_public_env

* Fix branch conflict

* add enable/disable btn web3

* fixed away user causing duplicate entries

* Remove web3 validation

* renamed web3 button in integrations

* remove unused variable

* Add metadata column

* added loader and showToast to the web3 btn

* fix: remove smartContractAddress from info sended

* send to user events when the contract is missing

* use window.web3 instead of web3

* use NEXT_PUBLIC_WEB3_AUTH_MSG

* remove web3 auth from .env

* wip

* wip

* Add metamask not installed msg and success redirect

* add redirect when verified

* styled web3 button and added i18n to web3

* fixed redirect after verification

* wip

* wip

* moved crypto section to ee

Co-authored-by: Yuval Drori <53199044+yuvd@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@richelsen.net>
Co-authored-by: Yuval Drori <yuvald29@protonmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Edward Fernandez <edward.fernandez@rappi.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-01 21:48:40 +00:00
..
config Adds trial banner and in-app upgrade (#1402) 2022-01-03 22:50:59 +00:00
core Fixes Apple Calendar onboarding and type fixes (#988) 2021-10-20 15:42:40 +00:00
emails Bugfix/minor email fix (#1644) 2022-01-29 19:22:02 +00:00
events Wrong language in emails (#1541) 2022-01-27 13:32:53 -07:00
hooks Allows setting the event frequency to other than event length (#1349) 2021-12-19 12:11:31 +00:00
integrations Web3 App (#1603) 2022-02-01 21:48:40 +00:00
mutations Allow choosing destination calendar per event type (#1514) 2022-01-21 14:35:31 -07:00
queries [CAL-770] add new integration architecture revamp (#1369) 2022-01-06 12:28:31 -05:00
types Web3 App (#1603) 2022-02-01 21:48:40 +00:00
webhooks Wrong language in emails (#1541) 2022-01-27 13:32:53 -07:00
app-providers.tsx Upgrades next-auth to v4 (#1185) 2022-01-07 20:23:37 +00:00
asStringOrNull.tsx add e2e testing on webhooks and booking happy-path (#936) 2021-10-18 22:07:06 +01:00
auth.ts Add log in with Google and SAML (#1192) 2022-01-13 20:05:23 +00:00
availability.ts Bugfix/year change (#1323) 2021-12-16 15:20:38 +00:00
CalEventParser.ts Wrong language in emails (#1541) 2022-01-27 13:32:53 -07:00
classNames.ts <Button>-component (#480) 2021-08-23 14:45:25 +02:00
clock.ts Suggestion: let prettier sort imports order (#673) 2021-09-22 13:52:38 -06:00
cropImage.ts fix: prevent image uploader converting every image to jpeg (#1262) 2021-12-07 17:05:26 +00:00
crypto.ts cal-101-caldav-integration (#419) 2021-08-14 20:53:59 -05:00
ensureArray.ts Adds eventTypeId as a parameter (#1217) 2021-12-03 16:18:31 +00:00
errors.ts Refactors video integrations (#1037) 2021-10-26 10:17:24 -06:00
event.ts updated event title message (#1132) 2021-11-08 16:34:12 +05:30
getPlaceholderAvatar.tsx Improvement/teams (#1285) 2021-12-09 23:51:30 +00:00
getting-started.tsx fix #582: send user back to onboarding after adding integration (#635) 2021-10-08 14:10:57 +01:00
integrations.ts Daily video calls (#542) 2021-10-07 17:12:39 +01:00
isBrandingHidden.tsx move calendso branding into pro (#629) 2021-09-13 10:48:55 +01:00
jackson.ts Add log in with Google and SAML (#1192) 2022-01-13 20:05:23 +00:00
jsonUtils.ts Final thing to check is timezones, currently if I am in Kuala Lumpur the time is correct, but it jumps 8 hours due to being out of bound on Seoul. 2021-06-29 01:45:58 +00:00
location.ts Daily video calls (#542) 2021-10-07 17:12:39 +01:00
logger.ts chore: clean up and fix images (#1224) 2021-12-01 10:32:08 +00:00
member.ts Cal 262 refactor edit teams according to the design reference (#516) 2021-09-06 14:22:22 +01:00
notEmpty.ts add select primary calendar (#1133) 2021-12-09 15:51:37 +00:00
notification.ts added useNotification @lib, using it in EventType (#468) 2021-08-18 10:18:18 +02:00
parseZone.ts Fixes timeZone() by no longer needing timeZone() (#646) 2021-09-15 03:58:29 +01:00
prisma.ts chore: clean up and fix images (#1224) 2021-12-01 10:32:08 +00:00
profile.ts Remove image from session, add /api/me, update Avatar component (#493) 2021-08-22 14:16:42 +01:00
QueryCell.tsx refactor /integrations with <Suspense /> (#1078) 2021-10-30 15:54:21 +00:00
random.ts Add log in with Google and SAML (#1192) 2022-01-13 20:05:23 +00:00
saml.ts Add log in with Google and SAML (#1192) 2022-01-13 20:05:23 +00:00
serverConfig.ts add linting in CI + fix lint errors (#473) 2021-08-19 14:27:01 +02:00
slots.ts Revert "Fixes #1572 (#1622)" (#1630) 2022-01-27 15:16:38 +00:00
slugify.ts [CAL-409] Prevents usernames with special characters (#668) 2021-09-18 00:08:02 +01:00
telemetry.ts Revert "renamed booking_confirmed to booking_attempted, needs reintroduction of booking_confirmed on API layer when email confirmations are being sent, needs renaming on postgres too (#1639)" (#1640) 2022-01-28 13:16:40 +00:00
trpc.ts Zomars/fixes trpc typo (#957) 2021-10-14 19:22:01 +00:00
videoClient.ts Wrong language in emails (#1541) 2022-01-27 13:32:53 -07:00
webhook.ts Revert "Revert "Feature/cal 274 add webhooks (#628)" (#854)" (#876) 2021-10-07 15:14:47 +00:00