fix: authenticate weblate requests (#6790)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Seth Falco
2021-07-25 17:53:41 +02:00
committed by GitHub
parent 1e72d5e905
commit bd6f4ee146
12 changed files with 71 additions and 36 deletions

View File

@@ -219,6 +219,21 @@ access to your private nexus repositories.
Register an application in the [Twitch developer console](https://dev.twitch.tv/console)
in order to obtain a client id and a client secret for making Twitch API calls.
### Weblate
- `WEBLATE_ORIGINS` (yml: `public.services.weblate.authorizedOrigins`)
- `WEBLATE_API_KEY` (yml: `private.weblate_api_key`)
By default Weblate throttles [unauthenticated request][weblate authentication]
to only 100 requests per day, after this you will need an API key or else
badges will stop working.
You can find your Weblate API key in your profile under
["API access"][weblate api key location].
[weblate authentication]: https://docs.weblate.org/en/latest/api.html#authentication-and-generic-parameters
[weblate api key location]: https://hosted.weblate.org/accounts/profile/#api
### Wheelmap
- `WHEELMAP_TOKEN` (yml: `private.wheelmap_token`)