Alex van Andel
6a211dd5b3
Feature/multiple schedules post turbo ( #2150 )
...
* Concluded merge
* Applied stash to newly merged
* Always disconnect + remove redundant success message
* Added named dialog to replace new=1
* Merged with main p2
* Set eventTypeId to @unique
* WIP
* Undo vscode changes
* Availability dropdown works
* Remove console.log + set schedule to null as it is unneeded
* Added schedule to availability endpoint
* Reduce one refresh; hotfix state inconsistency with forced refresh for now
* Add missing translations
* Fixed some type errors I missed
* Ditch outdated remnant from before packages/prisma
* Remove Availability section for teams
* Bringing back the Availability section temporarily to teams to allow configuration
* Migrated getting-started to new availability system + updated translations + updated seed
* Fixed type error coming from main
* Titlecase 'default' by providing translation
* Fixed broken 'radio' buttons.
* schedule deleted translation added
* Added empty state for when no schedules are configured
* Added correct created message + hotfix reload hard on delete to refresh state
* Removed index renames
* Type fixes
* Update NewScheduleButton.tsx
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-17 09:48:23 -07:00
Omar López
558897fe53
Migrates components and libs to packages ( #2172 )
...
* Migrates Dialog to ui package
* Migrates Alert to ui
* Migrate Button to ui
* UI and lib migrations
* Add missing imports
* Update Error.tsx
2022-03-16 16:36:43 -07:00
Syed Ali Shahbaz
c9fb82a7e6
added event trigger to discord payload ( #2109 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-14 11:27:28 +00:00
Omar López
45f8d2d230
Type fixes ( #2107 )
...
* Update viewer.tsx
* Type fix
2022-03-10 22:29:34 +00:00
Omar López
d98731d50a
Update viewer.tsx ( #2106 )
2022-03-10 15:13:26 -07:00
Omar López
5625cf226b
Stripe to monorepo ( #2063 )
...
* downgrade func
* fix security hole lol
* fix query conditions
* - set to trial not free
- auto create stripe customer if missing
- fix production check
* Extracts downgrade logic to script, fixes ts-node conflicts with prisma
* Adds trialEndsAt field to users
* Updates trial/downgrade logic
* Typo
* Legibility fixes
* Update team-billing.ts
* Legibility improvements
* Updates illegal logic
* WIP
* WIP migrating stripe to package
* Update website
* Import fixes
* Import fixes
* Fixes to downgrade script
* Check for premium usernames before downgrading
* Fixed formatting
* Delete deploy-env.sh
* Locks dayjs to 1.10.6
* Type fixes
* Seems like we're stuck with dayjs 1.10.4
* Script fixes
* Adds first name to dump
* Loop fix
Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-09 15:56:05 -07:00
Syed Ali Shahbaz
8c4eed2bbc
Add "light-brand" and "dark-brand" colors (add a second color picker) ( #2028 )
...
* init dark brand color addition
* added dark mode css vars
* added contrast brand colors
* minor fixes
* added dark branding to loader, button
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-05 15:37:46 +00:00
Joe Au-Yeung
b77923fc65
Bugfix/opt in booking shown on attendee booking page ( #2026 )
2022-03-04 10:04:05 +00:00
Omar López
0a8509d721
Admin/team billing downgrader ( #2040 )
...
* downgrade func
* fix security hole lol
* fix query conditions
* - set to trial not free
- auto create stripe customer if missing
- fix production check
* Extracts downgrade logic to script, fixes ts-node conflicts with prisma
* Adds trialEndsAt field to users
* Updates trial/downgrade logic
* Typo
* Legibility fixes
* Update team-billing.ts
* Legibility improvements
Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-03 19:29:19 +00:00
Omar López
382d56ab54
Revert "Revert "Webhooks to support event type association"" ( #2033 )
...
* Revert "Revert "Webhooks to support event type association (#1889 )" (#2032 )"
This reverts commit 71e74b8320
.
* Fixes turbo DB deploy
* Update turbo.json
2022-03-02 09:24:57 -07:00
Omar López
71e74b8320
Revert "Webhooks to support event type association ( #1889 )" ( #2032 )
...
This reverts commit d338504856
.
2022-03-02 08:49:35 -07:00
Syed Ali Shahbaz
d338504856
Webhooks to support event type association ( #1889 )
...
* --init database and queries
* fixed type check
* added webhook api for event types
* added webhook list in team event
* delete, edit webhook in team event
* updated webhook subtext for event type
* added discord integration to event type webhook
* check fix
* consistency
* minor code improvement
* lint fix
* Adds missing zod schemas
* requested changes pt1 --WIP
* requested changes pt2 --WIP
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-02 08:30:13 -07:00
Bailey Pumfleet
7826a34b00
Let users set 12/24 hour time format ( #2002 )
2022-02-28 16:24:47 +00:00
Alex van Andel
652c2e342f
Second go at removing Zod generated classes from our repo ( #1946 )
...
* Second go at removing Zod generated classes from our repo
* Directly reference the _EventTypeModel
2022-02-22 23:19:22 +00:00
alannnc
6749b887dd
fix/bookings-order ( #1920 )
2022-02-19 18:00:35 -07:00
Syed Ali Shahbaz
4f89205dd4
Adds discord webhook support ( #1886 )
...
* --init
* cleanup
* removed extra spacing
* changed onchange handler name
* modified payload
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-18 17:49:39 +00:00
Omar López
152bb57bc1
Revert "Tweak/gitignore prisma zod ( #1905 )" ( #1906 )
...
This reverts commit 15bfeb30d7
.
2022-02-17 18:11:33 -07:00
Omar López
15bfeb30d7
Tweak/gitignore prisma zod ( #1905 )
...
* Extracts ignored createEventTypeBaseInput
* Adds postinstall script
2022-02-17 17:25:19 -07:00
Edward Fernández
14a9fdf78c
add validation for teams in the event type creation ( #1866 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-15 14:51:01 -07:00
Omar López
fe35cf6570
Extract prisma to it's own package ( #1823 )
...
* Moved prisma to packages
* Add missing prisma configs
* Extracts common libs and types
* Build and pipeline fixes
* Adds missing package
* Prisma scripts cleanup
* Updates lint staged
* Type fixes
* Sort imports
* Updates yarn lock file
* Fixes for yarn dx
* Revert "Sort imports"
This reverts commit 076109decab9b9ba307fc03696c3b0da5c4896f3.
* Formatting
* Prevent double TS version
* Fix conflict
* Extracted e2e configs
2022-02-15 13:30:52 -07:00
zomars
0bc511a886
Migrated cal.com to apps/web
2022-02-10 14:22:45 -07:00