cal.pub0.org/apps/web
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
..
@types
components V2 Settings - Security View (#4018) 2022-08-30 13:46:52 -06:00
docs Fix SAML login (#4037) 2022-08-30 12:25:24 -06:00
lib fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
pages fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
playwright Zoom/Hubspot Tests with MSW mocking of requests initiated from Next.js server (#3210) 2022-08-26 12:44:02 -06:00
playwright-integrations Zoom/Hubspot Tests with MSW mocking of requests initiated from Next.js server (#3210) 2022-08-26 12:44:02 -06:00
public fix: rate limit auth (#3820) 2022-08-30 13:58:35 -06:00
scripts
server/lib Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
styles V2 Main (#3549) 2022-08-24 14:18:42 -06:00
test One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
.eslintignore
.gitignore Static images through webpack copy (#3986) 2022-08-26 10:31:55 -06:00
.nvmrc
calendso.yaml Migrate legacy api endpoints to tRPC II (#3865) (#3991) 2022-08-26 15:58:08 -06:00
middleware.ts V2 Settings - Security View (#4018) 2022-08-30 13:46:52 -06:00
next-env.d.ts
next-i18next.config.js Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
next.config.js V2 Settings - Security View (#4018) 2022-08-30 13:46:52 -06:00
package.json Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
postcss.config.js
project.toml
tailwind.config.js Fixes tailwind for EE code 2022-07-29 16:26:31 -06:00
tsconfig.json Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00