mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-05 19:20:21 -06:00
- Add cache invalidation to update_entry API endpoint - Add cache invalidation to edit_timer route - Add cache invalidation to delete_entry API endpoint - Add cache invalidation to delete_timer route - Add cache invalidation to create_entry API endpoint The dashboard caches data for 5 minutes, but the cache was not being invalidated when time entries were modified. This caused the 'Recent Entries' table to show stale duration values until the cache expired or the browser tab was refreshed. Now the dashboard cache is immediately invalidated whenever a time entry is created, updated, or deleted, ensuring users see the latest data without waiting for cache expiration.
20 lines
468 B
Python
20 lines
468 B
Python
"""
|
|
Setup configuration for TimeTracker application.
|
|
This allows the app to be installed as a package for testing.
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='timetracker',
|
|
version='4.4.1',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
# Core requirements are in requirements.txt
|
|
# This file is mainly for making the app importable during testing
|
|
],
|
|
python_requires='>=3.11',
|
|
)
|
|
|