86 Commits

Author SHA1 Message Date
Lu Ro
5363e242d9 Merge branch 'master' of https://github.com/LukeLR/rss 2024-10-18 02:21:56 +02:00
Lu Ro
b598472e61 add regex support 2024-10-18 02:21:08 +02:00
A git user
ed4b34a788
Split long messages to prevent matrix event too large errors 2023-09-03 17:40:51 +02:00
A git user
e0a992396e
Fix support for RSS feeds without content attribute 2023-08-17 12:28:46 +02:00
A git user
4dfa74a63b
Remote send_encoded flag, as encoded content is now a template variable that can be included upon user's choice 2023-08-15 16:07:25 +02:00
A git user
9f1d4a0e93
Generalize content_encoded into just content to support unencoded content as well 2023-08-15 15:55:58 +02:00
A git user
8a95b2edbc
Add support for encoded content 2023-08-15 15:29:45 +02:00
A git user
4d2def1fe7
Add setting for encoded content 2023-08-15 14:56:38 +02:00
A git user
777feeffb9
Add support for non-required boolean arguments 2023-08-15 14:52:21 +02:00
A git user
721c4a400f
Revert "Revert "Add html column to entry""
This reverts commit 01a4c89f91e9d739874b902953e83950bf687605.
2023-08-15 13:32:09 +02:00
A git user
07c7c7e4f1
Add postall command to README 2023-08-08 07:30:01 +02:00
A git user
ec76f0773f
Add postall command to post all previously seen entries to the room 2023-08-08 07:18:08 +02:00
A git user
890e171e69
Revert "Search for video tags in RSS body"
This reverts commit 1d3d0cc18f8d1e30103d4e9b9c1e30f82916c5d7.
2023-08-08 06:43:48 +02:00
A git user
1d3d0cc18f
Search for video tags in RSS body 2023-08-08 06:43:40 +02:00
A git user
01a4c89f91
Revert "Add html column to entry"
This reverts commit 9949f6ef51ca7bd83d6cfa2830c25d495f79ce83.
2023-08-07 00:36:48 +02:00
A git user
9949f6ef51
Add html column to entry 2023-08-07 00:36:34 +02:00
Tulir Asokan
b58202ebfb
Merge pull request #35 from AndrewKvalheim/entry-id-fallback
Stabilize entry IDs
2023-02-21 13:24:15 +02:00
Tulir Asokan
eeb71a008f Fix formatting 2023-02-21 13:22:19 +02:00
Tulir Asokan
ef4915e434 Add usage to readme 2023-02-21 12:47:13 +02:00
Tulir Asokan
1a52d18f59 Show current template if ran without arguments 2023-02-21 12:43:32 +02:00
Tulir Asokan
f12d32ad3c Bump version to 0.3.2 v0.3.2 2022-10-03 09:25:35 +03:00
Andrew Kvalheim
03bb128005 Key entries by link if missing ID
Resolves the problem of incorrectly duplicated entries in feeds that
update content but don’t explicitly provide entry IDs. Example feed:

  - https://www.to-rss.xyz/wikipedia/current_events/

Example entry:

    <item>
      <title>Current events: 2022-07-13</title>
      <link>https://en.wikipedia.org/wiki/Portal:Current_events/2022_July_13</link>
      <description>[VARIABLE CONTENT]</description>
      <pubDate>Wed, 13 Jul 2022 00:00:00 -0000</pubDate>
      </item>
    <item>

This behavior is suggested by the common practice of using an entry’s
link as its ID value, and is consistent with typical feed aggregators
such as Feedbin and Inoreader.
2022-07-14 11:05:40 -07:00
Tulir Asokan
30ad459870 Move CI script to main maubot repo 2022-06-19 14:27:42 +03:00
Tulir Asokan
877dcffb9c Use custom user agent 2022-06-18 17:47:03 +03:00
Tulir Asokan
e7af4d2657 Bump version to 0.3.1 v0.3.1 2022-05-02 10:29:41 +03:00
Tulir Asokan
e87f332e0e Don't break on old mautrix-python versions 2022-04-30 21:24:02 +03:00
Tulir Asokan
fa34d80c4f Update and unpin black 2022-04-30 21:14:38 +03:00
Tulir Asokan
70eb6efed5 Fix Python 3.10 compatibility 2022-04-30 21:14:28 +03:00
Tulir Asokan
35f2fe63df Add support for old SQLites
Closes #31
2022-04-30 21:14:19 +03:00
Tulir Asokan
b9bc6fbc81 Bump version to 0.3.0 v0.3.0 2022-03-28 17:25:41 +03:00
Tulir Asokan
b7e4a2a7bd Add IF NOT EXISTS for entry table creation 2022-03-28 17:25:08 +03:00
Tulir Asokan
7b609ebb24 Use different message when there are no subscriptions 2022-03-26 17:19:32 +02:00
Tulir Asokan
9a75ee4021 Make default notification template configurable
Closes #29
Fixes #24

Co-authored-by: noantiq <timucin.boldt@udo.edu>
2022-03-26 14:45:07 +02:00
Tulir Asokan
18ef939a04 Switch to asyncpg for database 2022-03-26 14:32:18 +02:00
Tulir Asokan
428b471fec Add some logs and hacky sorting 2022-02-22 23:11:11 +02:00
Tulir Asokan
947c4748b8 Strip surrounding whitespace from item summary 2022-02-22 23:10:42 +02:00
Tulir Asokan
08ff28bf30 Update CI artifact expiry 2021-11-28 15:35:44 +02:00
Tulir Asokan
f93fcb9489 Bump version to v0.2.6 v0.2.6 2021-07-28 12:26:31 +03:00
Tulir Asokan
e5380db9bd Fix feed backoff not being reset correctly 2021-07-28 12:22:58 +03:00
Tulir Asokan
419e137848 Add some more logs 2021-07-21 18:19:13 +03:00
Tulir Asokan
b3e76c338e Catch individual message send errors separately 2021-04-11 00:54:25 +03:00
Tulir Asokan
db492640d7 Respond with error when trying to subscribe to already subscribed feed 2021-04-11 00:50:32 +03:00
Tulir Asokan
79cd475312 Show erroring feeds in !rss subscriptions 2021-04-11 00:43:30 +03:00
Tulir Asokan
c185b31b1c Fix incorrect use of time() v0.2.5 2021-04-10 14:20:55 +03:00
Tulir Asokan
5efba56c3b Add backoff for fetching feeds that are down v0.2.4 2021-04-10 00:30:10 +03:00
Tulir Asokan
794d8e1bb9 Bump version to v0.2.3 v0.2.3 2020-12-08 16:14:04 +02:00
Tulir Asokan
a8784f4377 Remove unused import 2020-10-22 13:26:06 +03:00
Tulir Asokan
be90ee5465 Fix replying to template update 2020-08-11 03:05:12 +03:00
Tulir Asokan
334acf141e Add support for JSON feed version 1.1 2020-08-07 19:55:37 +03:00
Tulir Asokan
f96b2202b0 Bump version to v0.2.2 v0.2.2 2020-08-07 12:47:50 +03:00