Commit Graph

50 Commits

Author SHA1 Message Date
tastytea 212b0a18f3
Compatibility with GCC 7.
continuous-integration/drone/push Build is failing Details
2020-11-21 22:54:29 +01:00
tastytea 70d3bcfb70
Actually save the access token after generation. 2020-10-31 23:12:52 +01:00
tastytea 2554779759
Make hashtag-replacement optional.
continuous-integration/drone/push Build is passing Details
2020-10-29 15:06:51 +01:00
tastytea c0ac446be1
Reformat config.cpp with clang-format. 2020-08-24 16:38:18 +02:00
tastytea 917977129f
Add replacements.
continuous-integration/drone/push Build is passing Details
2020-05-10 17:01:20 +02:00
tastytea c60f7a379d
Replaced MastodonException and replaced it with CURLException.
continuous-integration/drone/push Build is passing Details
2020-01-16 22:38:18 +01:00
tastytea 0787fefba9
Switch from mastodon-cpp to mastodonpp. 2020-01-15 19:09:01 +01:00
tastytea 259e15defc
Remove last_guid.
continuous-integration/drone/push Build is passing Details
2020-01-09 23:38:19 +01:00
tastytea 163777d69a
Fix stringlist <-> jsonarray conversion.
continuous-integration/drone/push Build is passing Details
2020-01-09 23:32:33 +01:00
tastytea be4585a578
Use transform for stringlist <-> jsonarray conversion.
continuous-integration/drone/push Build is failing Details
2020-01-09 23:10:41 +01:00
tastytea 0eb103fb8e
Fix debug output of data.guids and don't output data.last_guid.
continuous-integration/drone/push Build is passing Details
2020-01-01 13:42:34 +01:00
tastytea 986bac21da
Add config option keep_looking.
continuous-integration/drone/push Build is passing Details
If set, don't stop at first already posted guid.
2020-01-01 13:29:57 +01:00
tastytea 80db08a9c6
Change JSON array access to be compatible to jsoncpp-1.7.4.
continuous-integration/drone/push Build is passing Details
2020-01-01 13:12:46 +01:00
tastytea f3b22e8206
Add guids to ProfileData. 2020-01-01 12:43:04 +01:00
tastytea 71a754ed1c
Add functions to convert between list<string> and Json::Value. 2020-01-01 12:13:35 +01:00
tastytea 71783b2638
Simplify storing boolean values after inquiring.
continuous-integration/drone/push Build is passing Details
2019-12-31 08:00:31 +01:00
tastytea 26b3d56fdf
Don't output access token in debug log.
continuous-integration/drone/push Build is passing Details
2019-12-29 05:27:16 +01:00
tastytea 4d2353e3d5
Initialize profile in Config correctly. 2019-12-28 09:48:33 +01:00
tastytea a692e00128
Make _profile in Config public and rename to profile. 2019-12-28 09:04:52 +01:00
tastytea 61d591e925
Rename profile → profiledata. 2019-12-28 09:01:17 +01:00
tastytea f0c4d63548
Add function Config::get_config_dir(). 2019-12-28 08:49:13 +01:00
tastytea 8650c3cc6b
Convert size_t to Json::Value::UInt64 for jsoncpp.
continuous-integration/drone/push Build is failing Details
jsoncpp-1.7.4 can't convert it itself.
2019-12-28 07:55:48 +01:00
tastytea 527c2347ea
Fix bug where titles_as_cw would get the value of titles_only. 2019-12-28 06:47:56 +01:00
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 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 ed14492b46
Add method write() to Config. 2019-12-25 06:25:11 +01:00
tastytea a369e96177
Add last_guid to ProfileData. 2019-12-24 22:35:49 +01:00
tastytea bf29df39e9
Read and parse config. 2019-12-24 18:53:00 +01:00
tastytea 8870c37a42
Delete old sources. 2019-12-20 01:11:40 +01: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 603532a334
bugfix: Stopped freezing in configure step if an empty value is entered. 2018-09-20 06:23:44 +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 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 e312f062a5
Made the appended string configurable 2018-05-11 01:17:53 +02:00
tastytea 1a5e270696
write max_size into config 2018-04-14 15:19:54 +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 7ef6c5fad7
refactoring 2018-03-15 13:26:54 +01:00
tastytea 8991c656c2
More named entities, documentation update 2018-02-22 18:07:21 +01:00
tastytea 0daf373d3c
refactoring 2018-02-18 14:44:50 +01:00