platform/core/appfw/pkgmgr-server.git
8 years agoimplement pkg move 23/64123/5 accepted/tizen/common/20160421.161455 accepted/tizen/ivi/20160421.011258 accepted/tizen/mobile/20160421.011434 accepted/tizen/tv/20160421.011320 accepted/tizen/wearable/20160421.011326 submit/tizen/20160418.112441 submit/tizen/20160420.102539 submit/tizen/20160425.022839
Junghyun Yeon [Wed, 30 Mar 2016 07:13:57 +0000 (16:13 +0900)]
implement pkg move

changes are applied in these repos
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/

Change-Id: I34e4d9ea0e3d8aea86681d34391d353916e4708d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix build fail issue 90/66290/1
Sangyoon Jang [Mon, 18 Apr 2016 08:00:22 +0000 (17:00 +0900)]
Fix build fail issue

Change-Id: I6c8cd8a93108cb0d955ead98f5f7e35722de2ae4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agonot to add space at last of argument 10/64610/1 accepted/tizen/common/20160406.143417 accepted/tizen/ivi/20160406.012033 accepted/tizen/mobile/20160406.011909 accepted/tizen/tv/20160406.011951 accepted/tizen/wearable/20160406.012013 submit/tizen/20160405.001024
Junghyun Yeon [Mon, 4 Apr 2016 07:39:57 +0000 (16:39 +0900)]
not to add space at last of argument

Change-Id: I4ccfc956b5b4829f37519c5cbd7816f31afc6132
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoseperate app enable/disable signal 40/62540/5 accepted/tizen/common/20160324.084232 accepted/tizen/ivi/20160323.010808 accepted/tizen/ivi/20160324.131637 accepted/tizen/mobile/20160323.010712 accepted/tizen/mobile/20160324.132918 accepted/tizen/tv/20160323.010733 accepted/tizen/tv/20160324.132738 accepted/tizen/wearable/20160323.010753 accepted/tizen/wearable/20160324.132702 submit/tizen/20160322.002805 submit/tizen/20160323.235918
Junghyun Yeon [Wed, 16 Mar 2016 11:51:23 +0000 (20:51 +0900)]
seperate app enable/disable signal

Change-Id: I6431cc7502d51b30d28355baa84fdb9957e81576
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoremove unnecessary pkg queue and reassign operations 27/62927/2
Junghyun Yeon [Mon, 21 Mar 2016 06:20:07 +0000 (15:20 +0900)]
remove unnecessary pkg queue and reassign operations

Change-Id: I05effb13bbafb3dfc925a828d0fa0dbc223e15b3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agokill app before server tried to disable it 45/62945/1
Junghyun Yeon [Mon, 21 Mar 2016 07:40:18 +0000 (16:40 +0900)]
kill app before server tried to disable it

Change-Id: Idad9ddb91cdcbe9e304b466e5a14a6cf0745284e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agochange functions for thread-safe 96/62296/1 accepted/tizen/common/20160321.145916 accepted/tizen/ivi/20160321.004615 accepted/tizen/ivi/20160322.023148 accepted/tizen/mobile/20160321.004513 accepted/tizen/tv/20160321.004537 accepted/tizen/wearable/20160321.004556 submit/tizen/20160318.074817 submit/tizen_ivi/20160322.020156
Junghyun Yeon [Tue, 15 Mar 2016 08:44:27 +0000 (17:44 +0900)]
change functions for thread-safe

Change-Id: Iebcda54f4a0880a8b0ac6f7ed629a4c26188eb9d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agofix to check given app handle is from global db or not 53/62053/1
Junghyun Yeon [Mon, 14 Mar 2016 05:54:03 +0000 (14:54 +0900)]
fix to check given app handle is from global db or not

Change-Id: I789427820696a1d5bd87cc1017a5fa206d7d7189
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agosuppress build warnings 92/61992/1 accepted/tizen/common/20160317.155401 accepted/tizen/ivi/20160315.001444 accepted/tizen/mobile/20160315.001356 accepted/tizen/tv/20160315.001407 accepted/tizen/wearable/20160315.001422 submit/tizen/20160314.031145 submit/tizen_common/20160316.154911
Junghyun Yeon [Sat, 12 Mar 2016 04:42:05 +0000 (13:42 +0900)]
suppress build warnings

Change-Id: I725ef47c4da3fa80f3c9ce618d6cb21b99572260
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoset uid before sending app signal 75/60775/2 accepted/tizen/common/20160308.142753 accepted/tizen/ivi/20160309.004710 accepted/tizen/mobile/20160309.004613 accepted/tizen/tv/20160309.004630 accepted/tizen/wearable/20160309.004650 submit/tizen/20160308.025616
Junghyun Yeon [Wed, 2 Mar 2016 07:11:11 +0000 (16:11 +0900)]
set uid before sending app signal
to signal being sent to user properly

Change-Id: Ib8122d16591bff810022aff8bad4fcb8bbe3ae02
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
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>
8 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