platform/core/appfw/notification-service.git
8 years agoModify license comment in spec file 73/55773/1 accepted/tizen/mobile/20151229.115353 accepted/tizen/tv/20151229.115422 accepted/tizen/wearable/20151229.115444 submit/tizen/20151229.081018
jusung son [Tue, 29 Dec 2015 07:52:35 +0000 (16:52 +0900)]
Modify license comment in spec file

Change-Id: I03ac2ba215ac1f82c974af42127bcfcf21b615d6
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoInclude bundle_internal.h for internal bundle apis 78/54378/1 accepted/tizen/mobile/20151217.023656 accepted/tizen/tv/20151217.023712 accepted/tizen/wearable/20151217.023739 submit/tizen/20151214.084555 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
SukHyung, Kang [Tue, 15 Dec 2015 05:27:58 +0000 (14:27 +0900)]
Include bundle_internal.h for internal bundle apis

Change-Id: I777a3799e0b9afe9b6cd763978864cde220efc79
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
8 years agoApply ASLR 08/53908/1 accepted/tizen/mobile/20151210.225843 accepted/tizen/tv/20151210.225854 accepted/tizen/wearable/20151210.225910 submit/tizen/20151210.080219
Kyuho Jo [Thu, 10 Dec 2015 06:45:51 +0000 (15:45 +0900)]
Apply ASLR

Change-Id: I678b2ec24abfc81707bd543decf217927518e30b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
8 years agoRemove the dependency to bluetooth-api 23/52723/1 accepted/tizen/mobile/20151126.112920 accepted/tizen/tv/20151126.112932 accepted/tizen/wearable/20151126.112938 submit/tizen/20151126.075208
Kyuho Jo [Thu, 26 Nov 2015 07:37:09 +0000 (16:37 +0900)]
Remove the dependency to bluetooth-api

Listening the events from bluetooth directly is incorrect way to handle notifications.
So this dependency should be removed.

Change-Id: If49310df460de909b37425b28f10c5e4c74c166e
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
8 years agoAdd cynara checks for socket communication 43/39743/4
Zofia Abramowska [Wed, 20 May 2015 11:48:06 +0000 (13:48 +0200)]
Add cynara checks for socket communication

Add cynara permission check before any PACKET_REQ request is processed
inside notification-service.
Used privilege is http://tizen.org/privilege/notification.

Change-Id: Ie68f7531deb464f7474d277198ac65daa3afad54

8 years agoRemove notification-display-service 66/45766/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150811.114159 accepted/tizen/tv/20150811.114245 accepted/tizen/wearable/20150811.114326 submit/tizen/20150811.112359 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Hurnjoo Lee [Tue, 11 Aug 2015 05:36:35 +0000 (14:36 +0900)]
Remove notification-display-service

1. remove notification-display-service
2. change systemd install target to graphical.target

Change-Id: I1298b882c78ffb8dc5e75db0dbaf4b247917d7a9
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
8 years agoFix the issue that changed callback is not working 69/43569/1 accepted/tizen/mobile/20150713.061007 accepted/tizen/tv/20150713.061029 accepted/tizen/wearable/20150713.061035 submit/tizen/20150713.041512
Hurnjoo Lee [Fri, 10 Jul 2015 06:23:43 +0000 (15:23 +0900)]
Fix the issue that changed callback is not working

If the key value of VCONFKEY_MASTER_STARTED is 0, then notification_ipc_monitor_register
is not called in notification.

Change-Id: I6b062c2ff20aea6b1f243e2c50dadb9b9b87c5ab
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
9 years agoRemove dependency to notification-service package. 03/40803/1 accepted/tizen_3.0.2015.q2_common accepted/tizen_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.091839 accepted/tizen/common/20150612.065906 accepted/tizen/mobile/20150615.071218 accepted/tizen/tv/20150615.071243 accepted/tizen/wearable/20150617.012832 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_mobile/20150612.084020 submit/tizen_tv/20150612.084103 submit/tizen_wearable/20150616.000000 submit/tizen_wearble/20150612.084038
Kyuho Jo [Tue, 9 Jun 2015 07:38:08 +0000 (16:38 +0900)]
Remove dependency to notification-service package.

Change-Id: Icd041bab7cd970afc9dca470c3c71dae80081896
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoChanges for new notification API. 77/40777/1 submit/tizen/20150609.020831
Kyuho Jo [Tue, 9 Jun 2015 04:34:42 +0000 (13:34 +0900)]
Changes for new notification API.

Change-Id: Id4a73883b90236b8e587f886f243c170a6b0da91
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agopackaging: have a X11-specific unitfile for display-service 22/35422/1 accepted/tizen/common/20150216.173435 accepted/tizen/mobile/20150326.005121 accepted/tizen/tv/20150324.014454 accepted/tizen/wearable/20150227.064230 submit/tizen_common/20150216.111840 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150325.000000 submit/tizen_tv/20150320.000001 submit/tizen_wearable/20150227.000000
Manuel Bachmann [Fri, 13 Feb 2015 13:42:11 +0000 (14:42 +0100)]
packaging: have a X11-specific unitfile for display-service

