Commit Graph

170 Commits

Author SHA1 Message Date
nathan
2775569936 * Notifications: Admins now configure the mail account to use for email notifications instead of the user account 2022-02-09 13:48:16 -07:00
Ralf Becker
91bd7c7aeb an other chunk of fixed PHP 8.0 Warnings 2021-10-07 10:14:43 +02:00
Ralf Becker
c830bdd923 allow pushing to multiple users in one request 2021-08-31 17:42:28 +02:00
Ralf Becker
29acd3ddc9 remove (unnecessary) import statements and fix url for notificationpopup 2021-07-08 16:09:21 +02:00
nathangray
1bed2d2df6 Notifications: Add configuration for account / address to use for sending notification emails
If the app specifies a different sender (Calendar) that is still used instead.

(cherry picked from commit 7d15c2f352)
2021-06-11 13:14:34 -06:00
Ralf Becker
592b7fb97d replace LAB.js with native es5 loading 2021-06-05 20:39:39 +02:00
Hadi Nategh
3742a44321 Fix php 8 error:
- Unsupported operand types: string * int
- Unknown named parameter $func
2021-04-09 10:40:40 +02:00
Hadi Nategh
e7ee06f66b Fix broken pushed notifications entries 2021-03-08 15:15:34 +01:00
Hadi Nategh
c6e964036e Set indicators for displaying total number of notifications 2021-03-08 12:12:54 +01:00
Hadi Nategh
6b3cc6f7b5 * Notifications: fix notification sub messages (grouped entries) would still show up even though their parent message once been deleted 2021-03-05 15:22:14 +01:00
Ralf Becker
b0d55160a3 fix wrong timezone in creation time, if configured server-timezone does not match the one from the DB 2020-10-19 13:45:46 +02:00
Hadi Nategh
10f40c9dbb * Notifications: Fix notifications displayed time was not base on user timezone 2020-08-28 11:59:37 +02:00
Ralf Becker
3972abdf52 * Notifications: taking push server into account for checking user is online for popup or email notifications 2020-07-31 17:50:01 +02:00
Ralf Becker
b60a9ffff4 add check if only fallback push and skip full refresh (Framework::refresh_opener) for push and supporting apps 2020-07-24 09:07:13 +02:00
Hadi Nategh
d9ff68a422 Check if push server is available otherwise fallback into polling 2020-07-22 13:17:54 +02:00
Hadi Nategh
382a9576c7 Implement push mechanism for popup notifications 2020-07-21 15:46:38 +02:00
Ralf Becker
9817d25a47 move who is available via push to push class and backends 2020-04-20 13:07:58 +02:00
Ralf Becker
f9a961085f if session is already closed, reopen it for push-notification, as we need to store if a push message is already delivered 2020-04-02 11:16:55 +02:00
Ralf Becker
bf844b7598 support for new Swoole push server 2019-11-04 09:29:49 +01:00
Ralf Becker
5621aeca53 * Notification: instead of overwritting From address use ReplyTo
as mail provider might not allow to have a From different from envelope sender
2019-09-13 14:30:55 +02:00
Tomasz Jakubowski
4f521521d6
Set replyTo header when it is set 2019-03-12 22:26:35 +01:00
Tomasz Jakubowski
4ac8b8016d
Add reply_to property and send it to email backend 2019-03-12 22:24:02 +01:00
Hadi Nategh
9834da71d0 Add notifications into minifying js files 2018-08-02 16:32:12 +02:00
Hadi Nategh
c5e902926b Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:25:07 +02:00
Hadi Nategh
b64d96f3de * Calendar: Fix notifications show actions for alarm notify messages 2018-06-27 16:25:29 +02:00
Hadi Nategh
b8f228c3aa Set the limit to 100, wrongly set to 10 in previous commit 2018-06-27 10:23:51 +02:00
Hadi Nategh
62b5796387 * Notifications: fix sql query error happens for PostgreSQL 2018-06-27 10:13:34 +02:00
Hadi Nategh
6b74f2685d * Notifications: implements entry based priority to make user more aware about certain notifications like calendar alarm entry. 2018-06-19 16:03:10 +02:00
Hadi Nategh
e8cc3d0eb3 * Notifications: performance improvements on fetching notifications 2018-06-19 14:58:32 +02:00
Hadi Nategh
f7165e2bca Make toggle class accessible 2018-06-06 11:05:19 +02:00
Hadi Nategh
172bda098e * Notifications: On verbosity of high, alert only if the message is unseen. 2018-04-05 14:37:22 +02:00
Ralf Becker
1d835928d2 new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:51:52 +01:00
Hadi Nategh
f2ad6e630b Make notifications popup_or_email option to consider email only if user is not available. 2018-02-27 16:24:02 +01:00
Hadi Nategh
c9dcbc0947 Fix created date in notification is not shown according to user's Date Format preference 2018-02-16 14:02:16 +01:00
Hadi Nategh
a3f22e85e1 * Mail: Fix mail with S/MIME signature fails if user has no rights to notifications 2018-01-26 16:24:45 +01:00
nathangray
be93c24def Make sure popup notifications are fully in recipient's language
"Message from" and "Linked entries" were in sender's language
2018-01-25 15:40:25 -07:00
Hadi Nategh
65a811a940 W.I.P restructuring of Notifications actions:
- Fix actions of calendar show up for other notifications too
2018-01-25 11:07:51 +01:00
Hadi Nategh
c2a3c19124 W.I.P restructuring of Notifications actions 2018-01-24 19:02:49 +01:00
nathangray
d1a5f9a553 Notifications - some translations from Stefan Unverricht 2018-01-23 14:07:27 -07:00
Hadi Nategh
2bf7597647 Fix a bug notifications sidebar in client-side not being translated 2018-01-11 17:23:58 +01:00
nathangray
2c7af08795 * Notifications - do not error sending popup if user is not online, just save it anyway 2017-12-05 10:19:50 -07:00
Hadi Nategh
bb35df1cc1 Fix Java desktop notifications, thanks to Stefan Werfling 2017-11-30 12:19:21 +01:00
Hadi Nategh
324f0b664b Embed attached images of Notification html message as inline image 2017-10-27 19:04:09 +02:00
nathangray
e43a0762fb - Change variable scope & remove final to make testing easier
- Allow to explicitly indicate what type (plain or html) the message is
2017-10-21 11:29:05 +02:00
Hadi Nategh
5f2d541063 W.I.P. of notifications popup handler:
- Implement time label divider
- Fix latest arrivals stacked at the end of the list instead of top
- Fix click handler of expanding action to cover the whole message container
2017-09-18 18:47:44 +02:00
Hadi Nategh
479a557381 WIP of Notifications system:
- Add actions for notification messages
- Fix on message click handler
- Implement appointment request actions for calendar notifications
2017-05-23 16:54:20 +02:00
Hadi Nategh
0ff91fd96c WIP of Notifications System:
- Some styling enhancements
- Add delete and mark as read actions on each message box
2017-05-17 14:04:31 +02:00
Hadi Nategh
a3b8cd339d WIP of Notifications System:
- Introduce notifications states
- Implement click handling for different status and update counter
2017-05-16 18:04:04 +02:00
Hadi Nategh
3d164b0624 WIP of Notifications system 2017-05-15 17:34:27 +02:00
nathangray
aa63949012 Update notification popup to fit theme better 2017-01-10 11:42:44 -07:00