Notifications new shared folder and new peered device
Notifications where user intervention is necessary should be implemented for the following cases:
- A new folder is shared
- A new device is peered
Enhancement is based on: https://forum.syncthing.net/t/syncthing-for-macos/2745/22
Initial prototype is functional to translate events to OS X notifications:
Had some discussion on the official forum about event behaviour in the webgui:
https://forum.syncthing.net/t/unexpected-continuous-devicereject-events-from-the-api-with-incrementing-ids
We should keep issue https://github.com/syncthing/syncthing-android/issues/679, and https://github.com/syncthing/syncthing/issues/4084 in mind when implementing this.
Since v0.14.51 the new API is available so probably we should reimplement my work from branch https://github.com/syncthing/syncthing-macos/tree/feature/issue-52 into Swift.