Commit Graph

200 Commits

Author SHA1 Message Date
568ac5bd4f
Add --dry-run to --help output and add advice to look at manpage. 2020-12-03 17:41:27 +01:00
c47aac8dd2
Catch CURLExceptions from curl_wrapper.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-29 04:57:49 +01:00
2d113abff6
Don't stop after first post if keep_looking = true.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-21 23:53:47 +01:00
f98f7569dc
Fix ifstream initialization.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-21 23:21:02 +01:00
212b0a18f3
Compatibility with GCC 7.
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-21 22:54:29 +01:00
cdb525205b
Fix variable initialization in extract_location().
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-21 22:43:41 +01:00
438bc360cd
Remove threads dependency.
Was needed for restclient-cpp.
2020-11-21 22:40:51 +01:00
3955cd95a1
Get rid of restclient-cpp dependency.
Use curl_wrapper instead.
2020-11-21 22:30:24 +01:00
4de5c4e685
Merge commit '75633bdb459338ea4669233f627c416ae4eed656' into main 2020-11-21 22:15:32 +01:00
75633bdb45 Squashed 'src/curl_wrapper/' changes from f4ea01d..19a65d7
19a65d7 Add set_maxredirs().

git-subtree-dir: src/curl_wrapper
git-subtree-split: 19a65d74745d72881b3b4c03b2dd84bd91c6c3d4
2020-11-21 22:15:32 +01:00
53e39a04f3 Merge commit '1d4139cf0ebe2274d4cd2e58c913f91c02e80c8f' as 'src/curl_wrapper' 2020-11-21 21:44:17 +01:00
1d4139cf0e Squashed 'src/curl_wrapper/' content from commit f4ea01d
git-subtree-dir: src/curl_wrapper
git-subtree-split: f4ea01d96e552cf9ba04116efd19ce2867c8e5b2
2020-11-21 21:44:17 +01:00
ebabe2de23
Only print “Status: […]” in --dry-run if titles_as_cw = true.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-21 20:38:51 +01:00
eb897eddae
Comment out unused status code and fix print_help() signature.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-21 20:33:10 +01:00
dfd32e5bbf
Add --dry-run.
Do everything like normal, but don't post anything and don't update the
config file.
2020-11-21 20:32:15 +01:00
99a843e0a2
Don't try to parse watchwords if add_hashtags is false. 2020-11-21 20:09:35 +01:00
5778fe1ad2
Depend on mastodonpp >= 0.5.6. 2020-11-13 14:29:46 +01:00
cf78a2e43e
Don't parse more items than Config::max_guids.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-05 14:14:33 +01:00
38f795df26
Reformat. 2020-11-05 14:14:16 +01:00
70d3bcfb70
Actually save the access token after generation. 2020-10-31 23:12:52 +01:00
2554779759
Make hashtag-replacement optional.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-29 15:06:51 +01:00
0e61a876bc
Indent logged headers.
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-24 18:17:05 +02:00
e0c49c4702
Make Document::extract_location() more robust.
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-08-24 18:14:12 +02:00
c04ad4b4ab
Add extra debug logging.
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-24 17:32:15 +02:00
739f5d4b3b
Reformat config.hpp with clang-format.
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-24 16:39:32 +02:00
c0ac446be1
Reformat config.cpp with clang-format. 2020-08-24 16:38:18 +02:00
b512146115
Reformat main.cpp with clang-format. 2020-08-24 16:25:15 +02:00
ec3c8933b2
Add license header to main.cpp 2020-08-24 16:23:24 +02:00
b17b5af46e
Reformatting with clang-format.
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-19 23:04:42 +02:00
5f1b69779a
Unescape HTML in titles. 2020-06-19 22:20:03 +02:00
917977129f
Add replacements.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-10 17:01:20 +02:00
df7bc1890e
Change jsoncpp detection from CMake to pkg-config.
Some checks failed
continuous-integration/drone/push Build is failing
Upstream no longer provides jsoncppConfig*.cmake.
2020-05-02 23:55:05 +02:00
c60f7a379d
Replaced MastodonException and replaced it with CURLException.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-16 22:38:18 +01:00
0787fefba9
Switch from mastodon-cpp to mastodonpp. 2020-01-15 19:09:01 +01:00
b35e298eea
CMake: Use the right target for jsoncpp. 2020-01-15 18:25:19 +01:00
259e15defc
Remove last_guid.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 23:38:19 +01:00
163777d69a
Fix stringlist <-> jsonarray conversion.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 23:32:33 +01:00
be4585a578
Use transform for stringlist <-> jsonarray conversion.
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-09 23:10:41 +01:00
e7e222f035
Don't throw error if watchwords.json does not exist.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-03 03:26:00 +01:00
145a97bb38
Add guid of already posted items to debug output.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-01 13:44:54 +01:00
0eb103fb8e
Fix debug output of data.guids and don't output data.last_guid.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-01 13:42:34 +01:00
986bac21da
Add config option keep_looking.
All checks were successful
continuous-integration/drone/push Build is passing
If set, don't stop at first already posted guid.
2020-01-01 13:29:57 +01:00
80db08a9c6
Change JSON array access to be compatible to jsoncpp-1.7.4.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-01 13:12:46 +01:00
aa5e7008b2
Check for already posted guids in ProfileData::guids.
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-01 13:00:00 +01:00
cfe57f1931
Actually throw ParseException. 🤦 2020-01-01 12:59:52 +01:00
4d35ee1d66
Record each posted guid.
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-01 12:43:42 +01:00
f3b22e8206
Add guids to ProfileData. 2020-01-01 12:43:04 +01:00
71a754ed1c
Add functions to convert between list<string> and Json::Value. 2020-01-01 12:13:35 +01:00
7267981c37
Add ParseException.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-31 13:29:45 +01:00
71783b2638
Simplify storing boolean values after inquiring.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-31 08:00:31 +01:00