Commit graph

75 commits

Author SHA1 Message Date
cfe5047433
Fixed that bad id bug for AP follow events
All checks were successful
/ docker (push) Successful in 1m44s
2025-06-12 17:19:51 +02:00
9e23f82e55
And follow requests work!
Who knew that Mastodon would set the accept target's object id to the
internal one?

But also, I am of the opinion that this is a bug on our side when
translating the activity to AP
2025-06-12 17:13:19 +02:00
3c141e21fd
Add placeholder functions for interacitons
All checks were successful
/ docker (push) Successful in 1m42s
2025-06-12 16:24:25 +02:00
2787369312
Work on follow request debug 2025-06-12 16:24:06 +02:00
9c3242f823
Fix rfc9421 requests having bad headers 2025-06-12 16:23:34 +02:00
1169cd74a0
Remove one of the duck embeds, go mod tidy
Some checks failed
/ docker (push) Failing after 32s
Seriously, why did I still have the duck image embedded twice when only
the fs embed was used?
2025-06-11 16:19:25 +02:00
27b7d342b7
Fix more compiler errors, logic error in main
- Forgot to also update the undo handler for the inbox
- Fixed main not ever returning if the debug server was not enabled
2025-06-11 15:55:52 +02:00
116ade380d
Fix bad call 2025-06-11 15:35:04 +02:00
e30cb6746a
Add current nodeinfo 2.2 draft 2025-06-11 09:14:49 +02:00
f727b30f32
Store failed activities
Some checks failed
/ docker (push) Failing after 4m0s
If the processing for an activity failed due to internal reasons (NOT
malformed content), store it for a later attempt
2025-06-08 08:34:47 +02:00
604e25c451
Rename server file for ap router 2025-06-08 08:31:33 +02:00
b0f041e7b0
Add-ish support for tags and mentions in new messages
Some checks failed
/ docker (push) Has been cancelled
2025-06-05 17:07:04 +02:00
bf0aaaca8f
Work on ensuring data consistency even for yet unknown fields
Some checks failed
/ docker (push) Has been cancelled
2025-05-28 16:52:54 +02:00
9151bfb3be
Add initial tls support
Some checks are pending
/ docker (push) Waiting to run
- Uses certificate and key files provided by admin in config
- Let's Encrypt integration planned, but not even close to working
- Initial HTTP3 Support added
2025-05-27 14:06:08 +02:00
68d7a5e8c3
Start work on own tls termination and http3 support
Some checks are pending
/ docker (push) Waiting to run
2025-05-26 17:10:46 +02:00
4a2462e24e
Explicitly ignore errors from writes to responses
Some checks failed
/ docker (push) Failing after 15m26s
2025-05-22 17:29:09 +02:00
d8dd5eb671
Add fetch debug endpoint for requesting an url as a user 2025-05-22 17:01:47 +02:00
ca8f5fd483
Modify note inbox to use inbox actor for requesting the note 2025-05-22 17:01:02 +02:00
ef58b5ca9b
Add func for easy double-knocking of requests 2025-05-22 17:00:39 +02:00
c9895bc9af Add debug endpoint for getting replies to node id
All checks were successful
/ docker (push) Successful in 4m19s
2025-05-16 22:04:57 +02:00
1b0c63a3b1 Now with extra replies
All checks were successful
/ docker (push) Successful in 4m26s
2025-05-16 21:45:43 +02:00
c70928ec7b Forgot to also create activity entry
All checks were successful
/ docker (push) Successful in 4m26s
2025-05-16 21:38:02 +02:00
440399f8d2 And create activities work-ish
All checks were successful
/ docker (push) Successful in 4m18s
2025-05-16 21:31:17 +02:00
8ec486cfc1
Start work on inbound notes
All checks were successful
/ docker (push) Successful in 4m17s
2025-05-16 19:11:13 +02:00
6f2686e0d3 Double-bang requests with rfc9421 and cavage after on error
All checks were successful
/ docker (push) Successful in 4m20s
2025-05-16 16:43:24 +02:00
3f4f1fd9d2 Remove host header, add todo comment 2025-05-16 11:31:29 +02:00
f991a1f353 Add func to add ap links to local users (untested)
All checks were successful
/ docker (push) Successful in 4m27s
2025-05-15 11:13:58 +02:00
2b93d51be1 Add (for now) empty route for note reactions 2025-05-13 14:06:57 +02:00
e06d955f98 Rename objectNote to just note and delete empty file 2025-05-13 14:05:17 +02:00
26cabc02f6
Modify trace logging for more info
All checks were successful
/ docker (push) Successful in 4m19s
2025-05-12 15:27:08 +02:00
b6d1fbc74b
Add more logging to inbox
All checks were successful
/ docker (push) Successful in 4m19s
2025-05-12 14:39:10 +02:00
af6ff2dd30
Add follower and following collections
All checks were successful
/ docker (push) Successful in 4m34s
2025-05-11 18:28:51 +02:00
b75db5676b
Ensure public id for accept is an url
All checks were successful
/ docker (push) Successful in 4m22s
2025-05-10 12:21:51 +02:00
2c0a4c88d5
Make the code slightly better
All checks were successful
/ docker (push) Successful in 4m26s
2025-05-10 12:03:25 +02:00
e7632c6ad4
Remove an annoying log entry 2025-05-10 12:03:12 +02:00
ff6a730e58
Follow accept works and messags are pushed as expected
Some checks failed
/ docker (push) Failing after 2m50s
2025-05-10 11:18:28 +02:00
9a3a330b1d Moe wok
Some checks failed
/ docker (push) Failing after 3m2s
2025-05-09 19:19:16 +02:00
b0e344b170 Work on Accept activity 2025-05-09 19:18:26 +02:00
e1051e81ac Fix follow activity insertion, impl undo follow
Some checks failed
/ docker (push) Failing after 2m59s
- Follow created a new id instead of using the Id of the activity for
  the db activity
