Alex Gleason
|
7a2a6e00c1
|
Upgrade Logi
|
2025-01-27 21:38:11 -06:00 |
|
Alex Gleason
|
fd553d98e2
|
KyselyLogger: fix import order
|
2025-01-27 19:26:52 -06:00 |
|
Alex Gleason
|
5ea33f6817
|
KyselyLogger: improve parameter serialization
|
2025-01-27 19:26:26 -06:00 |
|
Alex Gleason
|
05c90fb677
|
Merge branch 'logi' into 'main'
Switch to JSON logging
See merge request soapbox-pub/ditto!626
|
2025-01-28 00:15:58 +00:00 |
|
Alex Gleason
|
78cde6dcb2
|
Fix import order in api/admin
|
2025-01-27 18:14:12 -06:00 |
|
Alex Gleason
|
d23990e709
|
Remove unused variable
|
2025-01-27 18:13:29 -06:00 |
|
Alex Gleason
|
2165e649bc
|
Remove Stickynotes, replace all occurrences of console.log with logi
|
2025-01-27 18:11:32 -06:00 |
|
Alex Gleason
|
2a6f954df1
|
Add logi, start using it in KyselyLogger
|
2025-01-27 15:49:43 -06:00 |
|
Alex Gleason
|
224d7bfef9
|
Add SyslogIdentifier=ditto to systemd unit
|
2025-01-27 11:27:57 -06:00 |
|
Alex Gleason
|
452088386c
|
Upgrade @nostrify/db
|
2025-01-25 17:53:38 -06:00 |
|
Alex Gleason
|
85d9e210d3
|
Merge branch 'limiter' into 'main'
relay: stricter rate limits
See merge request soapbox-pub/ditto!625
|
2025-01-25 21:45:06 +00:00 |
|
Alex Gleason
|
7601cfa430
|
Don't throw inside the websocket callbacks because that crashes the whole application
|
2025-01-25 15:37:09 -06:00 |
|
Alex Gleason
|
fd312032a4
|
MultiRateLimiter: ensure the active limiter is used for ratelimit values
|
2025-01-25 15:31:49 -06:00 |
|
Alex Gleason
|
43a47770f4
|
relay: stricter rate limits
|
2025-01-25 15:21:16 -06:00 |
|
Alex Gleason
|
68a0ef6648
|
Add ratelimiter tests
|
2025-01-25 15:20:52 -06:00 |
|
Alex Gleason
|
12de164a4f
|
Add a custom RateLimiter implementation
|
2025-01-25 13:36:49 -06:00 |
|
Alex Gleason
|
b8d288868d
|
Turn on NOTIFY_ENABLED by default (now that it's optimized)
|
2025-01-25 01:46:31 -06:00 |
|
Alex Gleason
|
a8b8b8b427
|
Reduce default FIREHOSE_CONCURRENCY to 1
|
2025-01-25 01:46:08 -06:00 |
|
Alex Gleason
|
75be90694c
|
Always inject og metadata, but add generous cache headers
|
2025-01-25 01:42:20 -06:00 |
|
Alex Gleason
|
5dc840e14e
|
Avoid applying ratelimit to /packs
|
2025-01-24 04:27:56 -06:00 |
|
Alex Gleason
|
218604aa56
|
Move ratelimitMiddleware below metricsMiddleware, try adding a stricter ratelimit
|
2025-01-23 22:43:54 -06:00 |
|
Alex Gleason
|
64370c23e3
|
caddy: remove unnecessary hsts header
|
2025-01-23 15:42:19 -06:00 |
|
Alex Gleason
|
8083148d03
|
Don't include ratelimit headers on the default bucket
|
2025-01-23 15:27:24 -06:00 |
|
Alex Gleason
|
3fdd6e2213
|
Force no-store header on server error and rate limit responses
|
2025-01-23 15:23:48 -06:00 |
|
Alex Gleason
|
afa0a337d3
|
Add a default cache-control header of no-store
|
2025-01-23 14:59:29 -06:00 |
|
Alex Gleason
|
cd2619dbf3
|
Merge branch 'cache-control' into 'main'
Add Cache-Control headers
See merge request soapbox-pub/ditto!624
|
2025-01-23 20:15:56 +00:00 |
|
Alex Gleason
|
871222ee4e
|
Add Cache-Control headers to a bunch of routes
|
2025-01-23 14:11:10 -06:00 |
|
Alex Gleason
|
66f7853c3b
|
Add cacheControlMiddleware
|
2025-01-23 13:04:40 -06:00 |
|
Alex Gleason
|
b8dbc432ab
|
Add Cache-Control headers to nostr.json responses
|
2025-01-23 13:00:43 -06:00 |
|
Alex Gleason
|
aa1515e7e9
|
Remove accidental HSTS header from packs/ route
|
2025-01-23 13:00:11 -06:00 |
|
Alex Gleason
|
6d31949944
|
notActivitypubMiddleware: add bare ld+json to ACTIVITYPUB_TYPES
|
2025-01-21 18:49:08 -06:00 |
|
Alex Gleason
|
420cbba71f
|
Merge branch 'not-activitypub' into 'main'
Add notActivityPub middleware to stop AP requests on /users/*
See merge request soapbox-pub/ditto!622
|
2025-01-22 00:43:18 +00:00 |
|
Alex Gleason
|
281872b0ad
|
Add notActivityPub middleware to stop AP requests on /users/*
|
2025-01-21 18:41:04 -06:00 |
|
Alex Gleason
|
3fd311b929
|
Merge branch 'pipeline-source' into 'main'
pipeline: skip refetch of encountered events
See merge request soapbox-pub/ditto!620
|
2025-01-22 00:03:27 +00:00 |
|
Alex Gleason
|
7fdfb806f4
|
pipeline: skip refetch of encountered events
|
2025-01-21 17:31:55 -06:00 |
|
Alex Gleason
|
1204dc722f
|
Merge branch 'fix-mention' into 'main'
fix: mention with hyphen
See merge request soapbox-pub/ditto!619
|
2025-01-21 16:16:28 +00:00 |
|
P. Reis
|
e89853c56d
|
fix: mention with hyphen
|
2025-01-21 13:12:39 -03:00 |
|
Alex Gleason
|
93a035e3ff
|
Streaming: handle token errors as 401s
|
2025-01-20 22:47:21 -06:00 |
|
Alex Gleason
|
ba8b7ecaea
|
Merge branch 'caddy-log-ratelimit' into 'main'
Caddyfile: enable access log, add X-Real-IP header for rate limiting
See merge request soapbox-pub/ditto!618
|
2025-01-18 19:14:47 +00:00 |
|
Alex Gleason
|
d368bf90d5
|
Caddyfile: enable access log, add X-Real-IP header for rate limiting
|
2025-01-18 13:13:22 -06:00 |
|
Alex Gleason
|
f2766842ef
|
Merge branch 'caddyfile' into 'main'
Add a Caddyfile
See merge request soapbox-pub/ditto!617
|
2025-01-18 01:00:54 +00:00 |
|
Alex Gleason
|
5b9868bc3a
|
Add a Caddyfile
Related: https://gitlab.com/soapbox-pub/ditto/-/issues/265
|
2025-01-17 18:59:25 -06:00 |
|
Alex Gleason
|
ed29ecdb3f
|
Merge branch 'packs-cache' into 'main'
Add cache-control headers to /packs/*
See merge request soapbox-pub/ditto!616
|
2025-01-18 00:21:26 +00:00 |
|
Alex Gleason
|
51981009c4
|
Add cache-control headers to /packs/*
|
2025-01-17 18:19:32 -06:00 |
|
Alex Gleason
|
1e53457c9d
|
Merge branch 'kind-20' into 'main'
Support kind 20 "Picture" events (NIP-68)
See merge request soapbox-pub/ditto!615
|
2025-01-05 17:39:35 +00:00 |
|
Alex Gleason
|
b61eb2ff11
|
Fix favourites of kind 20 events
|
2025-01-05 11:37:38 -06:00 |
|
Alex Gleason
|
079177ea0b
|
EventsDB: index kind 20 in search the same as kind 1
|
2025-01-05 11:26:05 -06:00 |
|
Alex Gleason
|
7a60b4b8d8
|
Support kind 20 "Picture" events (NIP-68)
|
2025-01-05 11:23:18 -06:00 |
|
Alex Gleason
|
5a32964eb5
|
Merge branch 'upgrade-nostrify' into 'main'
Upgrade Nostrify
See merge request soapbox-pub/ditto!614
|
2024-12-30 20:31:20 +00:00 |
|
Alex Gleason
|
e523da9d19
|
Upgrade Nostrify
|
2024-12-30 14:29:45 -06:00 |
|