mirror of
https://github.com/sassanix/Warracker.git
synced 2025-12-31 18:49:39 -06:00
Fixes & Enhancements * Resolved five critical Apprise notification issues: • Ensured configuration reload during scheduled jobs • Fixed warranty data fetching for Apprise-only users • Refactored notification dispatch logic with dedicated helpers • Corrected handler scoping via Flask app context • Wrapped scheduler jobs with Flask app context to prevent context errors → Verified: Scheduled Apprise notifications now work reliably for "Apprise only" and "Both" channels. * Added support for SMTP\_FROM\_ADDRESS environment variable, allowing sender address customization independent of SMTP username. (PR #115) * Fixed duplicate scheduled notifications in multi-worker environments: • Strengthened should\_run\_scheduler() logic • Now guarantees exactly one scheduler instance across all Gunicorn modes. * Fixed stale database connection handling in scheduled jobs: • Fresh connection acquired each run, properly released via try/finally • Eliminates "server closed the connection" errors. * Definitive scheduler logic fix for all memory modes (ultra-light, optimized, performance): • Single-worker runs scheduler if GUNICORN\_WORKER\_ID is unset • Multi-worker: only worker 0 runs scheduler. Impact * Apprise and Email notifications are now stable, reliable, and production-ready * No more duplicate or missed notifications across all memory modes * Improved system efficiency and robustness
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
# Translations template for PROJECT.
|
|
# Copyright (C) 2025 ORGANIZATION
|
|
# This file is distributed under the same license as the PROJECT project.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: PROJECT VERSION\n"
|
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
"POT-Creation-Date: 2025-06-29 12:36-0300\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Generated-By: Babel 2.17.0\n"
|
|
|
|
#: backend/localization.py:177
|
|
msgid "Validation error"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:178
|
|
msgid "Authentication error"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:179
|
|
msgid "Authorization error"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:180
|
|
msgid "Resource not found"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:181
|
|
msgid "Internal server error"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:182
|
|
msgid "File is too large"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:183
|
|
msgid "Invalid file type"
|
|
msgstr ""
|
|
|
|
#: backend/localization.py:186
|
|
msgid "An error occurred"
|
|
msgstr ""
|
|
|