Commit Graph

56 Commits

Author SHA1 Message Date
ralf
16eb17efff * 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-17 08:47:17 +02:00
ralf
b3dd5b734d WIP returning next chunk of messages, when all visible ones get deleted 2024-04-11 18:55:58 +02:00
ralf
0e6375fed8 fix too few arguments to function Api\Db::select(), 3 passed at least 5 expected 2023-11-16 14:04:41 +02:00
ralf
f90f1dea48 fix wrong colum "notification_created" has to be "notify_created" 2023-09-25 11:30:31 +02:00
ralf
0a06361625 * 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:45:14 +02: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
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
Hadi Nategh
10f40c9dbb * Notifications: Fix notifications displayed time was not base on user timezone 2020-08-28 11:59:37 +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
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
172bda098e * Notifications: On verbosity of high, alert only if the message is unseen. 2018-04-05 14:37:22 +02: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
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
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
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
Ralf Becker
ae7211af6d replace deprecated session->appsession with Api\Cache::(s|g)etSession() 2016-10-12 17:52:30 +02:00
Ralf Becker
c088495708 use new API for notifiations 2016-05-06 09:19:36 +00:00
Ralf Becker
0372a559cd * Notifications/all apps: do not block other requests while notifications are queried
by committing the session
2015-10-19 08:07:00 +00:00
Ralf Becker
51c4e0e580 get notifications working again with new egw_mailer 2014-11-25 14:22:16 +00:00
Klaus Leithoff
134ef05744 remove not maintained sms notification backend 2014-05-13 15:02:07 +00:00
Klaus Leithoff
48e4d8daa0 change notification for new messages: now based on hook ->check_notify<- ; clean up of preferences in expectation of moving of most of the stuff to mail-accounts-data 2014-01-10 09:19:07 +00:00
Nathan Gray
96a1c07e9e Stop using deprecated methods, get notifications working again. 2013-09-04 22:52:43 +00:00
Ralf Becker
113943d000 also fix calls to deprecated ajaxResponse class to use egw_json_response singleton, should be fixed in code for current apps 2013-08-25 15:16:26 +00:00
Ralf Becker
46f81649eb also fix calls to deprecated ajaxResponse class to use egw_json_response singleton, should be fixed in code for current apps 2013-08-25 15:14:19 +00:00
Ralf Becker
4ed52a2b16 get notifications-popup ready for content-security, install as object in app.notifications and use data-poll-intervall of script tag to pass poll frequency 2013-07-22 13:29:20 +00:00
Nathan Gray
1c076aa97b Pass proper types to exec to avoid errors 2013-04-01 19:11:33 +00:00
Ralf Becker
3e3dda8149 * Java notifier app from Stefan Werfling, added translation and egw-configuration on download 2012-12-09 05:56:42 +00:00
Ralf Becker
ea18bc75b5 fixed exception in notifications: "cannot send notifications. No sender supplied" 2012-08-08 07:06:32 +00:00
Nathan Gray
4283e1122e Allow browser to notify even if verbosity is low, in case browser is not visible 2011-12-01 16:20:00 +00:00
Nathan Gray
4312c485d1 Use system charset for systems that aren't UTF-8 2011-11-28 16:15:21 +00:00
Nathan Gray
a9119e5eeb Specify utf-8 as encoding for browser notification 2011-11-25 17:43:01 +00:00
Nathan Gray
b023204b1d Show the normal in-browser notification popup when using browser notifications 2011-11-24 16:22:34 +00:00
Nathan Gray
d7cfdfa3d0 Enable popups to use desktop notifications, if browser supports it 2011-11-23 23:48:58 +00:00
Klaus Leithoff
4dc0f22c81 fall back to default timeout (=20) on felamimail_bo->openConnection, as a timeout set to 5 seemed to trigger too many unwanted timeouts 2011-09-28 12:22:11 +00:00
Klaus Leithoff
cd68b52cfb * email: improve connection handling (targeting failed connects), apply connection timeout on data retrieval as well. 2011-09-28 10:57:46 +00:00
Klaus Leithoff
76af8cb134 * eMail: search for attachments in multipart/alternative (as it is used this way by clients now) to indicate attachments; switch back to DATE for sorting and display (instead of INTERNALDATE and ARRIVAL); using UNDELETED as standard filter instead of ALL on search; search for UNDELETED and UNSEEN on notifications and UNDELETED for eSync; 2011-08-23 12:02:13 +00:00
Klaus Leithoff
3112bd98c5 * eMail: (backend) introduce validator for a given eMailProfile ID. A profileID is checked for existence for the active user. If the profileID given does not exist, the next possible valid profileID is returned. This should fix problems regarding the storing of no longer existing profileIDs with the activeProfileID preference. 2011-07-29 09:16:54 +00:00
Klaus Leithoff
ad933f60c9 fix bug in notifications introduced with rev35400 2011-06-27 09:09:17 +00:00
Klaus Leithoff
f413b9dc4b only check for unseen messages of the last 14 days, when checking for new mails per folder; use new parameter to avoid poisoning the cache of the message list 2011-06-21 12:25:54 +00:00
Ralf Becker
9325d8d636 using jQuery's text method, as innerText does not work in FF and standard textContent fails in IE 2011-06-08 09:14:17 +00:00
Ralf Becker
c3170b44bd fixed JSON error "contains script tags! Aborting ..." when confirming a popup:
- adding id to notifications table to use it to identify a notification (sending back the message incl. onclick="..." caused the problem)
- adding a timestamp when message was added, to identify older messages
- close button --> send all ids in one ajax request, not one per id
2011-04-14 13:43:16 +00:00
Ralf Becker
42bf4dbc3c updating number of current users via notifications 2011-04-14 09:50:35 +00:00