Commit graph

16 commits

Author SHA1 Message Date
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