platform/core/security/askuser.git
8 years agoUpdate release version to 1.0.1 20/62920/2 accepted/tizen/common/20160321.150734 accepted/tizen/ivi/20160321.114208 accepted/tizen/mobile/20160321.114118 accepted/tizen/tv/20160321.114135 accepted/tizen/wearable/20160321.114153 submit/tizen/20160321.060824
Yunjin Lee [Mon, 21 Mar 2016 06:03:32 +0000 (15:03 +0900)]
Update release version to 1.0.1

Change-Id: I4e69e64ee4df8968aadcca54948d58488adda562
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoReplace vulnerable functions: strerror and sprintf 32/62132/6
Yunjin Lee [Mon, 14 Mar 2016 12:29:50 +0000 (21:29 +0900)]
Replace vulnerable functions: strerror and sprintf

Change-Id: Idf4630c96d97294739e875be14999a6f4d7ddae7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove notification dependency 27/59427/4 accepted/tizen/common/20160310.081710 accepted/tizen/ivi/20160310.060854 accepted/tizen/mobile/20160310.060750 accepted/tizen/tv/20160310.060809 accepted/tizen/wearable/20160310.060834 submit/tizen/20160309.083015
Oskar Świtalski [Mon, 15 Feb 2016 10:15:04 +0000 (11:15 +0100)]
Remove notification dependency

Change-Id: Icfa9a8373e62e400837d3d39bb19da73becec032
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoFix minor building issues 83/59683/2
Oskar Świtalski [Wed, 17 Feb 2016 10:08:52 +0000 (11:08 +0100)]
Fix minor building issues

* added missing build requirement
* remove unused include

Change-Id: I68e95941f00efa4721866226fd6ff838cd8c711f
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoRevise dependency to fix build fail 97/57897/3 devel/ivi accepted/tizen/common/20160217.170706 accepted/tizen/ivi/20160218.023934 accepted/tizen/mobile/20160129.083354 accepted/tizen/tv/20160129.083418 accepted/tizen/wearable/20160129.083440 submit/devel/ivi/20160202.071226 submit/tizen/20160127.110348 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Yunjin Lee [Tue, 26 Jan 2016 00:34:16 +0000 (09:34 +0900)]
Revise dependency to fix build fail

Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoMerge "Add internal popup implementation" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:56:23 +0000 (06:56 -0800)]
Merge "Add internal popup implementation" into tizen

8 years agoMerge "Change bundle_add() to bundle_add_str()" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:55:52 +0000 (06:55 -0800)]
Merge "Change bundle_add() to bundle_add_str()" into tizen

8 years agoAdd internal popup implementation 34/50934/16
Janusz Kozerski [Tue, 3 Nov 2015 13:22:51 +0000 (14:22 +0100)]
Add internal popup implementation

Add implementation of popups using separate EFL application.
The original askuser process forks, runs popup binary, pass
the data to the popup using pipe, and collect result from popup
(via pipe and exit code).

Verification: run "askuser-test.sh run". All test should pass.

Change-Id: I22b9d172d0a44a2ddb5a875334d9d79088c95cfc

8 years agoChange bundle_add() to bundle_add_str() 41/54741/1
Janusz Kozerski [Thu, 17 Dec 2015 14:07:52 +0000 (15:07 +0100)]
Change bundle_add() to bundle_add_str()

Function bundle_add has been removed from header.

Change-Id: Ibd8b1a893a0e466eae84a389dffde5c0c58f55b4

