Commit Graph

137 Commits

Author SHA1 Message Date
e1683b889e
Forgot a newline in HTML generator. 2020-11-15 21:18:16 +01:00
df45afe31b
Fix compatibility path generation in read_json_files().
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 21:16:30 +01:00
b8b2291298
Turn the size limit reported in exception into float.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 21:03:27 +01:00
5b5df1e494
Fix fmt include for Ubuntu bionic compatibility.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 20:50:47 +01:00
f23a562c1b
Allow more than 1 screenshot.
Some checks failed
continuous-integration/drone/push Build is failing
* 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
1407954ab9
Exit if REQUEST_METHOD is wrong.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 17:46:17 +01:00
8a0b8055c6
Put using blocks into main(). 2020-11-15 17:46:00 +01:00
8d8795c003
Remove argument handling in RSS generator. 2020-11-15 17:38:42 +01:00
4606d04780
Reformat. 2020-10-30 22:03:26 +01:00
d8a4bd37a4
RSS generator: Re-add atom:link tag.
I forgot it when switching to pugixml.
2020-10-30 17:46:20 +01:00
bfe2035907
Eliminate a few unnecessary variables in RSS generator. 2020-10-30 17:40:56 +01:00
52f0f4c73c
Only link pugixml into RSS generator. 2020-10-30 17:24:47 +01:00
851eb47987
Use pugixml for RSS generation.
Some checks failed
continuous-integration/drone/push Build is failing
Makes the whole thing easier to follow and change.
2020-10-30 17:11:55 +01:00
0580472bca
Limit the maximum width to 100 characters in the HTML list.
All checks were successful
continuous-integration/drone/push Build is passing
To make reading on wide screens easier.
2020-10-29 17:31:13 +01:00
1d0255f3af
Fix includes and namespaces in generators. 2020-10-29 14:45:53 +01:00
a97ba99814
Fix error with fmt 4.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-28 11:40:11 +01:00
c904108f4d
Use fmt::format for string formatting where it improves clarity.
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-28 11:01:08 +01:00
59d8f33cad
Add fmt to dependencies. 2020-10-28 10:01:33 +01:00
093de01e78
Make git forge and repos exchangeable.
All checks were successful
continuous-integration/drone/push Build is passing
We are still tied to Gitea because we use their API.
The string concatenation looks ugly, I think I'll change it later.
2020-10-27 17:50:14 +01:00
30e89d7bef
Improve explanation after successful submit. 2020-10-27 17:05:18 +01:00
aeeb06367e
Tell the user the filesize-limit if the screenshot is too big.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-27 14:23:03 +01:00
85a191c74d
Make HTML output more consistent.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 16:15:53 +02:00
7ac8ddb230
Check if required fields are filled in.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 16:05:26 +02:00
ffbc01a5da
Add link tag for RSS feed to HTML output.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 11:47:47 +02:00
f373dd3363
Allow more than one tag in argument in get_tags().
All checks were successful
continuous-integration/drone/push Build is passing
Because dynamic input fields are not implemented in the Web-UI, we use
one input field with commas for now.
2020-10-19 07:57:21 +02:00
a9885482f7
Don't return tag that is only spaces in string_to_vector(). 2020-10-19 07:54:35 +02:00
25b97c1683
Add date to blocklist entries.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 07:21:24 +02:00
59c629a0c5
Change the background-color of even entries in blocklist slightly.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 07:07:23 +02:00
4148c4795b
Make instance domains larger in blocklist.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 05:41:43 +02:00
3b9424b6af
The type attribute is unnecessary for JavaScript resources. 2020-10-18 09:10:19 +02:00
2b2401ce4e
Size the images using CSS in blocklist.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 08:15:47 +02:00
68373bca00
Make entries in blocklist hyperlinkable. Add hyperlinks to RSS.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 08:00:27 +02:00
0f3ffb4d99
Refactor CMake recipes a bit.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 03:20:26 +02:00
c7ad9ed5fe
Replace certain characters in descriptions.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 01:27:29 +02:00
2ecfeba803
Get the newest PRs when looking up the last PR number.
All checks were successful
continuous-integration/drone/push Build is passing
What was I thinking? 🤦
2020-10-17 08:31:28 +02:00
0f1844ab43
Add lang attribute to generated HTML.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 07:12:44 +02:00
cbb202510a
Fix HTML in generators.
All checks were successful
continuous-integration/drone/push Build is passing
Apparently lists can't be in inside paragraphs.
2020-10-17 07:07:48 +02:00
3af723abd8
Use unordered lists in HTML/RSS generators.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 05:26:17 +02:00
a37cf52cda
Make “thumbnails” a bit bigger in HTML/RSS generators. 2020-10-17 05:15:10 +02:00
56b3f1901a
Add license footer to HTML output.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 03:27:36 +02:00
2e0bfd98ff
Fix tag extraction.
All checks were successful
continuous-integration/drone/push Build is passing
Attempted to read deleted memory.
2020-10-17 03:15:40 +02:00
3b3a308c64
Prepend fediblock-backend- to gen_{html,rss} on install.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 02:22:18 +02:00
9b4b439432
Use caching for new entries.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 01:55:29 +02:00
395b8efef2
Don't add empty tags in get_tags(). 2020-10-16 23:52:08 +02:00
6bc1413b6d
rss: Fix URL in link element. 2020-10-15 09:10:25 +02:00
c3b5b71f14
rss: Better description and title.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-15 09:03:20 +02:00
250195924e
Throw better error if lockfile is not writable. 2020-10-15 08:39:09 +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