The "notifications-display" service was not starting
correctly under X11. Create a proper systemd unitfile.

Change-Id: I3c40619d0d40cd0d40670dc28d7883cd71db664a
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agonotification-display-service : handle a "timeout" parameter 06/34406/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150128.145716 submit/tizen_common/20150128.140821 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000
Manuel Bachmann [Mon, 26 Jan 2015 15:36:22 +0000 (16:36 +0100)]
notification-display-service : handle a "timeout" parameter

If a notification is waiting for user input (via the
optional NOTIFICATION_EXECUTE_TYPE_RESPONDING bundle),
check if a "timeout" bundle option has been sent, and
then show the popup for that many seconds instead of 60.

Change-Id: I4175bece3d048a10fa17b015ace18f8e47cdb9d8
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoChange systemd install target to default.target 44/33244/1 accepted/tizen_3.0_ivi tizen_3.0_ivi accepted/tizen/common/20150107.103344 accepted/tizen/ivi/20150108.010342 accepted/tizen/mobile/20150108.002538 accepted/tizen/tv/20150108.003319 accepted/tizen/wearable/20150112.053003 submit/tizen/20150107.100620 submit/tizen_ivi/20150107.121639 tizen_3.0_ivi_release
Mikko Ylinen [Wed, 7 Jan 2015 06:49:29 +0000 (08:49 +0200)]
Change systemd install target to default.target

Due to TLM integration, graphical.target is no longer
used. Move notification*.service to default.target.

Change-Id: Ief41127844282b2824274b5b435b4162d9eb9d23
Bug-Tizen: TC-2308
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoMerge "Apply apache license" into tizen accepted/tizen/common/20141202.151843 accepted/tizen/ivi/20141208.013352 accepted/tizen/mobile/20141205.104020 submit/tizen/20141202.114242
Sung-jae Park [Tue, 2 Dec 2014 02:30:38 +0000 (18:30 -0800)]
Merge "Apply apache license" into tizen

9 years agoApply apache license 42/31142/2
hyun lee [Tue, 2 Dec 2014 02:14:05 +0000 (11:14 +0900)]
Apply apache license

Change-Id: I2387ec272d92ab3c98da234666067b260ec439fd
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
9 years agoAdding a requirement to vconf-setup service 96/30996/1 accepted/tizen/common/20141128.181704 accepted/tizen/mobile/20141201.103046 submit/tizen/20141128.103633
José Bollo [Fri, 28 Nov 2014 10:00:17 +0000 (11:00 +0100)]
Adding a requirement to vconf-setup service

Notification service expects vconf to be ready because it
uses it and espacially, it uses the memory backend of vconf.

Change-Id: I509a2f1408b3778bbd20aad4e1d74de7b53416da
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoClean up notifications-display-ivi.service 05/30705/1 accepted/tizen/common/20141126.163110 accepted/tizen/ivi/20141201.073607 accepted/tizen/mobile/20141127.065407 submit/tizen/20141126.102756 submit/tizen_ivi/20141129.103000
Mikko Ylinen [Mon, 24 Nov 2014 12:07:48 +0000 (14:07 +0200)]
Clean up notifications-display-ivi.service

Change-Id: I50cd86c97c9cec24bec72c93cb356cc5a71bb356
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoMove display service .service install outside autotools 04/30704/1
Mikko Ylinen [Mon, 24 Nov 2014 12:04:37 +0000 (14:04 +0200)]
Move display service .service install outside autotools

IVI profile needs the notification-display.service inside
systemd --user session.

To simplify the .service file install for both Common and IVI,
move it outside autotools and do it in the .spec file instead.

Change-Id: I7d31a5cfb2574b2123dbdf53c32d324049362028
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoUse the new wait/send API for interactive notifications 94/30094/2 accepted/tizen/common/20141114.144142 accepted/tizen/ivi/20141119.063314 submit/tizen_common/20141114.091625 submit/tizen_ivi/20141119.000000 submit/tizen_ivi/20141119.111111 submit/tizen_mobile/20141120.000000
Manuel Bachmann [Mon, 10 Nov 2014 13:51:02 +0000 (14:51 +0100)]
Use the new wait/send API for interactive notifications

If the notification has the EXECUTE_RESPONDING flag,
the display plugin will retrieve values from the attached
bundle to add an input textfield and multiple buttons,
and eventually send a response using the new
notification_send_response() API.

Bug-Tizen: TC-996

