Commit graph

  • 871222ee4e
    Add Cache-Control headers to a bunch of routes Alex Gleason 2025-01-23 14:11:10 -06:00
  • 66f7853c3b
    Add cacheControlMiddleware Alex Gleason 2025-01-23 13:04:40 -06:00
  • b8dbc432ab
    Add Cache-Control headers to nostr.json responses Alex Gleason 2025-01-23 13:00:43 -06:00
  • aa1515e7e9
    Remove accidental HSTS header from packs/ route Alex Gleason 2025-01-23 13:00:11 -06:00
  • a7bb975221 fix(migration 042): use .ifExists() P. Reis 2025-01-22 20:30:39 -03:00
  • f879315d34 feat: script to populate mime-type P. Reis 2025-01-22 20:25:40 -03:00
  • e388925815 Merge branch 'main' into feat-search-mime-type P. Reis 2025-01-22 17:11:03 -03:00
  • c3966be65b feat(accountStatusesController): query for media faster P. Reis 2025-01-22 17:10:24 -03:00
  • b037be44a4 feat: add mime_type column in nostr_events, add the following NIP 50 search extensions: exact_mime_type, example: 'exact_mime_type:image/png' (uses hash index) partial_mime_type, example 'partial_mime_type:image' (uses b-tree index) only_media, example 'only_media:true' (sometimes uses index) P. Reis 2025-01-22 17:01:10 -03:00
  • 6d31949944
    notActivitypubMiddleware: add bare ld+json to ACTIVITYPUB_TYPES Alex Gleason 2025-01-21 18:49:08 -06:00
  • 420cbba71f Merge branch 'not-activitypub' into 'main' Alex Gleason 2025-01-22 00:43:18 +00:00
  • fce1336b68 Merge branch 'not-activitypub' into 'main' Alex Gleason 2025-01-22 00:42:35 +00:00
  • 281872b0ad
    Add notActivityPub middleware to stop AP requests on /users/* Alex Gleason 2025-01-21 18:34:34 -06:00
  • 4975362713 Merge branch 'pipeline-batcher' into 'main' Alex Gleason 2025-01-22 00:08:23 +00:00
  • 54153bfd1e
    notify: batch id lookups every 1s pipeline-batcher Alex Gleason 2025-01-21 18:07:50 -06:00
  • 3fd311b929 Merge branch 'pipeline-source' into 'main' Alex Gleason 2025-01-22 00:03:27 +00:00
  • 1c77d4989d Merge branch 'pipeline-source' into 'main' Alex Gleason 2025-01-22 00:02:42 +00:00
  • 7fdfb806f4
    pipeline: skip refetch of encountered events Alex Gleason 2025-01-21 17:30:59 -06:00
  • 1204dc722f Merge branch 'fix-mention' into 'main' Alex Gleason 2025-01-21 16:16:28 +00:00
  • a9edc4bd26 Merge branch 'fix-mention' into 'main' P. Reis 2025-01-21 16:13:32 +00:00
  • e89853c56d fix: mention with hyphen P. Reis 2025-01-21 13:12:39 -03:00
  • 93a035e3ff
    Streaming: handle token errors as 401s Alex Gleason 2025-01-20 22:47:21 -06:00
  • 2bdf100537 Merge branch 'languagedetector-lingua' into 'main' Siddharth Singh 2025-01-20 23:57:12 +00:00
  • ba8b7ecaea Merge branch 'caddy-log-ratelimit' into 'main' Alex Gleason 2025-01-18 19:14:47 +00:00
  • c73012dc77 Merge branch 'caddy-log-ratelimit' into 'main' Alex Gleason 2025-01-18 19:14:21 +00:00
  • d368bf90d5
    Caddyfile: enable access log, add X-Real-IP header for rate limiting Alex Gleason 2025-01-18 13:13:22 -06:00
  • f2766842ef Merge branch 'caddyfile' into 'main' Alex Gleason 2025-01-18 01:00:54 +00:00
  • 5f898c511e Merge branch 'caddyfile' into 'main' Alex Gleason 2025-01-18 01:00:06 +00:00
  • 5b9868bc3a
    Add a Caddyfile Related: https://gitlab.com/soapbox-pub/ditto/-/issues/265 Alex Gleason 2025-01-17 18:59:25 -06:00
  • ed29ecdb3f Merge branch 'packs-cache' into 'main' Alex Gleason 2025-01-18 00:21:26 +00:00
  • 7a276adf30 Merge branch 'packs-cache' into 'main' Alex Gleason 2025-01-18 00:20:23 +00:00
  • 51981009c4
    Add cache-control headers to /packs/* Alex Gleason 2025-01-17 18:19:32 -06:00
  • 799774760a feat: event_stats reactions is now jsonb and updates keys directly refactor-convert-reactions-to-jsonb P. Reis 2025-01-08 21:02:53 -03:00
  • 68f38ade2a Merge branch 'nip86' into 'main' Alex Gleason 2025-01-07 02:08:24 +00:00
  • a1078de07b feat(handleEvent7): update keys/reactions directly with kysely, not raw SQL TODO: create migration to convert event_stats to jsonb P. Reis 2025-01-06 19:14:43 -03:00
  • 1e53457c9d Merge branch 'kind-20' into 'main' Alex Gleason 2025-01-05 17:39:35 +00:00
  • c4ba1cf900 Merge branch 'kind-20' into 'main' Alex Gleason 2025-01-05 17:38:10 +00:00
  • b61eb2ff11
    Fix favourites of kind 20 events Alex Gleason 2025-01-05 11:37:38 -06:00
  • 079177ea0b
    EventsDB: index kind 20 in search the same as kind 1 Alex Gleason 2025-01-05 11:26:05 -06:00
  • 7a60b4b8d8
    Support kind 20 "Picture" events (NIP-68) Alex Gleason 2025-01-05 11:23:18 -06:00
  • 5a32964eb5 Merge branch 'upgrade-nostrify' into 'main' Alex Gleason 2024-12-30 20:31:20 +00:00
  • 9696561bbb Merge branch 'upgrade-nostrify' into 'main' Alex Gleason 2024-12-30 20:30:16 +00:00
  • e523da9d19
    Upgrade Nostrify Alex Gleason 2024-12-30 14:29:45 -06:00
  • bc24bb975c feat(handleEvent7): update keys/reactions directly TODO: convert reactions to jsonb TODO: convert to kysely rather than raw SQL P. Reis 2024-12-29 18:16:19 -03:00
  • aae00cdc10 checkpoint: handleEvent7 function uses raw SQL directly (temporarily) to update reactions P. Reis 2024-12-28 19:56:07 -03:00
  • 51fc0c9cc9 Merge branch 'tl-ratelimit' into 'main' Alex Gleason 2024-12-27 19:20:29 +00:00
  • 899e9c76f4 Merge branch 'tl-ratelimit' into 'main' Alex Gleason 2024-12-27 19:18:56 +00:00
  • b85513496c
    Ratelimit follow and unfollow Alex Gleason 2024-12-27 13:18:22 -06:00
  • 54c398c5fa
    Ratelimit /followers and /following endpoints Alex Gleason 2024-12-27 13:16:33 -06:00
  • a316e92001
    Bump limits slightly, also limit account statuses controller Alex Gleason 2024-12-27 13:15:47 -06:00
  • eb10cdce76
    Stricter timeline rate limits Alex Gleason 2024-12-27 13:06:32 -06:00
  • e32976945e Merge branch 'media-newlines' into 'main' Alex Gleason 2024-12-27 02:43:20 +00:00
  • 9899a0c487 Merge branch 'media-newlines' into 'main' Alex Gleason 2024-12-27 02:41:41 +00:00
  • 79e87008c1
    Move content back up because it has side-effects with pubkeys Alex Gleason 2024-12-26 20:40:59 -06:00
  • f72fdf79bb
    Stop adding unnecessary newlines to the top of posts with images only Alex Gleason 2024-12-26 20:33:26 -06:00
  • 8a2ac8f7f6
    fix copied test languagedetector-lingua Siddharth Singh 2024-12-27 05:09:29 +05:30
  • b6e41f4eaf
    rewrite and expand tests Siddharth Singh 2024-12-27 04:56:38 +05:30
  • 86e816ae67
    add lingua lang detection Siddharth Singh 2024-12-27 04:56:28 +05:30
  • 3812c1d3e6
    add language detection conf option Siddharth Singh 2024-12-27 04:56:03 +05:30
  • 12e8eaf340
    add task to download latest lingua-wasm blob Siddharth Singh 2024-12-27 04:55:51 +05:30
  • 62258f7ee5 Create unfavouriteController danidfra 2024-12-24 15:33:41 -03:00
  • 2486830856 Implement unfavourite controller danidfra 2024-12-24 15:31:56 -03:00
  • 95a713b50a Refactor reactions: removed unnecessary lines danidfra 2024-12-24 15:28:05 -03:00
  • bb50ad7a43 Merge branch 'bunker-44' into 'main' Alex Gleason 2024-12-18 08:00:07 +00:00
  • 139e600b79
    Switch to NIP-44 bunker encryption https://gitlab.com/soapbox-pub/ditto/-/issues/279 Alex Gleason 2024-12-18 01:56:53 -06:00
  • 75f9c90a8c Merge branch 'future-block' into 'main' Alex Gleason 2024-12-17 21:07:18 +00:00
  • e3294e5351
    pipeline: block events too far in the future Alex Gleason 2024-12-17 14:58:40 -06:00
  • f1f00fcf38 Merge branch 'fix-reaction-target-pubkey' into 'main' Alex Gleason 2024-12-12 00:06:46 +00:00
  • 5de7cfb4da fix: add 'p' tag to kind 7 event P. Reis 2024-12-11 21:04:00 -03:00
  • 6eaf18a890 Merge branch 'valid-ws' into 'main' Alex Gleason 2024-12-10 23:45:58 +00:00
  • f8e77d90eb
    Filter out invalid WebSocket URLs from pool, prevent admins from setting them Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/276 Alex Gleason 2024-12-10 17:43:01 -06:00
  • e3cc6922ae Merge branch 'make-search-domain-faster' into 'main' Alex Gleason 2024-12-09 14:49:18 +00:00
  • 8101483622 refactor: make domain:<domain> search faster P. Reis 2024-12-09 11:32:51 -03:00
  • dbfd1a9d35 Merge branch 'self-label' into 'main' Alex Gleason 2024-12-06 20:52:13 +00:00
  • a7bfc665c3
    Fix Bluesky's selfLabel name Alex Gleason 2024-12-06 14:50:16 -06:00
  • d0f53f5601 Merge branch 'fix-do-not-search-when-empty-content' into 'main' Alex Gleason 2024-12-05 19:24:54 +00:00
  • 5df47403ad Merge branch 'fix-captcha-showing-up' into 'main' Alex Gleason 2024-12-03 23:24:59 +00:00
  • b5221eb43a fix: stop captcha showing up P. Reis 2024-12-03 20:05:38 -03:00
  • e0d9e83f28 Revert "Merge branch 'revert-70d30887' into 'main'" P. Reis 2024-12-03 20:04:18 -03:00
  • 0c2f082281 Merge branch 'revert-70d30887' into 'main' Alex Gleason 2024-12-03 22:04:10 +00:00
  • 261cd339fa Revert "Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main'" Alex Gleason 2024-12-03 22:03:46 +00:00
  • 70d3088735 Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main' Alex Gleason 2024-12-03 21:29:12 +00:00
  • 2b6bf125e1 refactor(updateCredentialsController): accountFromPubkey if the user has no kind 0 P. Reis 2024-12-03 18:23:13 -03:00
  • dfff24d3b2 refactor(updateCredentialsController): return error if event is undefined P. Reis 2024-12-03 15:22:37 -03:00
  • 30d7f1a053 refactor(updateCredentialsController): stop overwriting kind 0 unnecessarily P. Reis 2024-12-03 14:33:04 -03:00
  • b45fcdde69 Revert "fix(updateCredentialsController): stop overwriting kind 0 unnecessarily" P. Reis 2024-12-03 14:23:00 -03:00
  • cd95c38eec
    'q' tag should omit marker per NIP-18 Alex Gleason 2024-11-30 13:13:54 -06:00
  • 74ef00e9d8 refactor(getIdsBySearch): do not search if the search content is empty P. Reis 2024-11-29 23:39:14 -03:00
  • f576e45c58
    Upgrade gleasonator-policy in deno.lock Alex Gleason 2024-11-29 18:55:38 -06:00
  • 342ba7d4b1 fix(updateCredentialsController): stop overwriting kind 0 unnecessarily P. Reis 2024-11-29 11:49:37 -03:00
  • 45cb9757b4 Merge branch 'no-unauthenticated' into 'main' Alex Gleason 2024-11-26 06:52:12 +00:00
  • d86096dd91
    Merge remote-tracking branch 'origin/main' into no-unauthenticated Alex Gleason 2024-11-26 00:48:39 -06:00
  • beba62630a Merge branch 'fix-ci' into 'main' Alex Gleason 2024-11-26 06:12:59 +00:00
  • 40215716db
    Delete cursed pipeline test Alex Gleason 2024-11-26 00:09:04 -06:00
  • 840b7231cd
    Simplify CI Alex Gleason 2024-11-25 23:43:48 -06:00
  • 4ed66b8fe5
    accountLookupController: support !no-unauthenticated Alex Gleason 2024-11-25 22:44:14 -06:00
  • 1dc19ef422
    Support Bluesky's !no-unauthenticated self-label Alex Gleason 2024-11-25 22:36:32 -06:00
  • afb450e412
    Bump gleasonator-policy in deno.lock Alex Gleason 2024-11-25 19:44:20 -06:00
  • 5ea5fd40a4
    Bump gleasonator-policy in deno.lock Alex Gleason 2024-11-25 19:41:10 -06:00
  • 418dbd6d0c
    Let a proxy tag not be a URL (to support atproto URIs) Alex Gleason 2024-11-22 10:49:05 -06:00