Commit graph

205 commits

Author SHA1 Message Date
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
63f95a73db Add RSS feed views 2025-09-04 23:06:44 +02:00
1154a57de3 Add drops data serialization to DropCampaignDetailView context 2025-09-03 18:06:59 +02:00
f0b5bb1e1b Add campaign data serialization to GameDetailView 2025-09-03 17:29:59 +02:00
21740a369f Add games data serialization to OrgDetailView context 2025-09-03 17:27:46 +02:00
0322744104 Add organization data serialization to OrgDetailView 2025-09-03 17:23:59 +02:00
4b1329befb Add JSON serialization for game data in game detail view 2025-09-03 17:14:41 +02:00
265f8ed671 Add campaign data display in campaign detail view with JSON serialization 2025-09-03 16:59:41 +02:00
403734ff00 WIP: Improve JSON import handling by adding directory for manual review and refining campaign data extraction logic 2025-09-02 04:43:24 +02:00
6d372817bf Remove unnecessary warning for missing organization data in drop campaign import 2025-09-02 04:42:57 +02:00
0a7b8017c7 Refactor game creation logic to simplify defaults handling and remove unnecessary method. 2025-09-02 04:42:26 +02:00
1c3a9304b3 Remove "DropsHighlightService_AvailableDrops" from probably_shit 2025-09-02 03:18:21 +02:00
e9f6b4489a Refactor debug view 2025-09-01 22:12:48 +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
ebd3633356 Add grid and list views for games with improved templates and routing 2025-08-30 00:30:18 +02:00
b430ce7ae8 Add box art to dashboard and add Game.box_art_base_url() 2025-08-29 18:11:07 +02:00
5d572d7b52 Add warning for missing benefit edges and move files accordingly 2025-08-29 18:02:21 +02:00
87f7cc763f Handle file not found error during file processing 2025-08-17 00:51:50 +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
245896aa06 Refactor views 2025-08-01 20:24:44 +02:00
1a015f102c Refactor import command 2025-07-31 23:53:57 +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
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
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
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