Commit Graph

1836 Commits

Author SHA1 Message Date
Hariom Balhara a229dea41c Remove unnecessary autogenerated queries 2022-03-10 09:19:59 +05:30
Hariom Balhara f10f3c05ae Merge remote-tracking branch 'origin/main' into fix/allow-self-event-editing 2022-03-10 09:18:39 +05:30
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
Peer Richelsen adbae64619
fixed tablet view of event-types (#2098)
Co-authored-by: Peer Richelsen <peer@hey.com>
2022-03-09 22:17:46 +00:00
github-actions[bot] ecf352ce00
New Crowdin translations by Github Action (#2095)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-09 20:46:56 +00:00
Omar López e53648d218
Linting (#2083)
* Runs yarn format

* Update website

* Web lint is failing

* Formatting

* Adds cache for dependency install

* Adds linting reports for GH

* Fixes artifact upload

* Caching tests

* Merge reports on GH actions

* Linting

* Fix prettier plugin conflicts

* Dep fixes

* Moves tailwind to monorepo package (#2091)

* New Crowdin translations by Github Action (#2077)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* fix redirection to 404 page on login (#2086)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* fix: update contributing (#2084)

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>

* Formatting

* Update website

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Louis <48682663+louis-27@users.noreply.github.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-09 17:52:48 +00:00
github-actions[bot] 9da761b21c
New Crowdin translations by Github Action (#2094)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-09 17:06:46 +00:00
Louis 202db9315f
fix: update contributing (#2084)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-09 14:47:29 +00:00
Hariom Balhara 89f86e2c84
fix redirection to 404 page on login (#2086)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-03-09 14:47:02 +00:00
github-actions[bot] 0f27385c17
New Crowdin translations by Github Action (#2077)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-08 23:34:22 +00:00
Omar López 622d0fd0bc
Moves tailwind to monorepo package (#2091) 2022-03-08 15:51:53 -07:00
Omar López 5908e5b14b
E2E fixes (#2092) 2022-03-08 15:40:31 -07:00
Agusti Fernandez 4908b6fd01
hotfix: organizer needs to confirm booking, not attendee (#2090)
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
2022-03-08 10:08:35 -07:00
Omar López b93f87af14
Upgrades prisma to 3.10 (#1978)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-07 18:30:28 +00:00
Mayowa Ojo 71c9a7b931
Feature/send opt in booking email (#2048)
* Added attendee request email template

* send attendee request email

* Added booking_submitted_subject message

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-07 18:18:23 +00:00
Louis Haftmann b143498393
fix: disregarding already booked spots or blocked calendar times (#2029)
* fix: double booking

* fix: update double-booking error response code

* fix: update double-booking error response code

* test: add test

* fix: check availability before creating booking

* Update apps/web/playwright/booking-pages.test.ts

* Update yarn.lock

* Restored missing fix

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2022-03-07 10:55:24 -07:00
Demian Caldelas 322a845a17
Fix prisma setup on e2e tests (#2070)
Co-authored-by: Omar López <zomars@me.com>
2022-03-07 16:35:12 +00:00
sean-brydon 3bcc4b86e5
Back Button Events - [2058] (#2074)
* Back Button Events - [2058]

* Fixing URL

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-07 08:48:51 -07:00
Alex van Andel 3a67ae6d1f
Added named dialog to replace new=1 (#2076)
(cherry picked from commit d6dee7a2c9)
2022-03-06 23:06:18 +00: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
Hariom Balhara ce0c8347fb
[Perf Improvement] Booking Page score should be in green now (#2057)
* Avoid crypto to land in the browser

* Avoid prefetching as it has Crypto code bundled in AvatarGroup

* Use md5 directly if avatar not available

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-03-05 15:28:24 +00:00
sean-brydon 91b732ff1c
Fixing Mobile UI - Event Types (#2065)
* Event Types - Mobile Ui

* Removing Daily video from default list

Added this for testing purposes

* Removing ZOD + mt on clock

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-03-05 14:42:43 +00:00
Hariom Balhara 37aa750f04 Add comments 2022-03-05 13:43:45 +05:30
Hariom Balhara 13f682961b Deduplicate editing check 2022-03-05 13:29:35 +05:30
Hariom Balhara 5115965239 Allow Team Event editing by the person who created it 2022-03-05 12:08:22 +05:30
Peer Richelsen a311f6bf4b
sync website (#2062) 2022-03-04 13:28:09 -07:00
github-actions[bot] 04f9b93ceb
New Crowdin translations by Github Action (#2061)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-04 19:41:28 +00:00
Omar López 190cc8caf6
Ensures prisma schemas are generated and formatted post-install (#2060) 2022-03-04 10:43:40 -07:00
Omar López b6a20cc4d7
Fixes upgrade for users without customer id (#2059) 2022-03-04 16:38:42 +00:00
Syed Ali Shahbaz eeb0cd7e4d
Set buffer time before/after event type (#2015)
* before and after buffer added to handleAvailableSlots function

* --WIP

* added migration

* pull buffer data from DB

* cleanup

* added buffer input in form

* removed unused functions in controller field

* improved the buffer time check

* fixed default value and added preceding event afterbuffer consideration

* fixed e2e test issue

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-04 10:19:03 +00:00
Joe Au-Yeung b77923fc65
Bugfix/opt in booking shown on attendee booking page (#2026) 2022-03-04 10:04:05 +00:00
hariombalhara 6687544e66
Enable Data Fetch logging with log=1 param (#2042) 2022-03-04 10:03:10 +00:00
github-actions[bot] 7384675b6b
New Crowdin translations by Github Action (#2055)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-04 10:02:14 +00:00
sean-brydon 87e3c8d4a5
Update Booking Page A11ly (#2053) 2022-03-04 08:50:00 +00:00
github-actions[bot] e23f9330d3
New Crowdin translations by Github Action (#2049)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-03 20:28:04 +00:00
Peer Richelsen 759bb67077
updated team billing english translation 2022-03-03 20:19:12 +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
sean-brydon f4b6a16a9e
Enable Hotreload for packages (#2051)
Co-authored-by: Omar López <zomars@me.com>
2022-03-03 12:19:25 -07:00
Louis Haftmann 6e8fbc280f
fix: HTTP 404 with uppercase username (#2045)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-03-03 16:42:30 +00:00
Syed Ali Shahbaz 52e6711d51
Fixes incorrect Webhook Component title (#2047)
* fixed incorrect Webhook Component title

* fixed subtitle

* fixed lint

* lint fix
2022-03-03 14:16:07 +00:00
Syed Ali Shahbaz 0fb44887e3
Fix missing phone data from location after booking (#1968) 2022-03-03 09:57:59 +00:00
Thang Vu b376ebae25
chore: update correct link for docs (#2030) 2022-03-03 09:55:26 +00:00
Krunal Shah 49ddd6cb59
Update CONTRIBUTING.md (#2036) 2022-03-03 09:54:51 +00:00
Krunal Shah c437f15868
fix: jitsi email does not contain meeting link (#2004) 2022-03-03 09:54:19 +00:00
alannnc 15052c8b48
fix/booking-first-day-of-next-mont (#2037)
* fix/booking-first-day-of-next-mont

* Change minimum wait time for booking next month first day test

* Change minimum wait time for booking next month first day test

* Change minimum wait time for booking next month first day test

* Added Todo note for future improvement

* Apply same timeout change in others change of month action test
2022-03-02 15:51:46 -07:00
github-actions[bot] 800002222b
New Crowdin translations by Github Action (#2034)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-02 21:26:01 +00:00
Omar López e3283baa0e
Update turbo.json (#2039) 2022-03-02 13:28:57 -07: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
github-actions[bot] c93e8774c9
New Crowdin translations by Github Action (#2031)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-02 16:10:16 +00: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