mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[PR #2884] [MERGED] Added an alarm on dkim write error, reworked alarms #2780
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2780
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2884
Author: @Spitfireap
Created: 2/24/2023
Status: ✅ Merged
Merged: 3/26/2023
Merged by: @tonioo
Base:
master← Head:better-dkim📝 Commits (9)
2ad5bd2reworked alarms, added alarm on dkim issue2ebe8feAdded testse7257e2Added tests329ea62Updated test5ab5c90Last tests800cdadEven better tests8807fcdEndpoint result is paginated.5558dfbFix review29609e3Added bulk delete endpoint for alarms📊 Changes
16 files changed (+367 additions, -10 deletions)
View changed files
📝
frontend/src/App.vue(+40 -1)📝
frontend/src/api/alarms.js(+9 -0)📝
frontend/src/components/alarms/AlarmList.vue(+86 -2)➕
frontend/src/constants.json(+4 -0)📝
frontend/src/views/Login.vue(+2 -0)📝
frontend/vue.config.js(+1 -1)📝
modoboa/admin/api/v2/serializers.py(+15 -0)📝
modoboa/admin/api/v2/tests.py(+76 -1)📝
modoboa/admin/api/v2/viewsets.py(+49 -2)📝
modoboa/admin/constants.py(+2 -0)📝
modoboa/admin/management/commands/subcommands/_manage_dkim_keys.py(+15 -0)📝
modoboa/admin/models/alarm.py(+6 -0)📝
modoboa/admin/models/mxrecord.py(+1 -1)➕
modoboa/admin/tests/test_alarms.py(+26 -0)📝
modoboa/admin/tests/test_domain.py(+23 -2)📝
modoboa/parameters/api/v2/tests.py(+12 -0)📄 Description
As stated in #2768, modoboa did not check for the write permission of the dkim dir. If the user manages to set the parameter to a non-writable dir, an alarm will be created.
Also alarm page has been reworked (fixed alarms not displaying, added actions to open/close/delete and alarm, added a bulk action)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.