28ba5f1b40
feat: add global inbox get, which respects privacy
2024-03-24 04:58:49 +01:00
2ac7fa0588
chore: split inbox/outbox, added forgotten mods
2024-03-24 04:05:09 +01:00
65032ef606
fix: faker followers/following counts
2024-03-24 04:04:48 +01:00
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
34b7db5ce6
feat: default for config
2024-03-23 20:24:29 +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
05245c2776
fix: faker also insert config and credentials
2024-03-23 06:10:33 +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
b90f7307bc
fix: datetime utc, also in likes
...
redo all migrations ehe
2024-03-23 04:40:39 +01:00
84882dd5bd
fix: published is optional on activities
2024-03-22 17:59:46 +01:00
4fd8ad2c2c
fix: sqlite can't handle u64
2024-03-22 06:35:50 +01:00
9f1e6da4b9
feat: add likes and shares, process likes
...
also redid migrations because its easier and also its just me using this
cursed thing and i can just delete the db and migrations look nicer this
way
2024-03-22 05:34:08 +01:00
8cb8632521
feat: added relation table
2024-03-22 02:29:37 +01:00
efb1f506c3
fix: add cc/to , clear bcc/bto in object too
2024-03-21 20:40:07 +01:00
8ad5738579
feat: add audiences to objects too
2024-03-21 20:36:46 +01:00
d53644ea1f
chore: moved faker in its own file
2024-03-21 20:36:28 +01:00
017f508907
feat: add context to objects
2024-03-21 19:25:37 +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
f6150387ca
chore: a lil bit of self promotion :3
2024-03-21 03:35:07 +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
db369683a0
feat: @context in base, actor fields, impl activity
2024-03-20 11:00:01 +01:00
5386c7ba7a
feat: allow specifying base domain
2024-03-20 08:56:35 +01:00
8a4e40c93a
feat: create 100 fake entities
2024-03-20 07:53:45 +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
c69027638f
feat: add simple models
...
actor, webfinger, activity, object
thanks gargron
https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
2023-12-30 05:08:05 +01:00