1
0
Fork 0
forked from alemi/upub
Commit graph

846 commits

Author SHA1 Message Date
5a57fd69b9 fix: remove excessive instruments, check actor
before we were checking only for server match, now check whole uid match
on inbox activities
2024-05-31 15:55:38 +02:00
6469dbe85e feat(web): filter updated, more readable filter code 2024-05-31 15:54:22 +02:00
b0f47de278 fix: sharkey wants trailing slash too 2024-05-31 15:23:18 +02:00
c6628973ca fix: better errors for debug getter 2024-05-31 15:20:49 +02:00
876cf19327 chore: instrument inbox/outbox
this is where side effects happen, so better keep them under control

also trying out tracing, i should redo how i trace stuff in upub...
2024-05-31 14:43:48 +02:00
5b592874cb
chore: BIG refactor into smaller crates
hopefully this makes lsp more responsive? because it wont need to
recompile everything every time, but idk really
2024-05-31 04:07:39 +02:00
8c91b6c87a
feat!: merge branch 'betterdb' into dev
reworked and improved db structure, more reliable inbox processing
2024-05-31 01:57:21 +02:00
d2753c75b1
fix: maybe ignored if not explicitly set? 2024-05-31 01:44:29 +02:00
d3750ea8af
fix: less noisy errors, slow query filter maybe 2024-05-31 01:34:55 +02:00
3c50dba3f8
fix: trait signatures 2024-05-31 00:11:03 +02:00
3a6e632448
fix: process announced activities too
not super clean but should work. todo merge inbox/outbox and move common
logic is side_effects, then this can be made nicer
2024-05-30 23:58:22 +02:00
d8b53c7c93
fix: make sure we're fetching what id claims
also configurable max thread depth
2024-05-30 23:22:58 +02:00
17c1765295
fix(web): refresh user and thread tl on url change 2024-05-30 22:58:31 +02:00
8251e3f550
chore: fetcher rework 2024-05-30 22:17:26 +02:00
e636afd283
fix: only count announces from persons 2024-05-30 22:16:48 +02:00
86ed372a54
chore: deduplicated side effects code 2024-05-30 19:52:12 +02:00
a3921622cb
fix: fetch object on inbox/outbox, not normalizer
should also fix the fact that some posts miss context
2024-05-30 19:51:06 +02:00
9c4467f2da
chore: simplified create on outbox 2024-05-30 19:50:12 +02:00
095b1dc8f5
fix: refuse creating objects from activities/actor 2024-05-30 18:36:47 +02:00
eba5a31a93
fix(mdhtml): oops now really no attrs on closing tags 2024-05-30 11:58:35 +02:00
e1d1e3d470
fix: oops 2024-05-30 02:13:07 +02:00
0a0580a1a7
fix: allow objects without published time
we sign time at which we learned of this object existence, ehhh better
than nothing
2024-05-30 02:11:57 +02:00
784be32cfb
fix: relation checks with accept != null 2024-05-30 02:10:44 +02:00
31d536d3d5
fix(web): oops public posts get sent to followers 2024-05-29 22:38:37 +02:00
869ccbd65c
fix: show what errors we're returning 2024-05-29 22:21:16 +02:00
7019671f93
fix(web): user page responds to url again 2024-05-29 22:14:15 +02:00
e3831650ca
feat: add frontend url to users 2024-05-29 21:37:21 +02:00
3fee57891d
feat: add unique index on relations 2024-05-29 21:37:09 +02:00
69cff08b5b
fix(uriproxy): users -> actors 2024-05-29 21:36:55 +02:00
b72851fbfe
chore!: /users/ -> /actors/
sorry! this will break federation but better sooner than later,
everything is called following its AP name except users??? had to be
changed eventually
2024-05-29 20:51:30 +02:00
f5d0eceaca
fix: oops must update via primary key 2024-05-29 20:30:16 +02:00
78f71deead
fix: user update task without deleting 2024-05-29 20:26:40 +02:00
07d0d400d8
fix: webfinger
too many special cases just search username and domain there are indexes
2024-05-29 20:01:57 +02:00
f487ac06e9
fix: is_following helper, fixed fe follow fields 2024-05-29 19:25:43 +02:00
2a6b6a88ae
fix: log actor, not activity 2024-05-29 18:07:16 +02:00
32ce9391a4
fix(web): preload even on first load, stop if over 2024-05-29 18:06:47 +02:00
40dc245680
feat(web): show activity ids too 2024-05-29 18:06:34 +02:00
4bb0b6b4da
fix(web): don't redraw router when logging in 2024-05-29 18:04:47 +02:00
91316c99af
fix(web): preload local, preload if logged out 2024-05-29 18:04:27 +02:00
1cc41cced3
fix(web): force replies display in thread view 2024-05-29 05:34:51 +02:00
b4bd7c845f
fix(mdhtml): dont add stuff on closing tags 2024-05-29 05:04:59 +02:00
b097e4a725
feat: outbox shows only local posts
hopefully?
2024-05-29 04:56:10 +02:00
3e7d6adeb8
feat(web): added local timeline 2024-05-29 04:47:26 +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