1
0
Fork 0
forked from alemi/upub
Commit graph

30 commits

Author SHA1 Message Date
bb26ff763d
chore: restructured completely
kinda MVC:
Model -> model
View -> routes
Controller -> server
2024-04-09 01:14:48 +02:00
24d547e93a
feat: subdivide into features 2024-04-06 18:03:13 +02:00
a624222751
feat: listed half of mastodon's api routes 2024-04-06 17:20:44 +02:00
520c8eff3a
feat: separated apb types into crate, reworked
no more "impl ..." hell, each trait has associated types so that we know
it's a "Self::Link" or a "Self::Actor", but in practice they can both be
a "serde_json::Value" and thus we can change its type. also Node::Array
is now a Vec<T> rather than Vec<Node<T>> because it makes more sense.
Node is Iterable and will yield zero (Empty|Link), one (Object) or many
(Array) Ts
2024-04-06 16:56:13 +02:00
e68332bc31
chore: refactor collections with utils, moved stuff 2024-03-28 04:52:17 +01:00
6a050c0bb4
fix: actually fixed it 2024-03-26 00:58:01 +01:00
3a0ca6af86
feat: control how many statuses to insert 2024-03-26 00:53:07 +01:00
4a99a3dc40
chore: small improvements and fixed some warns 2024-03-26 00:49:07 +01:00
e1b93e8a93
feat: added basic fetcher, get keys at startup 2024-03-25 21:19:02 +01:00
6be1a445be
chore: not all pub 2024-03-25 05:08:29 +01:00
5d7ce0e3c4
feat: simple delivery system + http signatures 2024-03-25 05:07:58 +01:00
de74669bd7
chore: moved version as const 2024-03-25 05:02:20 +01:00
384d5147ed
feat: initial auth extractor 2024-03-25 01:58:30 +01:00
13afd5be87
chore: split server context and router 2024-03-23 20:24:14 +01:00
812fe05b6b fix: cleaner way to stop showing sqlx logs 2024-03-22 17:54:49 +01:00
69c06d4a9c fix: hide sqlx queries
args are hidden anyway and they are quite unreadable
2024-03-22 17:49:25 +01:00
95eaa9596c feat: added simpler ways to ignore+log errors 2024-03-22 17:43:57 +01:00
d53644ea1f
chore: moved faker in its own file 2024-03-21 20:36:28 +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
680c61ff9a
feat: mut traits, getter/setters for base+object 2024-03-20 05:44:10 +01:00
a4374c4ff0
feat: debug fetch command to get remote stuff 2024-03-19 07:39:12 +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
170756588d
feat: added migrations
TODO gate them under feature flag eventually ™️
2024-03-16 03:29:06 +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