Commit Graph
22 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 44149acf16 Fix importing IP ranges
IPRange.save() computes its size from start_address.ip, but the importer assigned the archived addresses as plain strings, so every archive containing IP ranges failed with "'str' object has no attribute 'ip'". Convert values of NetBox IP fields with the field's to_python(). This also affects NetBox 4.6.

IP ranges also had no natural key, so importing into an instance that already contained the range created a duplicate. Match them by (vrf, start_address, end_address).

Verified with a real export and repeated imports on NetBox 4.7.2; the version stays 0.3.14 because Netbox-Utilities only enables its integration for known versions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 15:21:11 +02:00
MrBlakeandClaude Opus 5.5 0fdde044e1 Avoid deprecated select_related() call on Django 6.1
NetBox 4.7.2 ships Django 6.1, which deprecates select_related() without arguments (an error in Django 7). Only call it when the model has foreign keys; behaviour is unchanged. Verified with NetBox 4.7.2. Bump version to 0.3.14, the version Netbox-Utilities already expects for its rack width integration.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 14:14:49 +02:00
MrBlakeandClaude Opus 5.5 9a1e702099 docs: rewrite README in English with standard structure
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 13:36:42 +02:00
MrBlakeandClaude Sonnet 5 47e9192fda feat: support NetBox 4.7.x
Raise max_version to 4.7.99 and update README references from
NetBox 4.6.x-only to 4.6.x/4.7.x. No plugin API usage requires
changes for 4.7 compatibility (PluginConfig, PluginMenuItem,
get_plugin_config remain stable); full pytest suite passes.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-17 09:24:18 +02:00
MrBlake d183334104 fix: restore PostgreSQL range values during import 2026-09-02 11:11:43 +02:00
MrBlake e44e27d307 fix: preserve cable paths across export and import 2026-08-24 16:41:57 +02:00
MrBlake 05e33a87a9 fix: resize oversized image attachments during import 2026-08-05 15:56:09 +02:00
MrBlake 80469ede34 fix: derive image attachment dimensions during import 2026-08-05 15:43:15 +02:00
MrBlake 4ba41953c1 fix: reconcile rack placement conflicts during import 2026-08-05 15:01:28 +02:00
MrBlake d4ba5de2e7 fix: prevent module component duplication during import 2026-08-05 14:24:46 +02:00
MrBlake 8107e152d2 fix: reconcile component mappings by natural key 2026-08-05 14:05:40 +02:00
MrBlake f22276d68d fix: reassign unique imported relations atomically 2026-08-05 13:56:16 +02:00
MrBlake 3eb1729c93 fix: resolve constrained relations before insert 2026-08-05 13:46:59 +02:00
MrBlake 985b66c96f fix: assign fallback tenant during imports 2026-08-05 13:39:18 +02:00
MrBlake 7a018807d8 fix: honor tenant validation during plugin imports 2026-08-05 13:28:01 +02:00
MrBlake f558832cd2 fix: use form URL for progress requests 2026-08-05 13:13:46 +02:00
MrBlake e061c2b02d fix: tolerate missing external import references 2026-08-05 13:09:47 +02:00
MrBlake f5ad77b430 perf: batch export graph database queries 2026-08-05 12:55:37 +02:00
MrBlake 80ef1be239 feat: show export and import progress 2026-08-05 12:42:40 +02:00
MrBlake d78a8280e4 docs: fix plugin installation repository 2026-08-05 12:35:46 +02:00
MrBlake e331d14067 docu: update readme 2026-08-05 11:54:21 +02:00
MrBlake d0db98b690 feat: add scoped NetBox ZIP export and import plugin 2026-08-05 11:22:47 +02:00