Commit graph

300 commits

Author SHA1 Message Date
45c5ea69a6
fix: .flat() returning empty arrays 2024-03-21 01:09:54 +01:00
30637f93ee
feat: extended database entities 2024-03-21 01:09:33 +01:00
efc9c79ab0
chore: prelude to import all ActivityStream traits 2024-03-21 00:05:00 +01:00
a5c51f00ea
feat: more link helpers and node constructors 2024-03-21 00:04:44 +01:00
bf8cd97c8f
chore: Mut traits take owned self rather than &mut 2024-03-21 00:04:01 +01:00
a385d4a226
docs: outbox kinda done, add feditest link 2024-03-20 11:31:34 +01:00
9a7199c496
feat: serve application actor on /
mastodon uses /actor, but i think the root is fine?
2024-03-20 11:24:54 +01:00
a6b6ca6965
fix: id extractor 2024-03-20 11:00:21 +01:00
db369683a0
feat: @context in base, actor fields, impl activity 2024-03-20 11:00:01 +01:00
042edaf29e
ci: fix arguments 2024-03-20 09:43:11 +01:00
dcaf5d5c2b
feat: more compact _id methods, url! macro 2024-03-20 09:42:25 +01:00
178ad1b75d
fix: dedicated methods for uris
so i dont always wonder if its plural or not
2024-03-20 09:19:31 +01:00
44478d7d2b
ci: include domain in migration, just in case 2024-03-20 09:05:25 +01:00
225d8b9292
fix: clap clashes 2024-03-20 09:04:08 +01:00
5386c7ba7a
feat: allow specifying base domain 2024-03-20 08:56:35 +01:00
d60c29d4cb
fix: also rename crate oops 2024-03-20 08:16:50 +01:00
714d0372d2
ci: added tci script 2024-03-20 07:55:49 +01:00
b2079a2c91
feat: simple outbox without objects
links dont require me to do relations now, but are likely needed
2024-03-20 07:55:24 +01:00
c51ca0744b
chore: polish 2024-03-20 07:55:03 +01:00
1cede82df6
feat: constructors for Node 2024-03-20 07:54:24 +01:00
9f06aa5993
feat: getters/setters for collection and page 2024-03-20 07:54:14 +01:00
8a4e40c93a
feat: create 100 fake entities 2024-03-20 07:53:45 +01:00
b4c68c5c73
chore: merge branch 'dev' of upub into dev 2024-03-20 05:45:16 +01:00
339d92986e
chore: moved AP routes in separate folder dir 2024-03-20 05:44:50 +01:00
49cf3205c4
feat: plce and profile 2024-03-20 05:44:40 +01:00
680c61ff9a
feat: mut traits, getter/setters for base+object 2024-03-20 05:44:10 +01:00
35f85695ba
feat: macros for getters/setters, refactored 2024-03-20 05:42:35 +01:00
863ea0408d
fix: macro allows zero flat, removed invalid type 2024-03-19 22:47:52 +01:00
ee003d51b6 docs: updated progress 2024-03-19 15:57:48 +01:00
a4374c4ff0
feat: debug fetch command to get remote stuff 2024-03-19 07:39:12 +01:00
410b077fea
fix: actor type from json Value 2024-03-19 07:38:48 +01:00
ef54867369
fix: add json header otherwise we get html 2024-03-19 07:38:33 +01:00
4e45e359b2
fix: other way round, now correctly fetches 2024-03-19 07:38:12 +01:00
3a53c6a2ed
feat: added back ToJson trait for db entities 2024-03-19 06:49:21 +01:00
106380d3b7
feat: improved Node API 2024-03-19 06:49:02 +01:00
67c3e80cf6
feat: improve Node fetching and handling 2024-03-19 05:47:46 +01:00
a73852b3b7
feat: refactored and expanded activitypub types 2024-03-19 05:15:41 +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
32d6e80820
docs: added readme, renamed
upub is actually a pretty cool name, should snipe the crates.io name
asap
2024-03-16 06:06:31 +01:00
52f7ee0990
feat: faker cmd for fake test entities 2024-03-16 05:46:14 +01:00
85c9b363f6
feat: db model for activity and object + routes 2024-03-16 05:45:58 +01:00
40cee0fc87
feat: added basic server for actors 2024-03-16 03:30:04 +01:00
170756588d
feat: added migrations
TODO gate them under feature flag eventually ™️
2024-03-16 03:29:06 +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
e8a7e4e31c
feat: add types enum and basic inbox match 2024-03-15 19:43:29 +01:00
ac3f07f804
feat: work on activitystream types 2024-03-14 05:27:08 +01:00
6bae33f0a6
chore: sample axum route 2024-02-09 17:07:55 +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
43a5006f5f
chore: initial commit with environment 2023-12-30 05:07:49 +01:00