mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-10 21:33:48 -05:00
Compare commits
1 Commits
3719b0cd0f
...
d37d403e04
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d37d403e04 |
@@ -32,7 +32,7 @@ RUN set -eux \
|
|||||||
# Purpose: Installs s6-overlay and rootfs
|
# Purpose: Installs s6-overlay and rootfs
|
||||||
# Comments:
|
# Comments:
|
||||||
# - Don't leave anything extra in here either
|
# - Don't leave anything extra in here either
|
||||||
FROM ghcr.io/astral-sh/uv:0.8.0-python3.12-bookworm-slim AS s6-overlay-base
|
FROM ghcr.io/astral-sh/uv:0.7.21-python3.12-bookworm-slim AS s6-overlay-base
|
||||||
|
|
||||||
WORKDIR /usr/src/s6
|
WORKDIR /usr/src/s6
|
||||||
|
|
||||||
@@ -265,4 +265,4 @@ ENTRYPOINT ["/init"]
|
|||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "-L", "--max-time", "2", "http://localhost:8000" ]
|
HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000" ]
|
||||||
|
@@ -32,6 +32,6 @@
|
|||||||
# Note that this is different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines
|
# Note that this is different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines
|
||||||
# the language used for OCR.
|
# the language used for OCR.
|
||||||
# The container installs English, German, Italian, Spanish and French by default.
|
# The container installs English, German, Italian, Spanish and French by default.
|
||||||
# See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names
|
# See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names&suite=buster
|
||||||
# for available languages.
|
# for available languages.
|
||||||
#PAPERLESS_OCR_LANGUAGES=tur ces
|
#PAPERLESS_OCR_LANGUAGES=tur ces
|
||||||
|
@@ -85,10 +85,7 @@ export const CUSTOM_FIELD_QUERY_OPERATOR_GROUPS_BY_TYPE = {
|
|||||||
CustomFieldQueryOperatorGroups.Exact,
|
CustomFieldQueryOperatorGroups.Exact,
|
||||||
CustomFieldQueryOperatorGroups.Date,
|
CustomFieldQueryOperatorGroups.Date,
|
||||||
],
|
],
|
||||||
[CustomFieldDataType.Boolean]: [
|
[CustomFieldDataType.Boolean]: [CustomFieldQueryOperatorGroups.Basic],
|
||||||
CustomFieldQueryOperatorGroups.Basic,
|
|
||||||
CustomFieldQueryOperatorGroups.Exact,
|
|
||||||
],
|
|
||||||
[CustomFieldDataType.Integer]: [
|
[CustomFieldDataType.Integer]: [
|
||||||
CustomFieldQueryOperatorGroups.Basic,
|
CustomFieldQueryOperatorGroups.Basic,
|
||||||
CustomFieldQueryOperatorGroups.Exact,
|
CustomFieldQueryOperatorGroups.Exact,
|
||||||
|
@@ -2490,7 +2490,7 @@ class BulkEditObjectsView(PassUserMixin):
|
|||||||
objs = object_class.objects.select_related("owner").filter(pk__in=object_ids)
|
objs = object_class.objects.select_related("owner").filter(pk__in=object_ids)
|
||||||
|
|
||||||
if not user.is_superuser:
|
if not user.is_superuser:
|
||||||
model_name = object_class._meta.model_name
|
model_name = object_class._meta.verbose_name
|
||||||
perm = (
|
perm = (
|
||||||
f"documents.change_{model_name}"
|
f"documents.change_{model_name}"
|
||||||
if operation == "set_permissions"
|
if operation == "set_permissions"
|
||||||
|
Reference in New Issue
Block a user