From ee2d6c71e8bc50f6161e16e0a69dac3f694dbbef Mon Sep 17 00:00:00 2001 From: Maciej Pienczyn Date: Thu, 12 Mar 2026 12:05:15 +0100 Subject: [PATCH] chore: mark /aktualnosci route as deprecated, redirect links to /ogloszenia Co-Authored-By: Claude Opus 4.6 --- blueprints/public/routes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/blueprints/public/routes.py b/blueprints/public/routes.py index 519a4f2..5426f23 100644 --- a/blueprints/public/routes.py +++ b/blueprints/public/routes.py @@ -669,7 +669,8 @@ def search(): @bp.route('/aktualnosci') @login_required def events(): - """Company events and news - latest updates from member companies""" + """DEPRECATED (2026-03-12): Sekcja nieużywana, zastąpiona przez /ogloszenia (Announcements). + Route zachowany dla kompatybilności wstecznej - nie rozwijać.""" event_type_filter = request.args.get('type', '') company_id = request.args.get('company', type=int) page = request.args.get('page', 1, type=int) @@ -1027,7 +1028,7 @@ def _get_releases(): 'date': '7 marca 2026', 'badges': ['new', 'improve', 'fix'], 'links': { - 'Sekcja Aktualności': '/aktualnosci', + 'Sekcja Aktualności': '/ogloszenia', 'Ulepszona sztuczna inteligencja': '/chat', }, 'new': [ @@ -1631,7 +1632,7 @@ def _get_releases(): 'date': '26 stycznia 2026', 'badges': ['new'], 'links': { - 'Sekcja Aktualności': '/aktualnosci', + 'Sekcja Aktualności': '/ogloszenia', }, 'new': [ 'Sekcja Aktualności - wiadomości i ogłoszenia dla członków Izby',