forked from glitch-soc/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,312 changed files
with
13,042 additions
and
9,863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
ignore: | ||
# devise-two-factor advisory about brute-forcing TOTP | ||
# We have rate-limits on authentication endpoints in place (including second | ||
# factor verification) since Mastodon v3.2.0 | ||
- CVE-2024-0227 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Build security nightly container image | ||
on: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
jobs: | ||
compute-suffix: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: version_vars | ||
env: | ||
TZ: Etc/UTC | ||
run: | | ||
echo mastodon_version_prerelease=nightly.$(date --date='next day' +'%Y-%m-%d')-security>> $GITHUB_OUTPUT | ||
outputs: | ||
prerelease: ${{ steps.version_vars.outputs.mastodon_version_prerelease }} | ||
|
||
build-image: | ||
needs: compute-suffix | ||
uses: ./.github/workflows/build-container-image.yml | ||
with: | ||
file_to_build: Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
use_native_arm64_builder: false | ||
cache: false | ||
push_to_images: | | ||
ghcr.io/${{ github.repository_owner }}/mastodon | ||
version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }} | ||
labels: | | ||
org.opencontainers.image.description=Nightly build image used for testing purposes | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=raw,value=edge | ||
type=raw,value=nightly | ||
type=raw,value=${{ needs.compute-suffix.outputs.prerelease }} | ||
secrets: inherit | ||
|
||
build-image-streaming: | ||
needs: compute-suffix | ||
uses: ./.github/workflows/build-container-image.yml | ||
with: | ||
file_to_build: streaming/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
use_native_arm64_builder: false | ||
cache: false | ||
push_to_images: | | ||
ghcr.io/${{ github.repository_owner }}/mastodon-streaming | ||
version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }} | ||
labels: | | ||
org.opencontainers.image.description=Nightly build image used for testing purposes | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=raw,value=edge | ||
type=raw,value=nightly | ||
type=raw,value=${{ needs.compute-suffix.outputs.prerelease }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
# This configuration was generated by | ||
# `haml-lint --auto-gen-config` | ||
# on 2023-12-15 11:02:19 -0500 using Haml-Lint version 0.52.0. | ||
# on 2024-01-09 11:30:07 -0500 using Haml-Lint version 0.53.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the lints are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of Haml-Lint, may require this file to be generated again. | ||
|
||
linters: | ||
# Offense count: 11 | ||
# Offense count: 1 | ||
LineLength: | ||
exclude: | ||
- 'app/views/admin/roles/_form.html.haml' | ||
- 'app/views/auth/registrations/edit.html.haml' | ||
- 'app/views/auth/registrations/new.html.haml' | ||
- 'app/views/media/player.html.haml' | ||
- 'app/views/settings/applications/_fields.html.haml' | ||
- 'app/views/settings/imports/index.html.haml' | ||
- 'app/views/settings/preferences/appearance/show.html.haml' | ||
- 'app/views/settings/preferences/notifications/show.html.haml' | ||
- 'app/views/settings/preferences/other/show.html.haml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.10 | ||
20.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.