1
0
Fork 0
forked from alemi/upub
Commit graph

1076 commits

Author SHA1 Message Date
9fc8a364dd
fix: use timestamp instead of date_time
apparently date_time is TIMESTAMPTZ on postgres, not TIMESTAMP (aka
DateTime<Utc>)...
2024-06-07 06:58:35 +02:00
982b7426ce
fix(mdhtml): oops missed this 2024-06-07 06:39:15 +02:00
8805622a3b
fix: dont create fulltext index
broken on postgres? will add it later with a migration
2024-06-07 06:37:41 +02:00
03314b1615
feat(mdhtml): allow setting media proxy for imgs 2024-06-07 06:29:50 +02:00
43aea48816
feat: proxy should work for anything, more options 2024-06-07 06:20:25 +02:00
8284130890
feat(uriproxy)!: renamed fns, added expand fn 2024-06-07 06:15:38 +02:00
afa5bd45d0
feat(web): better tags, fix reply filtering 2024-06-07 05:47:51 +02:00
be46c5ed7c
fix(web): oops 2024-06-07 05:30:39 +02:00
4d2906bf78
feat(web): refresh token every hour, small refactor 2024-06-07 05:26:22 +02:00
ad7c643762
fix(web): leptos warnings 2024-06-07 05:03:12 +02:00
116c8fe6b0
fix(web): oof mixed up reply id and object id 2024-06-07 05:02:53 +02:00
28889eb338
feat: config session duration, token refreshes
allow refreshing sessions before they expire
2024-06-07 02:22:43 +02:00
e783ca2276
fix(web): replies filtering now should catch all cases 2024-06-07 02:16:38 +02:00
dfbce8aa38
fix(web): ! looks like error, use ~ for groups 2024-06-07 00:30:32 +02:00
c19b8e0f5b
fix: context document ids and next 2024-06-06 23:53:28 +02:00
ddb86718d1
fix: show unprocessable activities ids 2024-06-06 22:53:25 +02:00
9301d6646a
fix(apb): @ for mentions, use ! for audiences 2024-06-06 21:48:24 +02:00
a7bcea7653
feat(web): added audience badge 2024-06-06 21:47:23 +02:00
86a45d6082
fix(web): items are responsive to filters changes
is this excessive? having everything in a closure...
2024-06-06 21:46:47 +02:00
da1f269850
fix: where am i supposed to place it???????? 2024-06-06 21:08:09 +02:00
d93e4f091b
fix: http signatures errors are 500, not 401
if user provides an http signature and we fail to verify, bail out! if
our db didn't give us the local user its unlikely that we will be able
to serve anything anyway, just give up
2024-06-06 21:04:04 +02:00
6b24db86f2
fix: hmmm cors layer must be first? 2024-06-06 20:51:45 +02:00
15e9118ed2
chore: removed deprecated constructors 2024-06-06 20:43:27 +02:00
5cfd16ea35
feat: added audience field
so that we can see where lemmy posts are coming from
2024-06-06 20:43:03 +02:00
ffa92b4f61
fix(apb): audience is object, not actor 2024-06-06 20:38:28 +02:00
56110ea917
fix: aaaa too spammyy 2024-06-06 20:27:39 +02:00
ff570d0d87
fix: this is caught inside AP::object 2024-06-06 20:24:10 +02:00
f249237dc5
fix: better type check for normalizing AP document 2024-06-06 19:57:32 +02:00
49fdc71dbd
fix(apb): enums implement Display too 2024-06-06 19:57:20 +02:00
9e196b3180
fix: lemmy's objects are PAGEs, process them too 2024-06-06 19:40:18 +02:00
ec063da763
fix: log fetches 2024-06-06 19:20:16 +02:00
1bb8df0ac5
fix: pass transaction to expand_addressing too 2024-06-06 19:04:39 +02:00
f6d30b3bec
fix: outbound->delivery, local->outbound
also stop discarding duplicated deliveries, ouchhhh
2024-06-06 19:04:08 +02:00
0e779c3096
fix: likedByMe doesnt come as string in join 2024-06-06 18:54:56 +02:00
1213947495
fix!: eeehh need to rebuild db anyway coz sqlite 2024-06-06 18:48:21 +02:00
485724701a
fix: no unique index on job activity, skip dupes
rather than preventing dupes from being inserted (which breaks
processing local activities that require delivering) skip them as soon
as they get acquired
2024-06-06 18:36:30 +02:00
f3d28c9371
fix: fetch user which liked
fixes lemmy sending us remote likes
2024-06-06 18:20:43 +02:00
da68423a47
fix(web): no fetch query for context 2024-06-06 16:54:09 +02:00
e63433b77b
fix: context is now under /objects/{id}/context
just like /objects/{id}/replies, makes easier composing urls, and also
more correct: context is not something we serve, but instead some
reference associated to objects
2024-06-06 16:41:39 +02:00
b17060df3d
fix: if we get Creates for objects already fetched 2024-06-06 16:32:52 +02:00
677cab1871
fix(web): thread page uses obj context, not id 2024-06-06 16:23:02 +02:00
d8feeec26f
test(apb): make sure .addressed() works 2024-06-06 16:22:47 +02:00
a6015a32ed
fix: maybe get context properly again? 2024-06-06 15:54:19 +02:00
1ce89aa6f9
feat: fetch accepts ConnectionTrait, better tx use
basically nothing wants a transaction anymore, so that quick stuff can
pass a DatabaseConnection and be done, while longer stuff can start a
transaction and provide that. i think this will solve deadlocks with
transactions in sqlite?
2024-06-06 07:10:23 +02:00
45bbc34dba
fix: use transaction 2024-06-06 06:51:32 +02:00
e3328954e2
fix: dont make context for migration or db for cfg 2024-06-06 05:37:27 +02:00
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