Bereinigen und Entfernen von nicht mehr benötigten TinyMCE-Dateien und -Plugins; Aktualisierung der Internationalisierung für Deutsch und Englisch in den Falukant- und Navigationsmodulen; Verbesserung der Statusleiste und Router-Implementierung.

This commit is contained in:
Torsten Schulz (local)
2025-08-21 16:10:21 +02:00
parent 53c748a074
commit 3eb7ae4e93
170 changed files with 3850 additions and 7924 deletions

View File

@@ -71,6 +71,8 @@ router.post('/politics/open', falukantController.applyForElections);
router.get('/cities', falukantController.getRegions);
router.get('/underground/types', falukantController.getUndergroundTypes);
router.get('/notifications', falukantController.getNotifications);
router.get('/notifications/all', falukantController.getAllNotifications);
router.post('/notifications/mark-shown', falukantController.markNotificationsShown);
router.get('/underground/targets', falukantController.getUndergroundTargets);
router.post('/underground/activities', falukantController.createUndergroundActivity);
router.get('/users/search', falukantController.searchUsers);

View File

@@ -0,0 +1,22 @@
import express from 'express';
import match3Controller from '../controllers/match3Controller.js';
import { authenticate } from '../middleware/authMiddleware.js';
const router = express.Router();
// Alle Routen erfordern Authentifizierung
router.use(authenticate);
// Kampagnen-Routen
router.get('/campaigns', match3Controller.getCampaigns);
router.get('/campaigns/:campaignId', match3Controller.getCampaign);
// Benutzer-Fortschritt
router.get('/campaigns/:campaignId/progress', match3Controller.getUserProgress);
router.post('/campaigns/:campaignId/levels/:levelId/progress', match3Controller.updateLevelProgress);
// Bestenliste und Statistiken
router.get('/campaigns/:campaignId/leaderboard', match3Controller.getLeaderboard);
router.get('/stats', match3Controller.getUserStats);
export default router;