Commit Graph

5165 Commits (762810684e59837b249eee49c5e156c438cca82d)

Author SHA1 Message Date
Bailey Pumfleet a3abdac33b
Update billing tab UI (#806) 2021-09-28 11:27:46 +01:00
Alex Johansson 7779c098dc
confirming event gives no visual (#803) 2021-09-28 09:16:02 +00:00
Omar López dd9f801872
cal 485 prevent users from changing their username to premium ones (#799)
* Makes userRequired middleware

* Prevent users from changing usernames to premium ones

* refactor on zomars' branch (#801)

* rename `profile` -> `mutation`

* `createProtectedRouter()` helper

* move profile mutation to `viewer.`

* simplify checkUsername

* Auto scrolls to error when there is one

* Renames username helpers

* Follows db convention

Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-28 09:57:30 +01:00
Omar López f23e4f2b9d
Fixes customer portal return url (#802) 2021-09-28 09:04:30 +01:00
Alex Johansson dcea723ea4
confirming event gives no visual feedback (#804) 2021-09-27 18:11:52 -06:00
Peer Richelsen 58dde562a3
switching to stripes customer portal (#772) 2021-09-27 23:57:23 +01:00
Alex Johansson 9f2cfffce4
fix loading spinner flicker (#800) 2021-09-27 23:42:04 +01:00
Alex van Andel dc7b084bdf
Remove Moment dependency by changing implementation of DateRangePicker to something leaner (#798)
* chore: extracted all DateRangePicker logic from event-types/[type].tsx

* Minor alignment fixes + Date.now() instead of 1970.

* Removes react-dates, implements wojtekmaj/react-daterange-picker
2021-09-27 22:12:55 +01:00
Syed Ali Shahbaz 78c78a6981
added relative position to placeholder parent (#797) 2021-09-27 18:59:50 +01:00
dependabot[bot] 35c450d5ef
⬆️ Bump jest from 27.2.1 to 27.2.2 (#785)
Bumps [jest](https://github.com/facebook/jest) from 27.2.1 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.1...v27.2.2)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-27 17:04:32 +00:00
Alex Johansson 649e79bdc7
statically render profile pages (#615) 2021-09-27 17:09:19 +01:00
Alex Johansson 34300650e4
add tRPC (#614)
* add trpc

* trpc specific

* fix deps

* lint fix

* upgrade prisma

* nativeTypes

* nope, not needed

* fix app propviders

* Revert "upgrade prisma"

This reverts commit e6f2d2542a.

* rev

* up trpc

* simplify

* wip - bookings page with trpc

* bookings using trpc

* fix `Shell` props

* call it viewerRouter instead

* cleanuop

* ssg helper

* fix lint

* fix types

* skip

* add `useRedirectToLoginIfUnauthenticated`

* exhaustive-deps

* fix callbackUrl

* rewrite `/availability` using trpc

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-27 14:47:55 +00:00
Peer Richelsen 0938f6f4b2
added z-index for event types dropdown (#791) 2021-09-27 10:19:11 +00:00
Alex van Andel c22beb698c
Fixes the Radix UI warning for consistent IDs (#774)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-26 21:55:27 +00:00
Omar López 7ab49acebe
Fixes eventype form (#777)
* Type fixes

* Uses all integrations and session fixes on getting started page

* eventtype form fixes

* Update pages/event-types/[type].tsx

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-26 21:49:16 +00:00
Alex Johansson b23c032a4c
Update .kodiak.toml (#782)
maybe this can stop @PeerRich & @baileypumfleet to use the force squash? 

everything you open will be automatically approved so you can use "Auto-merge" at least when you yolo stuff

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-26 22:45:08 +01:00
Alex Johansson 22b050b9e7
`yarn lint --fix` (#783) 2021-09-26 14:08:40 +00:00
Peer Richelsen 6d2f89fc32 Cale to Cal 2021-09-26 15:04:01 +01:00
Peer Richelsen ee5cc32936 renamed PoweredByCalendso 2021-09-25 17:03:08 +01:00
Peer Richelsen b125ece57b gave powered by absolute path 2021-09-25 16:55:13 +01:00
Chris 97cb7bdc83
Show raw secret during two-factor setup (#775) 2021-09-25 16:53:12 +01:00
Alex van Andel 515c548acd
Fixes theme flickering on booking & availability select page (#771) 2021-09-24 23:11:30 +01:00
Eduardo M 727793af02
Fix link ignoring app url on even-type (#773) 2021-09-24 23:09:30 +01:00
Omar López 9e7cb2c0b8
CAL-469 Adds intercom dynamically (#762)
* Adds react-use-intercom

* Adds intercom env var

* Loads intercom dynamically if env is set

* CAL-473 Fixes client-side routing for authed pages

* Moves intercom code to ee

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-24 21:02:03 +01:00
Peer Richelsen 889b3f36ae fixed mobile booking layout for long descriptions 2021-09-24 18:03:09 +01:00
Omar López 50367c236a
Prevents a 404 page for payments (#770) 2021-09-24 17:45:35 +01:00
Peer Richelsen 63930c1817
Fix/event type button alignment (#765)
* fixed event-type buttons on mobile, added more font-cal classes

* remove 1-on-1 on mobile event types

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-24 15:11:15 +00:00
Alex Johansson 6a4d6c7eba
remove `npm-run-all` (#768) 2021-09-24 15:07:31 +00:00
Peer Richelsen a8ec6e7060
replaced window.location with NEXT_PUBLIC_APP_URL (#769)
* replaced window.location with process.env.NEXT_PUBLIC_APP_URL, removed empty classNames

* wip
2021-09-24 09:03:28 -06:00
Alex Johansson f709972f86
ui bug: alert looking funky (#766)
* tweak alert text to be growing
* fix alert looking funky
* get rid of `typeof window` dirt
2021-09-24 06:52:00 -06:00
Peer Richelsen bb1da8150f
fixed event-type buttons on mobile, added more font-cal classes (#764) 2021-09-24 11:28:57 +00:00
Peer Richelsen c152e43b82 minor changes to event type edit input 2021-09-24 12:23:06 +01:00
Peer Richelsen 521bb4069a Merge branch 'main' of github.com:calendso/calendso 2021-09-24 11:38:18 +01:00
Alex van Andel 2b2fde179a
Fixes #701: User's page shows Team events with broken links (#761) 2021-09-24 10:23:08 +00:00
Omar López 420daec147
CAL-473 Fixes client-side routing for authed pages (#763) 2021-09-24 11:16:46 +01:00
Peer Richelsen f5a7ed2e36 minor changes to powered by badge 2021-09-23 23:56:13 +01:00
Peer Richelsen d3d6778c60 Merge branch 'main' of github.com:calendso/calendso 2021-09-23 23:53:04 +01:00
Peer Richelsen 8ad685653c new apple calendar and stripe icon 2021-09-23 23:50:18 +01:00
Bailey Pumfleet 9e785c01fd The tiniest linting fix ever 2021-09-23 23:31:16 +01:00
Alex van Andel ad3a06384f
Fixes a crash caused by too many redraws (#759) 2021-09-23 23:30:09 +01:00
Peer Richelsen b741559dbc added more font-cal classes 2021-09-23 21:48:27 +01:00
Peer Richelsen 235e74440c
hotfix for powered by badge (#758)
* minor fix to powered by

* fixed powered by logo
2021-09-23 21:19:11 +01:00
Peer Richelsen 6dfd3f4aba
minor fix to powered by (#757) 2021-09-23 21:05:24 +01:00
Omar López 2c50781084
Makes every day available for events that don't have availability set (#756)
* Abstracts MinutesField

* Adds missing Minimum booking notice

* Refactoring

* Fixes int field sent as string

* Sorts slots by time

* Fixes availability page

* Fixes available days

* Type fixes

* More availability bugfixes

* Makes every day available for events that don't have availability set

* Type fixes
2021-09-23 12:03:07 -06:00
Omar López bcacc1d166
More availability fixes (#755)
* Abstracts MinutesField

* Adds missing Minimum booking notice

* Refactoring

* Fixes int field sent as string

* Sorts slots by time

* Fixes availability page

* Fixes available days

* Type fixes

* More availability bugfixes
2021-09-23 18:18:29 +01:00
Alex Johansson 790ed3e6b1
fix: branding is always disabled for pro (#754)
* add jwt secret

* fix `isBrandingHidden`

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-23 15:25:34 +00:00
Mihai C 7574c322c4
Revert "GHA for crowdin (WIP) (#731)" (#751)
This reverts commit 168db02e1f.
2021-09-23 15:28:50 +01:00
Mihai C 168db02e1f
GHA for crowdin (WIP) (#731)
* feat: add crowdin and supported languages

* fix: main branch name

* feat: test crowdin integration
2021-09-23 14:22:49 +00:00
Omar López cb4a1e031e
Fixes user event availability page (#749)
* Abstracts MinutesField

* Adds missing Minimum booking notice

* Refactoring

* Fixes int field sent as string

* Sorts slots by time

* Fixes availability page

* Fixes available days
2021-09-23 15:08:44 +01:00
Alex Johansson 4d2e556d7d
fix CI e2e tests (#748) 2021-09-23 14:11:58 +01:00