Commit graph

252 commits

Author SHA1 Message Date
f45864c786 Fix random Mypy errors 2025-08-04 00:12:47 +02:00
2ff314ecc8 Improve HTML on profile and game details 2025-08-04 00:01:34 +02:00
4af2b02a01 Allow subscribe to orgs 2025-08-02 05:45:20 +02:00
fabc9d23f6 Add support for subscribing to games 2025-08-02 04:46:36 +02:00
c447abc6fe Make HTML more simple 2025-08-02 04:03:28 +02:00
0dd8a5ec49 Add django_tables2 2025-08-01 22:18:20 +02:00
245896aa06 Refactor views 2025-08-01 20:24:44 +02:00
48f5730bbb Prefetch and prerender all the sites 2025-08-01 00:35:29 +02:00
1a015f102c Refactor import command 2025-07-31 23:53:57 +02:00
cf1f78a813 Add Mypy to dependencies 2025-07-30 21:15:16 +02:00
ad0bab1cdc Fix spelling mistakes 2025-07-30 19:27:25 +02:00
fe86aabd71 Refactor import command 2025-07-30 18:39:51 +02:00
998c6703d8 WIP: Refactor JSON importer 2025-07-30 05:11:57 +02:00
05465f548a Add PostgreSQL configuration 2025-07-30 03:21:55 +02:00
d919ed95b8 Remove dry-run option from clean playback token files command and enhance output logging 2025-07-24 21:32:57 +02:00
8f4e851fb9 Refactor and remove tests, update models and views
- Deleted all test files in accounts and twitch apps to clean up the codebase.
- Updated the DropCampaign, Game, Organization, DropBenefit, TimeBasedDrop, and DropBenefitEdge models to include database indexing for improved query performance.
- Modified the DropCampaignListView and GameDetailView to remove unnecessary status filtering and streamline campaign retrieval logic.
- Enhanced the campaign detail template to properly format campaign descriptions.
- Adjusted the import_drop_campaign management command to increase default worker and batch sizes for improved performance.
- Cleaned up the admin configuration for DropCampaign and TimeBasedDrop models.
2025-07-24 02:40:59 +02:00
547d4e6ab1 Debloat HTML 2025-07-24 01:27:31 +02:00
c7c2d86ddb Refactor dashboard view to group active campaigns by organization and game 2025-07-23 14:29:35 +02:00
c4eedfd367 Increase per_page_options 2025-07-23 14:11:41 +02:00
0fbb38b2d7 Add pagination functionality to campaign list view 2025-07-21 19:26:44 +02:00
c25236bc07 Refactor profile and base templates for improved clarity and consistency 2025-07-21 15:38:52 +02:00
faddc4c9b0 Implement user authentication system with custom user model, views, and templates
- Created custom User model extending Django's AbstractUser.
- Added user registration, login, and profile views with corresponding templates.
- Implemented user authentication functionality and integrated Bootstrap for styling.
- Updated project settings to use the new accounts app and user model.
- Added tests for user model and admin functionality.
2025-07-21 02:57:44 +02:00
432d2b7707 Clean README 2025-07-21 01:48:40 +02:00
84863d8d87 Add Django static files directory to .gitignore 2025-07-21 01:47:34 +02:00
0e6b703768 Refactor campaign card rendering logic for improved clarity and consistency 2025-07-10 05:48:44 +02:00
a0ecd2be37 Update asgiref package version to 3.9.1 and corresponding sdist and wheel URLs 2025-07-10 05:42:41 +02:00
661ed9de46 Refactor campaign list layout for improved styling and responsiveness 2025-07-10 05:42:37 +02:00
fa7c8caa10 Add tests for GameDetailView to validate expired campaign filtering 2025-07-10 05:16:25 +02:00
3fb0880271 Refactor campaign name handling to use clean_name property for improved clarity and consistency across templates 2025-07-10 05:10:09 +02:00
08da2cf7da Remove hover effects from campaign cards for a cleaner design 2025-07-10 05:04:13 +02:00
376b267064 Refactor campaign card layout for improved responsiveness and visual consistency 2025-07-10 04:41:57 +02:00
3354814260 Update dashboard and base templates for improved layout and styling consistency 2025-07-10 04:39:51 +02:00
b8a1cc4ff4 Refactor HTML and Python code for improved readability and consistency 2025-07-10 04:31:57 +02:00
250aaac2a0 Enhance game list view to group games by organization and improve performance with optimized queries 2025-07-10 04:31:28 +02:00
3ee93d3471 Optimize GameListView to annotate games with campaign counts, reducing N+1 queries. 2025-07-10 04:17:04 +02:00
fdad881d1e Update GameDetailView to show all past campaigns for a game 2025-07-10 04:13:59 +02:00
8bde9716e6 Add command to validate JSON files and move invalid ones to an error directory 2025-07-10 04:01:19 +02:00
e4b8c91b73 Add management command to clean PlaybackAccessToken response files 2025-07-10 04:01:09 +02:00
c995c82dcb Add game list and detail views with templates for Twitch Drops Tracker 2025-07-10 03:09:27 +02:00
1e484c5511 Enhance import command with parallel processing and retry logic for database operations 2025-07-10 02:59:21 +02:00
597da47a60 Enhance import command to support directory processing and file management 2025-07-10 01:55:48 +02:00
5c482c1729 feat: Add Twitch Drops Tracker application with campaign management
- Implemented models for DropCampaign, Game, Organization, DropBenefit, TimeBasedDrop, and DropBenefitEdge.
- Created views for listing and detailing drop campaigns.
- Added templates for dashboard, campaign list, and campaign detail.
- Developed management command to import drop campaigns from JSON files.
- Configured admin interface for managing campaigns and related models.
- Updated URL routing for the application.
- Enhanced README with installation instructions and project structure.
2025-07-09 22:46:23 +02:00
0c7c1c3f30 Add initial configuration and structure for the Twitch app, including models, views, and admin registration 2025-07-08 19:05:36 +02:00
31addca6de Add responses directory to .gitignore for TTVDrops 2025-07-08 05:45:43 +02:00
a0239948e0 Update settings and initial migration for improved type hinting and spell checking 2025-07-08 04:35:37 +02:00
96a159f691 Add environment configuration and email settings
- Created a new .env.example file for environment variable configuration including Django settings, email configurations, and common SMTP provider examples.
- Updated .vscode/settings.json to include additional words for spell checking.
- Enhanced config/settings.py to load environment variables using python-dotenv, added data directory management, and configured email settings.
- Updated config/urls.py to include debug toolbar URLs conditionally based on testing.
- Added pytest configuration in conftest.py for Django testing.
- Created core application with custom User model, admin registration, and migrations.
- Implemented tests for User model and admin functionalities.
- Updated pyproject.toml to include new dependencies for debugging and environment management.
- Updated uv.lock to reflect new package versions and dependencies.
2025-07-08 04:33:05 +02:00
11c3db9817 Refactor Django project files to improve type hinting and code clarity 2025-07-08 01:47:39 +02:00
a37eea56a1 Use Ruff 2025-07-08 01:47:33 +02:00
004265cc2d Update dependency configuration in pyproject.toml and uv.lock for development packages 2025-07-08 01:40:17 +02:00
f149d9190a Add initial Django project structure with ASGI, WSGI, settings, URLs, and manage.py 2025-07-08 01:36:20 +02:00