Commit Graph

1472 Commits

Author SHA1 Message Date
Edward Fernandez 20beb961c6 Add web3app validation using user settings 2022-01-10 15:19:53 -05:00
Edward Fernandez 036224f7bd Add user_settings table 2022-01-10 09:14:38 -05:00
kodiakhq[bot] cf8f43ee6d
Merge branch 'main' into web3 2022-01-08 16:54:46 +00:00
Muhammad Redho Ayassa 09c4040ce5
fix missing date in book page (#1430) 2022-01-08 16:54:02 +00:00
Peer Richelsen 1f65bc77f5 merge 2022-01-07 23:05:20 +00:00
github-actions[bot] 57eeb48a8e
New Crowdin translations by Github Action (#1433)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-07 22:24:48 +00:00
Yuval Drori 38886e81ca convert axios to fetch, change scAddress to smartContractAddress, load bloxy from next_public_env 2022-01-07 22:18:49 +01:00
Omar López 84d75cf693
Upgrades next-auth to v4 (#1185)
* Upgrades next-auth to v4

* Fixes next-auth session types

* Type fixes

* Fixes login issue

* Team page fixes

* Type fixes

* Fixes secret

* Adds test for forgotten password

* Skips if pw secret is undefined

* Prevents error if PW secret is undefined

* Adds PLAYWRIGHT_SECRET explainer

* Adds pending auth TODOs

* Adds missing secret

* Fixed imports

* Fixed imports

* Type fixes

* Test fixes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-07 20:23:37 +00:00
Bailey Pumfleet bf46038474
Update common.json 2022-01-07 10:23:07 +00:00
Peer Richelsen e93b7d942a
hide slug event-types on mobile (#1426) 2022-01-06 22:13:38 +00:00
Edward Fernández 6e7359ae96
fix code validation when the google calendar integration does not have all permission (#1425)
Co-authored-by: Edward Fernandez <edward.fernandez@rappi.com>
2022-01-06 15:06:31 -07:00
Edward Fernández bd2a795d7a
[CAL-770] add new integration architecture revamp (#1369)
* [CAL-770] add new integration architecture revamp

* Type fixes

* Type fixes

* [CAL-770] Remove tsconfig.tsbuildinfo

* [CAL-770] add integration test

* Improve google calendar test integration

* Remove console.log

* Change response any to void in the deleteEvent method

* Remove unnecesary const

* Add tsconfig.tsbuildinfo to the .gitignore

* Remove process env variables as const

Co-authored-by: Edward Fernández <edwardfernandez@Edwards-Mac-mini.local>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Edward Fernandez <edward.fernandez@rappi.com>
2022-01-06 12:28:31 -05:00
Peer Richelsen 8a70ea66e9
added url to event-types preview (#1420)
* added url to event-types preview

* wip

* wip
2022-01-06 10:39:16 +00:00
Peer Richelsen 46df4c048e
hide order buttons on mobile event types (#1421)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-01-06 10:24:19 +00:00
github-actions[bot] 592dcd36b3
New Crowdin translations by Github Action (#1412)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-06 10:12:35 +00:00
Flemming 3bb76a3a62
Update Readme to create a local .env (#1313) 2022-01-04 17:19:44 +00:00
Flemming 4537117624
[WIP] Create password change test (#1333) 2022-01-04 17:18:49 +00:00
André Ricardo 9b5da1bca3
performance increase for the DatePicker component (#1404)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-01-04 10:06:05 +00:00
github-actions[bot] 80bd7fd89b
New Crowdin translations by Github Action (#1407)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-01-04 10:05:19 +00:00
Omar López a66610d9c2
Zomars/cal 777 switching off paid mode bug (#1401)
* Adds Form component

* Disabling price sets it to 0
2022-01-03 23:19:05 +00:00
kodiakhq[bot] cb2842c695
Merge branch 'main' into web3 2022-01-03 22:51:34 +00:00
Omar López 4cd7a4ce5b
Adds trial banner and in-app upgrade (#1402)
* WIP trial banner

* Fixes days left count

* Defers stripe loading until needed

* Fixes auth issues

* Checkout fixes

* Allows for signup testing

* Debugging checkout

* Adds tests for trial banner

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-01-03 22:50:59 +00:00
kodiakhq[bot] 7f2323a0d6
Merge branch 'main' into web3 2022-01-03 12:02:09 +00:00
Peer Richelsen baa7e868bd
Fix/bookings mobile (#1405)
* added title for truncated description booking page

* minor changes
2022-01-03 12:01:06 +00:00
Yuval Drori 12c728b4e4
Update components/CryptoSection.tsx
Change comment from // to /** as @zomars suggested

Co-authored-by: Omar López <zomars@me.com>
2021-12-30 22:00:41 +00:00
kodiakhq[bot] a5e37fe8b6
Merge branch 'main' into web3 2021-12-30 18:17:32 +00:00
Yuval Drori 9ed4295b28 Merge branch 'web3' of https://github.com/calendso/calendso into web3
extract api response to const
2021-12-30 19:09:22 +01:00
Yuval Drori cf75791823 extract to api 2021-12-30 19:09:07 +01:00
Omar López 445faa406a
Zomars/cal 798 issue with billing portal (#1392)
* Uses stripeCustomerId from used metadata in billing portal

* Uses stripeCustomerId from used metadata in billing portal

# Conflicts:
#	ee/pages/api/integrations/stripepayment/portal.ts
2021-12-30 11:42:06 -05:00
Omar López 2ada162c90
Update eventType.ts 2021-12-30 09:40:09 -07:00
Syed Ali Shahbaz 4be4a01968
Blank success page in January bookings (#1399)
* added 1 to UTC month conversion to make it 1 to 12

* with as numtype
2021-12-30 09:04:08 -07:00
Peer Richelsen f670cc23f2 added web3 wrapper, needs connection to user_settings db 2021-12-30 14:36:27 +01:00
Peer Richelsen 59720b8ca7 added web3 section to integrations 2021-12-30 14:28:08 +01:00
Peer Richelsen 3847196aa6
Merge branch 'main' into web3 2021-12-30 13:33:56 +01:00
Yuval Drori 45eb4422e3
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
2021-12-30 13:32:59 +01:00
Alex van Andel bc46f4fbc4
Fixes day of month start day (#1389) 2021-12-29 08:27:49 +00:00
Omar López 9b583694a3
Adds users metadata column (#1387) 2021-12-28 10:15:52 +01:00
Peer Richelsen 81e2ae1352
fixed mobile layouts for team and team availability (#1382) 2021-12-27 19:54:11 +01:00
depfu[bot] 3e1fe30186
Update all Yarn dependencies (2021-11-29) (#1233)
* Update all Yarn dependencies (2021-11-29)
2021-12-27 16:00:15 +00:00
github-actions[bot] f91ed7837c
New Crowdin translations by Github Action (#1384)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-12-27 15:31:27 +01:00
Adrien La 1567feb75e
i18n - Translate booking status when empty screen (#1219)
* i18n translate booking status when empty screen

* i18n - status key added to fr & en

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-27 13:29:43 +01:00
github-actions[bot] 43a721dce6
New Crowdin translations by Github Action (#1381)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-12-27 13:11:23 +01:00
albanobattistella 0f82427b1e
Update common.json (#1380) 2021-12-27 12:52:24 +01:00
Alex van Andel 3e5987abec
For now; entirely disable sharing owner role (#1372) 2021-12-22 18:05:49 -07:00
Nathaniel 3761a75b28
fixed zoom video not creating when credentials are not valid (#1329)
* fixed nextcloud

* fixed nextcloud & fastmail issues

* fixed zoom video not creating when credentials are not valid
also fixed reponse to reflect create failure.

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-22 13:38:24 -07:00
Alex van Andel 9d7dc09974
Use the matched user email to send the password reset to (#1366) 2021-12-21 18:31:32 +01:00
Syed Ali Shahbaz bab72f1514
upgraded prisma to v3.0.2 (#1284)
* upgraded prisma to v3.0.2

* updated queryRaw changes for prisma 3

* queryRaw further changes

* --wip

* --wip

* --WIP

* Preview flag "selectRelationCount" is not needed anymore

* Adds missing migrations

* removed temporary test

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2021-12-21 08:32:16 -07:00
github-actions[bot] fbbd7ea45a
New Crowdin translations by Github Action (#1362) 2021-12-21 12:23:40 +00:00
Omar López 7bc7b241ac
Zomars/cal 794 normalize emails in db (#1361)
* Email input UX improvements

* Makes email queries case insensitive

* Lowercases all emails

* Type fixes

* Re adds lowercase email to login

* Removes citext dependency

* Updates schema

* Migration fixes

* Added failsafes to team invites

* Team invite improvements

* Deleting the index, lowercasing 

```
calendso=> UPDATE users SET email=LOWER(email);
ERROR:  duplicate key value violates unique constraint "users.email_unique"
DETAIL:  Key (email)=(free@example.com) already exists.
```

vs.

```
calendso=> CREATE UNIQUE INDEX "users.email_unique" ON "users" (email);
ERROR:  could not create unique index "users.email_unique"
DETAIL:  Key (email)=(Free@example.com) is duplicated.
```

I think it'll be easier to rectify for users if they try to run the migrations if the index stays in place.

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-12-21 00:59:06 +00:00
Syed Ali Shahbaz 0dd72888a9
removed team from profile url (#1359) 2021-12-20 17:26:35 +01:00