8 years agoInclude bundle_internal.h for internal bundle apis 76/54276/1 accepted/tizen/mobile/20151217.023653 accepted/tizen/tv/20151217.023710 accepted/tizen/wearable/20151217.023737 submit/tizen/20151214.084555 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Hwankyu Jhun [Mon, 14 Dec 2015 12:00:07 +0000 (21:00 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I297e6ca578ab2aae9de3ab03f8b113e91a85e60d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoChanges for using new notification API. 66/40466/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0.2015.q2/common/20150615.091833 accepted/tizen/common/20150612.065903 accepted/tizen/mobile/20150615.071216 accepted/tizen/tv/20150615.071241 accepted/tizen/wearable/20150617.012830 submit/submit/tizen/20150609.020831/20150609.021355 submit/submit/tizen/20150609.074149/20150609.101349 submit/submit/tizen_mobile/20150609.015041/20150609.021256 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_mobile/20150604.063436 submit/tizen_mobile/20150612.084020 submit/tizen_tv/20150612.084103 submit/tizen_wearable/20150616.000000 submit/tizen_wearble/20150612.084038 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
Kyuho Jo [Thu, 4 Jun 2015 06:16:28 +0000 (15:16 +0900)]
Changes for using new notification API.

Change-Id: I9b31bbe1bdfdfd4be10a7405721a75373ddece9b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoAdd testing utility for askuser extensions 13/34513/10
Adam Malinowski [Wed, 28 Jan 2015 12:14:21 +0000 (13:14 +0100)]
Add testing utility for askuser extensions

This patch adds simple client binary and script in order to make
testing/verifying askuser extension easier.

This must be built with cynara built from this patch:
https://review.tizen.org/gerrit/#/c/34388/

Change-Id: I084278afe5293eb7870906293d26b88c18539b8b

9 years agoAdd needed systemd-daemon linking dependency 13/35613/2
Adam Malinowski [Thu, 19 Feb 2015 11:10:23 +0000 (12:10 +0100)]
Add needed systemd-daemon linking dependency

Change-Id: If09fd8717af9628d04e902e297ce41b0868abb05

9 years agoRelease 0.1.0 18/34518/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150128.145804 accepted/tizen/mobile/20150129.010156 accepted/tizen/tv/20150129.004912 accepted/tizen/wearable/20150129.005220 submit/tizen/20150128.140617
Adam Malinowski [Wed, 28 Jan 2015 13:55:58 +0000 (14:55 +0100)]
Release 0.1.0

Change-Id: Iea2a456b2d54840617cca92a8c247217ed75d448

9 years agoRedo logging mechanism 42/32942/12
Adam Malinowski [Tue, 30 Dec 2014 12:28:36 +0000 (13:28 +0100)]
Redo logging mechanism

Logging utility was moved from common to agent to allow plugins
use cynara logging mechanism. Agent uses its own logger separated from
cynara logs.

Change-Id: Id5d4065f25adc19056750e18aac04a6d9c3e0b67

9 years agoEnhance allow and add deny types 13/32413/11
Adam Malinowski [Wed, 17 Dec 2014 18:44:49 +0000 (19:44 +0100)]
Enhance allow and add deny types

Note: strings for buttons looks bad but there is no way to put
good looking captions because of limited size of window. Six buttons
with longer captions will not fit in window.

Change-Id: I71094d492fdf1163e06b974c837bf71d2f5435b2

9 years agoImplement stopping daemon 97/32197/14
Adam Malinowski [Wed, 10 Dec 2014 09:50:15 +0000 (10:50 +0100)]
Implement stopping daemon

This patch implements proper daemon stopping for correct handling
'systemd stop' procedure.

Change-Id: I6b0ad7d7978e5ffbe73383e5fcb27d3fe5717539

9 years agoAdd UI backend based on tizen notifications 96/32196/13
Adam Malinowski [Wed, 10 Dec 2014 09:17:06 +0000 (10:17 +0100)]
Add UI backend based on tizen notifications

Change-Id: Iec59517b8d5a55f54ca831394a12793c2ef2ae4c

9 years agoAdd internationalization and privilege translation 95/32195/13
Adam Malinowski [Wed, 10 Dec 2014 09:07:12 +0000 (10:07 +0100)]
Add internationalization and privilege translation

Change-Id: I9f903811c1ff348e430e126971d3f9cf8bb8e00d

9 years agoAdd UI handling 94/32194/12
Adam Malinowski [Tue, 2 Dec 2014 13:52:40 +0000 (14:52 +0100)]
Add UI handling

This patch introduces user interface related stuff, implements
creating UIs and handling responses from them.

Change-Id: I8899ead4d4b6222bf6c50bb51a2703502e2f7210

9 years agoAdd processing cynara requests 93/32193/11
Adam Malinowski [Mon, 1 Dec 2014 11:14:35 +0000 (12:14 +0100)]
Add processing cynara requests

This patch introduces cynara requests handling without UI stuff.

Change-Id: I5fb2158f4089c28893f59d69218a5a447c774741

9 years agoAdd cynara talker 91/32191/10
Adam Malinowski [Fri, 28 Nov 2014 22:18:13 +0000 (23:18 +0100)]
Add cynara talker

This patch introduces class for talking with cynara service.

Change-Id: Ic04b65bbfdfac920f036eab17a90c47be2dec983

9 years agoAdd Request class for representing cynara requests 90/32190/8
Adam Malinowski [Fri, 28 Nov 2014 15:40:36 +0000 (16:40 +0100)]
Add Request class for representing cynara requests

Also prepare project to integration with cynara-agent library.

Change-Id: I14e8de8137ac9458f0b7eebacbebafeaba5ee788

9 years agoFix installing plugins 89/32189/5
Adam Malinowski [Tue, 16 Dec 2014 11:08:44 +0000 (12:08 +0100)]
Fix installing plugins

Directory %{_libdir}/cynara/plugin/ belongs to cynara so RPM gives
conflict error. Files must be installed in leaf directories.

Change-Id: I530235aa7da4f0be73ae1102a8b048e76efd505b

9 years agoAdjust plugins to new plugin API 41/32941/3
Adam Malinowski [Mon, 29 Dec 2014 17:19:26 +0000 (18:19 +0100)]
Adjust plugins to new plugin API

A change has been introduced in cynara plugin API.
getSupportedPolicyTypes was removed and getSupportedPolicyDescr
was added. This patch adapts ask user plugins to new API.

Change-Id: I4b2e7ee1b12f120f2e414b927620239ab0191c19

9 years agoAdd deny types 53/31753/8
Zofia Abramowska [Mon, 8 Dec 2014 14:45:21 +0000 (15:45 +0100)]
Add deny types

Change-Id: Ife48273f31f8a07e719d9b8037ed52a1fc2f5b5e

9 years agoAdd AskUser cynara client and server side plugins 80/31180/10
Zofia Abramowska [Mon, 1 Dec 2014 17:47:14 +0000 (18:47 +0100)]
Add AskUser cynara client and server side plugins

Change-Id: Id6d30097eac100c5462c60b5bac7c41c3a39f6a7

9 years agoAdd translation methods between agent<->cynara<->plugin 42/31042/7
Zofia Abramowska [Mon, 1 Dec 2014 15:58:10 +0000 (16:58 +0100)]
Add translation methods between agent<->cynara<->plugin

Change-Id: Ifd24baca36d9afed2b5201b44054d03584216f22

9 years agoAdd main agent class 12/31012/3
Adam Malinowski [Fri, 28 Nov 2014 13:00:01 +0000 (14:00 +0100)]
Add main agent class

Agent class has been added and its usage in main.cpp file.

Change-Id: Iaec77d164c966a389df97e415febdca6622dc082

9 years agoInitial commit 00/31000/3
Adam Malinowski [Fri, 7 Nov 2014 10:29:37 +0000 (11:29 +0100)]
Initial commit

Add basic structure of project

Change-Id: Idc98fcc1c194562c23b354986d190fb8f20fca75

9 years agoInitial empty repository
Sriram Ramkrishna [Mon, 17 Nov 2014 21:53:05 +0000 (13:53 -0800)]
Initial empty repository