platform/core/appfw/notification-service.git
9 years agoUse new Bluetooth-frwk bt_agent_reply_sync() APIs
Manuel Bachmann [Wed, 13 Aug 2014 14:48:13 +0000 (16:48 +0200)]
Use new Bluetooth-frwk bt_agent_reply_sync() APIs

Modify "bluetooth-notification-test" and "notification-display-service"
to use the new APIs of "bluetooth-frwk" to send replies to its
"bluetooth-service". This adds an explicit dep. to "bluetooth-frwk".

Change-Id: I78a98a7f9792f1feb9d92737b5f085c57241897d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoInitial support for Bluetooth notifcations responses
Manuel Bachmann [Fri, 27 Jun 2014 15:24:26 +0000 (17:24 +0200)]
Initial support for Bluetooth notifcations responses

If we receive a Bluetooth notification of USERCONFIRM type,
and the end-user clicks on the "Yes" button, we try to
connect to a Unix socket named "/tmp/.bluetooth_service"
and send a confirmation string.

Change-Id: I78a98a7f9792f1feb9d92737b5f085c57241897d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoInitial support for Bluetooth notifcations
Manuel Bachmann [Thu, 26 Jun 2014 15:22:59 +0000 (17:22 +0200)]
Initial support for Bluetooth notifcations

If the pkgname is "bt-agent", and the NOTIFICATION_TEXT_TYPE_INFO_1
field is "RequestConfirmation/RequestPinCode/RequestPasskey",
the popup will adjust its style.

Change-Id: I0ae39c0acedd045f541f0261ac06ed46a1d0e40b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoDo not delete notifications if they could not be displayed.
Manuel Bachmann [Thu, 5 Jun 2014 11:46:32 +0000 (13:46 +0200)]
Do not delete notifications if they could not be displayed.

Change-Id: I1be3c02f848cc9c706dbbcc9a1f83998ec172059
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoFix the list emptying logic.
Manuel Bachmann [Tue, 3 Jun 2014 12:00:05 +0000 (14:00 +0200)]
Fix the list emptying logic.

Change-Id: I6fda7f02968a354eb47f8111eeaefc0eae5faf1b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoUse the new notifications database path.
Manuel Bachmann [Tue, 3 Jun 2014 11:34:29 +0000 (13:34 +0200)]
Use the new notifications database path.

Change-Id: I134f3f33d328bf3aa2d9543ecbbaee1df9fb036c
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoRun the notifications display deamon with a systemd service.
Manuel Bachmann [Tue, 3 Jun 2014 09:28:00 +0000 (11:28 +0200)]
Run the notifications display deamon with a systemd service.

Change-Id: I62e6594d5fb3a004f61df3113e4690e0156a910c
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoAdd missing source.
Manuel Bachmann [Sun, 1 Jun 2014 09:56:54 +0000 (11:56 +0200)]
Add missing source.

Change-Id: I793f45c1a2937a93e2c97569268d817564c7dcfa
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoInitial implementation of a graphical notifications display deamon.
Manuel Bachmann [Sun, 1 Jun 2014 07:18:33 +0000 (09:18 +0200)]
Initial implementation of a graphical notifications display deamon.

"notification-display-client" will run indefinitely, catch
notifications and display them on the screen (if under Wayland).

Change-Id: If9d6fe3d8b4e5d0005a20f16e48045653702866e
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoActivate Wayland notifications in bluetooth_notification_client
Manuel Bachmann [Sun, 1 Jun 2014 06:16:32 +0000 (08:16 +0200)]
Activate Wayland notifications in bluetooth_notification_client

Add a conditional dependency to libwlmessage, and make
bluetooth_notification_client use it if found.

Change-Id: Ic968858bdf52054516d0a3c4365a7c7874ad1916
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agosend-notification: do not send a notification when using "--help"
Manuel Bachmann [Sat, 31 May 2014 17:54:01 +0000 (19:54 +0200)]
send-notification: do not send a notification when using "--help"

The "--help" option should make the program display the help text
and return directly, not sending a blank notification.

9 years agoFix build dependency (notification-service-devel) 94/21494/2 tizen_3.0.m14.2_ivi submit/tizen_common/20140522.142759 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 submit/tizen_ivi/20140710.000000 tizen_3.0.m14.2_ivi_release
Stephane Desneux [Wed, 21 May 2014 22:44:36 +0000 (00:44 +0200)]
Fix build dependency (notification-service-devel)

Commit 38b527f on platform/core/api/notification
splitted notification API in two packages.
Dependency on notification-service-devel was added.

Change-Id: I40cbfd36281275fd89ab4daf671e406db9fb8a49
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agosend-notification: do not send a notification when using "--help" 24/21424/1
Manuel Bachmann [Tue, 20 May 2014 09:43:35 +0000 (11:43 +0200)]
send-notification: do not send a notification when using "--help"

