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
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
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
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
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
d3fed2c9b7
* Calendar/Notifications: show notification errors, eg. mail could not be sent
2014-06-05 11:03:12 +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
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
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
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
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
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
3e3dda8149
* Java notifier app from Stefan Werfling, added translation and egw-configuration on download
2012-12-09 05:56:42 +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
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
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
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
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
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
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
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
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
Ralf Becker
fc93bfde26
bofelamimail --> felamimail_bo
2011-03-10 12:59:16 +00:00
Klaus Leithoff
76c981d20d
rewrite of r33861, a bit more elegant
2011-02-21 16:30:27 +00:00
Klaus Leithoff
5267605a79
make sure the mail object is ALWAYS created new, as it may cause problems with the sender information, if notification is running as cronjob and trying to notify users with different senderinformation
2011-02-21 12:12:29 +00:00
Klaus Leithoff
d08086c8b2
* Notifications: fix dont try to notify when none is set/forced for folders to check for new mails; dont try to notify when email as module is not enabled for the particular user
2010-12-03 10:44:47 +00:00
Ralf Becker
bb0ab3d0ff
"removed deprecated ereg, to get ride of the warning"
2010-05-03 06:44:26 +00:00
Klaus Leithoff
e9b9c61a60
fixing a problem regarding the session handling and content interchange of felamimail if notification for new emails is switched on. bofelamimail session information is now buffered and reapplied after notification run.
2009-11-26 15:40:12 +00:00
Christian Binder
1b256c503d
removed unnecessary error logging
2009-11-16 16:43:50 +00:00
Christian Binder
08efec194f
fixed not found user sessions while working with notifications and assured that all_no_sort param gets handed over to handler class
2009-10-23 13:07:11 +00:00
Christian Binder
cdd9450504
reverted r28072: maybe its better to keep the truncation of sensitive data for some cases
2009-10-09 19:59:22 +00:00
Christian Binder
b9c7fa9526
fixed: links rendered through both html::link and html::a_href get a wrong url
2009-10-09 19:51:25 +00:00
Christian Binder
29e477f912
removed unneeded truncation of sensitive data - sensitive data must not be given at all to notifications link array
2009-10-09 19:22:39 +00:00
Christian Binder
be0c204cfa
fixed egwpopup not writing to database
2009-10-09 19:03:35 +00:00
Ralf Becker
46b4c081a1
"only responding to after_navbar hook, if notifications is enabled for the user, since after_navbar get's called regardless of applicaton permissions"
2009-08-25 11:22:04 +00:00
Ralf Becker
1b5bd9a1fb
"explicit require bofelamimail, 'til it get a autoloading conform name"
2009-04-28 20:24:05 +00:00
Christian Binder
6f7c9611ea
added configureable poll interval for egwpopup - default is 60 seconds
2009-04-06 21:46:11 +00:00
Christian Binder
5a53158bc7
renamed ajax class to fit autoloading scheme
2009-04-03 20:36:28 +00:00
Christian Binder
612f7be6d9
created ONE single AJAX request to improve performance again
2009-04-03 20:17:22 +00:00
Ralf Becker
21338a8327
"added filemtime to force browser to reload javascript file after a modification"
2009-03-24 09:33:28 +00:00
Christian Binder
fd1109612c
fixed typo
2009-02-27 18:51:17 +00:00
Christian Binder
b3b7487ad1
eGroupWare popup: Complete re-style of css and markup (nearly no visible changes but a lot of cleanup). eGWpopup now has a scrollbar for long messages. Changed non-validating color lightgray of idots to its numeric value. Renamed notificationwindow completely to egwpopup.
2009-02-23 20:45:31 +00:00
Christian Binder
878590ea4c
E-Mail notifications are now using eTemplate. Removed unused eTemplate from previous notifications of eGW 1.4. Updated some german lang phrases. Complete german translation follows soon.
2009-02-14 16:49:10 +00:00
Christian Binder
5a1a3879ac
First draft of mail notifications, sponsored by kk-it.net. Checkout the forum for more information. IMPORTANT: You probably have to clear your browsers cache before using it.
2009-02-11 19:32:26 +00:00
Christian Binder
f4cf482f4f
removed debugging into my home folder. sorry I forgot that !
2009-01-25 18:05:13 +00:00
Christian Binder
fad2227b8c
Added new function set_skip_backends() to notifications class. The calling application now can set backends which must be skipped even if the user has set the backend to be executed in its prefs. This is useful for e.g. notifying about new mails in future (where a user pref "notify me by mail" does not make sense).
2008-12-10 19:47:22 +00:00
Klaus Leithoff
a6d7f0caf3
more debug information for notification failure
2008-12-09 14:02:15 +00:00
Ralf Becker
7c69d01277
"fixed bug reported by Frank Becker on the German list: Links in popup notification contains double egroupware path
...
(caused by calling html::link AND htm::a_href on the link, which caused a double run through egw_session::link )
"
2008-10-16 05:30:31 +00:00
Ralf Becker
bf8a23e47e
"fixed bug reported on user list: PHP Fatal Error: unknown method egw_session::list_sessions()"
2008-09-09 11:59:34 +00:00
Ralf Becker
65b94c8284
"fixed config name, wrong name caused not being able to switch off popup notifications"
2008-08-15 09:38:58 +00:00
Ralf Becker
e2f72dcc70
"using egw_session::session_list()"
2008-08-13 20:14:44 +00:00
Ralf Becker
72e99175e9
added version
2008-07-30 06:49:55 +00:00
Ralf Becker
459461347e
bocontacts --> addressbook_bo
2008-05-15 08:52:14 +00:00
Ralf Becker
9e615429e9
sms notifications from aleksander.adamowski(at)olo.org.pl
2008-04-21 17:23:18 +00:00
Ralf Becker
608e2ef249
"use static config::read() method"
2008-03-22 12:34:53 +00:00
Ralf Becker
443d4fd16a
"dont switch the global db object away from phpgwapi!"
2008-03-22 12:34:27 +00:00
Ralf Becker
0da675bf6e
made all methods from html class static and removed the unnecessary singleton
2008-03-09 14:35:48 +00:00
Christian Binder
5b699573e4
enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications
2008-01-30 18:58:00 +00:00
Christian Binder
5fee16c3ef
removed deprecated pass-by-reference which caused a php warning
2007-12-20 19:49:55 +00:00
Christian Binder
40a68b6cfd
little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file.
2007-12-18 15:53:38 +00:00
Christian Binder
b319e27c68
added additional XSS prevention in winpopup notification. Thx to Aleksander Adamowsky
2007-12-14 13:52:28 +00:00
Christian Binder
5d74af6d9a
implemented fallback to email-backend if recipient has no rights to run notification-app or recipient has no prefs set
2007-12-13 12:52:35 +00:00
Christian Binder
bfff821e18
notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore.
2007-12-10 08:26:29 +00:00
Christian Binder
d84fc5bd6a
re-commit of winpopup-backend. the commandline to execute is now hardcoded into the backend for security reasons
2007-12-05 08:55:10 +00:00
Christian Binder
f0293b3c9d
enhanced some failure-proof logic. messages can now be set as html and/or plain and notification-app auto-creates the missing types.
2007-11-30 05:38:31 +00:00