Commit graph

50 commits

Author SHA1 Message Date
4714894247
Make GamesGridView faster 2026-04-12 05:02:56 +02:00
1d524a2ca9
Implement emote gallery model method and refactor view to use it 2026-04-12 04:53:08 +02:00
3070dcb296
Refactor ChannelDetailView to use get_object_or_404 and optimize campaign fetching logic 2026-04-12 04:47:38 +02:00
293dd57263
Add allowed_campaign_count field to Channel model and implement counter cache logic 2026-04-12 04:20:47 +02:00
917bf8ac23
Enhance DropCampaign detail view and optimize badge queries 2026-04-12 03:52:04 +02:00
9c951e64ab
Add dashboard context method 2026-04-12 03:42:56 +02:00
61946f8155
Add index on RewardCampaign for ends_at and starts_at fields; update tests for index verification 2026-04-12 03:09:21 +02:00
47d4f5341f
Add indexes to drop_campaign_list_view
All checks were successful
Deploy to Server / deploy (push) Successful in 26s
2026-04-11 04:30:08 +02:00
1f0109263c
Rename indexes in DropCampaign and RewardCampaign for clarity; add tests to verify index usage in dashboard queries 2026-04-11 01:20:35 +02:00
43077cde0c
Refactor badge list view to use badge_data and optimize badge fetching; add tests for badge list and detail views 2026-04-11 01:12:08 +02:00
b7e10e766e
Improve performance and add type hints 2026-04-11 00:44:16 +02:00
1782db4840
Add smoke tests for endpoints and optimize database queries 2026-04-10 23:54:10 +02:00
7478d4c851
Suppress pyright attribute access issue for BASE_URL in test fixture
All checks were successful
Deploy to Server / deploy (push) Successful in 19s
2026-03-22 00:13:11 +01:00
1161670c34
Fix ruff issues: rename lambda arg, replace Any with object for type annotations 2026-03-21 23:26:57 +01:00
d99579ed2b
Add Redis configuration, integrate Celery, and sort fields in models
All checks were successful
Deploy to Server / deploy (push) Successful in 49s
2026-03-21 19:12:47 +01:00
a8747791c0
Add is_fully_imported field to DropCampaign and KickDropCampaign models; update views and commands to filter by this field
All checks were successful
Deploy to Server / deploy (push) Successful in 18s
2026-03-20 00:55:32 +01:00
cd9bb0a95a
Implement _save_if_changed method to optimize model updates and add tests to ensure unchanged data does not trigger updates 2026-03-17 20:03:27 +01:00
02ea6314c3
Use several sitemaps
All checks were successful
Deploy to Server / deploy (push) Successful in 11s
2026-03-17 18:14:27 +01:00
f04d88e8fd
Refactor ImageObject schema to remove license metadata 2026-03-17 16:24:28 +01:00
28cd62b161
Enhance ImageObject schema with attribution and license metadata in views and tests
All checks were successful
Deploy to Server / deploy (push) Successful in 11s
2026-03-17 15:56:07 +01:00
70298fdd1e
More core templates to core template dir
All checks were successful
Deploy to Server / deploy (push) Successful in 12s
2026-03-17 05:50:01 +01:00
92ca0404a6
Remove debug JSON from templates and views 2026-03-17 05:01:49 +01:00
725df27b47
Improve SEO? 2026-03-17 04:34:09 +01:00
efed2c2f69
Improve image metadata
All checks were successful
Deploy to Server / deploy (push) Successful in 11s
2026-03-17 03:21:12 +01:00
c092d3089f
Fix types 2026-03-16 18:40:04 +01:00
6f6116c3c7
Move Twitch stuff to /twitch/ 2026-03-16 15:27:33 +01:00
ee8cc87196
Move robots.txt to static file instead of Django 2026-03-13 01:28:49 +01:00
4663a827e4
Make templates sexier
All checks were successful
Deploy to Server / deploy (push) Successful in 10s
2026-03-11 23:38:31 +01:00
bbdcc80334
Update image rendering to preserve aspect ratio by removing height attribute
All checks were successful
Deploy to Server / deploy (push) Successful in 10s
2026-03-09 20:07:30 +01:00
77d9d448d7
Refactor GameFeed and GameDetailView to use 'owners' instead of 'owner'; update related tests
All checks were successful
Deploy to Server / deploy (push) Successful in 10s
2026-03-09 06:33:40 +01:00
1118c03c1b
Lower line-length to default and don't add from __future__ import annotations to everything 2026-03-09 04:37:54 +01:00
85bdf572c5
Update pagination_info format in SEO helper tests to use a list 2026-02-12 04:23:02 +01:00
f004307c9c
Refactor pagination to support multiple pagination links 2026-02-12 04:22:01 +01:00
7f468bbabe
Add DropCampaign image fallback logic and update templates for best image URL 2026-02-12 02:50:10 +01:00
bbeed5c9f0
Improve SEO 2026-02-11 22:15:14 +01:00
aed8adeea4
Refactor campaign list view 2026-02-11 18:41:40 +01:00
05eb0d92e3
Refactor HTML 2026-02-11 03:14:04 +01:00
a2b219033d
Fix typos 2026-02-09 23:44:23 +01:00
2f9c5a9328
Enhance RSS feed documentation with example XML and filtered feeds 2026-02-09 17:27:13 +01:00
65a7622582
Allow operation_names to be a list instead of a singular item 2026-01-17 07:05:41 +01:00
fad0821515
Enhance badge descriptions in campaign detail and RSS feed outputs 2026-01-16 01:54:18 +01:00
5fe4ed4eb1
Refactor dashboard view to group campaigns by game, preventing duplicates for multi-owner games 2026-01-12 00:59:22 +01:00
2b0b71cb08
Add more tests 2026-01-09 22:21:52 +01:00
99e7b40535
Refactor game ownership to support multiple organizations and update related logic 2026-01-09 21:57:37 +01:00
df2941cdbc
Fix owners not getting imported correctly 2026-01-09 21:47:52 +01:00
ed4f42052b
Optimize campaign count retrieval in ChannelListView 2026-01-07 21:32:28 +01:00
f06db7e47e
Allow Inventory 2026-01-05 19:34:31 +01:00
1d6c52325c
Improve import command 2026-01-05 18:46:46 +01: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
fa7c8caa10 Add tests for GameDetailView to validate expired campaign filtering 2025-07-10 05:16:25 +02:00