Commit Graph

203 Commits

Author SHA1 Message Date
tastytea ebf5a2cd00
Fix return code initialization in access token generation.
Brace-initialization won't work here because return_call is a struct without
initializer.
2019-12-28 06:03:41 +01:00
tastytea 35afb2800e
Change ProfileData::max_size to size_t. 2019-12-28 05:53:49 +01:00
tastytea 66292f7b15
Convert paths to C strings in fstream initializers.
continuous-integration/drone/push Build is failing Details
2019-12-26 04:06:04 +01:00
tastytea 711e3199af
Add Boost::regex to dependencies.
continuous-integration/drone/push Build is failing Details
2019-12-25 23:05:48 +01:00
tastytea 255afcea02
Try to find restclient-cpp if its CMake config is not found.
continuous-integration/drone/push Build is failing Details
2019-12-25 22:50:25 +01:00
tastytea 75005cdae0
Drop version requirement for jsoncpp.
continuous-integration/drone/push Build is failing Details
2019-12-25 21:40:48 +01:00
tastytea 359bcacd1f
Clarify redirect log messages. 2019-12-25 19:31:07 +01:00
tastytea d0ea315e08
Remove useless move. 2019-12-25 19:28:48 +01:00
tastytea eca12c0831
Create config dir if it doesn't exist.
continuous-integration/drone/push Build is failing Details
2019-12-25 07:18:51 +01:00
tastytea d9b8b4407f
Formatting. 2019-12-25 07:08:41 +01:00
tastytea 1bbebe2977
Actually write new config. 🤦
continuous-integration/drone/push Build is failing Details
2019-12-25 07:03:18 +01:00
tastytea 4491af53db
Handle HTTP redirects.
continuous-integration/drone/push Build is failing Details
2019-12-25 06:31:55 +01:00
tastytea d08bb95fbd
Pass whole Config object to Document. 2019-12-25 06:27:57 +01:00
tastytea ed14492b46
Add method write() to Config. 2019-12-25 06:25:11 +01:00
tastytea f6b5ccbe22
Add a bit of logging. 2019-12-25 02:42:47 +01:00
tastytea e1a973f11f
Apply user-fixes. 2019-12-25 02:42:27 +01:00
tastytea 2bb03dd104
Extract and parse <item>s from RSS feeds. 2019-12-25 02:08:53 +01:00
tastytea a369e96177
Add last_guid to ProfileData. 2019-12-24 22:35:49 +01:00
tastytea c631e5c4fe
Add debug logging.
continuous-integration/drone/push Build is failing Details
2019-12-24 18:53:45 +01:00
tastytea bf29df39e9
Read and parse config. 2019-12-24 18:53:00 +01:00
tastytea 7bba87575f
Print --help, --version and implement downloading.
continuous-integration/drone/push Build is failing Details
2019-12-20 01:14:23 +01:00
tastytea 39ad18efc0
Update CMake config for src/. 2019-12-20 01:13:19 +01:00
tastytea e8b0e83bc8
Update version template. 2019-12-20 01:12:14 +01:00
tastytea 8870c37a42
Delete old sources. 2019-12-20 01:11:40 +01:00
tastytea 2321802575
Rewrite root CMake recipe. 2019-12-16 15:22:54 +01:00
tastytea 1054179b1f
Replaced for-loops with std::transform, changed a variable name.
the build was successful Details
2019-04-21 04:14:02 +02:00
tastytea 7b3cb678ca
Ported to mastoson-cpp 0.105.0. 2019-04-21 04:00:55 +02:00
tastytea d02ca95345
Removed superfluous const. 2019-04-21 03:38:15 +02:00
tastytea 26eab23305
Fixed ambiguous conversion
the build was successful Details
2018-10-08 19:41:21 +02:00
tastytea d575ddd139
Added a bit of verbosity to error codes 2018-10-08 01:53:28 +02:00
tastytea 8955dedb46
Fixed issue with mastodon-cpp >= 0.18.6 (uint16_t vs. uint_fast16_t) 2018-10-08 01:40:53 +02:00
tastytea 2cf7cac099
Bugfix: Don't throw unknown error if return code from mastodon-cpp is != 0 2018-10-08 00:36:54 +02:00
tastytea 603532a334
bugfix: Stopped freezing in configure step if an empty value is entered. 2018-09-20 06:23:44 +02:00
tastytea 4297f68d41
Don't wait(interval) after last entry 2018-09-20 05:45:22 +02:00
tastytea 257a7dbb93
Added configurable interval between posts to prevent flooding and to allow compliance with newsbots.eu. 2018-09-20 05:06:10 +02:00
tastytea d54d6513b6
This REALLY fixes bug #1 (I checked the size, but not properly resized the content 🤦)
the build was successful Details
2018-08-30 01:24:19 +02:00
tastytea 105b836651
typo
the build was successful Details
2018-08-30 01:19:33 +02:00
tastytea 2619e311cf
Added check if toot really was sent
the build failed Details
2018-08-30 01:13:22 +02:00
tastytea 4710021393
Bugfix: Did not count characters in content warnings, resulted in lost messages.
fixes #1
2018-08-30 01:07:19 +02:00
tastytea 786dd9fb81
Unescape spoilered titles 2018-08-26 20:08:41 +02:00
tastytea cc12005a4b
watchwords.json is no longer required to exist.
the build was successful Details
Fixes #2
2018-08-26 19:46:07 +02:00
tastytea 024a7e0af7
bugfix: Too long posts would sometimes not be shrinked
the build was successful Details
2018-08-25 23:52:22 +02:00
tastytea cb31080a57
Oops, forgot error checking.
the build was successful Details
2018-08-25 23:38:17 +02:00
tastytea cf3f13fff1
finish support for CW as title
the build was successful Details
2018-08-25 14:53:48 +02:00
tastytea 929cb540d4
rewrote parse_website() to return vector of Mastodon::Easy::Status 2018-08-25 14:23:58 +02:00
tastytea 473442f612
Added config option "titles_as_cw"
the build was successful Details
2018-08-24 17:54:46 +02:00
tastytea 7310f49370
git.schlomp.space -> schlomp.space 2018-06-04 21:02:07 +02:00
tastytea 798753ad25
Changed URL when registering on Mastodon server 2018-06-04 20:22:33 +02:00
tastytea 910d8be5c7
Don't force visibility 2018-05-15 12:29:18 +02:00
tastytea a2858ec62b
Fixed the post-size calculation 2018-05-13 08:19:50 +02:00
tastytea e312f062a5
Made the appended string configurable 2018-05-11 01:17:53 +02:00
tastytea 580d0f23aa
bugfix: unescaped string was not used by accident 2018-05-11 01:00:09 +02:00
tastytea 03d3e0e179
replaced own unescape_html() with the one from mastodon-cpp 2018-05-09 06:36:48 +02:00
tastytea a184b9f231
introduced text limit of 2000 chars 2018-05-07 23:09:21 +02:00
tastytea b25a09608f
bugfix: NO-BREAK SPACE: confused unicode representation with UTF-8 hex representation 2018-05-02 20:17:55 +02:00
tastytea f57ff976e5
support for hexadecimal numbered entities, 1-8 digits 2018-04-30 03:11:34 +02:00
tastytea b312e89c64
a bit more error reporting 2018-04-29 17:14:48 +02:00
tastytea ede97e65fe
replace NO-BREAK SPACE with space 2018-04-26 15:50:42 +02:00
tastytea 393d1df378
Add unicode char c2a0 to list of whitespace to remove 2018-04-25 16:37:11 +02:00
tastytea 61df4cdff1
refix 2018-04-22 14:00:52 +02:00
tastytea d0b75ffba0
fixed bug leading to removal of all newlines 2018-04-21 18:18:41 +02:00
tastytea e887cbbf4b
better regular expressions for cleaning 2018-04-20 15:43:23 +02:00
tastytea b7616e3f44
remove nothing 2018-04-20 11:45:31 +02:00
tastytea 3e2f81131c
remove trailing newlines in description 2018-04-16 21:22:32 +02:00
tastytea a621d29b9e
turn <p> into \n\n 2018-04-15 12:06:24 +02:00
tastytea 1a5e270696
write max_size into config 2018-04-14 15:19:54 +02:00
tastytea 410a2dc7ce
fixed global tags (regression from json-lib change) 2018-04-14 14:46:27 +02:00
tastytea 9f730e4ff0
enhanced unescape_html 2018-04-14 14:42:15 +02:00
tastytea c187837f8d
fixed bug with titles_only 2018-04-14 14:35:21 +02:00
tastytea bc361e38be
Added option to only post titles 2018-04-14 14:17:33 +02:00
tastytea 6fa86a3c57
replaced boost json with jsoncpp 2018-04-14 13:57:03 +02:00
tastytea cdfaa0c570
updated header location for mastodon-cpp 2018-04-09 18:16:32 +02:00
tastytea 37a2f2bc90
fixed faulty article skipping (bug introduced in 0.4.0) 2018-03-15 13:56:10 +01:00
tastytea 7ef6c5fad7
refactoring 2018-03-15 13:26:54 +01:00
tastytea dd47092bbb
Changed behaviour when last entry is not in current feed: Skip entries to prevent spamming 2018-03-12 07:58:05 +01:00
tastytea 8b0ceaf180
started to refactor a bit 2018-03-11 15:40:25 +01:00
tastytea 696ea1ff57
Changed behaviour when last entry is not in current feed 2018-03-11 15:12:40 +01:00
tastytea e6d12bc3dd
docfix 2018-02-28 22:51:25 +01:00
tastytea a140a6b5b3
Better newline reduction (hopefully) 2018-02-28 20:46:56 +01:00
tastytea 54fdf2c154
Fix ##hashtag (ugly) 2018-02-23 00:35:11 +01:00
tastytea 7ba7b800ab
Improved excess newline removal 2018-02-22 18:11:48 +01:00
tastytea 8991c656c2
More named entities, documentation update 2018-02-22 18:07:21 +01:00
tastytea a81a200e9f
Made sure the description isn't interrupted mid-word 2018-02-22 16:48:50 +01:00
tastytea 56691fbdaa
Unescaping some more HTML entities 2018-02-22 02:51:58 +01:00
tastytea 52acbd90f6
Added special case: ANF News 2018-02-20 23:29:55 +01:00
tastytea 7943ea5b9a
regex-fix (GG/BO) 2018-02-18 18:43:35 +01:00
tastytea 4044e33c6c
remove closings of Direkte Aktion and GG/BO feeds 2018-02-18 16:39:39 +01:00
tastytea 84f5503954
Changed error codes, fixed documentation 2018-02-18 15:12:00 +01:00
tastytea 0daf373d3c
refactoring 2018-02-18 14:44:50 +01:00
tastytea 90203c02e9
Added documentation, website. 2018-02-10 13:51:35 +01:00
tastytea 7d0a2d0af6
Added HTTP status support, added curlpp initialization 2018-02-10 12:58:21 +01:00
tastytea f0c6004f30
rename rss2mastodon -> mastorss 2018-02-10 12:35:06 +01:00
tastytea bf6c5df56f
replaced boost::asio with curlpp 2018-02-10 10:06:34 +01:00
tastytea 0fe04040a7
small fixes 2018-02-06 13:53:34 +01:00
tastytea 42eea89863
typo 2018-02-01 12:03:43 +01:00
tastytea 30b8286ed4
more filtering 2018-02-01 12:03:16 +01:00
tastytea 219c6ec1d0
fixed regex (\b matches non-ascii letters) 2018-01-29 01:41:23 +01:00
tastytea e3823d02f5
Only first occurence of a watchword is tagged 2018-01-28 22:07:40 +01:00
tastytea 20a65e4330
seperate config file per profile (fixes race condition) 2018-01-26 22:11:48 +01:00
tastytea 63b11121bb
toot newest entry on first run 2018-01-26 20:59:01 +01:00
tastytea 992ebe0ec4
small fixes, reduced watchwords to an example 2018-01-26 17:00:06 +01:00
tastytea 0b1c436bbb
works 2018-01-26 03:35:52 +01:00
tastytea ee0ec8dfc0
initial commit 2018-01-26 02:33:58 +01:00