Commit Graph

164 Commits

Author SHA1 Message Date
8650c3cc6b
Convert size_t to Json::Value::UInt64 for jsoncpp.
Some checks failed
continuous-integration/drone/push Build is failing
jsoncpp-1.7.4 can't convert it itself.
2019-12-28 07:55:48 +01:00
3ffd73d68a
CI: Compile restclient-cpp as a workaround.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-28 07:44:10 +01:00
9e58e31912
Remove option for tests.
Some checks failed
continuous-integration/drone/push Build is failing
It's not really good testable.
2019-12-28 07:27:09 +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
9386681b69
Drone: Re-enabled buster build.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-26 04:15:14 +01:00
a11b9e0302
Drone: Add libcurl3 to Ubuntu build.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-26 04:10:32 +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
47c5bb82b5
Drone: Add libcurl4-openssl-dev to Ubuntu build.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-26 03:45:32 +01:00
cb69331bfc
Drone: Set DEBIAN_FRONTEND to noninteractive.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-26 03:41:44 +01:00
608c21eccd
Drone: Replace -qy with -qq.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-12-26 03:37:51 +01:00
330849df7e
Drone: Switch to Ubuntu bionic.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-12-26 03:30:49 +01:00
42039bcc92
Add libcurl4 to Drone dependencies.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 23:47:30 +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
092a34a1ab
Add POCO to dependencies. 2019-12-25 23:05:16 +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
9882a15704
Add libcurl dependency to drone recipe.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 21:45:50 +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
06b989a0e3
Fix drone recipe.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 21:32:30 +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
8a0c69b1e8
Add restclient-cpp to dependencies in readme. 2019-12-25 05:40:53 +01:00
f1be8c49fd
Delete sentence about RSS requirements from readme. 2019-12-25 05:40:26 +01:00
b76f79632c
Document usage and configuration in manpage.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 03:29:30 +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
27ac10b821
Typo in manpage.
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-25 02:09:22 +01:00
2bb03dd104
Extract and parse <item>s from RSS feeds. 2019-12-25 02:08:53 +01:00
91acfb0bc3
Update versions in rteadme. 2019-12-25 02:08:16 +01:00
73542eff48
Update description. 2019-12-24 23:24:24 +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