1
0
Fork 0
forked from alemi/upub
Commit graph

480 commits

Author SHA1 Message Date
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
a6227a6679
fix: regex, because it's always regex 2024-05-23 16:53:25 +02:00
17f77c1769
feat: replace mentions with html hrefs 2024-05-23 16:28:18 +02:00
2dea2282fe
feat: json errors for friendlier debug 2024-05-23 03:12:45 +02:00
2bd9b39ed0
fix: exclude proto from domain check 2024-05-23 02:43:26 +02:00
ebb7d77cae
feat: allow resolving webfinger for remote users
returned JRDs are already expired, indicating that we can't really be
trusted for remote users, go fetch their webfinger server instead
2024-05-23 01:59:31 +02:00
0c5e664fcc
fix: oops what? it should pass html untouched?? 2024-05-22 16:43:24 +02:00
49cee6cafa
fix: context querying 2024-05-20 21:23:30 +02:00
32dd5163bb
fix: don't create a new context if missing, use id 2024-05-20 21:21:13 +02:00
702248348c
fix: should be overkill but better safe?? 2024-05-20 09:36:20 +02:00
4290011ce3
fix: oops name clash 2024-05-20 09:18:27 +02:00
c68adc7030
fix: published to addressing index for faster tls 2024-05-20 09:13:26 +02:00
2ac0ca8a38
feat(apb): quote url 2024-05-20 08:58:38 +02:00
4a17c12b58
fix(uriproxy): use URL_SAFE base64 alphabet 2024-05-20 07:04:29 +02:00
af3a3fbbb8
feat: way smarter way to represent remote ids
base64 em basically. big commit because touches basically everything!!
2024-05-20 06:29:44 +02:00
27073138ae
feat: proxy url
should be properly activitypub compliant
2024-05-20 05:18:27 +02:00
b3df8efa29
chore: clippy 2024-05-20 05:18:09 +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
39f6ff24b3
fix: show in UA requests coming from devtools 2024-05-20 01:45:26 +02:00
d3b141c9b5
feat: option to allow public debug fetches 2024-05-20 01:42:30 +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
94a26a0c7d
feat: parse and serve shared_inbox endpoint 2024-05-15 18:51:34 +02:00
b9386c286a
fix: register cli command 2024-05-13 19:16:41 +02:00
be6d9bf28b
chore: use ' ' instead of " " so clippy is happy 2024-05-13 18:54:09 +02:00
bd9b9782b4
feat: added registration cli and route and cfg
defaults to disabled registrations ofc
2024-05-13 18:53:51 +02:00
401ef08af3
fix: shared inbox MUST NOT contain private stuff 2024-05-13 18:53:03 +02:00
d2f0ce0391
chore: moved http signatures code in separate file 2024-05-13 18:52:42 +02:00
cb9cae1af8
fix: calling this a fix is preposterous
but it should *not* work *less* often???
2024-05-13 17:17:19 +02:00
d5e01cc655
fix: urlencoding is too precise, just replace %20
omg i really chose such a bad way to do this i need to pick a proper one
2024-05-13 15:07:58 +02:00
4aff505a16
fix: more verbose errors 2024-05-13 14:56:16 +02:00