Skip to content

Commit 5c6fb8a

Browse files
committed
Add upgrade documentation for DefectDojo Version 2.58.x with notification template relocation details
1 parent 991d3b7 commit 5c6fb8a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

  • docs/content/releases/os_upgrading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: 'Upgrading to DefectDojo Version 2.58.x'
3+
toc_hide: true
4+
weight: -20260504
5+
description: Notification templates relocated under dojo/notifications/
6+
---
7+
8+
## Notification templates relocated
9+
10+
The notification domain has been consolidated under a new `dojo/notifications/` package. Notification templates that previously lived under `dojo/templates/` have been moved into `dojo/notifications/templates/notifications/`. Most templates can still be resolved by their existing lookup name, but the seven notification UI templates have been re-namespaced and any custom overrides of those need to be updated.
11+
12+
### Channel templates (no action required for most users)
13+
14+
The 62 channel templates under `alert/`, `mail/`, `msteams/`, `slack/`, `webhooks/`, and `webhooks_summary/` keep their existing template lookup names (e.g. `notifications/mail/scan_added.tpl`, `notifications/slack/sla_breach.tpl`). Existing customizations that override these by lookup name continue to work — only the on-disk source location has changed.
15+
16+
### Notification UI templates (action required if customized)
17+
18+
The seven notification UI templates have moved AND been re-namespaced from `dojo/...html` to `notifications/...html`:
19+
20+
| Old lookup name | New lookup name |
21+
| --- | --- |
22+
| `dojo/alerts.html` | `notifications/alerts.html` |
23+
| `dojo/delete_alerts.html` | `notifications/delete_alerts.html` |
24+
| `dojo/notifications.html` | `notifications/notifications.html` |
25+
| `dojo/add_notification_webhook.html` | `notifications/add_notification_webhook.html` |
26+
| `dojo/edit_notification_webhook.html` | `notifications/edit_notification_webhook.html` |
27+
| `dojo/delete_notification_webhook.html` | `notifications/delete_notification_webhook.html` |
28+
| `dojo/view_notification_webhooks.html` | `notifications/view_notification_webhooks.html` |
29+
30+
### Required Actions
31+
32+
If you have overridden any of the seven notification UI templates above (for example by placing a custom `dojo/notifications.html` in your own templates directory), you must rename the override to the new `notifications/...html` path so it continues to take effect. No action is required for users who have not customized these templates, and no action is required for the channel `.tpl` templates regardless of customization.
33+
34+
For more information, check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.58.0).

0 commit comments

Comments
 (0)