Commit graph

46 commits

Author SHA1 Message Date
55c2273e27
Download and cache campaign, benefit, and reward images locally 2026-02-12 01:34:51 +01:00
f4925b8e45
Normalize Twitch box art URLs for higher quality and implement download command 2026-02-11 23:49:58 +01:00
05eb0d92e3
Refactor HTML 2026-02-11 03:14:04 +01:00
3eb6d1617f
Make models fat 2026-02-10 01:44:07 +01:00
4e67e7299d
Refactor models to use auto_prefetch for improved performance and update dependencies in pyproject.toml 2026-02-09 20:13:47 +01:00
2f9c5a9328
Enhance RSS feed documentation with example XML and filtered feeds 2026-02-09 17:27:13 +01:00
de7a7d5d0e
Test all urls 2026-02-01 23:08:48 +01:00
65a7622582
Allow operation_names to be a list instead of a singular item 2026-01-17 07:05:41 +01:00
6842581656
Archive Twitch chat badges 2026-01-16 00:28:25 +01:00
1a71809460
Add Reward Campaigns 2026-01-14 22:29:15 +01:00
99e7b40535
Refactor game ownership to support multiple organizations and update related logic 2026-01-09 21:57:37 +01:00
4b4723c77c
Refactor RSS stuff 2026-01-08 23:52:29 +01:00
adc6deb314
Improve importer, add channels and import both drop_campaigns and drop_campaign 2026-01-06 20:36:18 +01:00
df6a77a1fd
Allow box_art to be null 2026-01-05 21:49:11 +01:00
1d6c52325c
Improve import command 2026-01-05 18:46:46 +01:00
69fa30748a
WIP better import drops 2025-12-01 21:38:28 +01:00
eab379a028 Remove custom indexes from Twitch models
Eliminates explicit index definitions and db_index usage from Django models and migrations, relying on default indexes and constraints. This simplifies model definitions and migration files, reducing maintenance overhead and potential redundancy.
2025-10-13 04:15:24 +02:00
5d9d2ef562 Remove model constraints from DropCampaign and TimeBasedDrop
Deleted CheckConstraints enforcing valid date ranges and non-negative required_minutes_watched from DropCampaign and TimeBasedDrop models
2025-10-13 02:12:47 +02:00
715cbf4bf0 Remove bloat 2025-10-13 02:07:33 +02:00
6751ae724d WIP: Download images 2025-09-16 20:31:23 +02:00
007b8f7ec6 Add section markers 2025-09-13 23:17:17 +02:00
b97118cffd Cache images instead of serve from Twitch 2025-09-13 06:37:35 +02:00
94752383b1 Use django-auto-prefetch 2025-09-13 00:36:22 +02:00
c8cc6d83df Add Twitch directory URL property to Game model and update dashboard to handle channel display logic 2025-09-09 03:22:45 +02:00
48783fadc2 Save channels to the database 2025-09-08 22:18:32 +02:00
5c3795d4a4 Enhance RSS feed for drop campaigns 2025-09-05 23:36:01 +02:00
51ec52499f Implement full-text search functionality 2025-09-05 13:59:02 +02:00
7d81b1a1b5 Refactor TimeBasedDrop constraints to ensure required_minutes_watched is non-negative 2025-09-05 01:04:25 +02:00
41dd1a2694 Update ID fields in models to use 255 character length for Game, DropBenefit, and TimeBasedDrop 2025-09-05 00:56:27 +02:00
06d1cebdac Add PostgreSQL full-text search support and optimize indexes for DropCampaign and related models 2025-09-05 00:28:21 +02:00
9b0f5153fc Add timestamps for record creation and updates for all models 2025-09-04 23:07:20 +02:00
6d5f014134 Make Owner optional; use dateparser to parse dates; use json-repair to read JSON 2025-09-01 21:50:38 +02:00
b430ce7ae8 Add box art to dashboard and add Game.box_art_base_url() 2025-08-29 18:11:07 +02:00
bab2390109 Add debug view and import inventory JSON 2025-08-12 19:52:01 +02:00
5878ec186f Refactor import_drops command 2025-08-12 17:09:28 +02:00
28dbab57c4 Improve importer 2025-08-05 02:07:02 +02:00
3d447e08ff Remove choices in model 2025-08-04 03:05:00 +02:00
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
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
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
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