Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/donations/views/common/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def get_ngo_archive_download_status(ngo: Ngo | None) -> dict:


def has_archive_generation_deadline_passed() -> bool:
if settings.UNLIMITED_CURRENT_YEAR_REDIRECTIONS_DOWNLOAD:
return False

if timezone.now().date() > edition_deadline() + datetime.timedelta(
days=settings.TIMEDELTA_REDIRECTIONS_LIMIT_DOWNLOAD_DAYS
):
Expand Down
384 changes: 192 additions & 192 deletions backend/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/redirectioneaza/settings/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ENABLE_FORMS_DOWNLOAD=(bool, True),
TIMEDELTA_FORMS_DOWNLOAD_MINUTES=(int, 6 * HOUR),
TIMEDELTA_REDIRECTIONS_LIMIT_DOWNLOAD_DAYS=(int, 31),
UNLIMITED_CURRENT_YEAR_REDIRECTIONS_DOWNLOAD=(bool, True),
DONATIONS_XML_LIMIT_PER_FILE=(int, 100),
DONATIONS_CSV_LIMIT_PER_FILE=(int, 1000),
# proxy headers
Expand Down
1 change: 1 addition & 0 deletions backend/redirectioneaza/settings/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
ENABLE_FORMS_DOWNLOAD = env.bool("ENABLE_FORMS_DOWNLOAD", True)
TIMEDELTA_FORMS_DOWNLOAD_MINUTES = env.int("TIMEDELTA_FORMS_DOWNLOAD_MINUTES")
TIMEDELTA_REDIRECTIONS_LIMIT_DOWNLOAD_DAYS = env.int("TIMEDELTA_REDIRECTIONS_LIMIT_DOWNLOAD_DAYS")
UNLIMITED_CURRENT_YEAR_REDIRECTIONS_DOWNLOAD = env.bool("UNLIMITED_CURRENT_YEAR_REDIRECTIONS_DOWNLOAD")

FORCE_PARTNER = False
if DEBUG:
Expand Down
816 changes: 425 additions & 391 deletions backend/uv.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docker/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG NODE_VERSION=24.14.1
ARG NODE_VERSION=24.18.0
# Python 3.14 introduced a new GC which has some memory issues:
# https://discuss.python.org/t/reverting-the-incremental-gc-in-python-3-14-and-3-15/107014
ARG PYTHON_VERSION=3.13.13
ARG S6_OVERLAY_VERSION=3.2.2.0
ARG PYTHON_VERSION=3.13.14
ARG S6_OVERLAY_VERSION=3.2.3.0


FROM node:${NODE_VERSION}-alpine AS frontend
Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NODE_VERSION=24.14.1
ARG S6_OVERLAY_VERSION=3.2.2.0
ARG NODE_VERSION=24.18.0
ARG S6_OVERLAY_VERSION=3.2.3.0

FROM node:${NODE_VERSION}-trixie-slim

Expand Down
Loading