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
2a6b6a88ae
fix: log actor, not activity
2024-05-29 18:07:16 +02:00
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
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
e0273d5155
feat: fetch instance info when fetching other stuff
2024-05-28 03:10:10 +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
91612e4d5a
fix: id could not be found to build model, oooohhh
2024-05-27 21:03:56 +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
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
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
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
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
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
2bd9b39ed0
fix: exclude proto from domain check
2024-05-23 02:43:26 +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
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
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
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
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
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
025981228d
fix: urlencode reconstructed urls
...
ouch wordpress, thank you but clean your urls pls
2024-05-13 14:41:37 +02:00
6efc5c4ad6
fix: after fetching object recheck if present
2024-05-13 02:51:17 +02:00
6edb379578
fix: webfinger request should not request ld+json
2024-05-13 02:15:40 +02:00
f2867e56e7
feat: webfinger resolution in fetcher
2024-05-13 01:48:32 +02:00
8a36e91fde
fix: empty digest is rejected by mastodon, revert
2024-05-12 02:26:55 +02:00