Skip to content

Conversation

@alexlambson
Copy link
Collaborator

@alexlambson alexlambson commented Nov 23, 2025

  • Fix filenames overflowing the default django 100 character length and getting truncated weirdly.
  • Fixtures for extensions and games
  • Fix tests that were broken by enforcing game uploadability. The games in 0001 are default non-uploadable so tests using game_yuri broke. Backwards compatible uploads ignore game visibility.
  • Enforce game uploadability
  • Fix map uploads for moderators.

…nd getting truncated weirdly.

- Fixtures for extensions and games
- Fix tests that were broken by enforcing game uploadability. The games in 0001 are default non-uploadable so tests using `game_yuri` broke. Backwards compatible uploads ignore game visibility.
- Enforce game uploadability
- Fix map uploads for moderators.
- TODO: need tests for game endpoints
@alexlambson alexlambson self-assigned this Nov 23, 2025
migrations.AlterField(
model_name="cncmapfile",
name="file",
field=models.FileField(max_length=2048, upload_to=kirovy.models.file_base.default_generate_upload_to),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URLs were getting truncated by the very short default length

@alexlambson alexlambson merged commit 361b92e into main Nov 30, 2025
1 check passed
@alexlambson alexlambson deleted the alex/feat/game-endpoint branch November 30, 2025 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants