Commit graph

23 commits

Author SHA1 Message Date
Dan Phiffer
18299a2c2b use esm import instead of cjs require 2024-10-02 09:53:07 -04:00
Darius Kazemi
34b46ed9fc Require OAuth 2.0 verification to create feeds
As of the `v2.0.0` release of this project, only users who are authenticated with a particular OAuth server can _create_ feeds. Any federated user can still read the feeds. I implemented this because running this service in the open invited thousands of spammers to create feeds and overwhelm the service. With this new model, you can run this as an added bonus for people in a community like a Mastodon server, and as the person running it you are taking on only the moderation burden of the users you are already responsible for on your federated server.
2021-10-12 09:12:03 -07:00
umonaca
2ce39c7e65 Fix content type mismatch for Pleroma 2020-10-26 06:45:13 -04:00
umonaca
d7a3f8b765 Add algorithm field for Misskey compatibility 2020-10-26 01:50:04 -04:00
umonaca
520f9b87e6 Add digest to http signature for Mastodon 3.2.1 compliance
Remove logs
2020-10-26 00:38:37 -04:00
Samuel FORESTIER
55478651f6 Changes the actor type from Person to Service to allow bot detection 2019-05-18 14:00:04 +02:00
Darius Kazemi
c22dbae3b5 Commit missing files
Fixes #21
2019-04-12 05:30:34 -07:00
Darius Kazemi
45e1362aa2 Provide route to dereferenced messages and fix duplicate messages
This commit mostly fixes the duplicate messages issue. What was happening was I was creating multiple Note objects if I was sending a Note to multiple people. Instead I create one Note object and reference that in multiple Create events.
2019-03-29 06:47:51 -07:00
Darius Kazemi
6039a793c4 Fixing bugs 2019-03-10 21:25:21 -07:00
Darius Kazemi
eec3b31641 Add Followers reference to Actor object
This is for Pleroma compatibility per

https://github.com/dariusk/rss-to-activitypub/issues/11#issuecomment-471390881

And fixes #11.
2019-03-10 21:02:12 -07:00
Darius Kazemi
48d1a7ba87 Send Accept to the private inbox of the user 2019-03-10 20:32:43 -07:00
Darius Kazemi
609c640fc4 Add feed URL to user page
Closes #18.
2019-03-08 22:29:28 -08:00
Darius Kazemi
aa2fbcd409 Better error message for malformed feed
Fixes #12.
2019-02-22 12:33:56 -08:00
Darius Kazemi
1d745ae99c Fixing follow bug
Fixing an issue where I wasn't parsing the followers string on a DB query pre-write so followers would just not be written to the DB.
2018-12-17 13:48:14 -08:00
Darius Kazemi
cf8b1721d9 Add profile description field from RSS description
This adds a `summary` field to the `actor` object, populated from
the RSS feed's top level <description> element. This makes the
<description> content into the profile description.
2018-11-17 15:54:57 -08:00
Darius Kazemi
9957ea6f7f Merge branch 'master' of https://github.com/dariusk/activitypub-to-rss 2018-11-17 15:06:56 -08:00
Darius Kazemi
5ad4516a70 Protect against TypeError
Only attempt to call req.headers.accept.include() if req.headers.accept exists.
2018-11-17 15:05:55 -08:00
Peter Hormanns
b26955dc3c change hard coded domain 2018-11-13 10:40:04 -08:00
Darius Kazemi
04801687d9 fixing issue with error in SQL query 2018-10-15 12:31:18 -07:00
Darius Kazemi
8678d24707 remove extraneous logs 2018-10-15 11:56:59 -07:00
Darius Kazemi
90ad278588 Fix bug in JSON parsing when fetching from DB 2018-10-15 11:46:18 -07:00
Darius Kazemi
4966d0a922 Fall back to favicon/touch icon if no image in feed
Fixes #1.
2018-10-15 11:45:32 -07:00
Darius Kazemi
36bb506bcb First 2018-10-14 21:29:27 -07:00