Commit Graph

38 Commits

Author SHA1 Message Date
P. Reis
178a3c4d0e feat: repost functionality 2024-04-05 19:44:12 -03:00
Alex Gleason
c71d3f9d3c renderAccount: stop calling findUser, rely on event hydration 2024-03-30 23:25:12 -05:00
Alex Gleason
4dd527474c renderAccount: return the unverified nip05 raw value 2024-03-25 12:32:15 -05:00
Alex Gleason
75c277e7e8 updateCredentials: allow setting nip05 through the API, remove restrictions on update_credentials 2024-03-24 16:42:19 -05:00
Alex Gleason
b867f6c33c accounts: nostr.npub -> nostr.pubkey 2024-03-12 16:32:43 -05:00
Alex Gleason
fe6dd01b68 Add ditto.is_registered property to Account 2024-02-18 10:41:18 -06:00
Alex Gleason
8d6f8e7d8d Add npub to Account entity 2024-02-13 20:23:33 -06:00
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
0a1b6cdf4f Merge remote-tracking branch 'origin/main' into zaps 2024-01-22 12:00:55 -06:00
Alex Gleason
8eccdafa64 Improve the NIP-05 cache 2024-01-21 20:22:11 -06:00
Alex Gleason
826a244f47 Add status zap endpoint, publish zap request to pipeline 2024-01-15 16:43:56 -06:00
Alex Gleason
937ae1eab6 Refactor EventStore to use a more Set-like interface 2024-01-08 15:18:01 -06:00
Alex Gleason
5bd03bdcaa Support admin accounts endpoint (first pass) 2024-01-05 15:35:55 -06:00
Alex Gleason
96dd635661 @/store.ts -> @/storages/types.ts 2024-01-03 22:02:34 -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
792e47f0f7 renderStatus: fix repost and reaction events being switched 2024-01-01 18:39:22 -06:00
Alex Gleason
3341d6aedd Add pinController, unpinController 2024-01-01 16:23:08 -06:00
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
Alex Gleason
180fdbd1c9 nostr-to-activitypub.ts --> activitypub/actor.ts 2023-10-06 15:09:01 -05:00
Alex Gleason
1662f616ef Move unfurl code to a separate module 2023-10-06 15:05:22 -05:00
Alex Gleason
db17f84937 Move emojiTagSchema into schemas/nostr.ts 2023-10-06 12:39:22 -05:00
Alex Gleason
9ca3ec08a3 Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
43499f2dfd media: add attachment view, unify types 2023-09-09 21:33:12 -05:00