Commit Graph

12871 Commits

Author SHA1 Message Date
Jeremy Stretch
7856da4d9c Misc cleanup 2024-07-15 13:56:54 -04:00
Jeremy Stretch
9fc0c83641 Mute color of read notifications 2024-07-12 14:36:20 -04:00
Jeremy Stretch
bfd0fa49a2 Adjust icon sizing 2024-07-12 14:09:50 -04:00
Jeremy Stretch
2f2e273776 Add event icon & type to notifications table 2024-07-12 14:08:46 -04:00
Jeremy Stretch
b94cb883a6 Misc cleanup 2024-07-12 13:49:43 -04:00
Jeremy Stretch
854b7451bb Notifications/subscriptions cannot be ordered by object 2024-07-12 13:38:14 -04:00
Jeremy Stretch
aa8a891122 Ensure subscribe button appears only on relevant models 2024-07-12 13:36:28 -04:00
Jeremy Stretch
4f0cc950bc Update notification bell when notifications have been cleared 2024-07-11 11:52:55 -04:00
Jeremy Stretch
5131cc92f0 Fix tests 2024-07-11 09:55:16 -04:00
Jeremy Stretch
1e57915a11 Add model documentation 2024-07-11 09:48:33 -04:00
Jeremy Stretch
f82de2b3fd Merge branch 'feature' into 15621-notifications 2024-07-11 09:08:20 -04:00
Jeremy Stretch
623c012bed Add view & filterset tests 2024-07-09 21:22:00 -04:00
Jeremy Stretch
02ae91589d Merge branch 'develop' into feature 2024-07-09 15:16:05 -04:00
Jeremy Stretch
dd413b248a PRVB 2024-07-09 13:49:24 -04:00
Jeff Gehlbach
3f67b5d8cb
Merge pull request #16859 from netbox-community/develop
Release v4.0.7
2024-07-09 13:43:51 -04:00
Jeff Gehlbach
596514ce74 Release v4.0.7 2024-07-09 13:27:13 -04:00
transifex-integration[bot]
aafb26662a
Updates for project NetBox (#16811)
* Translate django.po in pt

100% reviewed source file: 'django.po'
on 'pt'.

* Translate django.po in fr [Manual Sync]

12% of minimum 1% reviewed source file: 'django.po'
on 'fr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate django.po in pt [Manual Sync]

100% reviewed source file: 'django.po'
on 'pt'.

* Translate django.po in de [Manual Sync]

78% of minimum 1% reviewed source file: 'django.po'
on 'de'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate django.po in tr [Manual Sync]

7% of minimum 1% reviewed source file: 'django.po'
on 'tr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate django.po in ru [Manual Sync]

30% of minimum 1% reviewed source file: 'django.po'
on 'ru'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate django.po in zh [Manual Sync]

16% of minimum 1% reviewed source file: 'django.po'
on 'zh'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-07-09 13:18:19 -04:00
Jeremy Stretch
4c797bf755 Update dependencies for v4.0.7 2024-07-09 13:05:57 -04:00
Jeremy Stretch
aceed94787 Changelog for #14554, #16721, #16758, #16802, #16808, #16817, #16843 2024-07-09 12:19:39 -04:00
Martin
6a1245c792
Fixes #16758: Create language cookie if required (#16764)
* Fixes #16758: Create language cookie if required

* Align language cookie with session lifetime
2024-07-09 08:51:12 -04:00
Mattias L
96ff796b94
Allowed configuration of Sentry send_default_pii parameter (#16803)
* Allowed configuration of Sentry send_default_pii parameter.

Also changed default value of send_default_pii to False to avoid sending sensitive data to Sentry.

Closes #16802

* Order alphabetically & link to Sentry parameter documentation

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-07-09 08:39:43 -04:00
locklearxd
d8d66581cc potential fix for IKE policy mode issue with version2 2024-07-09 08:35:02 -04:00
Jeremy Stretch
7564f6f538 Fixes #16808: Correct event type of webhooks emitted upon object deletion immediately following a modification 2024-07-09 08:17:46 -04:00
github-actions
f2e3c1a219 Update source translation strings 2024-07-09 05:02:43 +00:00
Jeremy Stretch
fdbcd3621c Add API tests 2024-07-08 17:12:01 -04:00
Jeremy Stretch
0d553ca5d0 Restore NotificationGroupBulkEditView 2024-07-08 14:46:56 -04:00
Jeremy Stretch
fa722feaf8 Rename Notification.event_name to event_type 2024-07-08 14:42:56 -04:00
Jeremy Stretch
744d3d8197 Standardize queued event attribute to event_type; change content_type to object_type 2024-07-08 14:26:44 -04:00
Jeremy Stretch
1dd5d0a0f9 Use core event types when queuing events 2024-07-08 13:38:01 -04:00
Arzhel Younsi
22348cdbfc
Extend STORAGE_BACKEND config to support Swift (#16319)
* Extend STORAGE_BACKEND config to support Swift

Requires django-storage-swift >= 1.4.0 when used.

Bug: T310717
Change-Id: I67cf439e9152608cbba3a3de4173d54ba5fbddc2

* Update system.md from suggestions

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Update settings.py from suggestions

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Update system.md from suggestions 2

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Remove SWIFT storage from configuration_example.py

* Load swift config as global instead of monkey path

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-07-08 12:04:17 -04:00
Jeremy Stretch
2bc7b208f1 Optimize subscriber notifications 2024-07-04 16:51:21 -04:00
Jeremy Stretch
9f6ccec1ea Correct absolute URLs for notifications & subscriptions 2024-07-04 16:50:42 -04:00
Jeremy Stretch
cbffc24810 Misc cleanup 2024-07-04 16:37:18 -04:00
Jeremy Stretch
6bec89d46b Misc cleanup 2024-07-04 16:16:00 -04:00
Jeremy Stretch
ba11e97b1e Add more job events 2024-07-04 16:14:02 -04:00
Jeremy Stretch
f1297382b9 Move event registration to core 2024-07-04 16:00:57 -04:00
Jeremy Stretch
c22b7052ff Define dynamic choices for Notification.event_name 2024-07-04 15:38:08 -04:00
Jeremy Stretch
71860ba985 Enable event rules to target notification groups 2024-07-04 15:05:48 -04:00
Jeremy Stretch
8c0693fb36 Register event types in the registry; add colors & icons 2024-07-04 14:18:17 -04:00
Jeremy Stretch
8065d7c127 Drop 'kind' field from Notification model 2024-07-04 12:50:32 -04:00
Jeremy Stretch
1c8118304f Include total notification count in dropdown 2024-07-04 12:29:51 -04:00
Jeremy Stretch
29675d6e45 Enable one-click dismissals from notifications list 2024-07-04 12:22:13 -04:00
Jeremy Stretch
9c875716f7 Separate read & dimiss actions 2024-07-04 12:12:07 -04:00
Jeremy Stretch
a21d4fecbc Add NotificationGroup filters for users & groups 2024-07-04 11:41:05 -04:00
Adam Brutsaert
f4532dd4ab Closes #16817: Added 200 & 400 Gbps selections for circuit commit rate 2024-07-04 11:31:10 -04:00
Jeremy Stretch
e02796a64e Fixes #16721: Fix errant API request after deselecting a rack in device edit form 2024-07-04 10:28:52 -04:00
Jeremy Stretch
9ab7960a66 Changelog for #16679, #16716, #16779, #16780, #16791, #16796, #16806, #16807, #16813 2024-07-04 10:00:50 -04:00
Jeremy Stretch
7a88810a23 Fixes #16780: IKE proposal created via REST API should not require authentication_algorithm 2024-07-04 09:32:01 -04:00
Jeremy Stretch
a518579916 Fixes #16796: Allow assignment of VM with no site to a cluster with a site 2024-07-04 09:14:07 -04:00
Jeremy Stretch
e9dd5aa17b Fixes #16806: Fix redirect URL when creating contact assignments with "add another" button 2024-07-04 08:50:22 -04:00