mirror of
https://github.com/Radarr/Radarr
synced 2026-05-08 15:11:15 +02:00
Merge remote-tracking branch 'origin/develop' into feature/indexer-management
This commit is contained in:
commit
6328e72c96
9 changed files with 193 additions and 21 deletions
60
.github/dependabot.yml
vendored
60
.github/dependabot.yml
vendored
|
|
@ -1,12 +1,54 @@
|
||||||
# To get started with Dependabot version updates, you'll need to specify which
|
# Dependabot configuration for automated dependency updates
|
||||||
# package ecosystems to update and where the package manifests are located.
|
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
|
||||||
# Please see the documentation for more information:
|
|
||||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
||||||
# https://containers.dev/guide/dependabot
|
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "devcontainers"
|
# NuGet (.NET packages)
|
||||||
directory: "/"
|
- package-ecosystem: nuget
|
||||||
schedule:
|
directory: /
|
||||||
interval: weekly
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
day: monday
|
||||||
|
open-pull-requests-limit: 5
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
- .net
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
|
|
||||||
|
# npm (frontend)
|
||||||
|
- package-ecosystem: npm
|
||||||
|
directory: /frontend
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
day: monday
|
||||||
|
open-pull-requests-limit: 5
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
- frontend
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
|
|
||||||
|
# Docker (base images)
|
||||||
|
- package-ecosystem: docker
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
day: monday
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
- docker
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
|
|
||||||
|
# GitHub Actions
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
day: monday
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
- ci
|
||||||
|
commit-message:
|
||||||
|
prefix: "ci(deps)"
|
||||||
|
|
|
||||||
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
echo "DATE=$(date --rfc-3339=date)" >> "$GITHUB_ENV"
|
echo "DATE=$(date --rfc-3339=date)" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Cache NuGet packages
|
- name: Cache NuGet packages
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: _cache/nuget
|
path: _cache/nuget
|
||||||
key: nuget-${{ runner.os }}-${{ hashFiles('src/Directory.Packages.props', 'src/**/*.csproj', 'global.json') }}
|
key: nuget-${{ runner.os }}-${{ hashFiles('src/Directory.Packages.props', 'src/**/*.csproj', 'global.json') }}
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
nuget-${{ runner.os }}-
|
nuget-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Cache Node modules
|
- name: Cache Node modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
_cache/node
|
_cache/node
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
node-${{ runner.os }}-
|
node-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Cache MSBuild outputs
|
- name: Cache MSBuild outputs
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: _cache/msbuild
|
path: _cache/msbuild
|
||||||
key: msbuild-${{ runner.os }}-${{ hashFiles('src/**/*.cs', 'src/**/*.csproj', 'src/**/*.targets', 'src/**/*.props') }}
|
key: msbuild-${{ runner.os }}-${{ hashFiles('src/**/*.cs', 'src/**/*.csproj', 'src/**/*.targets', 'src/**/*.props') }}
|
||||||
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
msbuild-${{ runner.os }}-
|
msbuild-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Cache Webpack
|
- name: Cache Webpack
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: _cache/webpack
|
path: _cache/webpack
|
||||||
key: webpack-${{ runner.os }}-${{ hashFiles('frontend/src/**/*', 'yarn.lock') }}
|
key: webpack-${{ runner.os }}-${{ hashFiles('frontend/src/**/*', 'yarn.lock') }}
|
||||||
|
|
@ -118,7 +118,7 @@ jobs:
|
||||||
reporttypes: "HtmlInline;Cobertura;TextSummary"
|
reporttypes: "HtmlInline;Cobertura;TextSummary"
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v5
|
||||||
if: always()
|
if: always()
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/label-actions.yml
vendored
2
.github/workflows/label-actions.yml
vendored
|
|
@ -12,6 +12,6 @@ jobs:
|
||||||
action:
|
action:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/label-actions@v3
|
- uses: dessant/label-actions@v5
|
||||||
with:
|
with:
|
||||||
process-only: 'issues'
|
process-only: 'issues'
|
||||||
|
|
|
||||||
50
.github/workflows/sonarcloud.yml
vendored
Normal file
50
.github/workflows/sonarcloud.yml
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
# SonarCloud analysis for code quality and security
|
||||||
|
#
|
||||||
|
# Setup required:
|
||||||
|
# 1. Create project at sonarcloud.io using your GitHub account
|
||||||
|
# 2. Add SONAR_TOKEN secret to repository (Settings > Secrets > Actions)
|
||||||
|
# 3. Update projectKey and organization below
|
||||||
|
|
||||||
|
name: SonarCloud
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [develop, main]
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check for SONAR_TOKEN
|
||||||
|
id: check-secret
|
||||||
|
run: |
|
||||||
|
if [ -n "${{ secrets.SONAR_TOKEN }}" ]; then
|
||||||
|
echo "available=true" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "available=false" >> $GITHUB_OUTPUT
|
||||||
|
echo "::warning::SONAR_TOKEN not configured - skipping SonarCloud scan"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
if: steps.check-secret.outputs.available == 'true'
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: SonarCloud Scan
|
||||||
|
if: steps.check-secret.outputs.available == 'true'
|
||||||
|
uses: SonarSource/sonarcloud-github-action@v2
|
||||||
|
env:
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: >
|
||||||
|
-Dsonar.projectKey=cheir-mneme_aletheia
|
||||||
|
-Dsonar.organization=cheir-mneme
|
||||||
|
-Dsonar.sources=src
|
||||||
|
-Dsonar.exclusions=**/node_modules/**,**/bin/**,**/obj/**,**/*.min.js
|
||||||
38
.github/workflows/super-linter.yml
vendored
Normal file
38
.github/workflows/super-linter.yml
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Super Linter for code quality checks on changed files
|
||||||
|
# https://github.com/super-linter/super-linter
|
||||||
|
|
||||||
|
name: Lint Code Base
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [develop, main]
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
statuses: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Lint Code Base
|
||||||
|
uses: super-linter/super-linter/slim@v6
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
DEFAULT_BRANCH: develop
|
||||||
|
VALIDATE_ALL_CODEBASE: false
|
||||||
|
# Disable linters not needed or handled elsewhere
|
||||||
|
VALIDATE_CSHARP: false
|
||||||
|
VALIDATE_JSCPD: false
|
||||||
|
VALIDATE_NATURAL_LANGUAGE: false
|
||||||
|
VALIDATE_MARKDOWN: false
|
||||||
|
VALIDATE_GITLEAKS: false
|
||||||
|
VALIDATE_CHECKOV: false
|
||||||
|
VALIDATE_GITHUB_ACTIONS: false
|
||||||
41
.github/workflows/trivy.yml
vendored
Normal file
41
.github/workflows/trivy.yml
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
# Trivy vulnerability scanner
|
||||||
|
# Scans for CVEs in filesystem/dependencies and uploads to GitHub Security tab
|
||||||
|
# Note: Image scanning requires built artifacts, use release workflow for that
|
||||||
|
|
||||||
|
name: Trivy Security Scan
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [develop, main]
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 6 * * 1' # Weekly on Monday at 6am UTC
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
actions: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
scan:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Run Trivy filesystem scanner
|
||||||
|
uses: aquasecurity/trivy-action@master
|
||||||
|
with:
|
||||||
|
scan-type: 'fs'
|
||||||
|
scan-ref: '.'
|
||||||
|
format: 'sarif'
|
||||||
|
output: 'trivy-results.sarif'
|
||||||
|
severity: 'CRITICAL,HIGH'
|
||||||
|
ignore-unfixed: true
|
||||||
|
|
||||||
|
- name: Upload Trivy results to GitHub Security
|
||||||
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
sarif_file: 'trivy-results.sarif'
|
||||||
4
CLA.md
4
CLA.md
|
|
@ -1,6 +1,6 @@
|
||||||
# Radarr Individual Contributor License Agreement #
|
# Aletheia Individual Contributor License Agreement #
|
||||||
|
|
||||||
Thank you for your interest in contributing to Radarr ("We" or "Us").
|
Thank you for your interest in contributing to Aletheia ("We" or "Us").
|
||||||
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please complete the form below. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
|
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please complete the form below. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
|
||||||
|
|
||||||
## 1. Definitions ##
|
## 1. Definitions ##
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
<PackageReference Include="System.ServiceProcess.ServiceController" Version="8.0.1" />
|
<PackageReference Include="System.ServiceProcess.ServiceController" Version="8.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
|
||||||
<Compile Update="EnsureThat\Resources\ExceptionMessages.Designer.cs">
|
<Compile Update="EnsureThat\Resources\ExceptionMessages.Designer.cs">
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
|
|
|
||||||
|
|
@ -4344,9 +4344,9 @@ jquery@3.7.1:
|
||||||
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
|
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
|
||||||
|
|
||||||
js-yaml@^4.1.0:
|
js-yaml@^4.1.0:
|
||||||
version "4.1.0"
|
version "4.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b"
|
||||||
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
|
integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse "^2.0.1"
|
argparse "^2.0.1"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue