Omar López
85d7122e43
Fixes Apple Calendar onboarding and type fixes ( #988 )
...
* Type fixes
* Type fixes
* Attemp to prevent unknown error in prod
* Type fixes
* Type fixes for onboarding
* Extracts ConnectIntegration
* Extracts IntegrationListItem
* Extracts CalendarsList
* Uses CalendarList on onboarding
* Removes deprecated Alert
* Extracts DisconnectIntegration
* Extracts CalendarSwitch
* Extracts ConnectedCalendarsList
* Extracted connectedCalendar logic for reuse
* Extracted SubHeadingTitleWithConnections
* Type fixes
* Fetched connected calendars in onboarding
* Refreshes data on when adding/removing calendars on onboarding
* Removed testing code
* Type fixes
* Feedback
* Moved integration helpers
* I was sleepy
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 15:42:40 +00:00
Omar López
0861d7cc61
Ends the war between tRPC and next-i18next ( #939 )
...
* Ends the war between tRPC and next-i18next
* Locale fixes
* Linting
* Linting
* trpc i18n (not working) (#942 )
* simplify i18n handler and remove redundant(?) fn check
* split up viewer to a "logged in only" and "public"
* wip -- skip first render
Co-authored-by: Omar López <zomars@me.com>
* Linting
* I18n fixes
* We don't need serverSideTranslations in every page anymore
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
2021-10-14 13:57:49 +03:00
Omar López
9539d26ac7
Fixes location in payment page ( #918 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-12 14:54:42 +00:00
Omar López
7a8ad8381e
Fixes error when user cancels stripe integration ( #813 )
...
* Fixes customer portal return ur
* Attempt to fix portal CSRF issue
* Fixes CSRF issue with Stripe redirect
* Fixes error when user cancels stripe integration
2021-09-28 22:27:06 +01:00
Alex Johansson
f8a4f81991
fix stripe `customer.subscription.deleted`-webhook ( #811 )
2021-09-28 19:48:45 +00:00
Omar López
230c82e316
Zomars/fixes stripe portal redirect ( #808 )
2021-09-28 17:21:45 +01:00
Alex Johansson
a4fbe7b2b4
downgrade users when trial ends ( #767 )
...
* wip
* wip
* wip
* wtf
* should be all the logic
* comment
* fix receiver name
* safeguard a bit more
* downgrade users cron job
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-28 14:00:19 +01:00
Omar López
f23e4f2b9d
Fixes customer portal return url ( #802 )
2021-09-28 09:04:30 +01:00
Peer Richelsen
58dde562a3
switching to stripes customer portal ( #772 )
2021-09-27 23:57:23 +01:00
Omar López
50367c236a
Prevents a 404 page for payments ( #770 )
2021-09-24 17:45:35 +01:00
Omar López
d194878bb2
Suggestion: let prettier sort imports order ( #673 )
...
* Suggestion: let prettier sort imports order
# Conflicts:
# yarn.lock
* AUTO SORT ALL THE IMPORTS
* Linting
* Fixes test
2021-09-22 13:52:38 -06:00
Omar López
3add84a279
Adds Stripe integration ( #717 )
...
* Adds Stripe integration
* Moves Stripe instrucctions to ee
* Adds NEXT_PUBLIC_APP_URL variable
* Adds fallback for NEXT_PUBLIC_APP_URL
* Throws error objects instead
* Improved error handling
* Removes deprecated method
* Bug fixing
* Payment refactoring
* PaymentPage fixes
* Fixes preview links
* More preview link fixes
* Fixes client links
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-22 19:36:13 +01:00