Commit Graph

59 Commits

Author SHA1 Message Date
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
9025e77cb2
Add more namespaces for clearer code.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-01 20:51:35 +02:00
778b958791
Remove temporary directory again.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-01 12:10:04 +02:00
85273e1b0d
Print data dir in debug output. 2020-07-01 12:00:36 +02:00
ba2d7d827e
Don't store whole path of screenshot in JSON. 2020-07-01 11:59:26 +02:00
0d1c1aeed9
Add correct file extension to screenshot. 2020-07-01 11:59:02 +02:00
539c706459
Compatibility for libgit2 < 0.99.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-01 11:41:52 +02:00
f371f1bd3d
git: Read SSH key from data dir.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-01 11:05:11 +02:00
1512be385e
Add get_datadir(). 2020-07-01 11:04:16 +02:00
da01142052
typo. 2020-07-01 10:48:12 +02:00
90545b0681
git: Add push().
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-01 10:24:38 +02:00
df60f738f4
git: Update repository HEAD in create_branch(). 2020-07-01 10:24:26 +02:00
ca61c1e391
Clone via SSH. 2020-07-01 10:23:35 +02:00
8af8115e24
Update branch prefix. 2020-07-01 10:17:32 +02:00
62ebbdbf0d
Compatibility with libgit2 < 0.28.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-01 09:22:36 +02:00
74e1471e49
Rename git functions, error checking with fewer steps.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-01 08:56:20 +02:00
542d1a865c
Add git namespace. 2020-07-01 08:50:16 +02:00
46921a6e95
Add make_commit(). 2020-07-01 08:48:36 +02:00
bf3a718986
A bit of cleanup. 2020-07-01 08:48:26 +02:00
afd1e058ed
add make_new_branch(). 2020-07-01 04:38:08 +02:00
c219aa80a5
git clone + brittle ID calculation.
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-01 03:51:00 +02:00
36ce7176c8
Make functions that create and return, remove the temporary dir. 2020-07-01 02:18:30 +02:00
399ee40571
Don't add empty elements to vector.
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-30 07:33:15 +02:00
45f69b1c75
Add tests for string_to_vector(). 2020-06-30 07:32:02 +02:00
b4c4393cd8
Add compatibility for GCC-7.
Some checks failed
continuous-integration/drone/push Build is failing
In GCC-7 filesystem is in std::experimental.
2020-06-29 23:15:14 +02:00
a9d3ab7aeb
Add std::filesystem helper to CMake recipe.
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-29 22:47:55 +02:00
8dd890c200
Add size limit for files.
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-29 22:41:55 +02:00
4ce4fdd4fd
Add support for screenshots.
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-06-29 22:37:09 +02:00
76c3e9ab00
Remove error reporting from string_to_vector().
Let the calling function (parse_formdata()) handle it.
2020-06-29 08:38:27 +02:00