|
2099f48cef
|
Subtract title length from maximum length if titles_as_cw is set.
continuous-integration/drone/push Build is passing
|
2019-12-29 02:08:09 +01:00 |
|
|
2db204e6a2
|
Fix resizing bug.
continuous-integration/drone/push Build is passing
|
2019-12-29 01:45:13 +01:00 |
|
|
06e9fe63da
|
Consider Subject (CW) size when calculating total size.
continuous-integration/drone/push Build is passing
|
2019-12-29 01:05:08 +01:00 |
|
|
2a1cbe5f8a
|
Log right URI for temporaray redirects.
continuous-integration/drone/push Build is passing
|
2019-12-29 00:49:23 +01:00 |
|
|
e8ac4869b1
|
Treat permanent redirects after temporary redirects as temporary.
continuous-integration/drone/push Build is passing
Example:
http://example.com/ returns 302 with Location: http://example.com/1
http://example.com/1 returns 301 with Location: http://example.com/2
http://example.com/ will not be overwritten in the config file.
|
2019-12-29 00:41:14 +01:00 |
|
|
94ca8bffaf
|
Don't cut in the middle of a word.
continuous-integration/drone/push Build is passing
|
2019-12-29 00:11:26 +01:00 |
|
|
937b08ff85
|
Parse watchwords only once.
continuous-integration/drone/push Build is passing
|
2019-12-29 00:05:13 +01:00 |
|
|
90f9cecf7b
|
Remove unnecessary else.
continuous-integration/drone/push Build is passing
|
2019-12-28 23:39:56 +01:00 |
|
|
78e8e6b92e
|
Log if we stop parsing a document.
|
2019-12-28 23:39:35 +01:00 |
|
|
e899754633
|
Allow GUID to be empty.
continuous-integration/drone/push Build is passing
|
2019-12-28 23:33:49 +01:00 |
|
|
c81d60242c
|
Apply individual fixes before removing HTML.
continuous-integration/drone/push Build is passing
|
2019-12-28 23:31:10 +01:00 |
|
|
bb86f321b5
|
Cut post if append is empty; add ellipsis.
continuous-integration/drone/push Build is passing
|
2019-12-28 23:10:49 +01:00 |
|
|
fafe586cc4
|
Log path of watchwords.json after reading.
continuous-integration/drone/push Build is passing
|
2019-12-28 09:58:49 +01:00 |
|
|
2a0fd3d6e4
|
Catch JSON errors.
|
2019-12-28 09:55:41 +01:00 |
|
|
bad3059092
|
Add watchwords (hashtags) support.
|
2019-12-28 09:48:42 +01:00 |
|
|
4d2353e3d5
|
Initialize profile in Config correctly.
|
2019-12-28 09:48:33 +01:00 |
|
|
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 |
|