anna
89aa01c266
util: refactor crypto API
2023-01-23 21:14:30 +01:00
anna
4be3bdda0c
add public/private keys for users
2023-01-20 19:24:32 +01:00
anna
67053e0812
core: lift Size trait bound for Id<T>
2023-01-20 17:14:42 +01:00
anna
a0d2dc4151
refactor model IDs to use safe types
...
This is a major refactor that introduces a new
generic type Id<T, I> for tagging any ID with the
model they reference without any runtime overhead.
From now on, it should be pretty much impossible
to pass e.g. a note ID to a function that expects,
say, an account ID.
Furthermore, the follow and like tables have been
simplified to use the two IDs that define the
relationship as a composite primary key.
Finally, likes now have a memory cache.
2023-01-20 16:45:12 +01:00
anna
20b5cc32cc
core: move errors to separate module
2023-01-19 12:43:57 +01:00
anna
64739eeead
ap: add proper document loader
...
This still lacks caching, but it is slightly more
advanced than just using the ReqwestLoader that
the json_ld crate provides.
2023-01-18 20:04:14 +01:00
anna
5b985b0059
add stub ActivityStreams inbox endpoint & worker
2022-12-27 02:16:29 +01:00
anna
64e670480a
add bearcap utility
2022-12-20 14:00:41 +01:00
anna
271a912879
add auth middleware and identity endpoint
2022-12-19 21:43:12 +01:00
anna
a3de1942c8
add JWT stuff
2022-12-18 17:09:08 +01:00
anna
1947632ecd
core: small internal refactor
2022-12-11 20:53:57 +01:00
anna
ead1a4fc62
add likes
2022-12-11 20:44:06 +01:00
anna
cd4c81af57
add validation utility
2022-12-07 23:57:15 +01:00
anna
323fe471c5
add statuses
...
This commit requires wiping the database, because
it changes the accounts migration as well.
2022-12-06 02:40:42 +01:00
anna
84589a1849
core: reexport loggers
2022-12-05 23:03:26 +01:00
anna
cffde9c0a5
add come core data types
2022-12-05 20:02:18 +01:00