Commit Graph

3244 Commits (6c3dcc2fbfb63e2d22936569dd1172d96fbcd8fd)

Author SHA1 Message Date
Cheng CHENG 6c3dcc2fbf
fix: lark calendar refresh token bug (#4066)
Co-authored-by: chengcheng.frontend <chengcheng.frontend@bytedance.com>
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-31 19:19:30 +00:00
zomars 397d47b4b5 Clean up auth state after all E2E tests are done 2022-08-31 12:28:29 -06:00
zomars e020bb9758 Uncap local e2e testing 2022-08-31 11:30:05 -06:00
zomars dbbf77f21a Revert "Fixes type error (#4065)"
This reverts commit 19ae065f68.
2022-08-31 11:05:30 -06:00
sean-brydon 19ae065f68
Fixes type error (#4065) 2022-08-31 17:12:44 +02:00
Hariom Balhara bb0ff5503a
Fix locations listing in v2 (#4062)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 14:11:36 +02:00
sean-brydon e17c463890
V2 General Fixes (#4038) 2022-08-31 11:13:27 +00:00
Hariom Balhara f5e394bb57
Add back enabledDateButton and disabledDateButton UI custom styling for embed (#4059)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 09:47:23 +00:00
Hariom Balhara 2414cacabb
Fix routing forms logo (#4058) 2022-08-31 09:26:16 +00:00
Peer Richelsen dd24ef4946
added translation for meeting ended webhook (#4057) 2022-08-31 10:30:05 +02:00
Carina Wollendorfer a3eeb9e3a3
Fix Zapier setup page (#4054)
* fix zapier setup page

* update app description

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 09:43:40 +02:00
Adam Garbowski b151ccd4c6
prevent from save doubled subscriber url (#3811)
Co-authored-by: Adam Garbowski <adamgarbowski90@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-08-31 03:41:23 +00:00
zomars 0c8847fb87 Restores linting/type-check locally 2022-08-30 15:24:17 -06:00
Agusti Fernandez Pardo b8b1b9a6d0
fix: rate limit auth (#3820)
* fix: rate limit auth

* fix: replace lru-cache w memory-cache

* remove comments

* fix: yarn.lock

* fix: remove changes yarn lock

* fix: add missing EOL empty liune

* fix: move rate limiter so it kicks the last, limit to 10 tries per minute

* fix: move limiter w rest of code

* test: trying fix onboardong

* fix: undo changes in globalSetup.ts

* test: fix disable login for onboarding

* fix: use username instead of email for token check

* fix: tests

* fix: don't run on test

* fix: add missing comma

* fix: remove uniqueTokenPerInterval

* fix: add errorcode to packages lib auth

* Update packages/lib/rateLimit.ts

fix: improve readability

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

* Update packages/lib/rateLimit.ts

fix: no unnecessary any

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

* Update packages/lib/rateLimit.ts

fix: improve readability

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

* fix: rename interval -> intervalInMs

* fix: check user.email not username which could be empty

* fix: rateLimit update all naming

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-30 13:58:35 -06:00
Joe Au-Yeung f5c1c76f0a
V2 Settings - Security View (#4018)
* Create change password screen

* Add two factor auth screen

* Add two factor auth screen

* Remove header file

* Updates middleware and rewrites

* Adds Meta component to handle layout headings/metadata (#4021)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-30 13:46:52 -06:00
Zach Waterfield e66050a414
Improve the README development setup steps around environment variables (#4034)
* Set the NEXTAUTH_URL in the .env example

* Add a .env step to the README development setup steps.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-30 12:44:21 -06:00
Deepak Prabhakara 1a81459e28
Fix SAML login (#4037)
* after first login the user is read from the db and hence we need to inspect the `emailVerified` attribute as well.

* fixed mapping documentation for SAML, the current mapping is not right and is causing confusion
2022-08-30 12:25:24 -06:00
Cheng CHENG ad8d0a4e77
fix: lark calendar get app access token bug (#4043)
Co-authored-by: chengcheng.frontend <chengcheng.frontend@bytedance.com>
2022-08-30 13:08:29 -04:00
sean-brydon fe12a83898
Fixing padding + heading sizes (#4032)
* Fixing padding + heading sizes

* Fix title position
2022-08-30 15:47:43 +02:00
sean-brydon 7d611c5527
Border color - brand color - mobile 1 colum times (#4025) 2022-08-30 13:51:08 +02:00
Alex van Andel 0bd8c23be7
Proposal to turn off eslint during 'yarn / next build' (#4027) 2022-08-30 13:50:34 +02:00
Alex van Andel fdc8a839b4
Fix linting error (#4026) 2022-08-30 13:46:03 +02:00
Jeroen Reumkens 3da3e6ec38
feat: Adds new v2 design for app detail page. Fixes #3779 (#3997)
* feat: Adds new v2 design for app detail page. Fixes #3779

* fix: Made app images 90% width on mobile to show indication for scrolling. #3779

* Update apps/web/components/v2/apps/App.tsx

Co-authored-by: Leo Giovanetti <hello@leog.me>

Co-authored-by: Jeroen Reumkens <jeroen.reumkens@deptagency.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
Co-authored-by: Peer Richelsen <peer@cal.com>
2022-08-30 11:37:40 +02:00
sean-brydon fb3c481235
V2 colors - Public Booking (#4022)
* V2 colors

* Fix border right

* Fixing spacing
2022-08-30 10:56:30 +02:00
alannnc 3527c5126a
Added Syntax error case and also default error returning (#4015) 2022-08-29 18:05:35 -06:00
depfu[bot] d75a8910f6
Update all Yarn dependencies (2022-08-17) (#3887)
* Update all Yarn dependencies (2022-08-17)

* Fix package mismatches

* Submodule sync

* Type fixes

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-29 17:55:27 -06:00
Omar López 037410aea7
One jest to rule them all (#3957)
* WIP

* Consolidates jest deps

* Test fixes

* Moves jest to root

* Test fixes

* Update CalendarService.test.ts

* Cleanup

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-29 22:33:53 +00:00
zomars 54bd1436b1 v1.9.2 2022-08-29 16:20:20 -06:00
zomars a262d261a7 Submodule sync 2022-08-29 16:20:06 -06:00
Leo Giovanetti e4e4ec5ffc
Availability and booking info text format fixes (#4000)
* Recurring info format

* More mismatch visual bugs when booking

* More tweaks

* Prettier

* Prettier cont

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-29 13:01:45 -03:00
Udit Takkar 00c00a9aee
fix: add required property on input (#3934)
* fix: add required property on input

* chore: remove console

* fix: add check in /api/book for custom inputs

* chore: var name

* wip:try zod

* fix: change zod validation

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-29 13:04:22 +00:00
Peer Richelsen 85cc62d0cb
temp remove <Tips> card from sidebar till 2.1 (#4010) 2022-08-29 14:04:39 +02:00
Udit Takkar ac50492fbc
fix: add warn and trash icon (#4008)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-29 13:57:01 +02:00
Edgar Allan Glez 4b771a5bde
fixing cursor for Default badge svg, from text type to default (#3994)
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-28 18:31:56 +02:00
Udit Takkar 944f4dc43b
fix: pass recurring count value (#3844)
* fix: pass recurring count value

* fix: show dates for pending booking

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-08-27 10:12:38 -03:00
Leo Giovanetti cfe7c7a5b3
Fixing CalendarService tests (#3993) 2022-08-26 17:21:12 -06:00
Edgar Allan Glez d1c5268ef0
Feature 3976/fix label (#3992)
* changing username label placeholder to Apple ID text in apple calendar setup

* reset yarn.lock

* remove translate function for apple id label, not necessary

Co-authored-by: alannnc <alannnc@gmail.com>
2022-08-26 16:49:38 -06:00
Omar López 02ac593ebf
Migrate legacy api endpoints to tRPC II (#3865) (#3991)
* Migrate legacy api endpoints to tRPC II (#3865)

* fix: delete api route /api/availability/day

* fix: delete api route /api/availability/eventtype (#3573)

* fix: delete api route /api/event-type (#3573)

* migrate /api/book/confirm to viewer.bookings.confirm

* Merge branch 'main' into pr/3865

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

* Import fixes

* Import fixes

Co-authored-by: mohammed hussam <52914487+hussamkhatib@users.noreply.github.com>
Co-authored-by: hussamkhatib <hussamkhatib@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-26 15:58:08 -06:00
Leo Giovanetti 1d927a8b33
chore: Sync Services to update external tools (#3814)
* WIP close.com app

* Removing leaked dev key (now invalid)

* Misspelled env variable

* Making progress still WIP

* Progress + tests

* Final touches

* More unit tests

* Finished up tests

* Merge main

* Removing unneeded stuff + submodules

* Removing static props, fields fix

* Removing unneeded stuff p2

* Commenting

* Refactoring Close.com Calendar Service + initial structure

* Progress con CloseComService

* Standarizing APIs

* Zodifying

* Expanding sync services

* Sendgrid Sync Service

* using own request for sendgrid + debug logs

* Making get last booking work for console

* Helpscout dynamic app API

* Standarizing calls + adding call from booking creation

* Strategy change for last booking

* Strategy change for last booking on help scout api

* Fixing failing build

* Implementing user deletion

* Fix linting + slight cleaning

* Undoing eslint disable

* Removing more unsupported eslint properties

* Closecom as non-standard sync service

* Finishing closecom lead operations

* Fixing lint

* Guarding app from sync services

* Reverting submodules

* Applying PR feedback

* Reverting API to be plain handler

* Cleaning notes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-26 15:10:12 -06:00
sean-brydon 090a977f72
AppsTab UX + fixes warptext on horizontal tabs (#3966)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-26 13:04:45 -06:00
Udit Takkar 2d3a6fb4ca
fix: add team model in prisma middleware (#3947)
* fix: add team model in prisma middleware

* refactor: move to getParsedResults function

* fix: add eventtype

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-26 12:59:58 -06:00
GitStart 974ff03127
REPLY_TO in hello@cal.com emails (#3959)
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com>
Co-authored-by: hustle-ps <grace.devolop@gmail.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
Co-authored-by: Matheus Benini <matheus_benini@hotmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-26 12:51:32 -06:00
Hariom Balhara 4ef666a610
Zoom/Hubspot Tests with MSW mocking of requests initiated from Next.js server (#3210)
* Add code from previous PR

* Remove env variables from wrong place

* Fix tests

* Remove dead code

* Package.json updates

* Fix eslint error

* Fix issue due to conflict resolution

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-26 12:44:02 -06:00
Alex van Andel e0744a4857
Fixed a typo in notifications->showToast & updated all imports (#3990) 2022-08-26 12:13:49 -06:00
Joe Au-Yeung fac99c3e9b
Disable broken calendar email (#3946)
* Disable broken calendar email

* Add comment

* Apply suggestions from code review

Co-authored-by: alannnc <alannnc@gmail.com>

* Apply suggestions from code review

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2022-08-26 12:12:47 -06:00
Alex van Andel 006badc3b5
Backported 973e0a3..6ad0e23 (#3943) 2022-08-26 12:07:44 -06:00
Alex van Andel 19e9e0083e
Static images through webpack copy (#3986)
* Static images through webpack copy

* Turn image optimisation off - not needed tbh
2022-08-26 10:31:55 -06:00
Peer Richelsen 19fe931f4b
fixed file size campfire (#3985)
* added campfire.to app

* fixed file size
2022-08-26 14:46:15 +02:00
Peer Richelsen 0856339e3a
added campfire.to app (#3984) 2022-08-26 11:35:19 +00:00
Omar López cf321496d4
Adds deprecation notice to QueryCell (#3977)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-26 09:32:58 +00:00