Commit Graph

20 Commits

Author SHA1 Message Date
辉鸭蛋
600b7aeaa4 清除所有 DispatcherTimerOperationEnum 内容 2025-03-15 10:46:05 +08:00
辉鸭蛋
1cc889c6f2 to mat init 2025-03-14 01:57:54 +08:00
禹仔二号
6becb9dd5a 添加websocket和smtp通知方法,添加bark通知,websocket为qq机器人预留。 (#1254)
* feat: add email and websocket notification

* fix typos.

* refactor(notifiers): 重构邮件和 WebSocket 通知器

- 提升 EmailNotifier 中的 SmtpClient 为类的成员变量,并在构造函数中初始化,优化资源使用
- 改进 WebSocketNotifier 的连接和重连逻辑,提高稳定性
- 优化通知器的错误处理和日志记录,增强可维护性

* Create BarkNotifier.cs

* Update NotificationConfig.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/Notifier/BarkNotifier.cs

* Add files via upload

* Update BarkNotifier.cs

* Update NotificationService.cs

* Update CommonSettingsPageViewModel.cs

* Update CommonSettingsPage.xaml

* Delete BetterGenshinImpact/Service/BarkNotifier.cs

* Add files via upload

* Add files via upload

* Add files via upload

* Update CommonSettingsPage.xaml

* fix: 回退部分代码,修复了程序崩溃的错误

* fix: remove api.day.app

---------

Co-authored-by: 秋云 <physligl@gmail.com>
Co-authored-by: DR-lin-eng <52230594+DR-lin-eng@users.noreply.github.com>
2025-03-13 00:06:09 +08:00
辉鸭蛋
aabd1e0c01 fix kale 2025-02-12 23:02:16 +08:00
起个名字好难
184d186c9c 添加企业微信通知 2025-02-04 23:10:58 +08:00
辉鸭蛋
92516c26d2 支持配置要通知的事件 2025-02-04 17:11:53 +08:00
辉鸭蛋
151b383c40 添加飞书通知 2025-02-03 19:28:09 +08:00
辉鸭蛋
1efd8d9454 重构通知模块 2025-02-03 15:02:25 +08:00
辉鸭蛋
297618b95f fix windows notify 2025-02-01 23:03:25 +08:00
辉鸭蛋
3e114ad358 添加windows通知 2025-01-28 13:12:14 +08:00
辉鸭蛋
4196f05f21 replace HttpContent with another data structure 2025-01-28 08:49:24 +08:00
辉鸭蛋
670bb3adad 修改序列化方式,添加测试数据 2025-01-27 20:47:17 +08:00
辉鸭蛋
6c16296b1b 修改 notify config 的获取方式 2025-01-27 20:13:53 +08:00
Scarlet
50513613de feature: notification-based webhook 2025-01-21 22:22:27 -06:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
Mr-Quin
63bec641af Simplify notification creation 2024-03-30 13:57:03 -07:00
Mr-Quin
04ce508efd Slightly simplify call to NotifyAllNotifiersAsync 2024-03-30 13:57:03 -07:00
Mr-Quin
4f9424ff3d Register NotificationService as HostedService so it instantiates early 2024-03-30 13:57:03 -07:00
Mr-Quin
083766320d Add error handling to NotifierManager 2024-03-30 13:57:03 -07:00
Mr-Quin
911ee49083 Refactor notification 2024-03-30 13:57:02 -07:00