Commit graph

32 commits

Author SHA1 Message Date
0c203528df
feat: store like aid, also .any(&db) bikeshed 2024-05-28 01:47:40 +02:00
fea7c1ecdf
fix: no more errors! no more warnings!!
finished upgrading inbox to new schema, there's ton of space for
improvement but lets first see if it works
2024-05-27 05:38:51 +02:00
b910e346ea
chore: centralized way to process and insert objects
it shouldn't break anything, also names are kind of weird (normalizer?
insert??) but ill think about it later, after ive done the same for
activities and users
2024-05-20 02:55:30 +02:00
9d59c73c59
chore: stuff i forgot to commit ooops 2024-05-20 01:57:22 +02:00
9105f73921
fix: dont trust activities' object ids, fetch them
implies that its no longer possible to like/announce/accept anything
that the server isnt aware of yet, which i think is fair

thanks sn0w good catch <3
2024-05-20 01:08:24 +02:00
aa19211b8e
fix: very ugly way to infer media-type
since lemmy sends us images but doesnt tell us what they are...
2024-05-12 01:21:12 +02:00
1219dbca34
fix: ownerships 2024-05-12 00:56:22 +02:00
ab0300894f
fix: treat lemmy images like attachments 2024-05-12 00:54:48 +02:00
64d7f25aa2
fix: mastodon doesn't tell who likes are intended
why cant you fill your to fields???????? mastodon is a joke
2024-05-02 15:29:42 +02:00
ee8ab38570
fix: add updated field on objects and set it 2024-05-02 15:15:16 +02:00
23c9a0a106
fix: some impls dont include to in folreqs
i mean, it's obviously addressed to the target actor of this activity,
but it would cost nothing to put it in the `to` field... i do! added
special cases to make sure follow/accept/reject activities are at least
addressed to target actor
2024-05-02 14:36:56 +02:00
4a7425ef24
fix: mut 2024-05-02 13:31:09 +02:00
44de7040ec
fix: when updating must reset changing fields 2024-05-02 13:16:23 +02:00
938d219d7d
fix: whoops other way around 2024-04-30 15:33:41 +02:00
a6c3ef9a3e
feat: increment statuses count
be it when posting, receiving a Create or fetching an object, increment
relevant user statuses count
2024-04-30 14:22:44 +02:00
7f996aa2c1
feat: kinda botched way to ignore relays
basically relays send us a lot of announce activities to share posts
but we don't care about those activities: it's db bloat and it increases
the shares count. keep a table keeping track of followed relays and
lazily skip activities by them, just fetch. IMPORTANT relays are only
loaded at startup, so if you subscribe to a new relay restart your
server once it accepts!!!
2024-04-29 21:58:08 +02:00
8dece0f004
feat: implemented authed inbox 2024-04-22 22:52:05 +02:00
c595f5f5e3
feat: process and store remote attachment urls 2024-04-21 22:58:33 +02:00
379b4daa84
fix: don't create mock activities
basically remade addressing table so that activity too can be null
2024-04-21 15:41:29 +02:00
fa74c3dd0a
chore: imports 2024-04-20 04:34:47 +02:00
6c3aead68b
feat: handle announces 2024-04-20 04:33:23 +02:00
b338a7191f
fix: jfc mastodon stop sending me deletions!!!!!!! 2024-04-19 16:15:05 +02:00
13533a58d9
feat: fetch replied posts, increase comment count 2024-04-19 04:03:57 +02:00
fc6aedbca1 fix: track deletions and rejected activities 2024-04-18 14:01:55 +02:00
f4252a2fbf
fix: insert addressings after fetching
also refactored fetcher into a trait of context
2024-04-18 05:25:56 +02:00
b2e6703b0e
feat: also fetch liked posts 2024-04-18 04:38:21 +02:00
094a8b957c
fix: increase follow counts on Accept
both for inbox and outbox
2024-04-18 03:41:27 +02:00
b1b0aee2f9
feat: process some Undo activities, small refactor 2024-04-14 16:47:36 +02:00
8a14600311
fix: proper addressing creation for likes 2024-04-14 05:53:36 +02:00
3a874ed3e7
fix: insert activities, expand addressing
remote activities for Likes and Follows should still be added to our
database so we know where to verify those and we can present them in a
timeline for notifications
2024-04-12 18:40:24 +02:00
86e84d88aa
chore: updated apb things, restructured a bit 2024-04-11 00:29:32 +02:00
bb26ff763d
chore: restructured completely
kinda MVC:
Model -> model
View -> routes
Controller -> server
2024-04-09 01:14:48 +02:00