Commit Graph

  • 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
  • 374dc3495c Merge remote-tracking branch 'origin/main' into recompute Alex Gleason 2024-05-14 19:43:50 -05:00
  • f163af55d8 Remove deps-test.ts Alex Gleason 2024-05-14 19:19:57 -05:00
  • 31fc246526 Merge branch 'storages-async' into 'main' Alex Gleason 2024-05-15 00:17:17 +00:00
  • 4d342dff4a fix(streaming): move get muted users logic before upgrading connection to web socket P. Reis 2024-05-14 21:14:00 -03:00
  • 2fd50261f9 streaming: actually hydrate with optimizer Alex Gleason 2024-05-14 19:11:38 -05:00
  • 477ee8b124 Fix hydrateEvents in streaming Alex Gleason 2024-05-14 19:09:25 -05:00
  • d3a7f0849f deno lint Alex Gleason 2024-05-14 19:02:15 -05:00
  • 3d1d56355d Update scripts for async db Alex Gleason 2024-05-14 18:51:35 -05:00
  • 99a6c668c8 Update recompute script Alex Gleason 2024-05-14 18:50:05 -05:00
  • 47bc551e0b Merge branch 'storages-async' into recompute Alex Gleason 2024-05-14 18:48:26 -05:00
  • b4d48218b8 Add missing nostr-relaypool import Alex Gleason 2024-05-14 18:46:55 -05:00
  • a4226a963f Rework Kysely db to be async Alex Gleason 2024-05-14 18:44:42 -05:00
  • 68b5887ed0 Don't let your memes be dreams Alex Gleason 2024-05-14 18:23:41 -05:00
  • 08c9ee0670 Refactor client and firehose Alex Gleason 2024-05-14 16:25:24 -05:00
  • 3c706dc81b Storages: make all methods async (total chaos and destruction) Alex Gleason 2024-05-14 16:10:50 -05:00
  • dc87d3599d Add stats:recompute script Alex Gleason 2024-05-14 15:55:19 -05:00
  • 0a79ecb0a3 Merge branch 'stats-race' into 'main' Alex Gleason 2024-05-14 20:29:18 +00:00
  • 7feecab723 stats: fix ambiguous column name error in Postgres? Alex Gleason 2024-05-14 15:25:56 -05:00
  • eef349f1e9 Update stats before storing event Alex Gleason 2024-05-14 15:05:59 -05:00
  • a3597edb90 Merge branch 'signer-middleware' into 'main' Alex Gleason 2024-05-14 19:51:58 +00:00
  • efa1c92044 Merge remote-tracking branch 'origin/main' into signer-middleware Alex Gleason 2024-05-14 14:48:47 -05:00
  • e53ea22274 Remove unused import Alex Gleason 2024-05-14 14:48:37 -05:00
  • f12bb4b643 Merge branch 'block-globally-muted-user-to-post' into 'main' Alex Gleason 2024-05-14 19:46:36 +00:00