Commit Graph

1442 Commits (fca228744c1f73d991d4d6a79e7fa533ba92a8ee)

Author SHA1 Message Date
kodiakhq[bot] fca228744c
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-23 01:06:35 +00:00
Alex van Andel 3e5987abec
For now; entirely disable sharing owner role (#1372) 2021-12-22 18:05:49 -07:00
kodiakhq[bot] e38e213633
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-22 20:40:24 +00: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
Nikolay Rademacher a6382cf07f
fix: apostrophe in delete event type text (#1353)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-20 15:00:16 +00:00
Alex van Andel 39761c520e
Uses Intl to translate weekdays and time related booking i18n (#1354)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-20 11:55:49 +00:00
Jamie Pine c9a8bd369c
fixes VSCode auto importing (#1358)
automatic imports resolved to relative (".../../components") instead of respecting tsconfig path ("@components")
2021-12-20 10:38:46 +00:00
Peer Richelsen d95e26d55c
fixes 404 for subpaths, adds prefilled url to sign up form (#1355)
* fixes 404 for subpaths, adds prefilled url to sign up form

* Added tweak to support BASE_URL for self hosted (#1356)

* Added tweak to support BASE_URL for self hosted (without linking to our signup)
* also hides the signup popular page

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-12-20 09:11:39 +00:00
Omar López 3bc659af44
Let email case sensitive (#1357) 2021-12-19 21:01:25 +00:00
Alex van Andel cbf528c33e
Allows setting the event frequency to other than event length (#1349) 2021-12-19 12:11:31 +00:00
Joel Lu 38f762f7b2
fix: refresh UserDropdown after update (#1352)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-18 15:06:05 +00:00
Alex van Andel 94a10992d2
Fixes contextual translation error (NL) (#1350)
Currently it translates as "Minimum preparation time" - contextually this could be right but in our case it isn't. Re-translated as "Minimum forward notice" - it's the closest I could come up with and used by booking.nl (Dutch version of Booking.com) - so I reckon that's best.
2021-12-18 10:44:19 +00:00
Omar López 26e1194ef3
Trigger redeploy (#1348) 2021-12-17 20:37:07 +00:00
Omar López 21103580f7
Zomars/cal 748 paid bookings are failing (#1335)
* E2E video adjustments

* Adds test to add Stripe integration

* Type fix

* WIP: Payment troubleshooting

* Paid bookings shouldn't be confirmed by default

* Runs stripe test only if installed

* BookingListItem Adjustments

* Pending paid bookings should be unconfirmed

* Attempt to fix paid bookings

* Type fixes

* Type fixes

* Tests fixes

* Adds paid booking to seeder

* Moves stripe tests to own file

* Matches app locale to Stripe's

* Fixes minimun price for testing

* Stripe test fixes

* Fixes stripe frame test

* Added some Stripe TODOs
2021-12-17 16:58:23 +00:00
Syed Ali Shahbaz ca405743fb
removed brand color from stripe card (#1342) 2021-12-17 13:44:38 +00:00
Peer Richelsen 6b426b5386
Revert "removed empty language files, triyng to debug crowdin (#1341)" (#1344) 2021-12-17 11:32:23 +00:00
Peer Richelsen c0c4cb53db
removed empty language files, triyng to debug crowdin (#1341) 2021-12-17 00:29:08 +00:00
Jamie Pine c21f0c2d49
Even Better Teams (#1304)
- dropdown improvements
- Improve performance of team availability
- Fix default timezone
- Allow team admins to edit event types
- Change team availability slot input to dropdown select (15,30,60)
- Prevent teams from access if not pro user
2021-12-17 00:16:59 +00:00
Jamie Pine 4ce879e5dc
UX improvement to public facing team pages
- Added default member avatars
- Fixed member item spacing
- Added team description (#1305)
2021-12-17 00:12:06 +00:00
Jamie Pine 25372b3c9e
- fix border radius (#1339)
- upgrade button / input components
- clean up markup
2021-12-16 17:03:32 -07:00
Alex van Andel a3bd226347
Bugfix/year change (#1323) 2021-12-16 15:20:38 +00:00
Omar López e6f71c81bb
E2E tests refactoring (#1318)
* Adds test todos

* Can't seem to change locales

* WIP playwright test refactoring

* jest-playwright cleanup

* Test fixes

* Test fixes

* More test fixes

* WIP: Testing fixes

* More test fixes

* Removes unused files

* Installs missing browsers for e2e

* ts-node fixes

* ts-check fixes

* Type fixes

* Fixes e2e

* FFS

* Renamex webhook snapshot

* Fixes webhook cross-platform

* Renamed webhook snapshot

* Apply suggestions from code review

Co-authored-by: Max Schmitt <max@schmitt.mx>

* Removes kont dependency

* Cleanup playwright options

* Next.js cache optimizations on CI

* Uses cache on e2e as well

* Fixme is introducing side-effects

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-12-15 16:25:49 +00:00
Peer Richelsen 972402be2c
removed unused roboto.ttf (#1327) 2021-12-15 15:23:03 +00:00
Alex van Andel 5c5d9d3406
Fixes zoom expiry date (#1315)
* Fixes zoom expiry date

* Ensure backwards compatibility with old zoom connections

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-12-15 14:02:39 +00:00
Peer Richelsen c2a60657d4
removed overflow hidden from dialog to fix dropdowns (#1321)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-12-15 13:47:38 +00:00
Syed Ali Shahbaz d2965627d0
added brand color to dark mode timepicker (#1307) 2021-12-15 10:26:39 +00:00
kodiakhq[bot] 75a82da7a9
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 22:15:25 +00:00
Omar López 5deea2c5f6
Fixing items readded to location dropdown issue (#1316)
Co-authored-by: Manoj <yogeshwaranmanoharan@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-14 22:14:35 +00:00
kodiakhq[bot] 0d8b1ca162
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 22:01:09 +00:00
Peer Richelsen 7e6d56ca1f
update crowdin.yml 2021-12-14 21:59:39 +00:00
kodiakhq[bot] 737cc0ae02
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 12:44:54 +00:00
Peer Richelsen 725a7ec0f4
fixed tooltips (#1311) 2021-12-14 12:44:11 +00:00
kodiakhq[bot] 3aa823b684
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 12:32:37 +00:00
Alex Johansson ad8ffd3de4
prevent i18n flickering on pages (#1308)
* prevent i18n flickering on pages

- 404
- `/cancel`
- `/success`

* ssg for 404

* comments

* tweak

* 404

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-14 12:31:54 +00:00
kodiakhq[bot] 5798ba3476
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 12:30:00 +00:00
Peer Richelsen 8e447ea4b5
fixed border on success (#1310) 2021-12-14 12:29:15 +00:00
kodiakhq[bot] f345020a45
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 10:40:13 +00:00
Syed Ali Shahbaz 8bbfc0c7f0
Adds complementing text color for various brand colors that the user might choose (#1289)
* added contrast evaluator

* added brandtext --WIP

* further changes and fixes

* fixed type err

* fixed datepicker bug

* changed brandtext to brandcontrast

* further dark mode changes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-14 10:39:32 +00:00
kodiakhq[bot] 925cbf06b2
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-14 04:15:10 +00:00
Jamie Pine 2abd7779ac
Fix for incorrect <hr /> color as result of Tailwind upgrade (#1303) 2021-12-13 21:14:26 -07:00
kodiakhq[bot] 79274beb53
Merge branch 'main' into zomars/cal-585-use-preact-on-production 2021-12-13 23:10:47 +00:00
Omar López b6518b9ce1
Fixes cancel booking page (#1301) 2021-12-13 23:10:10 +00:00
Nathaniel 43c939e342
Fixed nextcloud & fastmail events not created (#1300)
* fixed nextcloud

* fixed nextcloud & fastmail issues
2021-12-13 13:58:09 +00:00
Omar López 357e279dd8
Upgrades to tailwindcss v3 (#1294)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-13 11:01:33 +00:00
Alex van Andel 8afcba23c8
Commented out minimumBookingNotice, needs fixing (#1297) 2021-12-12 00:09:34 +01:00