1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/middleware
Nuno Góis 50167d4f9e
chore: origin middleware (#7695)
https://linear.app/unleash/issue/2-2489/create-a-first-iteration-of-an-origin-middleware-that-logs-ui-and-api

Small spike around what the first iteration of an "origin middleware"
would look like.

No strong feelings all around, so feel free to tell me this is all wrong
and we should go a different route. However diving a little bit into it
personally helps me wrap my head around it, so it may help you too.
2024-07-30 10:42:50 +01:00
..
api-token-middleware.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
api-token-middleware.ts chore: remove log (#6911) 2024-04-23 12:48:34 +00:00
audit-middleware.test.ts feat: added IAuditUser to request with middleware (#6857) 2024-04-18 10:13:40 +02:00
audit-middleware.ts feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
authorization-middleware.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
bearer-token-middleware.test.ts feat: remove bearer token middleware flag (#6934) 2024-04-25 14:01:06 +00:00
bearer-token-middleware.ts feat: remove bearer token middleware flag (#6934) 2024-04-25 14:01:06 +00:00
catch-all-error-handler.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
conditional-middleware.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
content_type_checker.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
content_type_checker.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
cors-origin-middleware.test.ts feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
cors-origin-middleware.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
demo-authentication.e2e.test.ts feat: allow admin login using demo auth (#6808) 2024-04-23 08:39:33 +02:00
demo-authentication.ts feat: allow admin login using demo auth (#6808) 2024-04-23 08:39:33 +02:00
id-number-middleware.test.ts feat: validate that id is number or we throw our our source code (#6860) 2024-04-16 15:48:57 +03:00
id-number-middleware.ts feat: validate that id is number or we throw our our source code (#6860) 2024-04-16 15:48:57 +03:00
index.ts feat: added IAuditUser to request with middleware (#6857) 2024-04-18 10:13:40 +02:00
no-authentication.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
no-authentication.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
origin-middleware.test.ts chore: origin middleware (#7695) 2024-07-30 10:42:50 +01:00
origin-middleware.ts chore: origin middleware (#7695) 2024-07-30 10:42:50 +01:00
oss-authentication.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
oss-authentication.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
pat-middleware.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
pat-middleware.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
rbac-middleware.test.ts chore: rename toggle to flag #6 (#7122) 2024-05-23 11:32:11 +03:00
rbac-middleware.ts chore: rename toggle to flag #7 (#7125) 2024-05-23 13:19:49 +03:00
request-logger.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
response-time-metrics.test.ts chore: remove response time metrics fix (#6779) 2024-04-10 12:34:05 +02:00
response-time-metrics.ts fix: added a check to avoid double counting (#6925) 2024-04-25 10:08:23 +02:00
secure-headers.ts task: added flag to remove unsafe inline style src header (#7566) 2024-07-10 14:36:28 +02:00
session-db.ts chore: sync dependencies with enterprise (#7482) 2024-06-28 10:54:37 +02:00
unless-middleware.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00