Commit Graph

112 Commits

Author SHA1 Message Date
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.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-26 04:06:04 +01:00
711e3199af
Add Boost::regex to dependencies.
Some checks failed
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.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 22:50:25 +01:00
75005cdae0
Drop version requirement for jsoncpp.
Some checks failed
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.
Some checks failed
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. 🤦
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 07:03:18 +01:00
4491af53db
Handle HTTP redirects.
Some checks failed
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.
Some checks failed
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.
Some checks failed
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.
All checks were successful
the build was successful
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
All checks were successful
the build was successful
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 🤦)
All checks were successful
the build was successful
2018-08-30 01:24:19 +02:00
105b836651
typo
All checks were successful
the build was successful
2018-08-30 01:19:33 +02:00
2619e311cf
Added check if toot really was sent
Some checks failed
the build failed
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.
All checks were successful
the build was successful
Fixes #2
2018-08-26 19:46:07 +02:00