From 77f4e20ebad57f808077f8add41efae0b3868725 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Thu, 5 Mar 2015 12:59:26 +0900 Subject: Modify the pkgconfig file. Change-Id: I271ddac0baff3c01babe51dbecc7bc22abe22c1a Signed-off-by: Kyuho Jo --- packaging/notification.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 888d6e5..f5712fe 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.23 +Version: 0.2.24 Release: 1 Group: TBD License: Apache -- cgit v1.2.3 From 00e2ba060b6dcdba1efa7b0e97a848df4e7ce9f1 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Fri, 6 Mar 2015 19:45:40 +0900 Subject: Replace elm_object_part_text_set with elm_object_text_set. Change-Id: Ie9f572335b610458253f77f98b24a4e997ac5c60 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index f5712fe..7a4706c 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.24 +Version: 0.2.25 Release: 1 Group: TBD License: Apache -- cgit v1.2.3 From 956ddf2e3c442282f1076cfebd3a72d8d520fc42 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Tue, 21 Apr 2015 15:28:12 +0900 Subject: 1. new public API set for setting/getting permissions of the notification. 2. new internal API set for setting/getting property of settings. Change-Id: I982fce9538d11d6465a02e6abb4f91431e1145f8 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 7a4706c..4cc7d46 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.25 +Version: 0.2.27 Release: 1 Group: TBD License: Apache @@ -168,8 +168,8 @@ fi chown :5000 /opt/dbspace/.notification.db chown :5000 /opt/dbspace/.notification.db-journal -chmod 640 /opt/dbspace/.notification.db -chmod 640 /opt/dbspace/.notification.db-journal +chmod 644 /opt/dbspace/.notification.db +chmod 644 /opt/dbspace/.notification.db-journal if [ -f /usr/lib/rpm-plugins/msm.so ] then chsmack -a 'notification::db' /opt/dbspace/.notification.db* @@ -193,6 +193,7 @@ vconftool set -t string memory/private/libstatus/message "" -i -g 5000 -f $SMAC %{_includedir}/notification/notification_type.h %{_includedir}/notification/notification_list.h %{_includedir}/notification/notification_status.h +%{_includedir}/notification/notification_setting.h %{_libdir}/pkgconfig/notification.pc %files service-devel -- cgit v1.2.3 From 0bb7953ff37b994224745d92dd044cc44b728c91 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Thu, 30 Apr 2015 18:48:37 +0900 Subject: 1. New API set for notification settings. 2. notification_set_event_handler/notification_get_event_handler are implemented. Change-Id: I63ae26521a3bee757551b581316267fdf322ef86 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 4cc7d46..7c52b2d 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.27 +Version: 0.2.28 Release: 1 Group: TBD License: Apache @@ -111,6 +111,14 @@ then b_service_responding TEXT, b_service_single_launch TEXT, b_service_multi_launch TEXT, + b_event_handler_click_on_button_1 TEXT, + b_event_handler_click_on_button_2 TEXT, + b_event_handler_click_on_button_3 TEXT, + b_event_handler_click_on_button_4 TEXT, + b_event_handler_click_on_button_5 TEXT, + b_event_handler_click_on_button_6 TEXT, + b_event_handler_click_on_icon TEXT, + b_event_handler_click_on_thumbnail TEXT, sound_type INTEGER default 0, sound_path TEXT, vibration_type INTEGER default 0, @@ -140,7 +148,7 @@ then rowid INTEGER PRIMARY KEY AUTOINCREMENT, UNIQUE (caller_pkgname, group_id) ); - create table if not exists ongoing_list ( + create table if not exists ongoing_list ( caller_pkgname TEXT NOT NULL, launch_pkgname TEXT, icon_path TEXT, @@ -160,9 +168,25 @@ then flag INTEGER default 0, progress_size DOUBLE default 0, progress_percentage DOUBLE default 0, - rowid INTEGER PRIMARY KEY AUTOINCREMENT, - UNIQUE (caller_pkgname, priv_id) + rowid INTEGER PRIMARY KEY AUTOINCREMENT, + UNIQUE (caller_pkgname, priv_id) ); + CREATE TABLE IF NOT EXISTS notification_setting ( + priv_id INTERGER PRIMARY KEY, + package_name TEXT NOT NULL, + allow_to_notify INTEGER DEFAULT 1, + do_not_disturb_except INTEGER DEFAULT 0, + visibility_class INTEGER DEFAULT 0, + UNIQUE (priv_id, package_name) + ); + + INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (1, "org.tizen.photos", 1, 0, 0); + INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (2, "org.tizen.email", 1, 0, 0); + INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (3, "org.tizen.message", 1, 0, 0); + INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (4, "org.tizen.internet", 1, 0, 0); + INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (5, "org.tizen.games", 1, 0, 0); + + CREATE UNIQUE INDEX package_name_idx1 ON notification_setting (package_name); ' fi -- cgit v1.2.3 From 6064205f3031e16007a3b7025b0d397b85c742a5 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Mon, 4 May 2015 14:41:27 +0900 Subject: 1. Remove API set for domain from public API 2. Add new internal API for on-going type Change-Id: I22535d8009cef94dd27ab842fb1032e4bcc4a10d Signed-off-by: Kyuho Jo --- packaging/notification.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 7c52b2d..43e44da 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.28 +Version: 0.2.29 Release: 1 Group: TBD License: Apache -- cgit v1.2.3 From a8fff04a1c3373dafe4cd0ab3f709cd842f20a6a Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Wed, 6 May 2015 15:49:09 +0900 Subject: 1. Move internal API set for notification_list to notification_list.h 2. New API set for notification system setting 3. Correct abnormal file access permsssions Change-Id: I9a00c7bedadcd2e350875246197f22c7488cdd13 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) mode change 100755 => 100644 packaging/notification.spec (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec old mode 100755 new mode 100644 index 43e44da..db9eb43 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.29 +Version: 0.2.30 Release: 1 Group: TBD License: Apache @@ -179,12 +179,19 @@ then visibility_class INTEGER DEFAULT 0, UNIQUE (priv_id, package_name) ); + CREATE TABLE IF NOT EXISTS notification_system_setting ( + priv_id INTERGER PRIMARY KEY, + do_not_disturb INTEGER DEFAULT 0, + visibility_class INTEGER DEFAULT 0, + UNIQUE (priv_id, package_name) + ); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (1, "org.tizen.photos", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (2, "org.tizen.email", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (3, "org.tizen.message", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (4, "org.tizen.internet", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (5, "org.tizen.games", 1, 0, 0); + INSERT INTO notification_system_setting (do_not_disturb, visibility_class) VALUES (0, 0, 0); CREATE UNIQUE INDEX package_name_idx1 ON notification_setting (package_name); ' @@ -218,6 +225,7 @@ vconftool set -t string memory/private/libstatus/message "" -i -g 5000 -f $SMAC %{_includedir}/notification/notification_list.h %{_includedir}/notification/notification_status.h %{_includedir}/notification/notification_setting.h +%{_includedir}/notification/notification_setting_internal.h %{_libdir}/pkgconfig/notification.pc %files service-devel -- cgit v1.2.3 From cdd61be1ca4375fc5ab402486f2b0db289e4139f Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Thu, 7 May 2015 13:53:56 +0900 Subject: Move internal API set to internal header file. Change-Id: Id94c88aedec1f7add24363d8cffc26fc72d39936 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index db9eb43..98d793f 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.30 +Version: 0.2.31 Release: 1 Group: TBD License: Apache @@ -223,7 +223,9 @@ vconftool set -t string memory/private/libstatus/message "" -i -g 5000 -f $SMAC %{_includedir}/notification/notification_error.h %{_includedir}/notification/notification_type.h %{_includedir}/notification/notification_list.h +%{_includedir}/notification/notification_ongoing_flag.h %{_includedir}/notification/notification_status.h +%{_includedir}/notification/notification_status_internal.h %{_includedir}/notification/notification_setting.h %{_includedir}/notification/notification_setting_internal.h %{_libdir}/pkgconfig/notification.pc -- cgit v1.2.3 From 166d39deacdc50b06c68dc6df6236b6fa2777a95 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Tue, 12 May 2015 13:25:28 +0900 Subject: Install notification_text_domain.h Change-Id: I17a43082511c3f57ff96bf4f4922bc3a14e60519 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 1 + 1 file changed, 1 insertion(+) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 98d793f..0e0d972 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -224,6 +224,7 @@ vconftool set -t string memory/private/libstatus/message "" -i -g 5000 -f $SMAC %{_includedir}/notification/notification_type.h %{_includedir}/notification/notification_list.h %{_includedir}/notification/notification_ongoing_flag.h +%{_includedir}/notification/notification_text_domain.h %{_includedir}/notification/notification_status.h %{_includedir}/notification/notification_status_internal.h %{_includedir}/notification/notification_setting.h -- cgit v1.2.3 From ef085b6f09db7b79ef6979b4261ff3081d4a1924 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Sun, 17 May 2015 18:26:45 +0900 Subject: Fix a bug on creating DB table for system setting. Change-Id: I6f5a8a8584b812dcc4ed586658d16b49c1b6d675 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 0e0d972..a021790 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.31 +Version: 0.2.32 Release: 1 Group: TBD License: Apache @@ -183,7 +183,7 @@ then priv_id INTERGER PRIMARY KEY, do_not_disturb INTEGER DEFAULT 0, visibility_class INTEGER DEFAULT 0, - UNIQUE (priv_id, package_name) + UNIQUE (priv_id) ); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (1, "org.tizen.photos", 1, 0, 0); @@ -191,7 +191,7 @@ then INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (3, "org.tizen.message", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (4, "org.tizen.internet", 1, 0, 0); INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (5, "org.tizen.games", 1, 0, 0); - INSERT INTO notification_system_setting (do_not_disturb, visibility_class) VALUES (0, 0, 0); + INSERT INTO notification_system_setting (priv_id, do_not_disturb, visibility_class) VALUES (0, 0, 0); CREATE UNIQUE INDEX package_name_idx1 ON notification_setting (package_name); ' -- cgit v1.2.3 From 55f2817cd703e575eb659e44948815d710fcc737 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Mon, 18 May 2015 22:21:28 +0900 Subject: 1. Support multiple IDS strings. 2. Fix bugs on setting. Change-Id: If7fea48aff3fc3a171fdb7c634392667d74ff9f6 Signed-off-by: Kyuho Jo --- packaging/notification.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index a021790..327579f 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.32 +Version: 0.2.33 Release: 1 Group: TBD License: Apache -- cgit v1.2.3 From 7e515bd384158e01060fed6818d31b998b86f762 Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Tue, 19 May 2015 20:13:12 +0900 Subject: Fetching package names from package manager. Change-Id: Ida53aa317073496b157aa097d6650df96886159a Signed-off-by: Kyuho Jo --- packaging/notification.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'packaging') diff --git a/packaging/notification.spec b/packaging/notification.spec index 327579f..6477561 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -1,6 +1,6 @@ Name: notification Summary: notification library -Version: 0.2.33 +Version: 0.2.34 Release: 1 Group: TBD License: Apache @@ -172,7 +172,7 @@ then UNIQUE (caller_pkgname, priv_id) ); CREATE TABLE IF NOT EXISTS notification_setting ( - priv_id INTERGER PRIMARY KEY, + priv_id INTEGER PRIMARY KEY AUTOINCREMENT, package_name TEXT NOT NULL, allow_to_notify INTEGER DEFAULT 1, do_not_disturb_except INTEGER DEFAULT 0, @@ -186,11 +186,6 @@ then UNIQUE (priv_id) ); - INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (1, "org.tizen.photos", 1, 0, 0); - INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (2, "org.tizen.email", 1, 0, 0); - INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (3, "org.tizen.message", 1, 0, 0); - INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (4, "org.tizen.internet", 1, 0, 0); - INSERT INTO notification_setting (priv_id, package_name, allow_to_notify, do_not_disturb_except, visibility_class) VALUES (5, "org.tizen.games", 1, 0, 0); INSERT INTO notification_system_setting (priv_id, do_not_disturb, visibility_class) VALUES (0, 0, 0); CREATE UNIQUE INDEX package_name_idx1 ON notification_setting (package_name); -- cgit v1.2.3