Matt Baer
12f1207754
Update go-fed/httpsig to v1.1.0
2024-08-30 17:24:15 -04:00
Matt Baer
d14ff25d35
Update dependencies
2024-08-30 17:23:04 -04:00
Matt Baer
dc13a4f4d8
Retrieve URL in NewRemoteActor
2023-04-28 14:02:47 -04:00
Matt Baer
d7ab3eaa44
Add license
2020-04-09 11:02:23 -04:00
Matt Baer
48a817613c
Prevent panic on non-string `outbox` and `inbox`
2020-04-09 10:58:33 -04:00
Matt Baer
10584314ee
Support Go modules
2020-03-17 13:03:21 -04:00
Michael Demetriou
9e02116c0c
Remove double slash in unfollow activity
2019-12-05 15:28:12 +02:00
Michael Demetriou
dd6d19cc8b
Merge branch 'master' of github.com:writeas/activityserve
2019-11-15 11:58:00 +02:00
Michael Demetriou
172ae33592
Update activityserve to use current httpsig
...
Fix extraneous slash in unfollow id
2019-11-15 11:57:16 +02:00
Michael Demetriou
4a526aae09
Update activityserve to use current httpsig
2019-11-15 11:55:15 +02:00
Michael Demetriou
1120dff00d
Fix \\n in the publicKey and add http 204 as a success condition
2019-11-08 16:01:18 +02:00
Michael Demetriou
f3e0c1bd61
Fix whoAmI to use json marshalling instead of string concatenation
...
also add a a comment to formatjson
2019-11-08 10:42:53 +02:00
Matt Baer
898c97700f
Add instance nodeinfo
2019-10-28 23:14:36 -04:00
Michael Demetriou
7eb1d2e2b2
Log JSON when receiving a "Create" activity if debug flag is on
2019-10-21 19:44:10 +03:00
Michael Demetriou
5bbc0fca4c
Make "Announce" "To" property an array according to
...
https://git.pleroma.social/pleroma/pleroma/issues/1326#note_43069
2019-10-21 13:24:29 +03:00
Michael Demetriou
6ca250bcf4
Make sure endpoints["sharedInbox"] exists before using it
2019-10-14 12:01:07 +03:00
Michael Demetriou
3a81f7784d
Remove unused import comments
2019-10-11 10:26:27 +03:00
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
2019-10-11 10:08:24 +03:00
Michael Demetriou
1d173c5d57
Add sharedInbox to remoteActor because it's needed by writefreely
2019-10-10 19:56:21 +03:00
Michael Demetriou
5fc3b48e70
Cleanup
2019-10-08 15:23:25 +03:00
Michael Demetriou
76f9e14b93
Export Inbox getter for remote actor
2019-10-08 15:22:59 +03:00
Michael Demetriou
59ab751453
Add ServeSingleActor() for easier onboarding
2019-09-20 16:56:00 +03:00
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
2019-09-20 16:21:21 +03:00
Michael Demetriou
62d04be12e
Fix announcements
2019-09-17 11:57:52 +03:00
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
2019-09-17 11:42:17 +03:00
Michael Demetriou
8bb04402d9
Add readme
2019-09-14 11:43:02 +03:00
Michael Demetriou
da7663c2e6
Make activityserve a free-standing library ready to "go get" it
2019-09-14 11:25:52 +03:00
Michael Demetriou
0979f847e9
Add /following endpoint, move followers and following
...
endpoints to /peers/{follow*}, move posts to /items/{hash},
implement unfollow
2019-09-14 11:12:15 +03:00
Michael Demetriou
f1bfedb5a1
update TODO to current state
2019-09-13 20:28:11 +03:00
Michael Demetriou
bf09851483
Made onFollow overridable (untested)
2019-09-13 20:21:54 +03:00
Michael Demetriou
29ad8059ba
WIP: working on printing paged outbox
2019-09-11 21:17:21 +03:00
Michael Demetriou
47dfecbeb3
Following, being followed and sending toots works
2019-09-11 12:21:38 +03:00
Michael Demetriou
86eda3a0e9
Implement being followed.
2019-09-10 11:21:39 +03:00
Michael Demetriou
f67906c96a
Inital commit
...
It tries to reply to a mastodon post but gets 500
2019-09-04 12:34:29 +03:00