cal.pub0.org/apps/web/pages
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
..
[user]
api fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
apps
auth fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
availability fixing cursor for Default badge svg, from text type to default (#3994) 2022-08-28 18:31:56 +02:00
bookings
cancel
d/[link]
event-types
payment
reschedule
sandbox
settings
team
v2 V2 Settings - Security View (#4018) 2022-08-30 13:46:52 -06:00
video
workflows
404.tsx
500.tsx
[user].tsx V2 colors - Public Booking (#4022) 2022-08-30 10:56:30 +02:00
_app.tsx
_document.tsx
_error.tsx
getting-started.tsx
index.tsx
success.tsx fix: pass recurring count value (#3844) 2022-08-27 10:12:38 -03:00