Commit graph

1230 commits

Author SHA1 Message Date
3c1aa4909e
feat: postgres driver 2024-06-06 05:13:54 +02:00
053414824a
fix: retry some times before dropping acquired job 2024-06-06 04:36:16 +02:00
c6d4f713ac
feat: configurable job expiration
defaults to 30 days
2024-06-06 04:27:49 +02:00
3123c8c1e0
feat: transactions!!
quite ugly because i have to pass it everywhere as argument but should
work i think, and also transactions now!!
2024-06-06 04:15:27 +02:00
797837f2a1
fix: announces processing
basically dont fetch every time, check if we have it already before
2024-06-06 03:34:29 +02:00
90e4454d3e
fix: log activity id for failed jobs
way easier to debug, also allows to select them back
2024-06-06 03:19:50 +02:00
6df108254a
fix: url with trailing slash
may help with verification?
2024-06-06 03:15:56 +02:00
f42849ffb0
fix: log which target fails in addressing 2024-06-06 02:48:01 +02:00
782c729b4c
fix: oops inbound which fails processing is not ok 2024-06-06 02:46:24 +02:00
a3decfea95
fix: print what's getting started 2024-06-06 02:33:32 +02:00
93666cea97
fix(migrations): indexes get dropped with tables 2024-06-06 02:29:13 +02:00
c83e1df110
feat: added worker and monolith modes 2024-06-06 02:21:36 +02:00
bbcc46d0ee
fix(cli): traits come from core again 2024-06-06 02:21:01 +02:00
acb9a9add5
feat: added jobs table
replaces deliveries
2024-06-06 02:20:43 +02:00
52f1238052
chore: traits are back in core
worker is just a worker, everything else is upub
2024-06-06 02:16:50 +02:00
0c1160b42f
chore!: HUGE REFACTOR
not even sure stuff will stay this way but phewwwwww this was time
consuming asffff
2024-06-01 05:21:57 +02:00
ab006ffde9
feat(apb): helper: Option<String> to Field<&str> 2024-06-01 01:49:29 +02:00
456ca2d8b1
fix(web): fixes for apb node changes 2024-06-01 01:49:10 +02:00
7f091291af
fix(apb): oops missed these, also comment out some
just for now because i dont want to implement these everywhere
2024-06-01 01:26:19 +02:00
151eb606b6
fix(apb): Node::id behaves like Object::id 2024-06-01 01:24:20 +02:00
1dac83f52c
fix(web): updated apb usage 2024-06-01 01:13:49 +02:00
40e01fe83b
feat(apb)!: getters return field error
this way we clean upstream code from a lot of .ok_or(), and everything
that doesn't care about the error can go back to previous usage just
adding .ok()
2024-06-01 01:04:03 +02:00
e7e9584783
chore(httpsign): moved httpsign into standalone crate 2024-05-31 21:31:09 +02:00
5ea4940f58
chore: no need for src/ directory if 1 file 2024-05-31 21:30:22 +02:00
78bc514012
chore(apb): moved jsonld under apb as feature 2024-05-31 21:29:51 +02:00
a3a1338c28
fix(web): clippy stop being annoying 2024-05-31 19:08:44 +02:00
f56e808bc6
fix: move cors layer under trace layer 2024-05-31 19:08:36 +02:00
3dfb432b0f
fix: oops apparently valid status codes end at 999 2024-05-31 19:08:16 +02:00
ea595b39a7
fix(web): option to toggle on/off update filtering 2024-05-31 18:50:10 +02:00
fffb562ddb
fix: classify 4xx as failure, move trace layer up 2024-05-31 18:46:31 +02:00
0097a0533a
chore: merge branch 'dev' of alemi/upub into dev 2024-05-31 16:58:22 +02:00
6ea6d1742e
fix: maybe trace layer info span will help? 2024-05-31 16:55:47 +02:00
b6a17184eb chore(apb): track todo &str 2024-05-31 15:56:41 +02:00
6129973b13 fix: gts uses a path but its not real??? 2024-05-31 15:56:25 +02:00
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