The "--help" option should make the program display the help text
and return directly, not sending a blank notification.

Change-Id: Ifb2f9ede3b64338cba792c6b98a9e9f610fd5a11
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoadapt agent dbus interface to BlueZ 5 in test program accepted/tizen_ivi_release accepted/tizen/common/20140516.140259 accepted/tizen/ivi/20140519.194935 accepted/tizen/ivi/release/20140528.222557 accepted/tizen/mobile/20141022.083110 submit/tizen/20140210.031854 submit/tizen/20140516.120024 submit/tizen_ivi_panda/20140403.012216 submit/tizen_ivi_release/20140312.071512
Corentin Lecouvey [Thu, 16 Jan 2014 14:42:04 +0000 (15:42 +0100)]
adapt agent dbus interface to BlueZ 5 in test program

Change-Id: Ic17652f6d5dda394c168f892b2452305648f663b
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoDo not use systemd socket mechanism
Corentin Lecouvey [Thu, 16 Jan 2014 14:28:45 +0000 (15:28 +0100)]
Do not use systemd socket mechanism

Notifications daemon discusses with its clients using secure sockets.
Secure sockets are not adapted to systemd socket.

Now notifications daemon is started at boot time.

Change-Id: If6ee8164df1d1db18b973da62d5b066d06c44524
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoFix build warnings submit/tizen/20131025.175040 submit/tizen_ivi_stable/20131116.010031
Rusty Lynch [Thu, 24 Oct 2013 19:58:59 +0000 (12:58 -0700)]
Fix build warnings

 - Stop using deprecated gets
 - Fix prototype for notification callback

Change-Id: I56b088c461d04bf26ae568ce9074e0b680e57847
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoUpdate changelog for release accepted/tizen_ivi_genivi accepted/tizen/ivi/genivi/20140528.222544 ivi_oct_m2 submit/tizen/20130920.182450 submit/tizen_ivi_generic/20140131.065451 submit/tizen_ivi_genivi/20140131.070634 submit/tizen_ivi_milestone/20131113.054424 submit/tizen_ivi_release/20131120.032739
Rusty Lynch [Fri, 20 Sep 2013 18:22:39 +0000 (11:22 -0700)]
Update changelog for release

Change-Id: I21f247ec57cfab000a870cf63abe6ec489bff8c5

10 years agoMerge "Add Bluetooth-client-notification to test bluetooth pairing" into tizen
Rusty Lynch [Fri, 20 Sep 2013 15:52:31 +0000 (08:52 -0700)]
Merge "Add Bluetooth-client-notification to test bluetooth pairing" into tizen

10 years agoAdd Bluetooth-client-notification to test bluetooth pairing
Jean-Benoit MARTIN [Fri, 20 Sep 2013 12:17:26 +0000 (14:17 +0200)]
Add Bluetooth-client-notification to test bluetooth pairing

Change-Id: I1b079a270fe39ca04cb6774e97db19e21f7f9d25

10 years agoSend and display content from notification
Jean-Benoit MARTIN [Fri, 20 Sep 2013 12:30:32 +0000 (14:30 +0200)]
Send and display content from notification

Change-Id: I609ec048f7ffe34104a0c4cdc2a2bedd2566601d

10 years agoUpdate changelog for release submit/tizen/20130916.223357
Rusty Lynch [Mon, 16 Sep 2013 22:32:50 +0000 (15:32 -0700)]
Update changelog for release

Change-Id: Ief212257233fba462330ce3dd3a7db3c6564f4b4

10 years agoRemove socket cleanup code
Rusty Lynch [Mon, 16 Sep 2013 21:09:50 +0000 (14:09 -0700)]
Remove socket cleanup code

Change-Id: I04d379037991c7e450d7905213b576e12108e08e

10 years agoAdd unit test for sending and recieving notifications
Rusty Lynch [Tue, 10 Sep 2013 18:49:40 +0000 (11:49 -0700)]
Add unit test for sending and recieving notifications

Change-Id: Id3c6aa1868a9267d3ffea18a5fcb863bec1f3cf0

10 years agoAdd packaging submit/tizen/20130906.193836
Rusty Lynch [Fri, 6 Sep 2013 19:13:36 +0000 (12:13 -0700)]
Add packaging

Change-Id: Id31a139d6fadc5a43c9082bca772f1a21f6c5f9d
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoInitial import
Rusty Lynch [Fri, 6 Sep 2013 19:10:18 +0000 (12:10 -0700)]
Initial import

Change-Id: I7e3c9fb0bbe124c596fe8b17c3de96c9ced752e8
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>