platform/core/appfw/pkgmgr-server.git
8 years agoFix return value when check blacklist failed 43/61043/2
Sangyoon Jang [Thu, 3 Mar 2016 12:27:21 +0000 (21:27 +0900)]
Fix return value when check blacklist failed

It should return two integer values.

Change-Id: I722a05b024466a2795cf09464947bbc6c6a0dc61
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix memory leak, insecure code 71/60971/3
Sangyoon Jang [Thu, 3 Mar 2016 06:57:21 +0000 (15:57 +0900)]
Fix memory leak, insecure code

- Free reqkey when failed.
- Use snprintf instead of sprintf.

Change-Id: Ia50c2dd0bb602d1ccbd773a8275cf072aec9d027
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove hardcoded path 48/60448/2 accepted/tizen/common/20160304.194343 accepted/tizen/ivi/20160303.093925 accepted/tizen/mobile/20160303.093813 accepted/tizen/tv/20160303.093835 accepted/tizen/wearable/20160303.093906 submit/tizen/20160303.064856
Sangyoon Jang [Fri, 26 Feb 2016 08:24:22 +0000 (17:24 +0900)]
Remove hardcoded path

Use _sysconfdir, fix incorrect comment.

Change-Id: I241c76601efce425a651c59134ffd6e1f886cbf7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix change_info to get pkg info properly 16/59716/1 accepted/tizen/ivi/20160225.081534 accepted/tizen/mobile/20160225.081450 accepted/tizen/tv/20160225.081506 accepted/tizen/wearable/20160225.081519 submit/tizen/20160224.000443 submit/tizen/20160224.092603
Junghyun Yeon [Wed, 17 Feb 2016 23:39:02 +0000 (08:39 +0900)]
fix change_info to get pkg info properly

Change-Id: I2c2869f2703c664835654da36062c562bbf16b01
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoGenerate request key for cleardata request 43/58243/2 accepted/tizen/ivi/20160218.023227 accepted/tizen/mobile/20160202.114608 accepted/tizen/mobile/20160203.051935 accepted/tizen/tv/20160202.114654 accepted/tizen/tv/20160203.051948 accepted/tizen/wearable/20160202.114733 accepted/tizen/wearable/20160203.052020 submit/tizen/20160202.002216 submit/tizen/20160202.010556 submit/tizen/20160202.023804 submit/tizen/20160203.003555 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Tomasz Iwanek [Thu, 28 Jan 2016 13:43:40 +0000 (14:43 +0100)]
Generate request key for cleardata request

Fixes the problem that backend is called with missing key.

  backend -k -c $pkgid

should be:

  backend -k $key -c $pkgid

as pkgmgr_installer option parser requires key.

Change-Id: Ie616e3b928f52c0e5ce2c1f6fa738ebd47af13fb

8 years agoImplement app signal related with app disable/enable 24/58224/5 submit/tizen/20160201.060916
Junghyun Yeon [Thu, 28 Jan 2016 10:58:20 +0000 (19:58 +0900)]
Implement app signal related with app disable/enable

Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]

Change-Id: I66521744e30a20da8c67135cef16da92dea2d41c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd blacklist management feature 43/57543/18 accepted/tizen/mobile/20160201.042845 accepted/tizen/tv/20160201.042919 accepted/tizen/wearable/20160201.042933 submit/tizen/20160201.013807
Sangyoon Jang [Thu, 21 Jan 2016 04:50:02 +0000 (13:50 +0900)]
Add blacklist management feature

Change-Id: I48543f21262825bd70a2508195ff4d6191233341
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix processing getsize, clearcache 70/58170/3
Sangyoon Jang [Thu, 28 Jan 2016 06:41:55 +0000 (15:41 +0900)]
Fix processing getsize, clearcache

argv[0] should be excutable path.
remove unused parameter of __exec_with_arg_vector.
rename __exec_with_arg_vector to __fork_and_exec_with_args for clarify
functionality.

