enable UTF8 encoding for STDOUT before filling and printing the thankyou template file with the user data
Reviewed-on: #5402
Co-authored-by: Tobias Diekershoff <tobiasd@fsfe.org>
Co-committed-by: Tobias Diekershoff <tobiasd@fsfe.org>
I do not expect the flag to be used much, but it enforces better code design, and prevents implicitly relying on cwd.
Just a general code style improvement really.
Co-authored-by: Darragh Elliott <me@delliott.net>
Co-authored-by: tobiasd <tobiasd@fsfe.org>
Reviewed-on: #5334
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
it is all minimized in bootstrap.min.js and bootstrap.custom.js
I am largely basing my belief that it is unused on the fact that
1. It looks like it is
2. I can find no mention or linking to it using `rg bootstrap/`. All matched entries are for other things
3. When I load the site and look in the console/debugger I see no errors associated with it.
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5398
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
# About
## Summary
Before we iterated over xhtml files by directory, and rss/ics ones by processor (xsl stylesheet).
This worked, but meant we had to pass the processor filepath to the processing functions, which meant we were reprocessing the xsl several times, probably hundred for some xsl's, like the default one for a site.
We now instead iterate by processor, pre parsing it before passing it to the processing code.
This gets us a significant speed increase (~30%), and makes the code a little cleaner.
# Benchmarks
## Before
```
Benchmark 1: uv run build --full
Time (mean ± σ): 269.798 s ± 12.501 s [User: 1566.724 s, System: 75.804 s]
Range (min … max): 262.183 s … 284.226 s 3 runs
```
## After
```
Benchmark 1: uv run build --full
Time (mean ± σ): 206.330 s ± 5.088 s [User: 498.556 s, System: 47.233 s]
Range (min … max): 202.760 s … 212.155 s 3 runs
```
Co-authored-by: Darragh Elliott <me@delliott.net>
Co-authored-by: tobiasd <tobiasd@fsfe.org>
Reviewed-on: #5397
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
prevent the fsfe logo floating over the menu stuff when pages are in an rtl language
eg arabic
Should fix #4255
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5399
Reviewed-by: tobiasd <tobiasd@fsfe.org>
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
In #5333 I added docker image caching using Gitea artifact Registry.
This turned out to be a waste of time, that actually slowed things down.
This is because the docker instance on the drone runner host actually caches the images internally anyway, so the time cost of downloading an image, rebuilding it and re pushing it was being paid for no reason or benefit.
This pr removes the caching, but does translate a step to ensure that the build docker container can be built in a pr, which is a good check to have pre merge to master.
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5392
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
Enable the building and pushing of docker containers on master, and then using them as a cache base in prs.
This should massively reduce the build times, and the load we are placing on other projects servers.
Depends on #5330
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5333
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
This should mean we can used cached docker images properly in future.
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5330
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251014-02-01-2cb07b7e1d057156.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5380
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251009-01-01-fd72c5a10e63d343.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Co-authored-by: tobiasd <tobiasd@fsfe.org>
Reviewed-on: #5379
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251009-02-01-33dd08b25cec6365.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5378
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251025-03-01-f92ae45e8c0f29b8.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Co-authored-by: anaghz <anaghz@fsfe.org>
Reviewed-on: #5373
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251108-04-01-7fd8cb41d3871930.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5372
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251025-01-01-1cde798d313267d3.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Co-authored-by: anaghz <anaghz@fsfe.org>
Reviewed-on: #5360
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251025-02-01-2ad0a4382bfe9caa.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Co-authored-by: anaghz <anaghz@fsfe.org>
Reviewed-on: #5370
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251009-01-01-d66d45f066a53585.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5371
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
Damian asked me to be his proxy for pushing this change
Signed-off-by: Damian Fajfer <dfajfer@fsfe.org>
Signed-off-by: Filip Kobierski <fkobi@fsfe.org>
Reviewed-on: #5361
This pr has been automatically generated by registerevent.php to merge ADD-event-20251107-08-01-203cdfd92f998c38.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5358
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>
This pr has been automatically generated by registerevent.php to merge ADD-event-20251107-07-01-f3683952bcff5bdc.
Co-authored-by: fsfe-website/cgi-bin/registerevent.php <syshackers@fsfe.org>
Reviewed-on: #5356
Co-authored-by: eventregbot <eventregbot@fsfe.org>
Co-committed-by: eventregbot <eventregbot@fsfe.org>