|
2b0a091e87
|
More renaming.
|
2019-12-28 09:10:32 +01:00 |
|
|
a692e00128
|
Make _profile in Config public and rename to profile.
|
2019-12-28 09:04:52 +01:00 |
|
|
61d591e925
|
Rename profile → profiledata.
|
2019-12-28 09:01:17 +01:00 |
|
|
f0c4d63548
|
Add function Config::get_config_dir().
|
2019-12-28 08:49:13 +01:00 |
|
|
23ec71ff60
|
Fix jsoncpp include.
|
2019-12-28 08:48:55 +01:00 |
|
|
ca2b9a16e4
|
Move installation of watchwords.json to root CMakeLists.txt
continuous-integration/drone/push Build is failing
|
2019-12-28 08:03:34 +01:00 |
|
|
8650c3cc6b
|
Convert size_t to Json::Value::UInt64 for jsoncpp.
continuous-integration/drone/push Build is failing
jsoncpp-1.7.4 can't convert it itself.
|
2019-12-28 07:55:48 +01:00 |
|
|
2fca800868
|
Add log message for first run.
|
2019-12-28 07:16:15 +01:00 |
|
|
8bfd9218cb
|
Post new items.
|
2019-12-28 07:13:56 +01:00 |
|
|
477bf265d4
|
Add MastoAPI.
|
2019-12-28 07:13:30 +01:00 |
|
|
ec8bc6508c
|
Add operator != to Item.
To be able to determine if the last item is visited in main().
|
2019-12-28 07:12:28 +01:00 |
|
|
74369d6ab5
|
Rename _data → _profile.
|
2019-12-28 06:57:23 +01:00 |
|
|
4168e77648
|
Only add one new item if it is the first run.
|
2019-12-28 06:54:05 +01:00 |
|
|
9a3fb420d7
|
Begin with the oldest item.
|
2019-12-28 06:48:35 +01:00 |
|
|
527c2347ea
|
Fix bug where titles_as_cw would get the value of titles_only.
|
2019-12-28 06:47:56 +01:00 |
|
|
8b0c2500f9
|
Fix some initializations.
|
2019-12-28 06:27:56 +01:00 |
|
|
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 |
|
|
35afb2800e
|
Change ProfileData::max_size to size_t.
|
2019-12-28 05:53:49 +01:00 |
|
|
66292f7b15
|
Convert paths to C strings in fstream initializers.
continuous-integration/drone/push Build is failing
|
2019-12-26 04:06:04 +01:00 |
|
|
711e3199af
|
Add Boost::regex to dependencies.
continuous-integration/drone/push Build is failing
|
2019-12-25 23:05:48 +01:00 |
|
|
255afcea02
|
Try to find restclient-cpp if its CMake config is not found.
continuous-integration/drone/push Build is failing
|
2019-12-25 22:50:25 +01:00 |
|
|
75005cdae0
|
Drop version requirement for jsoncpp.
continuous-integration/drone/push Build is failing
|
2019-12-25 21:40:48 +01:00 |
|
|
359bcacd1f
|
Clarify redirect log messages.
|
2019-12-25 19:31:07 +01:00 |
|
|
d0ea315e08
|
Remove useless move.
|
2019-12-25 19:28:48 +01:00 |
|
|
eca12c0831
|
Create config dir if it doesn't exist.
continuous-integration/drone/push Build is failing
|
2019-12-25 07:18:51 +01:00 |
|
|
d9b8b4407f
|
Formatting.
|
2019-12-25 07:08:41 +01:00 |
|
|
1bbebe2977
|
Actually write new config. 🤦
continuous-integration/drone/push Build is failing
|
2019-12-25 07:03:18 +01:00 |
|
|
4491af53db
|
Handle HTTP redirects.
continuous-integration/drone/push Build is failing
|
2019-12-25 06:31:55 +01:00 |
|
|
d08bb95fbd
|
Pass whole Config object to Document.
|
2019-12-25 06:27:57 +01:00 |
|
|
ed14492b46
|
Add method write() to Config.
|
2019-12-25 06:25:11 +01:00 |
|
|
f6b5ccbe22
|
Add a bit of logging.
|
2019-12-25 02:42:47 +01:00 |
|
|
e1a973f11f
|
Apply user-fixes.
|
2019-12-25 02:42:27 +01:00 |
|
|
2bb03dd104
|
Extract and parse <item>s from RSS feeds.
|
2019-12-25 02:08:53 +01:00 |
|
|
a369e96177
|
Add last_guid to ProfileData.
|
2019-12-24 22:35:49 +01:00 |
|
|
c631e5c4fe
|
Add debug logging.
continuous-integration/drone/push Build is failing
|
2019-12-24 18:53:45 +01:00 |
|
|
bf29df39e9
|
Read and parse config.
|
2019-12-24 18:53:00 +01:00 |
|
|
7bba87575f
|
Print --help, --version and implement downloading.
continuous-integration/drone/push Build is failing
|
2019-12-20 01:14:23 +01:00 |
|
|
39ad18efc0
|
Update CMake config for src/.
|
2019-12-20 01:13:19 +01:00 |
|
|
e8b0e83bc8
|
Update version template.
|
2019-12-20 01:12:14 +01:00 |
|
|
8870c37a42
|
Delete old sources.
|
2019-12-20 01:11:40 +01:00 |
|
|
2321802575
|
Rewrite root CMake recipe.
|
2019-12-16 15:22:54 +01:00 |
|
|
1054179b1f
|
Replaced for-loops with std::transform, changed a variable name.
|
2019-04-21 04:14:02 +02:00 |
|
|
7b3cb678ca
|
Ported to mastoson-cpp 0.105.0.
|
2019-04-21 04:00:55 +02:00 |
|
|
d02ca95345
|
Removed superfluous const.
|
2019-04-21 03:38:15 +02:00 |
|
|
26eab23305
|
Fixed ambiguous conversion
|
2018-10-08 19:41:21 +02:00 |
|
|
d575ddd139
|
Added a bit of verbosity to error codes
|
2018-10-08 01:53:28 +02:00 |
|
|
8955dedb46
|
Fixed issue with mastodon-cpp >= 0.18.6 (uint16_t vs. uint_fast16_t)
|
2018-10-08 01:40:53 +02:00 |
|
|
2cf7cac099
|
Bugfix: Don't throw unknown error if return code from mastodon-cpp is != 0
|
2018-10-08 00:36:54 +02:00 |
|
|
603532a334
|
bugfix: Stopped freezing in configure step if an empty value is entered.
|
2018-09-20 06:23:44 +02:00 |
|
|
4297f68d41
|
Don't wait(interval) after last entry
|
2018-09-20 05:45:22 +02:00 |
|
|
257a7dbb93
|
Added configurable interval between posts to prevent flooding and to allow compliance with newsbots.eu.
|
2018-09-20 05:06:10 +02:00 |
|
|
d54d6513b6
|
This REALLY fixes bug #1 (I checked the size, but not properly resized the content 🤦)
|
2018-08-30 01:24:19 +02:00 |
|
|
105b836651
|
typo
|
2018-08-30 01:19:33 +02:00 |
|
|
2619e311cf
|
Added check if toot really was sent
|
2018-08-30 01:13:22 +02:00 |
|
|
4710021393
|
Bugfix: Did not count characters in content warnings, resulted in lost messages.
fixes #1
|
2018-08-30 01:07:19 +02:00 |
|
|
786dd9fb81
|
Unescape spoilered titles
|
2018-08-26 20:08:41 +02:00 |
|
|
cc12005a4b
|
watchwords.json is no longer required to exist.
Fixes #2
|
2018-08-26 19:46:07 +02:00 |
|
|
024a7e0af7
|
bugfix: Too long posts would sometimes not be shrinked
|
2018-08-25 23:52:22 +02:00 |
|
|
cb31080a57
|
Oops, forgot error checking.
|
2018-08-25 23:38:17 +02:00 |
|
|
cf3f13fff1
|
finish support for CW as title
|
2018-08-25 14:53:48 +02:00 |
|
|
929cb540d4
|
rewrote parse_website() to return vector of Mastodon::Easy::Status
|
2018-08-25 14:23:58 +02:00 |
|
|
473442f612
|
Added config option "titles_as_cw"
|
2018-08-24 17:54:46 +02:00 |
|
|
7310f49370
|
git.schlomp.space -> schlomp.space
|
2018-06-04 21:02:07 +02:00 |
|
|
798753ad25
|
Changed URL when registering on Mastodon server
|
2018-06-04 20:22:33 +02:00 |
|
|
910d8be5c7
|
Don't force visibility
|
2018-05-15 12:29:18 +02:00 |
|
|
a2858ec62b
|
Fixed the post-size calculation
|
2018-05-13 08:19:50 +02:00 |
|
|
e312f062a5
|
Made the appended string configurable
|
2018-05-11 01:17:53 +02:00 |
|
|
580d0f23aa
|
bugfix: unescaped string was not used by accident
|
2018-05-11 01:00:09 +02:00 |
|
|
03d3e0e179
|
replaced own unescape_html() with the one from mastodon-cpp
|
2018-05-09 06:36:48 +02:00 |
|
|
a184b9f231
|
introduced text limit of 2000 chars
|
2018-05-07 23:09:21 +02:00 |
|
|
b25a09608f
|
bugfix: NO-BREAK SPACE: confused unicode representation with UTF-8 hex representation
|
2018-05-02 20:17:55 +02:00 |
|
|
f57ff976e5
|
support for hexadecimal numbered entities, 1-8 digits
|
2018-04-30 03:11:34 +02:00 |
|
|
b312e89c64
|
a bit more error reporting
|
2018-04-29 17:14:48 +02:00 |
|
|
ede97e65fe
|
replace NO-BREAK SPACE with space
|
2018-04-26 15:50:42 +02:00 |
|
|
393d1df378
|
Add unicode char c2a0 to list of whitespace to remove
|
2018-04-25 16:37:11 +02:00 |
|
|
61df4cdff1
|
refix
|
2018-04-22 14:00:52 +02:00 |
|
|
d0b75ffba0
|
fixed bug leading to removal of all newlines
|
2018-04-21 18:18:41 +02:00 |
|
|
e887cbbf4b
|
better regular expressions for cleaning
|
2018-04-20 15:43:23 +02:00 |
|
|
b7616e3f44
|
remove nothing
|
2018-04-20 11:45:31 +02:00 |
|
|
3e2f81131c
|
remove trailing newlines in description
|
2018-04-16 21:22:32 +02:00 |
|
|
a621d29b9e
|
turn <p> into \n\n
|
2018-04-15 12:06:24 +02:00 |
|
|
1a5e270696
|
write max_size into config
|
2018-04-14 15:19:54 +02:00 |
|
|
410a2dc7ce
|
fixed global tags (regression from json-lib change)
|
2018-04-14 14:46:27 +02:00 |
|
|
9f730e4ff0
|
enhanced unescape_html
|
2018-04-14 14:42:15 +02:00 |
|
|
c187837f8d
|
fixed bug with titles_only
|
2018-04-14 14:35:21 +02:00 |
|
|
bc361e38be
|
Added option to only post titles
|
2018-04-14 14:17:33 +02:00 |
|
|
6fa86a3c57
|
replaced boost json with jsoncpp
|
2018-04-14 13:57:03 +02:00 |
|
|
cdfaa0c570
|
updated header location for mastodon-cpp
|
2018-04-09 18:16:32 +02:00 |
|
|
37a2f2bc90
|
fixed faulty article skipping (bug introduced in 0.4.0)
|
2018-03-15 13:56:10 +01:00 |
|
|
7ef6c5fad7
|
refactoring
|
2018-03-15 13:26:54 +01:00 |
|
|
dd47092bbb
|
Changed behaviour when last entry is not in current feed: Skip entries to prevent spamming
|
2018-03-12 07:58:05 +01:00 |
|
|
8b0ceaf180
|
started to refactor a bit
|
2018-03-11 15:40:25 +01:00 |
|
|
696ea1ff57
|
Changed behaviour when last entry is not in current feed
|
2018-03-11 15:12:40 +01:00 |
|
|
e6d12bc3dd
|
docfix
|
2018-02-28 22:51:25 +01:00 |
|
|
a140a6b5b3
|
Better newline reduction (hopefully)
|
2018-02-28 20:46:56 +01:00 |
|
|
54fdf2c154
|
Fix ##hashtag (ugly)
|
2018-02-23 00:35:11 +01:00 |
|
|
7ba7b800ab
|
Improved excess newline removal
|
2018-02-22 18:11:48 +01:00 |
|
|
8991c656c2
|
More named entities, documentation update
|
2018-02-22 18:07:21 +01:00 |
|
|
a81a200e9f
|
Made sure the description isn't interrupted mid-word
|
2018-02-22 16:48:50 +01:00 |
|
|
56691fbdaa
|
Unescaping some more HTML entities
|
2018-02-22 02:51:58 +01:00 |
|