Matt Baer
dc13a4f4d8
Retrieve URL in NewRemoteActor
4 weeks ago
Matt Baer
d7ab3eaa44
Add license
3 years ago
Matt Baer
48a817613c
Prevent panic on non-string `outbox` and `inbox`
3 years ago
Matt Baer
10584314ee
Support Go modules
3 years ago
Michael Demetriou
9e02116c0c
Remove double slash in unfollow activity
4 years ago
Michael Demetriou
dd6d19cc8b
Merge branch 'master' of github.com:writeas/activityserve
4 years ago
Michael Demetriou
172ae33592
Update activityserve to use current httpsig
...
Fix extraneous slash in unfollow id
4 years ago
Michael Demetriou
4a526aae09
Update activityserve to use current httpsig
4 years ago
Michael Demetriou
1120dff00d
Fix \\n in the publicKey and add http 204 as a success condition
4 years ago
Michael Demetriou
f3e0c1bd61
Fix whoAmI to use json marshalling instead of string concatenation
...
also add a a comment to formatjson
4 years ago
Matt Baer
898c97700f
Add instance nodeinfo
4 years ago
Michael Demetriou
7eb1d2e2b2
Log JSON when receiving a "Create" activity if debug flag is on
4 years ago
Michael Demetriou
5bbc0fca4c
Make "Announce" "To" property an array according to
...
https://git.pleroma.social/pleroma/pleroma/issues/1326#note_43069
4 years ago
Michael Demetriou
6ca250bcf4
Make sure endpoints["sharedInbox"] exists before using it
4 years ago
Michael Demetriou
3a81f7784d
Remove unused import comments
4 years ago
Michael Demetriou
c4bb553217
If the remote actor does not have a sharedInbox then return their
...
inbox so implementations do not need to care whethere there is
a sharedInbox or not
4 years ago
Michael Demetriou
1d173c5d57
Add sharedInbox to remoteActor because it's needed by writefreely
4 years ago
Michael Demetriou
5fc3b48e70
Cleanup
4 years ago
Michael Demetriou
76f9e14b93
Export Inbox getter for remote actor
4 years ago
Michael Demetriou
59ab751453
Add ServeSingleActor() for easier onboarding
4 years ago
Michael Demetriou
6a02d08d5d
Fixes to enable following pixelfed
...
add requested list in actor (holds the follow requests that
haven't been rejected or accepted yet), load actor from memory
instead of disk when there's a new activity in our inbox and
other minor fixes
4 years ago
Michael Demetriou
62d04be12e
Fix announcements
4 years ago
Michael Demetriou
c4594779db
Add rejected to list so that we don't try again
...
Fix following after moving id's to /item/
Create GetActor that checks if actor exists and if not
creates it
4 years ago
Michael Demetriou
8bb04402d9
Add readme
4 years ago
Michael Demetriou
da7663c2e6
Make activityserve a free-standing library ready to "go get" it
4 years ago
Michael Demetriou
0979f847e9
Add /following endpoint, move followers and following
...
endpoints to /peers/{follow*}, move posts to /items/{hash},
implement unfollow
4 years ago
Michael Demetriou
f1bfedb5a1
update TODO to current state
4 years ago
Michael Demetriou
bf09851483
Made onFollow overridable (untested)
4 years ago
Michael Demetriou
29ad8059ba
WIP: working on printing paged outbox
4 years ago
Michael Demetriou
47dfecbeb3
Following, being followed and sending toots works
4 years ago
Michael Demetriou
86eda3a0e9
Implement being followed.
4 years ago
Michael Demetriou
f67906c96a
Inital commit
...
It tries to reply to a mastodon post but gets 500
4 years ago