Commit Graph

167 Commits

Author SHA1 Message Date
Alex Gleason
957b224453 adminAccountsController: support pagination, probably 2024-01-05 17:11:32 -06:00
Alex Gleason
e1a95b2319 adminAccountsController: fix hydrating accounts 2024-01-05 16:33:05 -06:00
Alex Gleason
46b7185f7b adminAccountsController: bail if querying by unsupported params 2024-01-05 16:05:18 -06:00
Alex Gleason
5bd03bdcaa Support admin accounts endpoint (first pass) 2024-01-05 15:35:55 -06:00
Alex Gleason
89af83c660 search: fix abort signals 2024-01-04 02:09:23 -06:00
Alex Gleason
ee7347df10 SearchStore works! 2024-01-04 00:07:57 -06:00
Alex Gleason
b3e4b79439 Delete db/events.ts, db/memorelay.ts, move to @/storages.ts 2024-01-03 21:56:41 -06:00
Alex Gleason
43359f787b web.ts -> api.ts 2024-01-01 17:03:32 -06:00
Alex Gleason
57d7f7ff40 Support pinned param in accountStatusesController 2024-01-01 16:30:11 -06:00
Alex Gleason
3341d6aedd Add pinController, unpinController 2024-01-01 16:23:08 -06:00
Alex Gleason
5f6715db46 Add unbookmarkController 2024-01-01 14:35:46 -06:00
Alex Gleason
c8e2707704 Add bookmarkController, refactor generic views 2024-01-01 14:07:39 -06:00
Alex Gleason
69a44f9d2b Add bookmarkController 2024-01-01 13:45:07 -06:00
Alex Gleason
3807ca175f Add unblock and unfollow endpoints 2024-01-01 12:50:09 -06:00
Alex Gleason
5b7c3a1d5e Support GET /api/v1/blocks 2024-01-01 12:44:50 -06:00
Alex Gleason
84eb4cec2e Add blockController, fix bugs 2023-12-31 23:35:37 -06:00
Alex Gleason
63fb934220 setTag -> addTag 2023-12-31 22:06:35 -06:00
Alex Gleason
8023cfa7b2 Use a cleaner API for updating lists 2023-12-31 22:01:57 -06:00
Alex Gleason
f665c5f825 Remove isFollowing util 2023-12-31 20:31:06 -06:00
Alex Gleason
dc27ee05d4 Create updateListEvent helper function 2023-12-31 20:13:49 -06:00
Alex Gleason
e5c8f8c146 Bump the timeout a bit when fetching an individual status 2023-12-31 12:48:49 -06:00
Alex Gleason
358396fdac Drop users table 2023-12-29 17:01:23 -06:00
Alex Gleason
e6c8d1dad9 Add an EventStore interface, refactor eventsDB 2023-12-29 13:12:16 -06:00
Alex Gleason
5ed2ecbabd Remove mixer module 2023-12-29 12:43:59 -06:00
Alex Gleason
7b9baef165 debug: streaming, simplify other logs 2023-12-27 20:39:38 -06:00
Alex Gleason
ad0aaf97dd Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -06:00
Alex Gleason
26e64e781c Add NIP-11 support 2023-12-19 21:15:41 -06:00
Alex Gleason
b32eaca17d deno fmt 2023-12-17 11:03:40 -06:00
Alex Gleason
a5369d9826 Ensure relations are loaded throughout the API where needed 2023-12-10 16:21:18 -06:00
Alex Gleason
a6947441fc renderStatus: don't fetch the author, expect it to be passed in 2023-12-06 12:04:24 -06:00
Alex Gleason
d569dfd5b5 Add TrendsWorker for tracking/querying trending tags with a Web Worker 2023-12-04 16:33:02 -06:00
Alex Gleason
c1bf326981 c.req.headers.get --> c.req.header, hono deprecation 2023-11-20 12:39:20 -06:00
Alex Gleason
9cd0a9bf22 Stop querying the pool 2023-10-09 13:17:02 -05:00
Alex Gleason
45d42f7ea4 Delete nostr-to-mastoapi.ts, add notifications.ts and relationships.ts 2023-10-06 15:40:34 -05:00
Alex Gleason
d49c63bb1a Move statuses view into its own file 2023-10-06 15:37:31 -05:00
Alex Gleason
0b77e7d888 Add views/mastodon/accounts.ts, views/mastodon/emojis.ts 2023-10-06 15:28:02 -05:00
Alex Gleason
981d0ee693 views/attachment.ts -> views/mastodon/attachments.ts 2023-10-06 15:19:13 -05:00
Alex Gleason
9ca3ec08a3 Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
62ac9bffa3 accounts: set nip05 during update_credentials 2023-09-11 18:44:44 -05:00
Alex Gleason
93d8e0b22b accounts: support updating avatar and banner 2023-09-11 18:02:17 -05:00
Alex Gleason
d2760bc706 media: refactor upload code into a separate module 2023-09-11 17:49:38 -05:00
Alex Gleason
55d5197136 timelines: 3 seconds --> 1 second 2023-09-11 17:26:47 -05:00
Alex Gleason
31114b6094 accounts: return a blank account for verify_credentials if it isn't resolved 2023-09-11 09:08:15 -05:00
Alex Gleason
1b2f4d9a54 accounts: return token after registering account 2023-09-11 07:17:00 -05:00
Alex Gleason
bacb872a18 Add /api not implemented controller 2023-09-11 04:55:15 -05:00
Alex Gleason
82c4f0827e Make registrations configurable by env 2023-09-10 23:44:30 -05:00
Alex Gleason
607ef4b980 Make POW configurable, expose over the API 2023-09-10 15:38:49 -05:00
Alex Gleason
052c00821d Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason
43499f2dfd media: add attachment view, unify types 2023-09-09 21:33:12 -05:00
Alex Gleason
cf9a754b02 media: pukey --> pubkey, fix adding media tags to event 2023-09-09 20:12:47 -05:00