netbox/netbox
Brian Tiemann 7f676ea004 Address agent review: format validation, AVIF, animated WebP, cleanup
- Drop 'or PNG' fallback: img.format is always set after a successful
  PillowImage.open() call; UnidentifiedImageError fires before returning None.
- Add extension/content consistency check using PillowImage.MIME to catch
  mismatches like PNG data with a .jpg extension (content-type drift).
- AVIF/JPEG2000: raise a specific ValidationError when save() fails due to
  a missing native codec library, replacing the generic 'unable to process'
  message that was a silent regression from the previous store-as-is behaviour.
- Animated WebP: extend the ImageSequence frame-preservation path to WebP
  (n_frames > 1) alongside GIF.
- Hoist ImageSequence import to module level; split PIL imports onto separate
  lines per ruff isort requirement.
- Tests: use img.n_frames instead of manual seek loop; add animated WebP test;
  add comment explaining why test_clean_rejects_disallowed_extension calls
  clean() directly rather than full_clean().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 09:14:48 -04:00
..
account Closes #22062: Display API token ID & plaintext one time immediately upon creation (#22064) 2026-05-01 16:04:35 +02:00
circuits Closes #22090: Extend test cases to analyze the number of SQL queries executed 2026-05-26 09:10:03 -04:00
core Closes #22392: Deprecate support for Redis 5.x (#22405) 2026-06-08 09:28:31 -07:00
dcim test(api): Add GraphQL nested filter and auto-filter tests 2026-06-04 17:45:06 +02:00
extras Address agent review: format validation, AVIF, animated WebP, cleanup 2026-06-10 09:14:48 -04:00
ipam Closes #22375: Fix VLAN filter_interface_id performance: use UNION instead of OR across M2M joins (#22387) 2026-06-04 15:50:39 -04:00
media Closes #21035: Add .gitkeep to track the media directory (#21074) 2026-01-08 14:33:06 -06:00
netbox Fixes #22399: Enforce object permissions for relevant static media (#22400) 2026-06-08 16:05:39 +02:00
project-static Release v4.6.2 2026-06-02 10:11:34 -04:00
reports
scripts
templates fix(extras): Prevent direct access to TableConfig create view 2026-06-04 15:58:58 -04:00
tenancy Closes #22090: Extend test cases to analyze the number of SQL queries executed 2026-05-26 09:10:03 -04:00
translations Update source translation strings 2026-06-10 06:35:05 +00:00
users Fixes #22340: Correct display of allowed IPs for tokens in web UI 2026-06-02 12:39:05 -04:00
utilities Fixes #22376: Remove files from request for script action event rules 2026-06-09 13:55:20 -04:00
virtualization Closes #22090: Extend test cases to analyze the number of SQL queries executed 2026-05-26 09:10:03 -04:00
vpn Closes #22090: Extend test cases to analyze the number of SQL queries executed 2026-05-26 09:10:03 -04:00
wireless fix(dcim): Refresh cable path for endpoints loaded before tracing 2026-06-02 16:41:53 -04:00
generate_secret_key.py
manage.py Fix ambiguous shebang in netbox/manage.py. 2024-10-24 09:04:49 -04:00
release.yaml Release v4.6.2 2026-06-02 10:11:34 -04:00