Commit Graph

87 Commits

Author SHA1 Message Date
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
4d3a574434
Add get_cachedir().
Preparation for caching the repository.
2020-10-13 18:55:12 +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
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
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
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
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
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
b91cba19d8
Add json::from_json(). 2020-07-02 08:09:45 +02:00
96b8967f24
Move types to types.hpp. 2020-07-02 08:08:56 +02:00
16821fd90c
Simplify CMake config by making a reusable library.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-02 06:54:54 +02:00
f522c9ae45
Clean up everything.
All checks were successful
continuous-integration/drone/push Build is passing
* More efficient.
* More readable.
* Errors are reported to the user.
2020-07-02 03:20:27 +02:00
60e56984c2
Compatibility with older nlohmann-json.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-02 02:07:52 +02:00
c6d6625fa1
Tell users when an error happened.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-02 01:39:19 +02:00
d7471e2533
Fix PR number acquisition. 2020-07-02 01:38:03 +02:00
5c6a6414f2
Cleanup main().
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-02 01:26:47 +02:00
b1224b82b5
Use PR numbers instead of branch names to determine IDs. 2020-07-02 01:17:08 +02:00
24d9e419fa
Add pull requests via Gitea API. 2020-07-02 00:19:18 +02:00
772d982ea8
Add json::pull_request_body(). 2020-07-02 00:18:40 +02:00
119d304164
Add files::get_access_token(). 2020-07-02 00:18:16 +02:00
9d043bec3f
Made git branch iteration more compact. 2020-07-01 22:10:58 +02:00
09e31b676c
Report branch URL. 2020-07-01 22:10:11 +02:00