Commit Graph

363 Commits

Author SHA1 Message Date
Hadi Nategh
39100478ab Add some translations for notifications 2018-05-11 16:22:51 +02:00
Hadi Nategh
bd2342bdf7 * Notifications: Database update for notification message field. Fixes notifications with big messages can not be stored or get cut off. 2018-04-06 15:44:59 +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
c28e6de2ba Add some translations, thanks to Evgen Vodopivec. 2018-04-03 11:24:42 +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
db84ba5240 Fix notifications navigator jumps out sometimes on navigation 2018-03-12 17:30:21 +01:00
Hadi Nategh
2cebde45b8 * Notifications: New actions Prev and Next in order to navigate through messages 2018-03-06 18:33:42 +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
7510a94e11 Add closing timer on notifications 2018-02-19 17:17:24 +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
56bba60b6e Do not show open_notified button if there's no link available 2018-02-16 12:02:43 +01:00
Ralf Becker
c2bb28d3f1 pending DE and SK translation from Stefan Unvericht 2018-02-09 12:34:50 +01:00
Hadi Nategh
d38bae6bac Fix translation 2018-02-05 15:31:08 +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
da2291be12 Do not show/request popup notifications if it's not selected in notification_chain 2018-01-25 17:31:15 +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
nathangray
d1a5f9a553 Notifications - some translations from Stefan Unverricht 2018-01-23 14:07:27 -07:00
Hadi Nategh
09f9bce5b4 Add more translations for Notifications 2018-01-12 16:44:48 +01:00
Hadi Nategh
2bf7597647 Fix a bug notifications sidebar in client-side not being translated 2018-01-11 17:23:58 +01:00
Hadi Nategh
6f2f0c4a8d Add some translations for Notifications 2018-01-11 12:01:44 +01:00
Hadi Nategh
b7ffb65644 Make notification sidebar disappear when click away 2018-01-10 12:42:42 +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
013660ae55 Add some German translations from Stefan Unverricht 2017-11-27 11:39:24 +01:00
Hadi Nategh
761c32cf77 Fix broken links in notifications popup, plus preserve the poped up messages
after re-generating Notifications list.
2017-11-17 11:56:43 +01:00
Hadi Nategh
324f0b664b Embed attached images of Notification html message as inline image 2017-10-27 19:04:09 +02:00
Hadi Nategh
f5af05ffd2 Fix delete all notifications action does not reset the counter 2017-10-26 10:26:10 +02:00
Ralf Becker
65b02c0246 bump verison to 17.1 2017-10-22 12:56:58 +02:00
nathangray
0f85fc26ff Put mocked notification class into notifications app 2017-10-21 11:29:05 +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
0339bb13bd Clear the notifications list before appending messages 2017-09-20 17:49:35 +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
9563049f41 W.I.P. of notifications popup handler 2017-09-15 17:10:11 +02:00
A Sigalas
e966ae332a Using et2_dialog for popup 2017-08-23 13:15:55 +00:00
A Sigalas
b137c62815 Added popup warning before deleting all notifications 2017-08-23 11:27:42 +00:00
Ralf Becker
9be1804aa9 pending FR and ES translations from our translation server 2017-06-12 18:00:35 +02:00
Ralf Becker
79e4b6b837 change capitalisation to "EGroupware" 2017-05-31 14:04:37 +02:00
Hadi Nategh
263f14e59f WIP Notifications system:
- Inform the user about unread notifications by a 5sec popup note
2017-05-29 15:07:48 +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
c945b55cce WIP of Notifications system:
- Add click handler on message box
- Do not send update status request if the message is already seen
2017-05-22 12:18:53 +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
Ralf Becker
e2d25e741b pending CS and FR changes from our translation server 2017-03-15 11:54:24 +01:00
Hadi Nategh
c78042d522 Update PUBLIC ID of etemplate2.dtd in all templates 2017-02-01 09:59:37 +01:00
nathangray
aa63949012 Update notification popup to fit theme better 2017-01-10 11:42:44 -07:00
Ralf Becker
ae7211af6d replace deprecated session->appsession with Api\Cache::(s|g)etSession() 2016-10-12 17:52:30 +02:00
Hadi Nategh
9befd5fac1 Implement browser notification API for notifications 2016-07-11 12:01:29 +02:00
Ralf Becker
c1e43f3324 * Mail: mailing attachments failed in minimal install caused by using deprecate path-separator constant "SEP" 2016-07-11 10:08:11 +02:00
Ralf Becker
1cf91d150c fix SQL error from clearing cache during install
Invalid SQL: DELETE FROM egw_notificationpopup WHERE notify_type='push' AND notify_created <
2016-06-05 16:41:02 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
Ralf Becker
c088495708 use new API for notifiations 2016-05-06 09:19:36 +00:00
Ralf Becker
62ab3ce897 using new et2 site config 2016-04-25 07:23:36 +00:00
Hadi Nategh
4386564983 Edit couple of more svg icons 2016-04-08 08:37:21 +00:00
Ralf Becker
45a0684491 move egw_json_(request|response|push) to api, missing commit of notifications_push class 2016-03-20 16:45:42 +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
bba3fa804a some database optimizing: changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars 2015-07-11 13:56:50 +00:00
Klaus Leithoff
b38eb063f6 * Notification/Mail: Fix / work around for BAD Header problem encountered in notifications for insufficiently encoded subject
when sending alarm messages on extended notification format
2015-02-26 14:56:23 +00:00
Ralf Becker
18fafed2a4 pending translations from our translation server 2015-02-17 08:52:58 +00:00
Ralf Becker
9b093562b4 remove div.et2_container in favor of just .et2_container, as we use a from now 2015-02-04 08:35:40 +00:00
Ralf Becker
d39ad8fde6 Italian translation from Stylite partner Ilias Chasapakis, Webtrain Services <Ilias@webtrain.it> 2015-01-23 10:20:41 +00:00
Ralf Becker
9840334b5c pending translations from our translation server 2015-01-15 15:49:39 +00:00
Hadi Nategh
4fa44e6482 Reorder and add missing phrases in lang files 2015-01-15 14:53:34 +00:00
Nathan Gray
da3d0d23c4 - Use link registry to open notification links
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Ralf Becker
51c4e0e580 get notifications working again with new egw_mailer 2014-11-25 14:22:16 +00:00
Klaus Leithoff
97acbbb70f rework sender/from/replyTo Information on notification 2014-11-18 10:50:35 +00:00
Ralf Becker
659ca5eb4f query new notifications right after login and therefore also show up as "active" in session-status 2014-10-09 08:21:40 +00:00
Ralf Becker
b6d88157bf disable permanent error_log 2014-08-22 17:27:36 +00:00
Ralf Becker
394fe15fe0 push backend using notifications table 2014-08-22 17:26:22 +00:00
Ralf Becker
3d79bae09a Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-08 09:57:42 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
d3fed2c9b7 * Calendar/Notifications: show notification errors, eg. mail could not be sent 2014-06-05 11:03:12 +00:00
Ralf Becker
6efc08cc0a * Notifications: fixed not used SMTP authentication and selection of mail account 2014-06-05 10:36:13 +00:00
Klaus Leithoff
134ef05744 remove not maintained sms notification backend 2014-05-13 15:02:07 +00:00
Klaus Leithoff
7ddc51e7e4 seed header on notification-mail with installid and keyword = notification-mail 2014-05-13 15:01:24 +00:00
Hadi Nategh
1f0c3b943f Change default preferences value for notifications and CKEditor 2014-04-24 13:03:45 +00:00
Ralf Becker
7cc91b0046 new&modified images from pixelegg 2014-01-15 18:04:11 +00:00
Klaus Leithoff
60bb090278 pixelegg changes from wednesday, new/changed images and styles 2014-01-15 13:46:14 +00:00
Ralf Becker
629bd6f2ee added pixelegg/less/svg.css stylesheet and id reflecting their name to all svn image 2014-01-14 16:14:51 +00:00
Klaus Leithoff
e5acab5fb9 pixelegg changes from tuesday 2014-01-14 16:04:20 +00:00
Ralf Becker
21bb9ef481 pixelegg changes from monday 2014-01-14 08:20:32 +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
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Nathan Gray
853a93c9a3 Get confirming a notification working too 2013-09-04 22:58:29 +00:00
Nathan Gray
96a1c07e9e Stop using deprecated methods, get notifications working again. 2013-09-04 22:52:43 +00:00
Klaus Leithoff
454655a821 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:54:04 +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
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +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
Ralf Becker
792f1b26cc replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document 2013-07-17 12:47:21 +00:00
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Nathan Gray
ef2a5d377d Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors 2013-04-01 19:14:52 +00:00
Nathan Gray
1c076aa97b Pass proper types to exec to avoid errors 2013-04-01 19:11:33 +00:00
Ralf Becker
4f247b26f8 merged translations and other uncommited ones 2013-02-08 19:03:20 +00:00
Ralf Becker
e77b9c983f fixed corrupted (to small) jar file download caused by PHPs stat cache, also removing temp. file 2013-01-29 16:06:29 +00:00
Ralf Becker
38b8d2fe9e fix for translated debug level causing notification popup to fail 2013-01-28 08:55:47 +00:00
Klaus Leithoff
b1a2db3394 translations provided by Stefan Becker and others 2013-01-23 09:17:04 +00:00
Ralf Becker
9ff3add324 latest changes from Stefan: logging and fixed to short socket timeout in config file 2013-01-22 17:57:27 +00:00
Nathan Gray
dc3367af23 Remove example placeholder, it causes trouble with translations 2013-01-18 15:52:37 +00:00
Ralf Becker
be6845b4d0 * All apps: merged missing translations from other apps or branches 2013-01-18 13:48:34 +00:00
Nathan Gray
36d73efdab Open placeholders link in new window 2013-01-15 21:29:49 +00:00
Nathan Gray
a0738bd2f4 Add a global signature to change messages. Set it in notifications site configuration. 2012-12-17 23:18:28 +00:00
Ralf Becker
213fc4291c fixes from Stefan Werfling for older php versions, where ENT_XML1 is not defined 2012-12-12 03:25:12 +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
Nathan Gray
20ab9041cf Try and fallback from HTML to plain text to match spec - removed HTML notifications 2012-11-05 18:32:54 +00:00
Ralf Becker
10e2e6556a * Notifications: activate links when creating a html mail from a plain-text one 2012-10-30 16:34:27 +00:00
Ralf Becker
7ade6b4f55 * Calendar: popup notifications now include a link again 2012-09-04 12:10:37 +00:00
Ralf Becker
1b3e897eec * Calendar: fixed since last update missing event details, notification iCal adds description with (required) *~*~*~*~*~*~*~*~*~* separator, extended has description before event details and links 2012-08-21 14:49:26 +00:00
Ralf Becker
6c6eeed21c more translations from Gudrun, Ingo & Stefan 2012-08-16 14:41:57 +00:00
Ralf Becker
4c3c423b3d more German translations from Gudrun 2012-08-09 12:57:19 +00:00
Ralf Becker
ea18bc75b5 fixed exception in notifications: "cannot send notifications. No sender supplied" 2012-08-08 07:06:32 +00:00
Klaus Leithoff
0a076525b8 improve notification by allowing to set up specific popup notification messages and subjects; this is used for calendar notification to give worthwile information in popup and meet expectations for ical/rfc type notification 2012-06-13 14:50:41 +00:00
Klaus Leithoff
0de56cd9bc * translations: improving german translation 2012-03-16 11:45:39 +00:00
Ralf Becker
dff1f3894e define SEP, if not defined, fixes open_basedir errors seen in error_log 2012-03-13 08:59:05 +00:00
Klaus Leithoff
94b69703e4 * notification: if sending meeting requests: only send the text/plain part, as outlook interprets the html part as meeting description 2012-01-06 11:34:15 +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
2d906d7a3e Wrap attempt at lang in try/catch for if egw.lang() isn't available 2011-11-30 19:48:54 +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
05e07d0c80 * notification: do not notify expired or inactive users 2011-11-07 16:50:16 +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
Ralf Becker
d3e22bde33 missing xet file of checkmailbox template 2011-09-15 10:39:27 +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
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +00:00
Ralf Becker
f25185f0b9 allow to add attachments by giving a path, instead of a string, eg. egw_vfs::PREFIX.$path for a vfs path in $path 2011-06-23 09:05:25 +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
8e7c73dd84 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-16 13:01:29 +00:00
Ralf Becker
39080d50f8 removed no longer used enable_popup check, as it is always enabled now 2011-06-15 10:05:11 +00:00
Ralf Becker
7b2a5dd23f * Notifications: popup and email are enabled per default, default preference is "popup_or_email" 2011-06-14 13:55:06 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +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
9dfdabe1a3 some fixes for the English translation, mostly correcting case, from our Suomi resident here as Stylite 2011-06-07 06:29:49 +00:00
Klaus Leithoff
89a1d1d419 * Calendar Notification: handle calendar requests correctly as multipart/alternative; adding AltExtended to phpmailer; beware parts of multipartAlternative must be in decreasing order of preference (text/calendar as the last part) 2011-05-26 13:26:09 +00:00
Klaus Leithoff
3df142b00b * Calendar Notification: handle calendar requests correctly as multipart/alternative; one part text/plain the other part text/calendar 2011-05-26 09:47:31 +00:00
Ralf Becker
2787d8d843 fixed not working deleteAccount hook, constructor throws exception if called without argument --> using static method now 2011-04-14 15:09:36 +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
Ralf Becker
23c21cb372 - no need to run RefreshTable (only necessary if multicolumn index got changed)
- emptying notification table, as it can contain thousands of old, not delivered entries
2011-04-14 05:55:55 +00:00
Nathan Gray
375c8e82dd Fix for previously confirmed messages showing again if you're still on the same page when a new notice comes 2011-04-13 21:54:59 +00:00
Nathan Gray
babc62d9f1 Popup notifications now go to all windows and are removed when user clicks OK. Or, close the popup with (X) to mark all as read. 2011-04-13 17:51:02 +00:00