Commit graph

29 commits

Author SHA1 Message Date
Alex Gleason
c6062874bd
Implement NStore interface from NLib 2024-01-23 14:06:51 -06:00
Alex Gleason
aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason
937ae1eab6
Refactor EventStore to use a more Set-like interface 2024-01-08 15:18:01 -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
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
ad0aaf97dd
Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -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
d49c63bb1a
Move statuses view into its own file 2023-10-06 15:37:31 -05:00
Alex Gleason
9ca3ec08a3
Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
55d5197136
timelines: 3 seconds --> 1 second 2023-09-11 17:26:47 -05:00
Alex Gleason
2ee29bf1e2
Make favourites stick, refactor some async logic in threads 2023-08-29 14:44:59 -05:00
Alex Gleason
4d211d637e
timelines: add DRY renderStatuses function 2023-08-29 13:01:47 -05:00
Alex Gleason
4216a7931a
Add paginated helper function, DRY pagination code 2023-08-29 12:55:00 -05:00
Alex Gleason
ce4a330812
Rename timeline controllers, homeController --> homeTimelineController, etc 2023-08-29 12:41:14 -05:00
Alex Gleason
ccb8c534ca
Add hashtag timeline 2023-08-28 19:51:21 -05:00
Alex Gleason
23928c0024
Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
Alex Gleason
b087d08306
Make the local timeline correctly filter only local users 2023-08-19 13:01:05 -05:00
Alex Gleason
5a27d791e3
queries: make getFeed accept a pubkey instead of event3 2023-08-17 13:15:47 -05:00
Alex Gleason
870a6f5261
Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -05:00
Alex Gleason
e5082ed805
transmogrify --> transformers 2023-07-13 20:47:09 -05:00
Alex Gleason
97e6f1385c
Move transmute into transmogrify directory 2023-07-13 20:23:04 -05:00
Alex Gleason
b7ecc609de
publicController: return early if there are no events 2023-07-07 15:15:26 -05:00
Alex Gleason
d4eef9c2af
Add public timeline, fix limit param 2023-07-07 15:07:59 -05:00
Alex Gleason
8a62cb604d
Support pagination on user profile 2023-06-09 19:22:38 -05:00
Alex Gleason
7820f88859
timelines: bail early if there are no events 2023-05-11 20:11:00 -05:00
Alex Gleason
610ce4444a
api --> controllers/api 2023-04-30 14:45:30 -05:00
Renamed from src/api/timelines.ts (Browse further)