Commit Graph

347 Commits

Author SHA1 Message Date
Ralf Becker
86c92dcdf6 allow pushing to multiple users in one request 2021-09-02 09:39:43 -06:00
Ralf Becker
ce0a513187 egw.preference(name, app, true) returns now a promise to query preference async
changed notifications to query preference async together with lang-files
fixed error-handling in new egw.json()
2021-07-16 14:50:06 +02:00
Ralf Becker
fc0ad53916 defer first poll by 10 seconds, to speed up start race and make sure status app is loaded
(to not cause a double load of status app.js)
2021-07-09 08:36:13 +02:00
Ralf Becker
29acd3ddc9 remove (unnecessary) import statements and fix url for notificationpopup 2021-07-08 16:09:21 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
Hadi Nategh
cf8cc1c637 Get Notifications popup running 2021-06-16 13:55:09 +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
Hadi Nategh
0730d4880e Remove couple of more jquery import statements 2021-06-10 13:57:33 +02:00
Ralf Becker
592b7fb97d replace LAB.js with native es5 loading 2021-06-05 20:39:39 +02:00
Ralf Becker
1f010a4391 Bump version to 21.1 2021-05-08 15:02:24 +02:00
Hadi Nategh
3ecb399454 Fix notifications set in high priority does not show counter after reload 2021-04-26 14:32:24 +02:00
Hadi Nategh
8efb4381fa Fix notifications low verbosity does not stop ringing bell animation after notification being deleted or all being deleted 2021-04-23 13:02:14 +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
11c747ed20 * Notifications: Add refresh handler for notifications (click on Notifications header) 2021-03-31 16:45:48 +02:00
Hadi Nategh
16e3e053d4 Make sure rawData is an array before using it 2021-03-09 15:20:48 +01:00
Hadi Nategh
1fdec427d9 Fix error adding notifications into list after the list s been cleared 2021-03-08 15:54:33 +01: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
c01beef108 We can't use let in js files as we still supporting old devices with es5 only 2020-09-17 15:36:02 +02:00
Hadi Nategh
10f40c9dbb * Notifications: Fix notifications displayed time was not base on user timezone 2020-08-28 11:59:37 +02:00
Hadi Nategh
f87a5e0b5d Make sure the status app is there before calling its functions 2020-08-21 14:57:52 +02:00
Hadi Nategh
ddd8ce2202 * Notifications: Some performance optimizations 2020-08-19 15:09:05 +02:00
Hadi Nategh
70e8a1b3ae Fix errors happening in mobile framework 2020-08-03 15:21:11 +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
Hadi Nategh
631587eab1 Fix notifications stalling login 2020-07-29 12:55:15 +02:00
Hadi Nategh
231312b0aa Implement popup notifications filter based on tab notification's indicator 2020-07-27 14:44:44 +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
0cea328928 Only set notification tab for none active tabs 2020-07-23 17:39:39 +02:00
Hadi Nategh
1815b1e985 Implement framework tab's notification 2020-07-23 15:50:15 +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
361d5cb351 bump version to 20.1 2020-06-28 10:04:21 +02:00
Ralf Becker
d83c567703 pending translations from our translation server 2020-06-12 12:29:47 +02:00
Ralf Becker
9817d25a47 move who is available via push to push class and backends 2020-04-20 13:07:58 +02:00
Hadi Nategh
4c730456bf Add onSeenAction for notifications 2020-04-17 13:38:27 +02:00
Hadi Nategh
23bd20b2cc Fix wrong user set as owner of event in video conference alarm dialog 2020-04-08 15:14:39 +02:00
Hadi Nategh
bdd0eef739 Some fixes for videoconference alarm notification:
- Send necessary info to the client via calendar notification
- Show dialog always on the top
2020-04-08 11:28:09 +02:00
Hadi Nategh
6283b9013b Do not pop the alarm notification message for video call 2020-04-07 19:03:32 +02:00
Hadi Nategh
c7822bc679 Accept alarm notifications which are less than 5min 2020-04-07 18:25:27 +02:00
Hadi Nategh
b74495de20 Require user interaction for browser notifications 2020-04-07 18:13:38 +02:00
Hadi Nategh
2f7e082d66 Fix alarm-offset not being sent to client 2020-04-07 18:01:55 +02:00
Hadi Nategh
7c14d09409 Add a call notification when receiving an event alarm 2020-04-07 17:16:56 +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
Hadi Nategh
8807c9242c Fix notifications popup gets closed automatically when click is triggered from unread indicator element 2019-12-02 17:36:46 +01:00
Hadi Nategh
9233c93e4f Implement new indicator for topmenu items in fw such as displaying unread messages for notifications 2019-12-02 14:09:45 +01:00
Hadi Nategh
ffecac79fd Do not pop notifications' popup-note while avatar menu is open 2019-11-25 17:16:51 +01:00
Ralf Becker
7cd4169768 * all apps: fixing serveral cases of wrong Url when proxying and terminating TLS on the proxy 2019-11-15 13:54:34 +01:00
Ralf Becker
bf844b7598 support for new Swoole push server 2019-11-04 09:29:49 +01:00