Commit Graph

15 Commits

Author SHA1 Message Date
Alex Gleason
b98487196f Set bookmarked property of statuses, optimize status querying, fix relationships wrong assumption 2024-01-01 14:31:45 -06:00
Alex Gleason
84eb4cec2e Add blockController, fix bugs 2023-12-31 23:35:37 -06:00
Alex Gleason
6d1375ba59 Optimize the relationships controller, support block relationships 2023-12-31 22:56:21 -06:00
Alex Gleason
f665c5f825 Remove isFollowing util 2023-12-31 20:31:06 -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
a5369d9826 Ensure relations are loaded throughout the API where needed 2023-12-10 16:21:18 -06:00
Alex Gleason
07dc07ab71 Simplify author_stats relation 2023-12-10 15:54:31 -06:00
Alex Gleason
5415656b4d Make author_stats and event_stats two separate keys on an event 2023-12-10 15:40:05 -06:00
Alex Gleason
21b6a02ff3 views: avoid counting directly in the view, take from the event object if it has it 2023-12-10 14:27:15 -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
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