Commit graph

38 commits

Author SHA1 Message Date
Darius Kazemi
64bd0057fd Merge branch 'master' of https://github.com/dariusk/rss-to-activitypub 2019-05-25 10:15:22 -07:00
Darius Kazemi
9332e287ab Removing the file extension check on images
Since we're not checking mime types anyway, and most browser
supported image formats should probably render as attachments
on Mastodon and Pleroma, I'm removing this. There are often
normal JPEG and PNG images that get linked as an img src but
lack the standard file extensions, especially if it comes from
an API that returns the file binary.

Closes #36.
2019-05-25 10:12:39 -07:00
Darius Kazemi
24d4c7fbf9
Merge pull request #31 from HorlogeSkynet/fix/redirection_existing_feeds
Fixes redirection to existing feeds
2019-05-22 14:07:23 -07:00
Samuel FORESTIER
01ac1a9e78 Fixes redirection to existing feeds by URL-decoding resources locations 2019-05-18 13:25:58 +02:00
Darius Kazemi
54f61e6dc2 Improve item formatting
Closes #28.
2019-05-12 13:32:49 -07:00
Darius Kazemi
2b4479fbe8 Merge branch 'beanstalk' 2019-05-07 10:22:09 -07:00
Darius Kazemi
737c418ed7 Fixes to formatting and payload processing order 2019-05-07 10:20:21 -07:00
Darius Kazemi
01a8a5f336 iframes 2019-04-29 13:37:07 -07:00
Darius Kazemi
5012b8bb17 Updating to use beanstalkd queueing system 2019-04-29 13:36:04 -07:00
Darius Kazemi
7cfe50605c Adding a timeout to the RSS parser
This fixes #22.
2019-04-13 13:34:49 -07:00
Darius Kazemi
c22dbae3b5 Commit missing files
Fixes #21
2019-04-12 05:30:34 -07:00
Darius Kazemi
9d08138408 fixing bug 2019-03-29 09:23:05 -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
753872d31d Deliver messages to Pleroma inboxes correctly 2019-03-26 10:54:51 -07:00
Darius Kazemi
e0dbc536dc Encode URI components for feed with query params
This fixes #10 and fixes #15.
2019-03-10 21:37:08 -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
4888db441c add reminder about how feeds work 2019-02-23 22:26:24 -08:00
Darius Kazemi
92a37d60e1 Include more context on rendered pages
We now provide a link back to the tool from user pages as well as a link to the source code. Fixes #14.
2019-02-23 20:37:24 -08:00
Darius Kazemi
aa2fbcd409 Better error message for malformed feed
Fixes #12.
2019-02-22 12:33:56 -08:00
Darius Kazemi
18d64cd7be More stable updates; unlisted posts
* change the way updateFeeds works so that it loops correctly through all feeds and doesn't hang
* make posts unlisted by default in Mastodon ('cc' the public collection rather than 'to')
2019-02-21 07:58:14 -08:00
Darius Kazemi
6e7c8b9705 updates to the feed transform 2018-12-17 18:11:53 -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
dd6259ced0 Documentation changes
* Add link to source

* link to express activitypub server

* more database information
2018-11-19 06:01:34 -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
Peter Hormanns
b8992bd817 fix convert-link 2018-11-13 10:39:59 -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
f0f67e07cd Removing comments and fixing some bugs in the update script 2018-10-15 10:47:27 -07:00
Darius Kazemi
dea3bcfc60 Update readme 2018-10-14 21:32:17 -07:00
Darius Kazemi
36bb506bcb First 2018-10-14 21:29:27 -07:00