Commit Graph

56 Commits

Author SHA1 Message Date
Alex Gleason 9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
P. Reis e2b377d9c7 fix: reblogged field boolean value takes into account viewerPubkey 2024-04-19 11:12:11 -03:00
P. Reis e19e41f826 fix: always populate quote_id if possible 2024-04-16 15:16:18 -03:00
P. Reis 6248272243 feat: add quote repost 2024-04-15 17:19:37 -03:00
P. Reis 37bee709cd perf: hydrate repost events in reblog endpoint & streaming 2024-04-13 18:16:15 -03:00
P. Reis 24efca5ea0 perf: hydrate repost event in home timeline 2024-04-12 21:51:57 -03:00
Alex Gleason 06ca3706b8 Apply 1 suggestion(s) to 1 file(s) 2024-04-09 14:27:41 +00:00
P. Reis 846c8824d4 Merge branch 'main' into 'fix-find-event'
# Conflicts:
#   src/views/mastodon/statuses.ts
2024-04-08 18:46:11 +00:00
Alex Gleason 57b0224517
renderReblog: fix types 2024-04-08 11:34:21 -05:00
P. Reis 0da9d2e3f4 fix: find event and not pubkey in renderReblog 2024-04-08 13:28:30 -03:00
Alex Gleason 70a29a74fb Merge branch 'repost-feat' into 'main'
feat: repost functionality

See merge request soapbox-pub/ditto!133
2024-04-08 15:54:43 +00:00
Alex Gleason d7d52bbdee Apply 1 suggestion(s) to 1 file(s) 2024-04-08 15:53:08 +00:00
P. Reis 25b1e7229c fix: stop home timeline hanging/loading when no posts are available 2024-04-07 20:26:47 -03:00
Alex Gleason 49c9b0eff9
renderAccount: add pleroma.is_local parameter 2024-04-06 21:12:48 -05:00
P. Reis 25fcd04d9f fix: deno fmt 2024-04-06 23:12:30 -03:00
P. Reis ba08958b30 feat: attempt to delete repost if original post is deleted 2024-04-06 22:32:39 -03:00
Alex Gleason 7860a0e3c2
Allow setting external URI on statuses 2024-04-06 19:36:12 -05:00
P. Reis bd5899029e refactor: deno fmt 2024-04-05 19:52:29 -03:00
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