Commit graph

21 commits

Author SHA1 Message Date
0d1250fd6f
feat: add addressing table
this should allow to build timelines and check access permissions
quickly. my only concern is keeping thousands, if not even millions, of
rows always with full strings. future optimizations may look into an
intermediary table to map ids to integers and optimize this table's
storage
2024-03-24 04:03:44 +01:00
7251a3e92c
feat: added sessions with credentials 2024-03-24 04:03:22 +01:00
d36ac82dd9
feat: add followers and followers count to users
redo migrations (: honestly if you're expecting to keep a long-lasting
db at this stage of development i have bad news for you
2024-03-23 16:44:27 +01:00
72c2cd5f81
chore: cleaned up all model modules 2024-03-23 06:32:15 +01:00
1a7a4f6df6
chore: ok clippy 2024-03-23 06:14:34 +01:00
c361528b2f
feat: moved object creation out of entity 2024-03-23 06:10:53 +01:00
f48509e2d8
feat: added tables+entities for config, credentials
simple password auth is bad and shall likely go but it's easy for now
and i need a way to login to test user interactions as i make the outbox
working
2024-03-23 05:02:39 +01:00
c4f677097b
fix: make @context addition explicit
also moved things around: object() is now into LD trait
2024-03-21 19:15:19 +01:00
483076b6b2
fix: show published time on users 2024-03-21 16:47:15 +01:00
cacef6e029
fix: oops mixed preferred_username and name 2024-03-21 02:50:48 +01:00
d109faf5cd
fix: add #main-key key id + endpoints placeholder 2024-03-21 02:45:24 +01:00
baa39aa81f
fix: all users are discoverable for now
does it even make a difference?
2024-03-21 02:36:41 +01:00
b27c2cf31a
fix: image and icon are inline anonymous objects.. 2024-03-21 02:32:13 +01:00
de9c3498bc
feat: add pubkey to actor
veeeeery crude impl, with hardcoded pubkey in faker cmd, but whatevs i
want activitupub.academy to fetch meeee
2024-03-21 02:11:31 +01:00
30637f93ee
feat: extended database entities 2024-03-21 01:09:33 +01:00
680c61ff9a
feat: mut traits, getter/setters for base+object 2024-03-20 05:44:10 +01:00
3a53c6a2ed
feat: added back ToJson trait for db entities 2024-03-19 06:49:21 +01:00
7d69f8148c
chore: refactored type enums 2024-03-19 01:00:44 +01:00
0adeb667c4
feat: add constructors for entities 2024-03-16 20:09:06 +01:00
85c9b363f6
feat: db model for activity and object + routes 2024-03-16 05:45:58 +01:00
7876b95de5
feat: recreated models, now with sea_orm
old ones from mastodon's blog weren't that useful since all
objects/activities are traits in the end
2024-03-16 03:27:36 +01:00