Commit graph

510 commits

Author SHA1 Message Date
b097e4a725
feat: outbox shows only local posts
hopefully?
2024-05-29 04:56:10 +02:00
292cfe9011
fix: context is an oid 2024-05-29 04:43:02 +02:00
e6a687d427
fix!: actually no i can join users and filter there 2024-05-29 04:42:26 +02:00
2ca4bfedc4
fix!: eh make it a string
it breaks object.ap() which is used a lot deep, i dont want to have to
deal with that now tbh
2024-05-29 04:33:19 +02:00
b89bb87c19
feat!: add instance internal id on objects table 2024-05-29 03:44:20 +02:00
40c80fa181
chore: split down context.rs a little 2024-05-29 01:49:44 +02:00
38fa6df39d
fix: check against current activity, not older 2024-05-28 03:32:07 +02:00
935dceacfc
fix!: instance counters as i64 2024-05-28 03:10:30 +02:00
e0273d5155
feat: fetch instance info when fetching other stuff 2024-05-28 03:10:10 +02:00
1b08321d34
fix!: more preferred_username fixes 2024-05-28 02:12:29 +02:00
7d1bd9c2bb
fix!: unique username+domain, not just username
oops i did it again redo your db
2024-05-28 02:08:09 +02:00
0a19915773
fix: address_to helper 2024-05-28 02:05:12 +02:00
0c203528df
feat: store like aid, also .any(&db) bikeshed 2024-05-28 01:47:40 +02:00
c97b35a6a7
feat!: also store like activity
oops redo all your migrations (: this will be necessary to do undos in
the frontend
2024-05-28 01:25:47 +02:00
7cc9d820f6
chore: pub errors so it wont complain 2024-05-27 21:20:12 +02:00
8d51d4728f
fix: use internal id not uid here too 2024-05-27 21:19:53 +02:00
91612e4d5a
fix: id could not be found to build model, oooohhh 2024-05-27 21:03:56 +02:00
dd67b005dc
fix: server tl is public 2024-05-27 20:48:45 +02:00
417ab22a7b
fix: public posts have NULL actor 2024-05-27 19:53:51 +02:00
b36e9f5bf5
chore: use pull_object 2024-05-27 19:53:39 +02:00
d830576e66
fix: in addressing actor/instance are null if pub 2024-05-27 19:47:01 +02:00
823f970cdd
fix: maybe find_by_id is borked?
its called internal and not id, idk.....
2024-05-27 18:41:41 +02:00
144f2b2be7
fix: internal checks must return at least a column 2024-05-27 18:11:34 +02:00
40f12ec636
chore: silenced unused warnings 2024-05-27 16:58:51 +02:00
eb3c647691
fix: set published
i thought i could remove this and let db do it but i need it to build a
Model before so ehh lets put it backk
2024-05-27 07:47:20 +02:00
318fa4f670
fix: refresh session only if necessary 2024-05-27 07:31:34 +02:00
c5b06cd16b
feat: added refresh route (optional) 2024-05-27 07:26:31 +02:00
570b045bf0
fix: hash pwd! 2024-05-27 07:16:37 +02:00
ead63ad446
fix: check bot source and sink relays 2024-05-27 06:39:45 +02:00
65a9c29fbd
fix: properly create app with id, load relays 2024-05-27 06:35:15 +02:00
53c8aec8b4
feat: allow specifying bind address 2024-05-27 06:20:54 +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
9a04a67d39
fix: finish porting outbox 2024-05-27 01:55:08 +02:00
3c3e98a4f4
chore: initial work converting outbox logic 2024-05-26 18:42:22 +02:00
c94bfdcbe8
feat: naive attempt to resolve followers/following 2024-05-26 18:41:56 +02:00
bcfd71eb06
fix: index relations by activity too
since the only way to find them is via the activity that generated them
2024-05-26 18:41:27 +02:00
df583bc791
fix: also cli tasks, forgot about them oops 2024-05-25 07:22:41 +02:00
322b18e9cd
chore: helpers for internal ids, fix routes and ctx
basically just need to do inbox/outbox? then there's still some issues
with relays relations and auth extra selects but may actually work again
2024-05-25 07:00:03 +02:00
b09cfd0526
chore: updated models and some server components 2024-05-25 05:31:10 +02:00
94ec7d0d37
chore: better id, mix strings and numbers in joins
"hot" joins will use internal ids (relations, like/share, addressing)
while "slow" relations will use full ap ids (attributed to, context,
user configs)
2024-05-25 04:37:17 +02:00
12c5a6f3a5
feat: updated entities
i think it's all of them? constructors are still weird
2024-05-24 05:05:14 +02:00
749dcc1ae7
fix: oops slipped 2024-05-24 04:13:19 +02:00
e3dc3f9ae7
fix: objects before activities 2024-05-24 03:55:43 +02:00
ab0e7007c5
fix: oops must first create instances 2024-05-24 03:53:03 +02:00
58c20b7ba5
feat!: restructured db, remade all migrations
sorry! your db is now useless (: you weren't using upub in production,
were you?? brb gonna migrate 50k posts from test db...
2024-05-24 03:41:45 +02:00
af994da294
fix: duplicate context to conversation properly 2024-05-24 00:26:22 +02:00
08ec2da814
feat: find also object replies ids, optional
configurable by instance admin, should be cheap with index but still
2024-05-24 00:25:41 +02:00
d939d3d90e
fix: count is updated while inserting 2024-05-24 00:22:04 +02:00
79236699cc
fix: don't fetch while inserting, just give up
because we insert while fetching ehehe so basically if we can't figure
out the context we set it to None and we'll have to do it another time.
we cant trust mastodon because it doesnt produce reliable contexts and
misskeys just dont use contexts at all (wtf!!!)
2024-05-24 00:21:02 +02:00
35796c6e93
fix: side effects only after inserting
otherwise duplicate fetches will increment counter before being caught
as duplicates
2024-05-23 23:27:45 +02:00