Change-Id: I6bc11837cc6c9fd5046f54152e1212ac948cd271
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoremove pending notifications from DB when starting notifications-display service 64/29164/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141027.152336 accepted/tizen/3.0.m14.3/ivi/20141027.134134 accepted/tizen/common/20141027.140229 accepted/tizen/ivi/20141107.061625 submit/tizen_3.0.2014.q3_common/20141027.134844 submit/tizen_3.0.m14.3_ivi/20141027.073643 submit/tizen_common/20141027.134820 submit/tizen_ivi/20141107.011402 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Corentin Lecouvey [Tue, 21 Oct 2014 16:34:06 +0000 (18:34 +0200)]
remove pending notifications from DB when starting notifications-display service

If some notifications are present in notification.db when starting notifications-display
service, we remove them. Otherwise, wrong popups appears when starting the service.

Change-Id: Id8813a9dc420ef7b84ddcb4817484b61362a18fa
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoMerge "Add an IVI-specific systemd service" into tizen accepted/tizen/common/20141003.171242 accepted/tizen/ivi/20141009.080621 submit/tizen_common/20141003.142427 submit/tizen_ivi/20141007.444444
Baptiste DURAND [Fri, 3 Oct 2014 14:19:29 +0000 (07:19 -0700)]
Merge "Add an IVI-specific systemd service" into tizen

9 years agohandle bluetooth notifications in wlmessage plugin 68/27968/1
Corentin Lecouvey [Fri, 19 Sep 2014 16:22:04 +0000 (18:22 +0200)]
handle bluetooth notifications in wlmessage plugin

This is a minimal implementation that treats pairing confirmation
and authorize push requests.

Change-Id: I97d95c0a961d98fdcec1ab8840a335d611181e26
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoAdd an IVI-specific systemd service 94/27694/1
Manuel Bachmann [Wed, 17 Sep 2014 12:55:28 +0000 (14:55 +0200)]
Add an IVI-specific systemd service

IVI does not have a systemd setup similar to Common, most
notably the Weston part. This makes starting
"notifications-display.service" on IVI fail. Fix that.
This can safely be reverted in the future.

Change-Id: I48f169082a0e12e4b778710a2a34d8a4efcbe87f
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoMerge "Introduce the display plugin system" into tizen accepted/tizen/common/20140912.142546 submit/tizen_common/20140912.125054 submit/tizen_ivi/20140916.000000
Baptiste DURAND [Fri, 12 Sep 2014 12:49:58 +0000 (05:49 -0700)]
Merge "Introduce the display plugin system" into tizen

9 years agoMerge "send-notification: do not send a notification when using "--help"" into tizen
Brad Peters [Thu, 11 Sep 2014 21:13:19 +0000 (14:13 -0700)]
Merge "send-notification: do not send a notification when using "--help"" into tizen

9 years agoIntroduce the display plugin system 09/27309/2
Manuel Bachmann [Wed, 10 Sep 2014 14:48:55 +0000 (16:48 +0200)]
Introduce the display plugin system

At startup, "notification-display-service" will now search
for plugins in the "/usr/lib$ARCH/notification-service
/plugins" directory. If one is found, it will use it to
display notifications on screens. Otherwise, it will fall
back to pure text with dlog.

There is currently one plugin : wlmessage.so.

Change-Id: I663fc24ec2c9fd8c1f0a2f07be08f479f2a4569d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoCreate a "notification-display-service" daemon 08/26908/4 accepted/tizen/ivi/20140912.193609 submit/tizen_common/20140909.092918 submit/tizen_ivi/20140912.000000
Corentin Lecouvey [Mon, 1 Sep 2014 08:05:17 +0000 (10:05 +0200)]
Create a "notification-display-service" daemon

"notification-display-service" is run by a systemd unit
named "notifications-display.service" ; if we are running
under a Wayland or X11 profile, it will display new
notifications under the form of customized popup windows,
and delete them once they are validated with "Ok".
Otherwise, it will just print the messages to stderr
without deleting them.

Change-Id: Id33b01d67df4d731f666c2b145262642ca21cdbc
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>

9 years agobluetooth_notification_client: activate GUI notifications 07/26907/2
Corentin Lecouvey [Fri, 29 Aug 2014 12:10:00 +0000 (14:10 +0200)]
bluetooth_notification_client: activate GUI notifications

Add a dependency on libwlmessage, which will be used by
blueooth_notification_client to display popup messages
on both Wayland and X11.

dlog some of the error messages.

Change-Id: Ic85de8aad4f20f080c6776ded5dd2237b6364271
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>

9 years agosend-notification: do not send a notification when using "--help" 06/26906/1
Manuel Bachmann [Fri, 29 Aug 2014 08:35:50 +0000 (10:35 +0200)]
send-notification: do not send a notification when using "--help"

Change-Id: I5d0b339e0c7e1dca644839d3e5e2061393687c7b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 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>
10 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>