diff --git a/extras/gotosocial/css/night-owl.css b/assets/gotosocial/themes/night-owl.css similarity index 74% rename from extras/gotosocial/css/night-owl.css rename to assets/gotosocial/themes/night-owl.css index a12ce4d..132a9b3 100644 --- a/extras/gotosocial/css/night-owl.css +++ b/assets/gotosocial/themes/night-owl.css @@ -1,24 +1,21 @@ /* - * NIGHT OWL CSS THEME FOR GOTOSOCIAL - * - * -- Background Image -- - * - * The background image is called 'Photo of Starry Night' - * which you can download from Pexels here: - * https://www.pexels.com/photo/photo-of-starry-night-1421903/ - * - * To use the background image download it from Pexels and - * place it in the web assets directory as background.jpg. - * - * -- Font -- - * - * Karla can be found in found in Google Fonts here: - * https://fonts.google.com/specimen/Karla - * - * To use the font download a copy from Google Fonts, - * extract the TTF file and place it in the web assets/fonts - * directory. - * + theme-title: Night Owl + theme-description: The Night Owl CSS theme for Free Flow. +*/ + +/* + -- Background Image -- + + The background image is called 'Photo of Starry Night' + which you can download from Pexels here: + https://www.pexels.com/photo/photo-of-starry-night-1421903/ +*/ + +/* + -- Font -- + + Karla can be found in found in Google Fonts here: + https://fonts.google.com/specimen/Karla */ :root { @@ -33,6 +30,7 @@ --night-owl-button-dark: #000910; --avatar-border: var(--night-owl-dark-purple); + --status-header-background: linear-gradient(#545454, 5%, #0E0E0E); } @font-face { @@ -59,11 +57,11 @@ html, body { } .profile .col-header { - background: linear-gradient(#545454, 5%, #0E0E0E); + background: var(--status-header-background); } .thread .col-header { - background: linear-gradient(#545454, 5%, #0E0E0E); + background: var(--status-header-background); border: none; } diff --git a/templates/gotosocial/Dockerfile.gotmpl b/templates/gotosocial/Dockerfile.gotmpl index 06c03c1..4e23339 100644 --- a/templates/gotosocial/Dockerfile.gotmpl +++ b/templates/gotosocial/Dockerfile.gotmpl @@ -16,6 +16,7 @@ RUN --mount=type=bind,source=.,target=/packages \ && cp /packages/config.yaml /flow/gts/config/config.yaml \ && cp /packages/assets/images/background.jpg {{ .GoToSocial.WebBaseDirectory }}/assets/background.jpg \ && cp /packages/assets/fonts/* {{ .GoToSocial.WebBaseDirectory }}/assets/fonts/ \ + && cp /packages/assets/themes/* {{ .GoToSocial.WebBaseDirectory }}/assets/themes/ \ && chown -R {{ .GoToSocial.LinuxUID }}:{{ .FlowGID }} /flow/gts \ && chmod a+x /usr/local/bin/entrypoint \ && rm -rf /tmp/* diff --git a/templates/gotosocial/config.yaml.gotmpl b/templates/gotosocial/config.yaml.gotmpl index 1bc89a8..bb455be 100644 --- a/templates/gotosocial/config.yaml.gotmpl +++ b/templates/gotosocial/config.yaml.gotmpl @@ -979,6 +979,10 @@ advanced-rate-limit-requests: 300 # applied on their requests, and rate limit headers will not be # set for those requests. # +# For IPv6, we only take subnets up to a /64 into account. If you +# want to open up a larger prefix, you'll need to list multiple +# prefixes instead. +# # This can be useful in the following example cases (and probably # a bunch of others as well): # @@ -998,7 +1002,7 @@ advanced-rate-limit-requests: 300 # wide a range. If in doubt, be too restrictive rather than too # lenient, and adjust as you go. # -# Example: ["192.168.0.0/16"] +# Example: ["192.168.0.0/16", "2001:DB8:FACE:CAFE::/64"] # Default: [] advanced-rate-limit-exceptions: []