Commit Graph

121 Commits

Author SHA1 Message Date
250195924e
Throw better error if lockfile is not writable. 2020-10-15 08:39:09 +02:00
f59f9ebd5f
Fix CI.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-15 06:04:43 +02:00
b0c6be2366
Remove now unnecessary workaround. 2020-10-15 06:02:16 +02:00
43a29bfdba
Fix update_cached_repo(), set HEAD to origin/main.
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-15 05:52:51 +02:00
9707694be6
Add support for RSS tags. Also add cgi::tolower(). 2020-10-15 04:45:43 +02:00
a23019dcf1
Change title of HTML blocklist. 2020-10-14 05:53:20 +02:00
3c898e1c1b
Add compatibility aliases.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-14 04:17:46 +02:00
75f6932ae9
Use caching in HTML and RSS generators.
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-14 03:40:45 +02:00
8f5e9ec7e0
Add timeout parameter to update_cached_repo(). 2020-10-14 03:38:25 +02:00
6cf543a7b4
update_cached_repo(): Actually update. 2020-10-14 03:17:21 +02:00
eebef0aca7
update_cached_repo(): acquire credentials, init opts with functions. 2020-10-14 03:06:18 +02:00
b8eb56d50b
Fix passing of checkout options in update_cached_repo().
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-14 02:37:59 +02:00
2502081574
Throw if lockfile can't be created for 20 seconds.
Also make create_lockfile() boolean.
2020-10-14 02:35:38 +02:00
4a88652435
Add update_cached_repo().
Create lockfile, pull or clone.
2020-10-14 02:12:56 +02:00
2c58894c92
Fix git::init() and git::cleanup().
init() always used a temporary directory and cleanup() only attempted to
remove it when cache = true.
2020-10-14 02:10:17 +02:00
c3020b782d
Set, create and remove repo directory in git::init() and shutdown(). 2020-10-14 00:31:09 +02:00
f363ebacb8
Add cache option to read_json_files(). 2020-10-13 23:17:20 +02:00
d01c88e42a
Pass cache in lambda in clone() by value. 2020-10-13 23:11:26 +02:00
2cf7e6a245
Remove redundant filesystem include.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-13 20:58:45 +02:00
62f638c70f
Add get_lockfile(), create_lockfile() and remove_lockfile().
Some checks failed
continuous-integration/drone/push Build is failing
Preparation for caching the repository.
2020-10-13 20:41:03 +02:00
db18edd478
Add option to use cache dir to clone().
Preparation for caching the repository.
2020-10-13 19:25:55 +02:00
0f9736becd
Add note about the data path on non-Linux to readme. 2020-10-13 18:58:16 +02:00
4d3a574434
Add get_cachedir().
Preparation for caching the repository.
2020-10-13 18:55:12 +02:00
835ef9be26
Update nginx config in readme. 2020-07-14 18:03:38 +02:00
b1f57ee354
Fix test.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 17:55:35 +02:00
047cdc7295
rss: newline after “Receipts:”.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-14 17:52:49 +02:00
fc59fe72c9
rss: Output Content-Type header.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-14 17:46:50 +02:00
463a8792f0
Add test for space trimming in tags.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-14 17:30:36 +02:00
d4e037670f
Remove spaces in front of and after tags.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 17:19:52 +02:00
2880f7f461
CI: Fix build errors on Ubuntu 18.04.
All checks were successful
continuous-integration/drone/push Build is passing
libgit2-dev depends on libcurl4-gnutls-dev, CMake < 3.12 has no IMPORTED
target for libcurl.
2020-07-08 07:41:52 +02:00
bede02659d
Update FindFilesystem, re-enable support for CMake 3.10.
Some checks failed
continuous-integration/drone/push Build is failing
Also re-enable tests on Ubuntu bionic with GCC 7 and clang 6.
2020-07-08 06:13:09 +02:00
1af807e588
RSS generator: write_line(): Move endtag detection into lambda.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-07 06:30:35 +02:00
7518947766
RSS kinda works.
All checks were successful
continuous-integration/drone/push Build is passing
- ./gen_rss outputs all entries.
- tag selection is implemented, but not exposed to the user.
2020-07-05 12:06:37 +02:00
37ddff8c00
Update clang-format config. 2020-07-05 12:06:37 +02:00
fac9c60eb6
Add string-to-string time conversion. 2020-07-05 12:06:29 +02:00
8325da3624
[WIP] RSS support.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 09:06:45 +02:00
cfb79577ae
HTML generator: Sort by date.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 08:11:59 +02:00
2e164316dd
Add date & time to entries. 2020-07-05 08:01:30 +02:00
4c2db38cff
Update .clang-format to clang-10. 2020-07-05 07:50:04 +02:00
a2d762ff20
Move read_json_files() to files::. 2020-07-05 05:53:57 +02:00
dcf8053f2e
Fix warnings.
- Initialize variables and pointers.
- Enable automatic move in files::get_datadir().
- Remove unused using declarations and includes.
2020-07-05 05:53:26 +02:00
357c5b87a6
Add noindex tag to HTML output.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-04 09:43:45 +02:00
6cd60f848e
Update short description in readme.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-04 03:10:08 +02:00
22429c8175
Set required CMake version to 3.11.
Needed for FindFilesystem.
2020-07-04 02:14:20 +02:00
870039a7d6
HTML generator: Prettier HTML.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-02 11:50:04 +02:00
d4f4e8ae16
HTML generator: Make screenshots clickable. 2020-07-02 11:43:17 +02:00
92e137f3b2
Improve usage documentation.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-02 11:30:34 +02:00
7bdd65a3e9
Compatibility with nlohmann-json < 3.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-02 11:04:18 +02:00
eae3aa9bd4
HTML generator done.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-02 09:47:56 +02:00
20666bdf35
Start work on HTML generator.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-02 08:12:16 +02:00