Commit graph

160 commits

Author SHA1 Message Date
10087e85f8 Add script to move JSON files with collision handling 2025-08-16 03:11:41 +02:00
49664742ef Update import_drops command 2025-08-16 02:13:47 +02:00
0de04dc8e7 Ignore more linting stuff 2025-08-12 20:11:49 +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
f84b59cb4f Go back to sqlite 2025-08-07 01:01:46 +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
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