Change-Id: I8e2230fca1aeb563adf0705c99bd47d4f0362277
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSet backend busy, recovery mode when needed only 04/58204/2
Sangyoon Jang [Thu, 28 Jan 2016 08:59:10 +0000 (17:59 +0900)]
Set backend busy, recovery mode when needed only

Change-Id: I1470c40051f47a58f2aa3fdb75d561262b237d88
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFork child process for the backend installer only 71/58071/2
Sangyoon Jang [Wed, 27 Jan 2016 08:27:22 +0000 (17:27 +0900)]
Fork child process for the backend installer only

use g_spawn_async which calls fork() and execv() internally.

Change-Id: Ibec6f0cd0a29ab2d3719ecb1d2af39905aaaf8d0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoEach user can disable global app separately 66/56866/5 accepted/tizen/mobile/20160122.031241 accepted/tizen/mobile/20160129.083355 accepted/tizen/tv/20160122.031302 accepted/tizen/tv/20160129.083419 accepted/tizen/wearable/20160122.031319 accepted/tizen/wearable/20160129.083441 submit/tizen/20160120.053637 submit/tizen/20160127.110348
Junghyun Yeon [Wed, 13 Jan 2016 08:20:24 +0000 (17:20 +0900)]
Each user can disable global app separately

Changes applied at [slp-pkgmgr][pkgmgr-info][pkgmgr-server]

Change-Id: Iab92e323553ab6f58ef330ac9f7b1d37b0094293
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix wrong filepath for kill/check command 16/56516/1
Junghyun Yeon [Mon, 11 Jan 2016 00:13:26 +0000 (09:13 +0900)]
Fix wrong filepath for kill/check command

Change-Id: Ibb7d696be7f504f0420b384e797b9c5c9b665a32
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd drm related methods 31/52731/3 accepted/tizen/mobile/20151201.031741 accepted/tizen/tv/20151201.031758 accepted/tizen/wearable/20151201.031822 submit/tizen/20151130.235340 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangyoon Jang [Thu, 26 Nov 2015 08:43:24 +0000 (17:43 +0900)]
Add drm related methods

ADDED:
 generate_license_request
 register_license
 decrypt_package

Change-Id: Iaa8be0c19b6bfc6a90fc3b4028ea39e1f98f42b2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd functionality to support sending reply at specific point 25/52725/1
Sangyoon Jang [Thu, 26 Nov 2015 07:41:34 +0000 (16:41 +0900)]
Add functionality to support sending reply at specific point

store GDBusMethodInvocation object with 'req_key' in 'req_table'
pkgmgr-server calls '__return_value_to_caller' after job finished

Change-Id: I026fceca63648b5dd7e9d4e8a1182c32869c1dca
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoimplement TEP install, update 80/50980/8 accepted/tizen/mobile/20151117.005608 accepted/tizen/tv/20151117.005625 accepted/tizen/wearable/20151117.005635 submit/tizen/20151116.110857
VBS [Tue, 3 Nov 2015 11:32:33 +0000 (20:32 +0900)]
implement TEP install, update

[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]

Signed-off-by: VBS <jungh.yeon@samsung.com>
Change-Id: Ie376dd71bb487229d165e36592f20987a6ed5128

9 years agoseperate server from slp-pkgmr to prevent cyclic dependency 01/50501/2 accepted/tizen/mobile/20151031.105506 accepted/tizen/tv/20151031.110236 accepted/tizen/wearable/20151031.110514 submit/tizen/20151030.025153 submit/tizen/20151030.025235
jongmyeongko [Thu, 29 Oct 2015 10:19:22 +0000 (19:19 +0900)]
seperate server from slp-pkgmr to prevent cyclic dependency

Change-Id: I6ab194c243f77fa18fe0e528c88dcfbc91d1b5e4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
9 years agoInitial empty repository master
KyungMi Lee [Wed, 28 Oct 2015 05:01:56 +0000 (22:01 -0700)]
Initial empty repository