Commit graph

  • c83bac93bd Merge branch 'account-search-limit' into 'main' Alex Gleason 2024-05-19 16:48:33 +00:00
  • 9754e29603
    accountSearchController: respect the limit param Alex Gleason 2024-05-19 11:45:42 -05:00
  • 050cfff88d Merge branch 'nip21-mentions-fix' into 'main' Alex Gleason 2024-05-19 16:37:24 +00:00
  • 540bd058a2
    Fix NIP-27 mentions Alex Gleason 2024-05-19 11:33:59 -05:00
  • b6b09d7b90 Merge branch 'attachment-guess-mime' into 'main' Alex Gleason 2024-05-19 14:16:57 +00:00
  • 7f5179efca
    renderAttachment: guess mime from url Alex Gleason 2024-05-19 09:13:53 -05:00
  • 5523c3fc0e
    verifyCredentials: wait up to 5 seconds Alex Gleason 2024-05-18 23:02:59 -05:00
  • 3d93be6a13 Merge branch 'uploader-type' into 'main' Alex Gleason 2024-05-19 03:20:30 +00:00
  • acef173ac4
    Do things the boilerplatey way just for consistency Alex Gleason 2024-05-18 22:15:33 -05:00
  • 24659d8edb
    IPFSUploader: make schema private Alex Gleason 2024-05-18 22:11:54 -05:00
  • 6542d6a777
    Move uploader.ts to utils, make it kind of like api.ts Alex Gleason 2024-05-18 22:04:43 -05:00
  • 82c03dcb56
    Rewrite all the uploaders Alex Gleason 2024-05-18 22:00:24 -05:00
  • b567a108a6 Merge branch 'uploader-type' into 'main' Alex Gleason 2024-05-18 23:26:00 +00:00
  • 6090c4a6d9
    Make Uploaders return NIP-94 tags Alex Gleason 2024-05-18 18:23:04 -05:00
  • ff39dfc4ec Merge branch 'strip-imeta' into 'main' Alex Gleason 2024-05-18 22:24:43 +00:00
  • e5595d34be
    Strip imeta links from the end of the content Alex Gleason 2024-05-18 17:08:30 -05:00
  • cc487f898e Merge branch 'nostrbuild' into 'main' Alex Gleason 2024-05-18 21:58:12 +00:00
  • 353111051a
    Use dimensions from nostr.build Alex Gleason 2024-05-18 16:53:17 -05:00
  • ce49c500ae
    renderStatus: fix duplicated attachments Alex Gleason 2024-05-18 16:47:47 -05:00
  • c89be75e5b
    Add a nostr.build uploader Alex Gleason 2024-05-18 16:22:24 -05:00
  • 1c4dbc9520 Merge branch 'imeta' into 'main' Alex Gleason 2024-05-18 20:52:25 +00:00
  • cbf0bc3594
    Fix note test Alex Gleason 2024-05-18 15:46:28 -05:00
  • c8b999a1f7
    imeta: don't get attachment ID from a tag Alex Gleason 2024-05-18 15:36:17 -05:00
  • b1b341d3b8
    Insert media URL into text Alex Gleason 2024-05-18 15:29:12 -05:00
  • 91ea4577f1
    Filter out attachments with no url Alex Gleason 2024-05-18 14:58:48 -05:00
  • e7d350a0e3
    Fix uploading by URL Alex Gleason 2024-05-18 14:54:10 -05:00
  • 611a94bdcf
    Fix uploading (almost) Alex Gleason 2024-05-18 14:32:50 -05:00
  • 7d34b9401e
    Support imeta tags Alex Gleason 2024-05-18 13:22:20 -05:00
  • c8f9483795
    Add note.test.ts Alex Gleason 2024-05-18 11:56:22 -05:00
  • 942260aa54
    note.ts -> utils/note.ts Alex Gleason 2024-05-18 11:53:33 -05:00
  • 5997ff0fff
    Create utils/media.ts, move some code from note.ts there Alex Gleason 2024-05-18 11:52:33 -05:00
  • f97064afb4
    Remove dependency on npm:mime, switch to @std/media-types Alex Gleason 2024-05-18 11:35:29 -05:00
  • 4c87e723c0
    Bump nostrify to v0.21.1 Alex Gleason 2024-05-18 10:56:34 -05:00
  • 6ac4c072a6
    Fix crash decoding url Alex Gleason 2024-05-18 08:20:43 -05:00
  • 3e93b42251
    stats: add a debug call Alex Gleason 2024-05-18 08:13:37 -05:00
  • f9a0055e78
    stats: add a Semaphore when refreshing author stats Alex Gleason 2024-05-17 19:00:56 -05:00
  • 23a366081f
    stats: maybe refresh stats when updating Alex Gleason 2024-05-17 18:42:45 -05:00
  • 45ab5f6672 Merge branch 'recompute-stats' into 'main' Alex Gleason 2024-05-17 23:32:38 +00:00
  • bf479d0162
    Move refreshAuthorStatsDebounced to stats.ts Alex Gleason 2024-05-17 18:26:55 -05:00
  • 5c2e3450a9
    Refresh author stats: less naive way Alex Gleason 2024-05-17 17:50:30 -05:00
  • 17b6330193
    Downgrade Deno to v1.43.3 due to TypeScript issues Alex Gleason 2024-05-17 16:59:45 -05:00
  • ae9516b445
    refreshAuthorStats: return the stats Alex Gleason 2024-05-17 16:23:38 -05:00
  • 6995bd2b29
    Upgrade Deno to the latest version Alex Gleason 2024-05-17 16:23:23 -05:00
  • a39910fa98
    Add a function to recalculate author stats Alex Gleason 2024-05-17 13:12:40 -05:00
  • 1a32150f3d Merge branch 'nonzero-stats' into 'main' Alex Gleason 2024-05-17 16:42:12 +00:00
  • 251500fba1
    Never let stats be less than 0 Alex Gleason 2024-05-17 11:39:21 -05:00
  • 80e487817e Merge branch 'fix-followers-and-following-when-no-kind-0' into 'main' Alex Gleason 2024-05-17 14:28:50 +00:00
  • 4cc1d13d44 fix: render followers & following list when no kind 0 P. Reis 2024-05-17 11:25:17 -03:00
  • bc538e182a Merge branch 'fix-repost-render' into 'main' Alex Gleason 2024-05-17 13:30:35 +00:00
  • 2aee2e6bf6 fix(renderReblog): render account from pubkey if there is no kind 0 P. Reis 2024-05-17 09:45:19 -03:00
  • 83a7b1f231
    create tags_usages kysely table Siddharth Singh 2024-05-17 14:46:20 +05:30
  • 5aacbe7af5
    Fix media uploads due to 'awaiting' a query builder instance Alex Gleason 2024-05-16 18:53:04 -05:00
  • 04980089b4 Merge branch 'pgfts' into 'main' Alex Gleason 2024-05-16 22:24:21 +00:00
  • baa6986880
    EventsDB: enable fts conditionally based on DATABASE_URL Alex Gleason 2024-05-16 15:48:22 -05:00
  • 00d4bf2344
    Upgrade Nostrify to v0.20.0, enable Postgres FTS Alex Gleason 2024-05-16 15:42:32 -05:00
  • cb2e8607fa Merge branch 'refactor-unreblog' into 'main' Alex Gleason 2024-05-16 20:17:38 +00:00
  • 405714960e Merge branch 'mixed-filters' into 'main' Alex Gleason 2024-05-16 18:01:22 +00:00
  • 6c3f0849b2
    Upgrade Nostrify to v0.19.2, fix crash on mixed filters Alex Gleason 2024-05-16 12:57:01 -05:00
  • 8c46560df4 Merge branch 'phantom-deletions' into 'main' Alex Gleason 2024-05-16 15:50:46 +00:00
  • 031a3eac04
    EventsDB.test: import order Alex Gleason 2024-05-16 10:30:54 -05:00
  • 4df2c7ba9c
    Improve EventsDB error handling Alex Gleason 2024-05-16 10:29:14 -05:00
  • 2ede439005
    Upgrade Nostrify to v0.19.1, fix phantom deletions Alex Gleason 2024-05-16 09:27:22 -05:00
  • e61cbecb3e refactor(unreblog): update error messages and query with Storages.db() P. Reis 2024-05-16 10:29:14 -03:00
  • b2c26c9374 Merge branch '4036' into 'main' Alex Gleason 2024-05-16 13:13:12 +00:00
  • 4b07f2a12a
    Actually, set default LOCAL_DOMAIN based on PORT Alex Gleason 2024-05-16 08:10:13 -05:00
  • 0acde23c46
    Port 8000 -> 4036 in all the places Alex Gleason 2024-05-16 08:08:36 -05:00
  • 4fafce27eb Merge branch 'policy-env' into 'main' Alex Gleason 2024-05-16 01:41:30 +00:00
  • f14b64b003
    Remove useless policy dir Alex Gleason 2024-05-15 20:35:00 -05:00
  • 0b6b62f3b3
    policyWorker: import deno-safe-fetch Alex Gleason 2024-05-15 20:27:54 -05:00
  • 9e9ab40886
    Run the custom policy in a worker for security Alex Gleason 2024-05-15 20:19:49 -05:00
  • 6a1b8b0943
    policy: improve error handling Alex Gleason 2024-05-15 19:29:58 -05:00
  • 8a672c93ec
    Debug custom policies with ditto:policy Alex Gleason 2024-05-15 18:53:30 -05:00
  • 8e68d13ff1
    Let custom policy be configured with DITTO_POLICY Alex Gleason 2024-05-15 18:49:08 -05:00
  • 132eed36b4 Merge branch 'docker' into 'main' Alex Gleason 2024-05-15 23:41:33 +00:00
  • 597946002d
    Add a basic Dockerfile Alex Gleason 2024-05-15 18:38:51 -05:00
  • 750e4a8bff Merge branch 'port-4036' into 'main' Alex Gleason 2024-05-15 22:11:58 +00:00
  • 417bd64f4c
    Use port 4036 by default Alex Gleason 2024-05-15 17:09:12 -05:00
  • a8fcd31999 Merge branch 'favicon' into 'main' Alex Gleason 2024-05-15 21:32:45 +00:00
  • 19b2fd19e8
    Add a default favicon.ico Alex Gleason 2024-05-15 16:30:03 -05:00
  • a31e28a719 Merge branch 'mark-readme' into 'main' Alex Gleason 2024-05-15 16:10:58 +00:00
  • e15779dcfd docs: mark moderation and notifications as done P. Reis 2024-05-15 13:06:07 -03:00
  • e2cf9457cf Merge branch 'stats-fix' into 'main' Alex Gleason 2024-05-15 15:12:53 +00:00
  • 4d3a9c6e23
    stats: fix kysely screaming that we're awaiting a builder instance Alex Gleason 2024-05-15 10:09:31 -05:00
  • 406baf8a1d
    events-db -> EventsDB Alex Gleason 2024-05-15 08:18:31 -05:00
  • 25a49db3ae Merge branch 'ndatabase' into 'main' Alex Gleason 2024-05-15 13:16:21 +00:00
  • 7021b0d4fd
    'null' -> null Alex Gleason 2024-05-15 08:13:19 -05:00
  • 171350a34d
    Drop deleted_at column Alex Gleason 2024-05-15 08:08:30 -05:00
  • 137bd0dae0
    adminAccountsController: fix type error with DittoEvent Alex Gleason 2024-05-14 22:19:33 -05:00
  • ae0ec7be7e
    EventsDB: remove DittoEvent dependency Alex Gleason 2024-05-14 21:29:04 -05:00
  • 221c41fdfa
    EventsDB: make it a simple wrapper around NDatabase Alex Gleason 2024-05-14 21:22:09 -05:00
  • 998d0851df Merge branch 'ndb' into 'main' Alex Gleason 2024-05-15 02:02:52 +00:00
  • 69108c0375
    UnattachedMedia: point to new EventsDB tables Alex Gleason 2024-05-14 20:58:29 -05:00
  • b3985e740b
    EventsDB: migrate tables to match NDatabase Alex Gleason 2024-05-14 20:54:09 -05:00
  • af9fb6aaa3
    Sort imports of streaming.ts Alex Gleason 2024-05-14 20:05:38 -05:00
  • 91a7ebc634 Merge branch 'fix-blocked-users-in-streaming' into 'main' Alex Gleason 2024-05-15 00:58:56 +00:00
  • 64e7655b81 Merge branch 'recompute' into 'main' Alex Gleason 2024-05-15 00:55:52 +00:00
  • a1326dedcc fix(streaming): async storage P. Reis 2024-05-14 21:53:50 -03:00
  • 9e34838de8 Merge branch 'main' into fix-blocked-users-in-streaming (((updating local branch))) P. Reis 2024-05-14 21:51:53 -03:00
  • b00ac8c768 Merge branch 'rm-deps-test' into 'main' Alex Gleason 2024-05-15 00:50:39 +00:00
  • 0383726663 fix(streaming): use policy instead of hand coding P. Reis 2024-05-14 21:44:19 -03:00