Commit Graph

185 Commits

Author SHA1 Message Date
ralf
343025dece * Notifications: fix wrong condition leading to infinite recursion (causing timeout) and high database load 2024-07-09 16:16:33 +02:00
ralf
54e5365e0b only pass account_id of sender, if different from current user, to be able to use current users personal mail account
(requiring his password!) and not the global SMTP only account
2024-04-17 15:01:18 +02:00
ralf
9d45da268e * Notifications: configurable number of days (default 30), after which older notifications get automatic deleted 2024-04-17 15:00:14 +02:00
ralf
4b683b38ea * Notifications: fixed deleting and grouping of popup notifications by app-name and -id and show full total independent of max. 100 shown entries 2024-04-16 18:54:07 +02:00
ralf
83cf428077 WIP returning next chunk of messages, when all visible ones get deleted 2024-04-11 15:54:06 +02:00
ralf
46a5581d2b fix some PHP Warnings 2024-03-06 20:34:13 +02:00
ralf
df166d4f43 allow notification to set sender different from current user / async-job owner 2024-02-29 09:56:40 +02:00
ralf
1c608ac6a5 * Notifications/Async service: fix caching in mail account always used sender from first notification 2024-02-21 09:04:23 +02:00
ralf
1022309b8e fix too few arguments to function Api\Db::select(), 3 passed at least 5 expected 2023-11-16 14:04:09 +02:00
ralf
6d0a244452 fix wrong colum "notification_created" has to be "notify_created" 2023-09-25 11:29:56 +02:00
ralf
c5d3bb89ab * Notifications: aggregate messages by app:id to return only latest one, also added a cut-off date of 30 days and cleaning older messages 2023-09-25 09:43:37 +02:00
nathan
81eb6ccb6e Notifications: Update [human] chain list to use correct option format 2023-03-22 14:35:52 -06:00
ralf
bd82a46b1f * Notifications: deal with "Lock timeout exceeded" error on too many undeleted notifications 2023-03-17 11:06:23 +01:00
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
ralf
27580ff4d7 remove not used/existing async_identity configuration 2022-03-28 19:47:56 +03:00
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