Wrap all user-visible strings for translation, ship a complete German catalogue, align the NetBox version range (4.4.0-4.7.x) with the README and add a test that keeps them in sync.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The initial migrations declared tags as a plain ManyToManyField, while NetBoxModel uses a TaggableManager via extras.TaggedItem. Align the migration state. Verified with NetBox 4.7.2. Bump version to 0.12.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Code blocks in documents are now highlighted server-side with Pygments
according to their language (Markdown fences and TinyMCE code samples),
using VS Code "Dark+" colours in the viewer and a light variant in the
print view. A language label is shown next to the copy button. Blocks
marked as plain text/Cisco config stay unchanged; blocks without a
language are only coloured when the language is detected confidently.
Works offline, no CDN needed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drag & drop no longer rejects folders that belong to another tenant.
Moving only changes the document's folder; its tenant stays untouched.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Documents can be dragged onto folder tiles, entries in the navigation
pane, address bar segments or the empty area of the open folder. The
new document_move endpoint updates only the folder (with change log
entry) and rejects targets whose folder belongs to another tenant, so
a document always stays in its tenant. Invalid targets are highlighted
red while dragging; the result is shown as a toast.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Right-clicking a folder, a document, a navigation entry or the empty
area of the open folder shows a context menu: open, open in new tab,
rename/edit, delete, new subfolder/document, export folder as ZIP,
print/PDF export, copy link and refresh. Entries respect the user's
permissions and return to the current folder afterwards. The menu also
opens via the context-menu key or Shift+F10 and supports arrow keys.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add a "Neuer Ordner" button next to "Hinzufügen" in the documentation
view. Both buttons follow the folder currently open in the Explorer:
the new folder gets it as parent, a new document gets it as folder.
After saving, the user returns to that same folder (?folder=<pk>).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Explorer search now matches folders and documents in every folder
instead of only the open one. Results are shown as tiles labelled with
their folder path; clicking a folder result clears the search and
opens that folder.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Show documentation in an Explorer-like layout: a folder navigation
pane on the left, folder and document tiles with large icons on the
right, plus back/up buttons, a clickable address bar and a status bar.
A view switcher (Explorer | Tree | List) lets users go back to the
previous tree view; the chosen view is remembered in localStorage.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ein Zeilenumbruch im Regex-Literal hat das Skript der Dokumentansicht
abbrechen lassen, sodass kein Kopieren-Button erschien. Version auf
0.12.0 angehoben.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Im Editor gibt es jetzt das TinyMCE-Plugin "codesample", um Code-
Bloecke ohne Markdown/HTML einzufuegen. In der Ansicht erhalten
Code-Bloecke ein einheitliches dunkles Layout, eine gut sichtbare
Textmarkierung (eingefuegte Inline-Hintergruende werden ignoriert)
und einen Kopieren-Button mit Fallback fuer Umgebungen ohne
Clipboard-API.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Die Baumansichten (DocumentTreeView, DocumentCategoryTreeView) bauen
ihr Queryset manuell statt ueber ein NetBoxModelFilterSet, wodurch das
netbox-utilities-Plugin seinen tenant_id/tenant_group_id-Parameter nicht
injizieren konnte und ausserhalb des gewaehlten Mandanten liegende
Ordner/Dokumente mit angezeigt wurden. Liest jetzt den oeffentlichen
Scope aus netbox_utilities.tenant_scope direkt aus (fallback: kein
Filter, falls das Plugin nicht installiert ist).
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Neue Standardansicht fuer "Dokumentationen" im Windows-Explorer/
Nextcloud-Stil: Ordner und Unterordner als aufklappbarer Baum mit
den zugehoerigen Dokumenten als Dateien darin, inkl. Live-Suche.
Die bisherige Tabellenansicht bleibt als "Listenansicht" erreichbar.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Neue Baumansicht fuer Ordner & Kategorien im Nextcloud/Bookstack-Stil
mit Klapp-Navigation, Live-Suche und Breadcrumb-Pfad auf der
Ordner-Detailseite. Die bisherige Tabellenansicht bleibt fuer
Bulk-Aktionen als "Listenansicht" erhalten.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Beim ZIP-Import wurden Tenant/TenantGroup bisher per Slug per
.filter().first() aufgelöst. Existierte der referenzierte Mandant auf
der Zielinstanz nicht, wurde das Feld stillschweigend auf None gesetzt.
Das führte bei Instanzen mit Mandanten-Pflichtfeld-Validierung zu einer
generischen ValidationError beim document.save(), ohne Hinweis darauf,
welches Dokument oder welcher Mandant betroffen war.
_resolve_tenant()/_resolve_tenant_group() werfen nun eine ArchiveFailure
mit Dokument-/Ordnertitel und fehlendem Slug, sobald ein referenzierter
Mandant nicht gefunden wird.