Commit Graph

197 Commits

Author SHA1 Message Date
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
529bc11da1 Support replaceable events and parameterized replaceable events (delete old versions upon insert) 2023-12-29 23:21:05 -06:00
Alex Gleason
3472428da8 relay: fix wrong function name 2023-12-29 21:12:57 -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
3ae47ee865 NIP-11: fix pubkey field 2023-12-19 22:01:41 -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
180fdbd1c9 nostr-to-activitypub.ts --> activitypub/actor.ts 2023-10-06 15:09:01 -05:00
Alex Gleason
9ca3ec08a3 Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
0f9ff5bcaa relay: fix querying by ids and authors 2023-09-11 19:45:27 -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
Alex Gleason
e8053ba072 unattached-media: cid --> url 2023-09-09 18:12:54 -05:00
Alex Gleason
c88b174d02 Add unattached_media table, insert one when uploading a file 2023-09-09 17:41:30 -05:00
Alex Gleason
b5a84627c8 statuses: enable posting with media attachments 2023-09-08 18:45:00 -05:00
Alex Gleason
2c943872a8 media: enforce a filesize limit on uploads 2023-09-08 16:48:27 -05:00