2025-05-08 13:03:49 +02:00
d84a693b22
Add inbox follow request handling
Some checks failed
/ docker (push) Failing after 3m6s
- Not tested yet
- Undo needs to be extended to also handle undo of follow
2025-05-08 08:32:02 +02:00
82627e8467 Add undo of likes
Some checks failed
/ docker (push) Failing after 2m58s
2025-05-07 17:43:52 +02:00
03ca524c99
Cleanup, store likes
Some checks failed
/ docker (push) Failing after 3m1s
- Clean up some logging
- Properly store likes in db
2025-05-06 22:18:28 +02:00
e182949a8d
Remove id autogeneration from db models
Remove automatic uuid v4 ID generation from the models and replace it
with `shared.NewId()`, which generates an Id depending on the config
setting
2025-05-06 14:34:32 +02:00
412a8be600
Merge branch 'main' of git.mstar.dev:mstar/linstrom 2025-05-05 17:56:01 +02:00
6df7a354f0
Make debug created users verified by default 2025-05-05 17:55:17 +02:00
dff031397e More activity stuff
Some checks failed
/ docker (push) Failing after 2m51s
2025-05-05 17:33:34 +02:00
12c9e17c4b
Lots of progress on public AP interface
Some checks failed
/ docker (push) Failing after 2m57s
- Read handler for create activities (notes only so far)
- Read handler for note objects
- Structure laid out for other objects, activities and collections
- DB structure for activities created
- Update access logging

TODO: Create collections type in DB to describe a collection group
2025-05-04 22:08:06 +02:00
415cd89792
Debug proxy, duck as fs
All checks were successful
/ docker (push) Successful in 4m23s
- Add proxy endpoint for proxying a message to a target's inbox
- Change duck embed to fs based to fix mk not understanding it
2025-04-23 15:11:46 +02:00
d70786439e
Add placeholder ActivitStreams object and activity type files
All checks were successful
/ docker (push) Successful in 4m7s
2025-04-22 16:52:36 +02:00
135b32a425
Ensure only local users in nodeinfo user count
All checks were successful
/ docker (push) Successful in 4m11s
2025-04-22 16:29:43 +02:00