Commit Graph

10 Commits

Author SHA1 Message Date
DJObleezy
3c8bc908df Add timezone awareness to NotificationService
Introduce _get_current_time and _parse_timestamp methods
to handle timezone-aware datetime management. Replace
instances of datetime.now() with the new method to ensure
consistent timestamp handling throughout the class.
2025-04-25 05:33:00 -07:00
DJObleezy
54957babc3 Enhance services and improve code structure
- Added health check for Redis in `docker-compose.yml`.
- Introduced new environment variables for the dashboard service.
- Updated Redis dependency condition for the dashboard service.
- Modified Dockerfile to use Python 3.9.18 and streamlined directory creation.
- Enhanced `minify.py` with logging and improved error handling.
- Added methods in `OceanData` and `WorkerData` for better data handling.
- Improved error handling and logging in `NotificationService`.
- Refactored `BitcoinProgressBar.js` for better organization and theme support.
- Updated `blocks.js` with new helper functions for block data management.
- Enhanced `dashboard.html` for improved display of network stats.
2025-04-23 21:56:25 -07:00
DJObleezy
5664e44cd9 Refactor daily stats posting logic
Updated the `_should_post_daily_stats` method to clarify that it checks for posting once per day at 12 PM. Simplified the logic to focus solely on this target time, requiring it to be a different day and within the first 5 minutes of 12 PM for posting. Adjusted the first-time posting condition to specifically check for 12 PM.
2025-04-15 21:31:19 -07:00
DJObleezy
4be19833d7
Add files via upload 2025-04-09 11:46:24 -07:00
DJObleezy
605d7f15c0
Delete notification_service.py 2025-04-09 11:44:48 -07:00
DJObleezy
1416cf2bf5
Update notification_service.py 2025-04-02 13:39:33 -07:00
DJObleezy
49f696b136
Update notification_service.py 2025-03-28 19:42:19 -07:00
DJObleezy
dd10921534
Update notification_service.py 2025-03-26 08:02:21 -07:00
DJObleezy
c92c22cf04
Update notification_service.py 2025-03-25 20:44:46 -07:00
DJObleezy
3566f2127c
Add files via upload 2025-03-25 13:33:54 -07:00