mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
Compare commits
1 Commits
chore/sona
...
l10n_dev
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4bfb605137 |
68
.github/workflows/ci.yml
vendored
68
.github/workflows/ci.yml
vendored
@@ -151,18 +151,6 @@ jobs:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: backend-python-${{ matrix.python-version }}
|
||||
files: coverage.xml
|
||||
- name: Upload coverage artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: backend-coverage-${{ matrix.python-version }}
|
||||
path: |
|
||||
.coverage
|
||||
coverage.xml
|
||||
junit.xml
|
||||
retention-days: 1
|
||||
include-hidden-files: true
|
||||
if-no-files-found: error
|
||||
- name: Stop containers
|
||||
if: always()
|
||||
run: |
|
||||
@@ -245,17 +233,6 @@ jobs:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: frontend-node-${{ matrix.node-version }}
|
||||
directory: src-ui/coverage/
|
||||
- name: Upload coverage artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: frontend-coverage-${{ matrix.shard-index }}
|
||||
path: |
|
||||
src-ui/coverage/lcov.info
|
||||
src-ui/coverage/coverage-final.json
|
||||
src-ui/junit.xml
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
tests-frontend-e2e:
|
||||
name: "Frontend E2E Tests (Node ${{ matrix.node-version }} - ${{ matrix.shard-index }}/${{ matrix.shard-count }})"
|
||||
runs-on: ubuntu-24.04
|
||||
@@ -336,51 +313,6 @@ jobs:
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: cd src-ui && pnpm run build --configuration=production
|
||||
sonarqube-analysis:
|
||||
name: "SonarQube Analysis"
|
||||
runs-on: ubuntu-24.04
|
||||
needs:
|
||||
- tests-backend
|
||||
- tests-frontend
|
||||
if: github.repository_owner == 'paperless-ngx'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Download all backend coverage
|
||||
uses: actions/download-artifact@v5.0.0
|
||||
with:
|
||||
pattern: backend-coverage-*
|
||||
path: ./coverage/
|
||||
- name: Download all frontend coverage
|
||||
uses: actions/download-artifact@v5.0.0
|
||||
with:
|
||||
pattern: frontend-coverage-*
|
||||
path: ./coverage/
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
|
||||
- name: Install coverage tools
|
||||
run: |
|
||||
pip install coverage
|
||||
npm install -g nyc
|
||||
# Merge backend coverage from all Python versions
|
||||
- name: Merge backend coverage
|
||||
run: |
|
||||
coverage combine coverage/backend-coverage-*/.coverage
|
||||
coverage xml -o merged-backend-coverage.xml
|
||||
# Merge frontend coverage from all shards
|
||||
- name: Merge frontend coverage
|
||||
run: |
|
||||
mkdir -p .nyc_output
|
||||
npx nyc merge coverage .nyc_output/out.json
|
||||
npx nyc report --reporter=lcovonly --report-dir coverage
|
||||
- name: SonarQube Analysis
|
||||
uses: SonarSource/sonarqube-scan-action@v5
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
build-docker-image:
|
||||
name: Build Docker image for ${{ github.ref_name }}
|
||||
runs-on: ubuntu-24.04
|
||||
|
@@ -1,25 +0,0 @@
|
||||
sonar.projectKey=paperless-ngx_paperless-ngx
|
||||
sonar.organization=paperless-ngx
|
||||
sonar.projectName=Paperless-ngx
|
||||
sonar.projectVersion=1.0
|
||||
|
||||
# Source and test directories
|
||||
sonar.sources=src/,src-ui/src/
|
||||
sonar.tests=src/,src-ui/src/
|
||||
sonar.test.inclusions=**/test_*.py,**/tests.py,**/*.spec.ts,**/*.test.ts
|
||||
|
||||
# Language specific settings
|
||||
sonar.python.version=3.10,3.11,3.12,3.13
|
||||
|
||||
# Coverage reports
|
||||
sonar.python.coverage.reportPaths=merged-backend-coverage.xml
|
||||
sonar.javascript.lcov.reportPaths=coverage/lcov.info
|
||||
|
||||
# Test execution reports
|
||||
sonar.junit.reportPaths=**/junit.xml,**/test-results.xml
|
||||
|
||||
# Encoding
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
||||
# Exclusions
|
||||
sonar.exclusions=**/migrations/**,**/node_modules/**,**/static/**,**/venv/**,**/.venv/**,**/dist/**
|
@@ -5192,7 +5192,7 @@
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">180</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Has storage path</target>
|
||||
<target state="translated">Té ruta emmagatzematge</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6417103744331194518" datatype="html">
|
||||
<source>Action type</source>
|
||||
@@ -7264,7 +7264,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">58</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Print</target>
|
||||
<target state="translated">Imprimir</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1418444397960583910" datatype="html">
|
||||
<source>More like this</source>
|
||||
@@ -7852,7 +7852,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>
|
||||
<context context-type="linenumber">1452</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Print failed.</target>
|
||||
<target state="translated">Impressió fallida.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6457245677384603573" datatype="html">
|
||||
<source>Error loading document for printing.</source>
|
||||
@@ -7860,7 +7860,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>
|
||||
<context context-type="linenumber">1460</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Error loading document for printing.</target>
|
||||
<target state="translated">Error carregant document per imprimir.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6085793215710522488" datatype="html">
|
||||
<source>An error occurred loading tiff: <x id="PH" equiv-text="err.toString()"/></source>
|
||||
@@ -10180,7 +10180,7 @@
|
||||
<context context-type="sourcefile">src/app/data/custom-field.ts</context>
|
||||
<context context-type="linenumber">55</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Long Text</target>
|
||||
<target state="translated">Text Llarg</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4460262093225954455" datatype="html">
|
||||
<source>Search score</source>
|
||||
|
@@ -5192,7 +5192,7 @@
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">180</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Has storage path</target>
|
||||
<target state="translated">Ima putanju za skladištenje</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6417103744331194518" datatype="html">
|
||||
<source>Action type</source>
|
||||
@@ -6874,7 +6874,7 @@
|
||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||
<context context-type="linenumber">257</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">WebSocket Connection</target>
|
||||
<target state="translated">WebSocket konekcija</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="8998179362936748717" datatype="html">
|
||||
<source>OK</source>
|
||||
@@ -6882,7 +6882,7 @@
|
||||
<context context-type="sourcefile">src/app/components/common/system-status-dialog/system-status-dialog.component.html</context>
|
||||
<context context-type="linenumber">261</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">OK</target>
|
||||
<target state="translated">OK</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6732151329960766506" datatype="html">
|
||||
<source>Copy Raw Error</source>
|
||||
@@ -7264,7 +7264,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">58</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Print</target>
|
||||
<target state="translated">Štampaj</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1418444397960583910" datatype="html">
|
||||
<source>More like this</source>
|
||||
@@ -7852,7 +7852,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>
|
||||
<context context-type="linenumber">1452</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Print failed.</target>
|
||||
<target state="translated">Štampanje nije uspelo.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6457245677384603573" datatype="html">
|
||||
<source>Error loading document for printing.</source>
|
||||
@@ -7860,7 +7860,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>
|
||||
<context context-type="linenumber">1460</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Error loading document for printing.</target>
|
||||
<target state="translated">Greška pri učitavanju dokumenta za štampanje.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6085793215710522488" datatype="html">
|
||||
<source>An error occurred loading tiff: <x id="PH" equiv-text="err.toString()"/></source>
|
||||
@@ -10181,7 +10181,7 @@
|
||||
<context context-type="sourcefile">src/app/data/custom-field.ts</context>
|
||||
<context context-type="linenumber">55</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Long Text</target>
|
||||
<target state="translated">Dugi tekst</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4460262093225954455" datatype="html">
|
||||
<source>Search score</source>
|
||||
|
@@ -3,7 +3,7 @@ msgstr ""
|
||||
"Project-Id-Version: paperless-ngx\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-09-14 03:21+0000\n"
|
||||
"PO-Revision-Date: 2025-09-14 03:22\n"
|
||||
"PO-Revision-Date: 2025-09-17 00:33\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Catalan\n"
|
||||
"Language: ca_ES\n"
|
||||
@@ -19,7 +19,7 @@ msgstr ""
|
||||
|
||||
#: documents/apps.py:8
|
||||
msgid "Documents"
|
||||
msgstr "documents"
|
||||
msgstr "Documents "
|
||||
|
||||
#: documents/filters.py:386
|
||||
msgid "Value must be valid JSON."
|
||||
@@ -750,7 +750,7 @@ msgstr "Selecciona"
|
||||
|
||||
#: documents/models.py:762
|
||||
msgid "Long Text"
|
||||
msgstr ""
|
||||
msgstr "Text Llarg"
|
||||
|
||||
#: documents/models.py:774
|
||||
msgid "data type"
|
||||
@@ -858,7 +858,7 @@ msgstr "té aquest corresponsal"
|
||||
|
||||
#: documents/models.py:1056
|
||||
msgid "has this storage path"
|
||||
msgstr ""
|
||||
msgstr "té aquesta ruta emmagatzematge"
|
||||
|
||||
#: documents/models.py:1060
|
||||
msgid "schedule offset days"
|
||||
@@ -1002,7 +1002,7 @@ msgstr "assigna títol"
|
||||
|
||||
#: documents/models.py:1227
|
||||
msgid "Assign a document title, must be a Jinja2 template, see documentation."
|
||||
msgstr ""
|
||||
msgstr "Asigna títol de doculent, ha de ser plantilla Jinja2, veure documentació."
|
||||
|
||||
#: documents/models.py:1235 paperless_mail/models.py:274
|
||||
msgid "assign this tag"
|
||||
|
@@ -3,7 +3,7 @@ msgstr ""
|
||||
"Project-Id-Version: paperless-ngx\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-09-14 03:21+0000\n"
|
||||
"PO-Revision-Date: 2025-09-14 03:22\n"
|
||||
"PO-Revision-Date: 2025-09-17 00:33\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Serbian (Latin)\n"
|
||||
"Language: sr_CS\n"
|
||||
@@ -750,7 +750,7 @@ msgstr "Odaberi"
|
||||
|
||||
#: documents/models.py:762
|
||||
msgid "Long Text"
|
||||
msgstr ""
|
||||
msgstr "Dugi tekst"
|
||||
|
||||
#: documents/models.py:774
|
||||
msgid "data type"
|
||||
@@ -858,7 +858,7 @@ msgstr "poseduje ovog korespondenta"
|
||||
|
||||
#: documents/models.py:1056
|
||||
msgid "has this storage path"
|
||||
msgstr ""
|
||||
msgstr "ima ovu putanju za skladištenje"
|
||||
|
||||
#: documents/models.py:1060
|
||||
msgid "schedule offset days"
|
||||
@@ -1002,7 +1002,7 @@ msgstr "dodeli naslov"
|
||||
|
||||
#: documents/models.py:1227
|
||||
msgid "Assign a document title, must be a Jinja2 template, see documentation."
|
||||
msgstr ""
|
||||
msgstr "Dodelite naslov dokumenta, mora biti Jinja2 šablon, pogledajte dokumentaciju."
|
||||
|
||||
#: documents/models.py:1235 paperless_mail/models.py:274
|
||||
msgid "assign this tag"
|
||||
|
@@ -3,7 +3,7 @@ msgstr ""
|
||||
"Project-Id-Version: paperless-ngx\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-09-14 03:21+0000\n"
|
||||
"PO-Revision-Date: 2025-09-14 03:22\n"
|
||||
"PO-Revision-Date: 2025-09-17 00:33\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Chinese Simplified\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -750,7 +750,7 @@ msgstr "选择"
|
||||
|
||||
#: documents/models.py:762
|
||||
msgid "Long Text"
|
||||
msgstr ""
|
||||
msgstr "Good"
|
||||
|
||||
#: documents/models.py:774
|
||||
msgid "data type"
|
||||
|
Reference in New Issue
Block a user