Commit Graph

18 Commits

Author SHA1 Message Date
tastytea f23a562c1b
Allow more than 1 screenshot.
continuous-integration/drone/push Build is failing Details
* New screenshot naming: branchname-N.extension (the “-N” ist new).
* In JSON file: Array of strings instead of string, “screenshots”
  instead of “screenshot”.
* Old format is still supported.
2020-11-15 20:30:42 +01:00
tastytea a97ba99814
Fix error with fmt 4.
continuous-integration/drone/push Build is passing Details
2020-10-28 11:40:11 +01:00
tastytea c904108f4d
Use fmt::format for string formatting where it improves clarity.
continuous-integration/drone/push Build is failing Details
2020-10-28 11:01:08 +01:00
tastytea 250195924e
Throw better error if lockfile is not writable. 2020-10-15 08:39:09 +02:00
tastytea 2502081574
Throw if lockfile can't be created for 20 seconds.
Also make create_lockfile() boolean.
2020-10-14 02:35:38 +02:00
tastytea f363ebacb8
Add cache option to read_json_files(). 2020-10-13 23:17:20 +02:00
tastytea 2cf7e6a245
Remove redundant filesystem include.
continuous-integration/drone/push Build is passing Details
2020-10-13 20:58:45 +02:00
tastytea 62f638c70f
Add get_lockfile(), create_lockfile() and remove_lockfile().
continuous-integration/drone/push Build is failing Details
Preparation for caching the repository.
2020-10-13 20:41:03 +02:00
tastytea 4d3a574434
Add get_cachedir().
Preparation for caching the repository.
2020-10-13 18:55:12 +02:00
tastytea cfb79577ae
HTML generator: Sort by date.
continuous-integration/drone/push Build is passing Details
2020-07-05 08:11:59 +02:00
tastytea a2d762ff20
Move read_json_files() to files::. 2020-07-05 05:53:57 +02:00
tastytea 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
tastytea eae3aa9bd4
HTML generator done.
continuous-integration/drone/push Build is failing Details
2020-07-02 09:47:56 +02:00
tastytea f522c9ae45
Clean up everything.
continuous-integration/drone/push Build is passing Details
* More efficient.
* More readable.
* Errors are reported to the user.
2020-07-02 03:20:27 +02:00
tastytea 119d304164
Add files::get_access_token(). 2020-07-02 00:18:16 +02:00
tastytea 9025e77cb2
Add more namespaces for clearer code.
continuous-integration/drone/push Build is passing Details
2020-07-01 20:51:35 +02:00
tastytea 1512be385e
Add get_datadir(). 2020-07-01 11:04:16 +02:00
tastytea 36ce7176c8
Make functions that create and return, remove the temporary dir. 2020-07-01 02:18:30 +02:00