Refactor caching and Telegram integration

- Updated configuration to enforce Redis caching for notified articles, removing memory cache options.
- Enhanced wallamonitor.py to load Redis cache settings and handle errors more effectively.
- Implemented new API endpoints for clearing Redis cache and retrieving Telegram forum topics.
- Improved frontend components to support fetching and displaying available Telegram threads.
- Added functionality for clearing cache from the UI, ensuring better management of notified articles.
This commit is contained in:
Omar Sánchez Pizarro
2026-01-19 21:24:46 +01:00
parent 96db30ff00
commit 5cc96a2371
7 changed files with 382 additions and 88 deletions

View File

@@ -69,5 +69,17 @@ export default {
const response = await api.get('/config');
return response.data;
},
// Telegram
async getTelegramThreads() {
const response = await api.get('/telegram/threads');
return response.data;
},
// Cache
async clearCache() {
const response = await api.delete('/cache');
return response.data;
},
};