Commit graph

82 commits

Author SHA1 Message Date
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