Commit graph

115 commits

Author SHA1 Message Date
Martin Dosch
45a2c9a541 Changed html2text import to github.com/jaytaylor/html2text as jaytaylor.com/html2text seems down. 2019-08-30 09:51:38 +02:00
Martin Dosch
96fd8cf3f6 Revert "Updated vendor packages."
This reverts commit 3d981156fe.
2019-08-30 09:44:03 +02:00
Martin Dosch
3d981156fe Updated vendor packages. 2019-08-30 09:42:12 +02:00
Martin Dosch
15900057ad [golangci-lint] Simplified comparisons to bool constant. 2019-06-14 16:11:13 +02:00
Martin Dosch
ba3e4a7f67 Cleaned up merging gone wild. 2019-06-14 16:02:01 +02:00
Martin Dosch
95129fda2c Renamed feed-to-muc.go to main.go 2019-06-14 16:00:14 +02:00
Martin Dosch
e9a83d723f Added comments. 2019-06-14 15:59:50 +02:00
Martin Dosch
6e8ac0866c Cherrypicked 62dfe9d3ac 2019-06-14 15:59:33 +02:00
mdosch
d1fa786a2e [golangci-lint] Simplified comparisons to bool constant. 2019-06-14 11:43:06 +02:00
mdosch
c6b881a883 [golangci-lint] Added error handling for h.Write. 2019-06-14 11:39:18 +02:00
Martin Dosch
8ac7a60770 Refactored removetracking and added a new tracking parameter. 2019-05-31 12:48:03 +02:00
Martin Dosch
ca53b16a89 Added linebreak before attaching the URL. 2019-05-31 12:36:30 +02:00
Martin Dosch
34004d8e01 Added contact information and quiet mode. 2019-05-31 12:04:53 +02:00
Martin Dosch
e098d6f2e2 Updated documentation for the new config option . 2019-05-31 11:32:13 +02:00
Martin Dosch
9d62bdc89f Fixed a typo. 2019-05-31 11:15:47 +02:00
Martin Dosch
0e5d19bf5b Added ping command. 2019-05-31 10:48:12 +02:00
Martin Dosch
c65088b455 Moved reply strings in variable. 2019-05-31 10:45:56 +02:00
Martin Dosch
377d469179 Added support for private messages. 2019-05-31 10:40:40 +02:00
Martin Dosch
800db2616e Added filter option. 2019-05-31 09:50:46 +02:00
Martin Dosch
86a5c5f610 Updated external dependencies. 2019-05-31 09:10:48 +02:00
Martin Dosch
d025df0507 Added some error messages. 2019-05-31 09:06:36 +02:00
mdosch
c111da9c8c Made some feeds look less bloated by finally removing double line breaks. 2019-05-26 23:53:18 +02:00
mdosch
7193b274c1 Hopefully finally made the help look more nice. 2019-05-26 23:02:56 +02:00
mdosch
30d53424cb Removed some debugging stuff. 2019-05-26 22:30:34 +02:00
mdosch
576c259d60 Added a detection for empty descriptions to use content instead. Also added a workaround for broken fdroid reddit feed (empty citation lines). 2019-05-26 22:28:58 +02:00
mdosch
bd57fc34d4 Fixed a typo. 2019-05-26 21:07:07 +02:00
mdosch
efe8f1a549 Made some changes to remove multiple linebreaks and (hopefully) made help output look more nice.
Revert "Revert "(Hopefully) made help output look more nice.""

This reverts commit b73f39ef48.
2019-05-26 21:03:02 +02:00
mdosch
b73f39ef48 Revert "(Hopefully) made help output look more nice."
This reverts commit 5c24584476.
2019-05-26 21:01:40 +02:00
mdosch
5c24584476 (Hopefully) made help output look more nice. 2019-05-26 21:00:43 +02:00
mdosch
7fc8907608 Added a few interactions (help, source, feeds). 2019-05-26 20:20:34 +02:00
Martin Dosch
195a4099e7 Vendored external dependencies. 2019-02-20 20:23:48 +01:00
Martin Dosch
29ff4c3ac9 Fixed a typo. How did this get there? 2019-02-01 19:55:06 +01:00
Martin Dosch
a2cb08e2fd Changed behaviour to not crash if the feed is unavailable. 2019-02-01 14:58:12 +01:00
Martin Dosch
195dd6a1c6 Removed checking of MUC join return value as it doesn't represent the MUC status codes. 2019-01-16 09:35:00 +01:00
Martin Dosch
638c24819f Added another tracking parameter to removeTracking. 2018-09-09 19:13:16 +02:00
Martin Dosch
a0f995cd4d Removed unnecessary whitespaces in example config. 2018-09-05 20:41:43 +02:00
Martin Dosch
e0d4613023 Made refresh time for feed queries configurable. 2018-09-05 20:40:41 +02:00
Martin Dosch
7e2c58256d Added config option to post only the article link without excerpt. 2018-09-03 20:42:19 +02:00
Martin Dosch
5a5014d449 Reworked the ping functions and stanza processing. 2018-08-08 11:46:58 +02:00
Martin Dosch
3bdfea029e Fixed an RFC 6120 violation when sending IQ error replies (hopefully this time for real). Thx jonasw. 2018-08-07 22:56:53 +02:00
Martin Dosch
64f7cb9f27 Fixed an RFC 6120 violation when sending IQ error replies. Thx jonasw. 2018-08-07 22:29:38 +02:00
Martin Dosch
1cf49e8121 Added processing of disco#info queries as I learned this is good style (thx jonasw). 2018-08-07 21:45:30 +02:00
Martin Dosch
14d58011cd Added another tracking parameter for removal. 2018-08-03 14:50:33 +02:00
Martin Dosch
e64aa5ac63 Changet getArticles to save timestamp after every updated article as I learned there are feeds which have the articles in wrong order (looking at you spiegel.de). 2018-08-03 13:33:57 +02:00
Martin Dosch
4577ec34c1 Added function to remove some commonly used tracking. 2018-08-03 11:02:31 +02:00
Martin Dosch
03a3fd5b8e Added a comment. 2018-08-02 09:41:21 +02:00
Martin Dosch
437506313d Removed commented code. 2018-08-02 09:40:07 +02:00
Martin Dosch
6f754bd8f6 Added linebreaks and comments. 2018-08-02 09:33:19 +02:00
Martin Dosch
1eca8a84b4 Added check if bot is still joined to MUC. 2018-07-28 21:38:48 +02:00
mdosch
98c1e8bd0a Merge branch 'master' of https://salsa.debian.org/mdosch-guest/feed-to-muc 2018-07-15 21:03:30 +02:00