Commit Graph

18 Commits

Author SHA1 Message Date
Omar Sánchez Pizarro
5cc96a2371 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.
2026-01-19 21:24:46 +01:00
Omar Sánchez Pizarro
96db30ff00 Refactor TelegramManager and improve frontend article display
- Simplified inline keyboard button creation in TelegramManager for better readability.
- Adjusted the structure of the keyboard arrays to ensure proper formatting.
- Enhanced Articles.vue by cleaning up the layout and ensuring consistent spacing and alignment.
- Improved the handling of article display properties for better user experience.
2026-01-19 21:10:44 +01:00
Omar Sánchez Pizarro
c3ef3daf5e Refactor worker management and enhance configuration options
- Updated docker-compose.yml to allow read-write access for workers.json.
- Introduced WorkerManager class in wallamonitor.py to manage workers dynamically based on workers.json configuration.
- Enhanced Worker class to support controlled start/stop operations and updated general arguments.
- Improved Workers.vue to include a general configuration modal and refined UI for active and disabled workers.
- Added functionality for global filters and improved worker editing capabilities.
- Implemented methods for saving general configuration and deleting workers.
2026-01-19 21:00:59 +01:00
Omar Sánchez Pizarro
06e763c7ab as 2026-01-19 20:45:19 +01:00
Omar Sánchez Pizarro
a316844576 Refactor favorites management to use Redis
- Removed local favorites.json file and related file handling in the code.
- Implemented Redis caching for managing favorite articles, including methods to set, get, and check favorites.
- Updated TelegramManager and server API to interact with Redis for favorite operations.
- Added search functionality for articles in Redis, enhancing user experience.
- Adjusted frontend components to support searching and displaying articles from Redis.
2026-01-19 20:42:11 +01:00
Omar Sánchez Pizarro
9939c4d9ed Enhance caching mechanism and logging configuration
- Updated .gitignore to include additional IDE and OS files, as well as log and web build directories.
- Expanded config.sample.yaml to include cache configuration options for memory and Redis.
- Modified wallamonitor.py to load cache configuration and initialize ArticleCache.
- Refactored QueueManager to utilize ArticleCache for tracking notified articles.
- Improved logging setup to dynamically determine log file path based on environment.
2026-01-19 19:42:12 +01:00
Omar Sánchez Pizarro
b32b0b2e09 Implement WorkerConditions class for article filtering and refactor Worker to utilize it 2025-11-17 21:29:03 +01:00
Omar Sánchez Pizarro
f9274c4e57 remove chat_id
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-13 13:03:45 +02:00
Omar Sánchez Pizarro
4111f57564 add abstraction ob platform and article + vinted
"

Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 14:58:27 +02:00
Omar Sánchez Pizarro
b5178f415b queue to telegram retry
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 13:31:37 +02:00
Omar Sánchez Pizarro
60db36ba99 fix remove notified
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 11:40:32 +02:00
Omar Sánchez Pizarro
cf29b69733 fix
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 11:00:53 +02:00
Omar Sánchez Pizarro
fa79e53950 inline keyboard and move to channel with threads
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 02:45:55 +02:00
Omar Sánchez Pizarro
967f7e52a2 update path
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 00:29:55 +02:00
Omar Sánchez Pizarro
0245b603b2 feat: default values, general item excludes, images, queueManager to manage multi worker messaging to telegram to prevent too many connections
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 00:03:44 +02:00
danielhuici
08c1577b2a Add compatibility with new Wallapop API changes 2025-03-21 17:24:58 +01:00
danielhuici
d366222c27 Refactoring 2024-11-04 11:34:11 +01:00
danielhuici
9f28b791b4 Fix: bot not notifying new articles + minor refactor 2024-10-29 19:54:17 +01:00