Commit Graph

1991 Commits (c07b9b96fec7330b16d9469573a6f699e417580a)

Author SHA1 Message Date
zomars e0e745f1ca Env should be on app (for now) 2022-02-10 14:22:45 -07:00
zomars 0e43766b9c Test fixes 2022-02-10 14:22:45 -07:00
zomars cee41eabc7 Type fixes 2022-02-10 14:22:45 -07:00
zomars 3d4de9476d e2e fixes 2022-02-10 14:22:45 -07:00
zomars fb20d24e8d Fixes for lint 2022-02-10 14:22:45 -07:00
zomars d813b6ae54 Re-adds .nvmrc 2022-02-10 14:22:45 -07:00
zomars 1abb5f1ea5 Config updates 2022-02-10 14:22:45 -07:00
zomars 830f033f9b Fixes type-check 2022-02-10 14:22:45 -07:00
zomars cb14aaca14 Type check fixes 2022-02-10 14:22:45 -07:00
zomars 20da74b4a6 Workflow updates 2022-02-10 14:22:45 -07:00
zomars 038e8a4b7d Runs prettier 2022-02-10 14:22:45 -07:00
zomars 2c2a97de73 Update lint action 2022-02-10 14:22:45 -07:00
zomars c9b1f52382 Init turborepo 2022-02-10 14:22:45 -07:00
zomars 0bc511a886 Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Omar López d0e047166e
Revert "Adds skip check to crowdin commit messages (#1769)" (#1785)
This reverts commit aef6b70d8b.
2022-02-10 08:40:50 -07:00
Demian Caldelas 4c1b7ef03f
Add postgres healthcheck to assure is ready (#1767)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-10 12:20:09 +00:00
Peer Richelsen 5c0983ef6c
added Link component to see if it fixes the 404 link bug (#1784) 2022-02-10 11:46:35 +00:00
github-actions[bot] 66015cba39
New Crowdin translations by Github Action (#1776)
skip-checks: true

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-02-10 11:17:23 +00:00
hariombalhara 516ade0af5
Fix/theme flicker (#1758)
* Avoid Theme Flicker. Render Server Side

* Add back isReady implementation

* Use shorter syntax for Tag

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-10 11:07:14 +00:00
Omar López 5d0ba3dafc
The road to zero TypeScript errors (#1756)
* Type fixes

* Type fixes

* Type fixes

* Type fixes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-10 10:44:46 +00:00
Peer Richelsen 798930bf23
hides trial banner on tablet (#1783) 2022-02-10 10:37:17 +00:00
Syed Ali Shahbaz 55f1d727f8
Fixed infinite event-type page loop after onboarding (#1782)
* added await to the promise

* removed logging remnants

* console log removed

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-10 10:31:22 +00:00
Omar López aef6b70d8b
Adds skip check to crowdin commit messages (#1769)
skip-checks: true

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-10 09:49:58 +00:00
Syed Ali Shahbaz 0675ff8762
updated event object to hold rejection reason (#1777)
* updated event object to hold rejection reason

* lint fix

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-02-10 09:45:27 +00:00
Syed Ali Shahbaz c4862c4b92
adds validation to event type availability (#1778)
* adds validation to event type availability

* lint fix

* general improvement

* prettier fix

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-10 09:37:00 +00:00
Syed Ali Shahbaz 97fdfc5d6b
fixes gravatar fallback for team collective events (#1759) 2022-02-09 18:56:02 -07:00
Peer Richelsen 712dceb8cb
verified badge margin (#1775)
* wip

* wip
2022-02-10 00:23:14 +00:00
Peer Richelsen 803e5c7f2d
fixes event-type location input length (#1772)
* fixed textsm classname bug

* fixed event type location length
2022-02-09 23:10:43 +00:00
github-actions[bot] 889edb8b44
New Crowdin translations by Github Action (#1765)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-02-09 19:22:02 +00:00
Demian Caldelas 898efbb280
Add vscode prisma extension to recommended list (#1760)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-09 18:53:07 +00:00
Nathaniel 7f5a2363f9
fixed calendso busy query timezone issue (#1360)
* fixed calendso busy query timezone issue

* rename tz to timezone for consistency

* added back missing code

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-09 18:34:47 +00:00
Syed Ali Shahbaz a41dd30467
Add reason for rejection (optional) (#1719)
* init --WIP

* added rejection option modal

* migration added

* lint fix

* rejection reason in email added

* moved getRejectedReason function

* lint fix

* --wip

* Prevent undefineds and nulls on email messages

* Cleanup

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-02-09 18:25:58 +00:00
Nathaniel b2fb60af31
fixed multiple caldav integration bugs (#1764) 2022-02-09 10:16:44 -07:00
Peer Richelsen 51d553559f
tailwind prettier (#1646)
* tailwind prettier

* Minor fixes

* Sorts components and pages

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-02-09 00:05:13 +00:00
Arthur Denner 1e9234ea67
fix: remove template string to fix interpolation (#1736)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-02-08 22:44:49 +00:00
Philipp Dormann 20d2955e68
Add Jitsi Meet Integration (#1674)
* basic integration structure

* jitsi logo

* add jitsi meet description to event settings page

* add JitsiVideoApiAdapter

ref #1445

* add LocationType.Jitsi to BookingPage

ref #1445

* add LocationType.Jitsi to event-types

ref #1445

* add meet.jit.si/cal/uuid support to BookingPage

ref #1445

* add basic "cal_provide_jitsi_meeting_url" translation strings

ref #1445

* generate meeting id

ref #1445

* implement direct jitsi link in /success page

ref #1445

* cleanup location link duplicate

ref #1445

* full JitsiVideoApiAdapter implementation

ref #1445

* check integration availability in /pages/event-types/[type]

ref #1445

* add video conferencing link as calendar event location

ref #1445

* PR feedback

* Update components/booking/pages/BookingPage.tsx

don't know - wouldn't do this myself for future proofing but fine...

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

* Update components/booking/pages/BookingPage.tsx

🤷‍♂️

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

* cleanup: props.type === "jitsi_video"

ref #1445

Co-authored-by: zomars <zomars@me.com>
2022-02-08 15:12:28 -07:00
Arthur Denner 38b41f0adb
fix: handle prefers-color-scheme correctly (#1740)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-08 19:19:33 +00:00
Demian Caldelas 84f897e330
Remove cypress.json to fully remove cypress (#1751) 2022-02-08 18:35:45 +00:00
wilson gumba 1976aa761c
added playwright html reporter (#1715)
* added playwright html reporter

* upload artifacts

* add junit reporter

* upload artifacts

* revert

* upload report as artifact

* upload only report in ci

* remove playwright cache

* revert caching

* upload reporter as artifact

* remove all cache

* revert changes

* Update .github/workflows/e2e.yml

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-08 16:30:21 +00:00
Syed Ali Shahbaz 522875da74
Brand color without correct hex value compatibility (#1737)
* enabled fallback support and og-brand-color fix

* --added react-colorful package

* added colorpicker component and added it to settings/profile

* lint fix

* typo fix in server/viewer

* clean-up

* improved colorpicker component

* added swatch component and integrated with brand color picker

* improved ux for color picker swatch

* added colorname integration

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-08 09:13:42 -07:00
Syed Ali Shahbaz 447def5849
Timeslot selectable times fix for not UTC timezones in Availability (#1721)
* --wip

* fix for event type availability tz mismatch

* cleanup

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-08 09:01:18 -07:00
Omar López 00a79bdaba
Ignores e2e test for translation PRs (#1748) 2022-02-08 15:42:05 +00:00
github-actions[bot] 890daffad0
New Crowdin translations by Github Action (#1745)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-02-08 15:20:40 +00:00
Peer Richelsen 476399abe8
fixed type for stripe (#1746) 2022-02-08 15:18:10 +00:00
Bailey Pumfleet ce3947ac4c
Fetch only CalDAV calendars via TSDav (#1727)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-08 14:56:49 +00:00
github-actions[bot] 2ec0673e3d
New Crowdin translations by Github Action (#1743)
* New Crowdin translations by Github Action

* Update common.json

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-08 14:43:18 +00:00
Peer Richelsen 7f8883866a
added signup message for 404 (#1734)
* added signup message for 404

* wip

* wip

* Update common.json
2022-02-08 13:38:13 +00:00
Jamie Pine 5567721431
Team Billing (#1552)
* added base logic for team billing

- moved Stripe customer related logic to customer.ts
- implemented unstable logic for team owner upgrading, downgrading and adding/removing seats

* logic improvements

* - improved Alert style
- hide free team members on public team page
- upgraded textarea to ui component TextArea in SAML setup
- added Alert on team settings for hidden members
- hide CreateEventTypeButton if not admin
- fixed missing locale strings in team settings

* remove random import

* - show hidden status on team list
- refactor team pill

* - improved logic (mostly functional)
- added Alerts for members & owners
- added local strings
- created upgrade modal
- added info notice on invite member modal
- fixed router redirect after leaving team

* - improved logic in team-billing
- error display on upgrade modal
- added better launch.json for VSCode debugger
- fixed bug with missing inviteeUserId

* code cleanup

* nit pick fixes i should sleep now

* fixed leave team bug
- quantity would not decrease upon leave or removal

* added stripe billing callback handler

* - better launch.json
- teams empty component

* - fixed error not removing after successful pro upgrade
- fixed silent fail on team create name conflict
- fixed input border radius on member invite modal

* updated local strings

* improved logic for edge cases, such as:
- team owned by member sponsored by another team can smoothly upgrade to pro if kicked from sponsored team
- logic to calculate if owner is specifically missing pro subscription (ownerIsMissingSeat)
- corrected calculation of members missing seats, shouldn't care for proPaidForByTeamId as that only matters for removing member and preserving pro if they pay for it themselves
- added react query devtools
- added missing locale string

* - allow type override for LinkIconButton
- consolidate filter logic for getMembersMissingSeats

* - only activate team billing for hosted cal
- fix prod price keys

* fix requiresUpgrade when not hosted by cal

* added HOSTED_CAL_FEATURES

* fixed failing build

- fixed broken import path
- added support for premium price plan. (will consider premium as a valid seat)
- remove rouge console log

* fix customer id type error

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-07 23:35:26 +00:00
Arthur Denner c201bfab2d
fix: add missing items to app.json (#1732)
* fix: add Postgres addon to app.json

* feat: add BASE_URL env variable to app.json

* fix: add JWT_SECRET env variable to app.json

* fix: add postdeploy script to app.json

* fix: add CALENDSO_ENCRYPTION_KEY env variable to app.json
2022-02-07 22:01:51 +00:00
github-actions[bot] 4a13448595
New Crowdin translations by Github Action (#1723)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-02-07 19:55:24 +00:00