Commit Graph

210 Commits

Author SHA1 Message Date
fec7ac92da
Only configure @VARIABLES@ in version.hpp.in. 2019-12-29 10:32:16 +01:00
dcc07fab75
Refine hashtag-regex.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 08:56:27 +01:00
7e0278b542
Reduce scope of using declarations in main.cpp.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 08:46:15 +01:00
dec712b43e
Add - und \u\u200b (zero width space) as word delimiters.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 08:38:16 +01:00
a8c3127570
Replace using namespace with namespace. 2019-12-29 08:33:31 +01:00
9031f0d526
Shut up clang-tidy about goto. 2019-12-29 08:33:06 +01:00
5155c7fcdc
COC: Improve punctuation.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 05:44:52 +01:00
ed6fa68b93
Enable TOC.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 05:40:37 +01:00
5f9a8fede0
Add link to releases in readme.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 05:37:41 +01:00
26b3d56fdf
Don't output access token in debug log.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 05:27:16 +01:00
eab7280ad3
Add warning about the access token in debug section of manpage.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 04:06:03 +01:00
bc2364875d
Replace for-loop with std::any_of.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 04:00:48 +01:00
51673c7f2a
Calculate post length correctly.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 03:47:57 +01:00
75a18dc21c
Fix maximum length log message. 2019-12-29 03:34:10 +01:00
9dfb6715c7
Narrow scope of omission. 2019-12-29 03:34:00 +01:00
4c49dafafd
Log status.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 02:48:56 +01:00
9477add980
Explicitly set len_append to 0 if nothing to append.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 02:41:13 +01:00
82b136aeca
Log maximum status length before resizing. 2019-12-29 02:39:00 +01:00
d7fb71dc95
Append link adter resizing. 🤦
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 02:25:08 +01:00
2099f48cef
Subtract title length from maximum length if titles_as_cw is set.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 02:08:09 +01:00
2db204e6a2
Fix resizing bug.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 01:45:13 +01:00
06e9fe63da
Consider Subject (CW) size when calculating total size.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 01:05:08 +01:00
2a1cbe5f8a
Log right URI for temporaray redirects.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 00:49:23 +01:00
e8ac4869b1
Treat permanent redirects after temporary redirects as temporary.
All checks were successful
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.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 00:11:26 +01:00
937b08ff85
Parse watchwords only once.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-29 00:05:13 +01:00
90f9cecf7b
Remove unnecessary else.
All checks were successful
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.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 23:33:49 +01:00
c81d60242c
Apply individual fixes before removing HTML.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 23:31:10 +01:00
bb86f321b5
Cut post if append is empty; add ellipsis.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 23:10:49 +01:00
bca496c87a
Merge branch 'rewrite' into main
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 10:35:31 +01:00
fafe586cc4
Log path of watchwords.json after reading.
All checks were successful
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
3675f17746
Remove error codes from readme.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 08:29:54 +01:00
ee646fe79c
Branch change notice.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 08:23:43 +01:00
1d6f4eb172
Merge branch 'rewrite' into main
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-28 08:18:22 +01:00
8c77df1ee1
CI: Disable Ubuntu build.
All checks were successful
continuous-integration/drone/push Build is passing
CMake is too old for restclient-cpp.
2019-12-28 08:15:32 +01:00
ca2b9a16e4
Move installation of watchwords.json to root CMakeLists.txt
Some checks failed
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.
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