platform/core/appfw/wgt-backend.git
7 years agoAdd StepCheckInstallable 81/98481/1
Sangyoon Jang [Thu, 17 Nov 2016 10:36:31 +0000 (19:36 +0900)]
Add StepCheckInstallable

Requires:
 - https://review.tizen.org/gerrit/98476

Change-Id: I13c733301b6b57f92533a7a451ccb920b1c86635
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix manifest preload location 59/98259/1
Piotr Ganicz [Wed, 16 Nov 2016 15:37:34 +0000 (16:37 +0100)]
Fix manifest preload location

This patch sets manifest location for preload request to TZ_SYS_RO_PACKAGES.

Change-Id: I678e78981fdcb8698d1cda8f1b5eba7bf6173e49

8 years agoFixing rollback 35/88235/5 accepted/tizen/3.0/common/20161114.082526 accepted/tizen/3.0/ivi/20161110.015554 accepted/tizen/3.0/mobile/20161110.015320 accepted/tizen/3.0/tv/20161110.015432 accepted/tizen/3.0/wearable/20161110.015524 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Tomasz Iwanek [Thu, 15 Sep 2016 10:25:48 +0000 (12:25 +0200)]
Fixing rollback

This patch should fix:
 1) Situation when backup files are not fully restored when
    file that has been backed up wasn't removed yet -> file
    is not restored (new flag: FS_MERGE_OVERWRITE)
 2) Situation when backup file was not fully copied and we
    restore broken copy (new flag: FS_COMMIT_COPY_FILE)

Submit together:
 - https://review.tizen.org/gerrit/88235
 - https://review.tizen.org/gerrit/88236

Change-Id: I49baa0c194b6247d33f40cc804610eb32aafe490

8 years agoReworking handling privileges for hybrid application 61/90561/5
Tomasz Iwanek [Fri, 30 Sep 2016 08:07:13 +0000 (10:07 +0200)]
Reworking handling privileges for hybrid application

This patch keeps single list of privileges (stored in
manifest_x) and filters privileges when registring
security rules of applications. Following changed:
 - generated platform manifest xml contains <privilege>
   tags with 'type' atttibute set to 'tpk' or 'wgt',
 - in case of absence of attribute, its default value
   is 'tpk',
 - manifest_x changes privilege type from GList of char*
   to GList of privilege_x. Structure named 'privilege_x'
   contain parsed privilege type,
 - although there is one privilege list, given the fact
   that privilege now have type, native and web privileges
   should be registered in native or web apps only.

Verification:
 - no regression in tpk/wgt smoke tests,
 - install hybrid app with native and web privileges
   and check generated manifest file for privileges,
 - install web app with privileges and check generated
   manifest file,
 - install web app without privileges and check generated
   manifest file -> default privileges should be added.

Submit together:
 - https://review.tizen.org/gerrit/#/c/90540/
 - https://review.tizen.org/gerrit/#/c/90543/
 - https://review.tizen.org/gerrit/#/c/90544/
 - https://review.tizen.org/gerrit/#/c/90546/
 - https://review.tizen.org/gerrit/#/c/90561/

Change-Id: I4ec7c8714a55917dbda665bf2a1c08ca30ce3f97

8 years agoRevert "Fix checking privilege level for hybrid apps" 60/90560/4
Tomasz Iwanek [Fri, 30 Sep 2016 08:48:38 +0000 (10:48 +0200)]
Revert "Fix checking privilege level for hybrid apps"

Following commit will reimplement this bug fix.

This reverts commit 3002913a84371529abcb09bc7f51857bd3a3899a.

Change-Id: I6334d50351fe49daedf543322738b102de2444f5

8 years agoTemporary fix for hybrid pkg installation 82/92582/3 accepted/tizen/common/20161017.170535 accepted/tizen/ivi/20161018.091324 accepted/tizen/mobile/20161018.091236 accepted/tizen/tv/20161018.091256 accepted/tizen/wearable/20161018.091310 submit/tizen/20161017.122727 submit/tizen_3.0/20161028.062323 submit/tizen_3.0_common/20161104.104000
Sangyoon Jang [Mon, 17 Oct 2016 11:02:15 +0000 (20:02 +0900)]
Temporary fix for hybrid pkg installation

Submit together:
 - https://review.tizen.org/gerrit/92583
 - https://review.tizen.org/gerrit/92584
 - https://review.tizen.org/gerrit/92585

Change-Id: If9ab9d27126568e12efadcaea50988ab57cd4c5f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix step order of hybrid installer 81/92581/1
Sangyoon Jang [Mon, 17 Oct 2016 11:00:32 +0000 (20:00 +0900)]
Fix step order of hybrid installer

Parser plugins should be run after pakcage registration.

Change-Id: I0635000604e28c28e88a7e3d56b69a972fec533a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoPatch reinstall/RDS according to SDK behaviour 31/91431/3 accepted/tizen/common/20161013.155648 accepted/tizen/ivi/20161014.074158 accepted/tizen/mobile/20161014.074054 accepted/tizen/tv/20161014.074118 accepted/tizen/wearable/20161014.074137 submit/tizen/20161012.122424
Tomasz Iwanek [Fri, 7 Oct 2016 08:56:10 +0000 (10:56 +0200)]
Patch reinstall/RDS according to SDK behaviour

Commit changes reinstall request argument. Now pkgid
is expected instead of path to directory. What is more,
if package manifest is not in the directory supplied by
reinstall/RDS then it will be copied from install location.

Application installer expects that SDK will put files into:
 - local installation:
   /home/$USERNAME/apps_rw/tmp/$PKGID/
 - global installation:
   /opt/apps/tmp/$PKGID/

Requires:
 - https://review.tizen.org/gerrit/91412

Submit together:
 - https://review.tizen.org/gerrit/91430
 - https://review.tizen.org/gerrit/91431
 - https://review.tizen.org/gerrit/91432

Verification:
 - run smoke tests,
 - run reinstall from SDK,
 - run RDS from SDK.

Change-Id: I7a5008c6a5d9d28f4181a0be92d42dc9c8e57e28

8 years agoFix WgtAppQueryInterface 92/90792/3
Sangyoon Jang [Tue, 4 Oct 2016 08:49:40 +0000 (17:49 +0900)]
Fix WgtAppQueryInterface

Don't parse again argv, argc.
They are already parsed by PkgMgrInterface.

Requires:
 - https://review.tizen.org/gerrit/90478

Change-Id: I2ab9f8ad291f97070d38617e1fd4cb15bb9e986a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix checking privilege level for hybrid apps 86/89686/3 accepted/tizen/common/20161011.154148 accepted/tizen/ivi/20161011.234024 accepted/tizen/mobile/20161011.234006 accepted/tizen/tv/20161011.234015 accepted/tizen/wearable/20161011.233943 submit/tizen/20161011.002253
Tomasz Iwanek [Mon, 26 Sep 2016 09:12:48 +0000 (11:12 +0200)]
Fix checking privilege level for hybrid apps

There are two facts:
 - we need to store all privileges into pkgmgr database,
 - we need to check privilege level for native and web
   privileges separatelly in case of hybrid application.

Therefore, merging of native and web privilege is delayed till
checking privilege level. Installing of hybrid app will involve
customized step for checking privilege level.

Requires:
 - https://review.tizen.org/gerrit/89685

Change-Id: I7bb044e4ddb6de488e959b8433105bc22c82f0c1

8 years agoCoding style 54/90554/1
Piotr Ganicz [Fri, 30 Sep 2016 09:24:43 +0000 (11:24 +0200)]
Coding style

Change-Id: Ib507c02e3202cd96df63a1fddf8d51fa8cb7f163

8 years agoreturn origin string instead of VersionNumber 38/90238/1 accepted/tizen/3.0/ivi/20161011.070258 accepted/tizen/3.0/mobile/20161015.034439 accepted/tizen/3.0/tv/20161016.010108 accepted/tizen/3.0/wearable/20161015.084506 accepted/tizen/common/20160929.163436 accepted/tizen/ivi/20160929.081953 accepted/tizen/mobile/20160929.081930 accepted/tizen/tv/20160929.081936 accepted/tizen/wearable/20160929.081712 submit/tizen/20160929.070640 submit/tizen_3.0_ivi/20161010.000008 submit/tizen_3.0_mobile/20161015.000007 submit/tizen_3.0_tv/20161015.000006 submit/tizen_3.0_wearable/20161015.000006
Cho Woong Suk [Thu, 29 Sep 2016 06:38:46 +0000 (15:38 +0900)]
return origin string instead of VersionNumber

Change-Id: Iccfd3060bf79266efefb28e1dda002b578150cbe

8 years agoSet nodisplay for downloadable_font and tts category apps 27/89727/5
Tomasz Iwanek [Mon, 26 Sep 2016 12:22:38 +0000 (14:22 +0200)]
Set nodisplay for downloadable_font and tts category apps

These apps aren't supposed to be run.

Change-Id: I332a5dae817d627db764086baf2413878da9fe95

8 years agoCheck private data files preservation in smoke tests 52/88252/6
Tomasz Iwanek [Thu, 15 Sep 2016 12:53:42 +0000 (14:53 +0200)]
Check private data files preservation in smoke tests

Change-Id: I1de7c32e4c9fe14f0a781e5d1f328dea62c9a02b

8 years agoAdd more smoke test for hybrid/wgt package in wgt 88/88988/2
Bartlomiej Kunikowski [Wed, 21 Sep 2016 08:35:32 +0000 (10:35 +0200)]
Add more smoke test for hybrid/wgt package in wgt

Run smoke tests to verify.

If you applied patch
 - https://review.tizen.org/gerrit/#/c/88124/

there are:

[  FAILED  ] SmokeTest.MountInstallationMode_Hybrid
[  FAILED  ] SmokeTest.MountUpdateMode_Hybrid
[  FAILED  ] SmokeTest.UpdateMode_Rollback_Hybrid
[  FAILED  ] SmokeTest.MountUpdateMode_Rollback_Hybrid
[  FAILED  ] SmokeTest.MountInstallationMode_Rollback
[  FAILED  ] SmokeTest.MountUpdateMode_Rollback

This will be fixed separately.

Change-Id: I615266eb01f1abfc2861547aa62791f820d2cf65

8 years agoFix smoke test - add missing assertions 52/88452/2
Bartlomiej Kunikowski [Thu, 15 Sep 2016 14:22:23 +0000 (16:22 +0200)]
Fix smoke test - add missing assertions

Change-Id: I3de08191f7c764d78da743e9e24055f0c4f5bcb3

8 years agoFix ValidatePackageFS in smoke tests 24/88124/3
Tomasz Iwanek [Tue, 13 Sep 2016 12:07:08 +0000 (14:07 +0200)]
Fix ValidatePackageFS in smoke tests

Run smoke tests to verify.

Change-Id: I4018ffd9d94aadc764e9b1fcea066896212b8715

8 years agoPut metadata of app-widget into application_x 28/88628/2 accepted/tizen/common/20160922.120318 accepted/tizen/ivi/20160922.233116 accepted/tizen/mobile/20160922.233052 accepted/tizen/tv/20160922.233110 accepted/tizen/wearable/20160922.233104 submit/tizen/20160922.003440
Junghyun Yeon [Tue, 20 Sep 2016 05:05:29 +0000 (14:05 +0900)]
Put metadata of app-widget into application_x

Put metadata of app-widget at parsing time to
Insert it into app metadata db

Change-Id: I877fabfc4f324439344632a0a4909b9fe07a7b81
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoMerge "Fix for StepParse - additional conditions checking for watch category in manif... accepted/tizen/common/20160920.131830 accepted/tizen/ivi/20160920.231559 accepted/tizen/mobile/20160920.231455 accepted/tizen/tv/20160920.231524 accepted/tizen/wearable/20160920.231541 submit/tizen/20160920.011443
woongsuk cho [Mon, 19 Sep 2016 22:57:56 +0000 (15:57 -0700)]
Merge "Fix for StepParse - additional conditions checking for watch category in manifest" into tizen

8 years agoFix for StepParse - additional conditions checking for watch 46/88546/1
Bartlomiej Kunikowski [Mon, 19 Sep 2016 11:03:15 +0000 (13:03 +0200)]
Fix for StepParse - additional conditions checking for watch
category in manifest

Change-Id: I1a1051fc466616df92dd1e5b02e34d4a6e872dce

8 years agoremove the profile macro in the spec file. it's not used. 59/88459/1
jongmyeongko [Mon, 19 Sep 2016 07:49:23 +0000 (16:49 +0900)]
remove the profile macro in the spec file. it's not used.

Change-Id: Id3cd1253f824980766f664580f0219bf189873a4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoNodisplay setting handling for webapp and checking privilege level for 20/88120/3
Bartlomiej Kunikowski [Tue, 13 Sep 2016 10:08:55 +0000 (12:08 +0200)]
Nodisplay setting handling for webapp and checking privilege level for
sound-mode and nodisplay

Change-Id: I6b218368ad5a747edb9c08c420abbb443286618b

8 years agoFix generation of widget-application for hybrid apps 13/87313/3
Tomasz Iwanek [Wed, 7 Sep 2016 09:13:12 +0000 (11:13 +0200)]
Fix generation of widget-application for hybrid apps

Removed statement was performing invalid check. In hybrid apps
we can generate widget-application for wgt as well as native app.
If native part of package declared widget-application, installation
fails. Therefore, this check was removed.

Change-Id: Ie1fb73e33daf037fc613abacf967b305635ad5ed

8 years agoFix change owner for recovery mode 97/87797/3
Bartlomiej Kunikowski [Fri, 9 Sep 2016 09:30:43 +0000 (11:30 +0200)]
Fix change owner for recovery mode

Requires:
 - https://review.tizen.org/gerrit/#/c/87795/

Change-Id: I9b12839a97a748cc2fdb4e134903e7d869c8a29c

8 years agoAdd package file ownership checking to smoke tests 57/87757/3
Bartlomiej Kunikowski [Fri, 9 Sep 2016 09:06:45 +0000 (11:06 +0200)]
Add package file ownership checking to smoke tests

All tests passed after making fixes:
 - https://review.tizen.org/gerrit/#/c/87795/
 - https://review.tizen.org/gerrit/#/c/87797/

Change-Id: Ic25afade3f3ffe4279a0ddf2562ba9c5420abff8

8 years agoBuildbreak fix 43/87943/2 accepted/tizen/common/20160913.170228 accepted/tizen/ivi/20160913.042225 accepted/tizen/mobile/20160913.042133 accepted/tizen/tv/20160913.042151 accepted/tizen/wearable/20160913.042209 submit/tizen/20160913.003221
Tomasz Iwanek [Mon, 12 Sep 2016 08:25:28 +0000 (10:25 +0200)]
Buildbreak fix

Change-Id: Id966e9f9b2c75ea572c8c8184afc329dfd134053

8 years agoadd and fix step for fota and direct install 72/87472/3 accepted/tizen/common/20160909.115059 accepted/tizen/ivi/20160909.122431 accepted/tizen/mobile/20160909.122336 accepted/tizen/tv/20160909.122353 accepted/tizen/wearable/20160909.122414 submit/tizen/20160909.054902 submit/tizen/20160909.060412
Junghyun Yeon [Thu, 8 Sep 2016 07:07:32 +0000 (16:07 +0900)]
add and fix step for fota and direct install

- Add StepWgtPatchIcons at ManifestDirectInstall and Update to work it properly
- Fix StepWgtPatchIcons to overwrite icon even exists

Related changes
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/83327/
[app-installers] : https://review.tizen.org/gerrit/#/c/86789/
[tpk-backend] : https://review.tizen.org/gerrit/#/c/86846/

Change-Id: I9a13d6af490832e0a48fd8e837a7bc29aeb60648
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix installation User Defined Plugins 55/87555/2
Piotr Ganicz [Thu, 8 Sep 2016 12:33:54 +0000 (14:33 +0200)]
Fix installation User Defined Plugins

Change-Id: I0e71b358bf437a40980881c5fc23ce095bd5012b

8 years agoUnit test for User Definded Plugin 54/87554/1
Piotr Ganicz [Thu, 8 Sep 2016 08:56:32 +0000 (10:56 +0200)]
Unit test for User Definded Plugin

Change-Id: I3ca99aae0e79320941a1bb2b8ef9ee410ac75738

8 years agoFix installation of icons for hybrid applications 60/87360/1
Piotr Dabrowski [Wed, 7 Sep 2016 12:31:12 +0000 (14:31 +0200)]
Fix installation of icons for hybrid applications

Change-Id: I41ce7308a6e7abb7f55b3fb002639fad580a4c57

8 years agoRecovery mode for mount install and mount update 41/86741/3
Tomasz Iwanek [Thu, 1 Sep 2016 11:54:40 +0000 (13:54 +0200)]
Recovery mode for mount install and mount update

To verify, run new smoke tests.

Recovery mode requires mounting zip package.
Signature files  which needs to be read in next
step are within zip package.

Requires:
 - https://review.tizen.org/gerrit/86739

Change-Id: I857ecea3dae3836cf9a0af2c11766481a016847e

8 years agoSet correct exec label for smoke tests 11/86311/6
Tomasz Iwanek [Wed, 31 Aug 2016 09:48:58 +0000 (11:48 +0200)]
Set correct exec label for smoke tests

Otherwise, running from shell gives
"System::Privileged" instead of "System".

To verify run:
 $ usermod -s /bin/bash app_fw
 $ chsmack -a _ /etc/passwd
 $ su - app_fw
 $ /usr/bin/wgt-backend-ut/smoke-test

Change-Id: If2f314f77daeb28b4af4cd3568cc3ac52bbd1354

8 years agoFix double parsing of config.xml in delta wgt mode 40/86940/6
Bartlomiej Kunikowski [Mon, 5 Sep 2016 13:29:49 +0000 (15:29 +0200)]
Fix double parsing of config.xml in delta wgt mode

Fixed by add a optional delay in checking existence of start files
and adding new step

Requires:
 - https://review.tizen.org/gerrit/#/c/86941/

Change-Id: I9efed825d5f04af28493a6bd0003e3b9d6efb3c8

8 years agoFixes after cppcheck 92/86292/3
Piotr Dabrowski [Thu, 1 Sep 2016 13:37:33 +0000 (15:37 +0200)]
Fixes after cppcheck

> [wgt-backend/src/wgt/step/encryption/step_encrypt_resources.cc:175]: (error) Resource leak: input
> [wgt-backend/src/wgt/step/encryption/step_encrypt_resources.cc:251]: (error) Deallocating a deallocated pointer: output
> [wgt-backend/src/wgt/extension_config_parser.cc:27]: (performance) Variable 'config_xml_' is assigned in constructor body. Consider performing initialization in initialization list.

Change-Id: I4386dd4b5923566cc2e7ce941144496200fe139b

8 years agoSmoke test for delta recovery 36/86136/2
Tomasz Iwanek [Tue, 30 Aug 2016 14:17:57 +0000 (16:17 +0200)]
Smoke test for delta recovery

To verify, run new smoke test.

Requires:
 - https://review.tizen.org/gerrit/#/c/86119/

Change-Id: I612a4cf568646787463e05dc874f77af7f5c55e5

8 years agoRevert "Revert "Force uninstall for external storage packages"" 91/86191/1
JongHeon Choi [Wed, 31 Aug 2016 04:45:30 +0000 (13:45 +0900)]
Revert "Revert "Force uninstall for external storage packages""

This reverts commit 3b44494fae615048b82f7dac6905cc9aa23e2bfb.

Change-Id: I113e8f2ec6a37a630dd052513d7a88dc6712c407

8 years agoRevert "Force uninstall for external storage packages" 88/86188/1 accepted/tizen/common/20160831.161850 accepted/tizen/ivi/20160831.080426 accepted/tizen/mobile/20160831.080258 accepted/tizen/tv/20160831.080337 accepted/tizen/wearable/20160831.080406 submit/tizen/20160831.045954
JongHeon Choi [Wed, 31 Aug 2016 04:44:22 +0000 (13:44 +0900)]
Revert "Force uninstall for external storage packages"

This reverts commit 0019e1abf93a2d5b1ed056c63a299f3e34db45de.

Change-Id: Ieafc64859bb0648aed01a21d71836d66ac5ad1a6

8 years agoFile encryption method reading whole files into a dynamic stack buffer 38/81738/15 submit/tizen/20160831.042125
JongHeon Choi [Thu, 28 Jul 2016 06:19:06 +0000 (15:19 +0900)]
File encryption method reading whole files into a dynamic stack buffer

Related changes:
[crosswalk-tizen] https://github.com/crosswalk-project/crosswalk-tizen/pull/135
                  https://review.tizen.org/gerrit/#/c/83459/

Change-Id: I87d41c578e161622035e65e324b3d9590e2c266e

8 years agoForce uninstall for external storage packages 80/86080/1
Bartlomiej Kunikowski [Tue, 30 Aug 2016 11:26:04 +0000 (13:26 +0200)]
Force uninstall for external storage packages

Now errors from StepAcquireExternalStorage are ignored in uninstall mode
by using StepOptionalAcquireExternalStorage instead of old step.

Requires:
 - https://review.tizen.org/gerrit/#/c/86078/

Change-Id: I07efa35829566b928208b6312180a24f6e1c66a4

8 years agoAdd StepChangeOwner for HybridInstaller 87/84187/4 accepted/tizen/common/20160829.135936 accepted/tizen/common/20160830.150147 accepted/tizen/ivi/20160830.061217 accepted/tizen/mobile/20160830.060941 accepted/tizen/tv/20160830.061046 accepted/tizen/wearable/20160830.061131 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Tomasz Iwanek [Wed, 17 Aug 2016 08:06:08 +0000 (10:06 +0200)]
Add StepChangeOwner for HybridInstaller

Complementary changes to: https://review.tizen.org/gerrit/#/c/84185/

To verify, install hybrid package and check that files of installed package
have owner's ownership.

Change-Id: I8a644be5567acd1a6ce800225cb9050043c32f76

8 years agoModify getting icon list 78/85078/5
Tomasz Iwanek [Tue, 23 Aug 2016 09:51:27 +0000 (11:51 +0200)]
Modify getting icon list

Installer (now) provides xml:lang localization of icon items in
platform manifest. This information is generated from folder
based localization of wgt package.

From now:
 - icon list returned by handler contains only valid <icon> tag
   related positions, this will prevent parser from modifing
   constant data,
 - client will need to pass icon list from handler to utility
   function (together with base path) to get localized custom
   and default icon list that can be used in runtime or for
   platform manifest <icon> tag assignment,
 - installer generates list of localized icons and for each
   available locale icon element in manifest_x is created.

Submit together:
 - https://review.tizen.org/gerrit/85076
 - https://review.tizen.org/gerrit/85078

Change-Id: I8797bfa57f185d679dd5b6cbea4278658bedd7a2

8 years agoImplement long-polling setting - check privilege 05/85305/6
Bartlomiej Kunikowski [Wed, 24 Aug 2016 12:59:02 +0000 (14:59 +0200)]
Implement long-polling setting - check privilege

Requires:
- https://review.tizen.org/gerrit/#/c/85303/

Change-Id: I9e856727bf240d6d407cea03976024ee18f643d0

8 years agoFix mount install smoke tests 28/84628/3
Tomasz Iwanek [Fri, 19 Aug 2016 11:09:03 +0000 (13:09 +0200)]
Fix mount install smoke tests

Repacking zips. It seems that tzip is not working properly if zip package doesn't have
empty entries per each directory in package. New zips have entries for all directories
in widgets.

To verify, run:
 app_fw$ /usr/bin/wgt-backend-ut/smoke-test --gtest_filter=SmokeTest.MountInstallationMode
 app_fw$ /usr/bin/wgt-backend-ut/smoke-test --gtest_filter=SmokeTest.MountUpdateMode

Change-Id: Icbe007ccf5524d2a2326f4dbe5c05466d174e5c2

8 years agoStepWgtRecoverSignature 03/84603/2
Tomasz Iwanek [Fri, 19 Aug 2016 10:46:58 +0000 (12:46 +0200)]
StepWgtRecoverSignature

To verify, run test:
 app_fw$ /usr/bin/wgt-backend-ut/smoke-test --gtest_filter=SmokeTest.RecoveryMode_ForUpdate

Requires:
 - https://review.tizen.org/gerrit/84596
 - https://review.tizen.org/gerrit/84598

Change-Id: I1046976f841a14c6b68d428e9604b29318b6bf80

8 years agoRemove TODOs 12/84212/2
Tomasz Iwanek [Wed, 17 Aug 2016 08:33:53 +0000 (10:33 +0200)]
Remove TODOs

These TODOs won't be fixed or are already fixed.

Change-Id: I78138e9120b1720986dddb44ab16d55e96432b0e

8 years agoUser 'app_fw' for smoke tests 67/84567/5
Tomasz Iwanek [Fri, 19 Aug 2016 08:49:17 +0000 (10:49 +0200)]
User 'app_fw' for smoke tests

To verify, run:
 app_fw@localhost:~$ /usr/bin/wgt-backend-ut/smoke-test

Fail expected: 'SmokeTest.RecoveryMode_Update' (on second run)
This will be fixed separately.

Tests:
 - SmokeTest.MountInstallationMode
 - SmokeTest.MountUpdateMode
are expected to fail as well.

Requires:
 - https://review.tizen.org/gerrit/#/c/84457/

Change-Id: Id08ad6bc3f294522e6c01d652194ebd248b7510b

8 years agoAdd step to change owner 85/84185/2 accepted/tizen/common/20160817.133230 accepted/tizen/common/20160818.144542 accepted/tizen/ivi/20160819.063358 accepted/tizen/mobile/20160819.063252 accepted/tizen/tv/20160819.063345 accepted/tizen/wearable/20160819.063322 submit/tizen/20160817.084623 submit/tizen/20160818.060816
Hwankyu Jhun [Wed, 17 Aug 2016 07:12:48 +0000 (16:12 +0900)]
Add step to change owner

Change-Id: I57776874ed6680e58b6f9c3f4fc5dafb6f427152
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoPrevent generating invalid manifest. 93/84093/2
Piotr Ganicz [Tue, 16 Aug 2016 10:45:38 +0000 (12:45 +0200)]
Prevent generating invalid manifest.

This patch removes empty labels from manifest when generating.

Change-Id: Iade7cbfefb7d282a6645d389b25c3bc713e5a87d

8 years agosymlink control for read-only files of global app. 02/81502/10
jongmyeongko [Tue, 26 Jul 2016 12:51:59 +0000 (21:51 +0900)]
symlink control for read-only files of global app.

this is for new concept to support legacy app_path
for backward compatibility.

Requires:
https://review.tizen.org/gerrit/#/c/81493/

Change-Id: I1ca76edc6dfe1c11a15a06e13b29c631779bf34e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agotpk/wgt backend will run as system session 99/81099/13 accepted/tizen/common/20160812.140745 accepted/tizen/ivi/20160815.233251 accepted/tizen/mobile/20160815.233131 accepted/tizen/tv/20160815.233209 accepted/tizen/wearable/20160815.233230 submit/tizen/20160811.013634 submit/tizen/20160811.062803 submit/tizen/20160812.053402
Junghyun Yeon [Fri, 22 Jul 2016 05:07:34 +0000 (14:07 +0900)]
tpk/wgt backend will run as system session

Related changes
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/80764/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/78205/
[app-installers] https://review.tizen.org/gerrit/#/c/78206/
[tpk-backend] https://review.tizen.org/gerrit/#/c/80787/

Change-Id: Ia44020806701b668feaf7e1f5c5048dfc6643951
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdjust to change in StepAcquireExternalStorage 00/83300/1
Sangyoon Jang [Wed, 10 Aug 2016 05:14:28 +0000 (14:14 +0900)]
Adjust to change in StepAcquireExternalStorage

Requires:
 - https://review.tizen.org/gerrit/83296

Change-Id: I57dd72defc1cb512115cb9e054a8cb9ffa9beccf
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agomodify smoke-test setup for consideration of user-db change. 99/82999/1 accepted/tizen/common/20160809.184001 accepted/tizen/ivi/20160809.232619 accepted/tizen/mobile/20160809.232357 accepted/tizen/tv/20160809.232508 accepted/tizen/wearable/20160809.232713 submit/tizen/20160809.011327 submit/tizen/20160809.051427
jongmyeongko [Mon, 8 Aug 2016 13:45:35 +0000 (22:45 +0900)]
modify smoke-test setup for consideration of user-db change.

Change-Id: Ia19906f4561e92f5d20df056cbae64caa8ad2312
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove unit-test code for extra icon path. 65/82865/1
jongmyeongko [Mon, 8 Aug 2016 07:48:10 +0000 (16:48 +0900)]
remove unit-test code for extra icon path.

Change-Id: I895b6ca06c97222ce3d4ccce881c3c4e575b1450
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix preload request for wgt 96/82496/3
Tomasz Iwanek [Wed, 3 Aug 2016 12:10:38 +0000 (14:10 +0200)]
Fix preload request for wgt

This commit should allow to install preload wgt package with command:
 - wgt-backend --preload -i $package

Submit together:
 - https://review.tizen.org/gerrit/82424
 - https://review.tizen.org/gerrit/82496
 - https://review.tizen.org/gerrit/82497

Change-Id: Iafdd60cd6b4cee166dcc5177c605dad316adfc27

8 years agoReorder step for consistency 27/82427/2
Tomasz Iwanek [Wed, 3 Aug 2016 08:44:31 +0000 (10:44 +0200)]
Reorder step for consistency

Change-Id: Idd921dbb7bd9f8250371ac7049f11f772ce1ed81

8 years agoGenerate appwidget metadata 05/81505/2 accepted/tizen/common/20160803.193306 accepted/tizen/ivi/20160804.080818 accepted/tizen/mobile/20160804.080907 accepted/tizen/tv/20160804.080734 accepted/tizen/wearable/20160804.080640 submit/tizen/20160803.012753
Tomasz Iwanek [Tue, 26 Jul 2016 13:04:20 +0000 (15:04 +0200)]
Generate appwidget metadata

Requires:
 - https://review.tizen.org/gerrit/81504

Change-Id: I236535a8707aa01325215146b3f1ca8ccf3ab84b

8 years agoRemove StepAcquireExternalStorage from Reinstall 52/77052/5
Sangyoon Jang [Tue, 28 Jun 2016 10:29:34 +0000 (19:29 +0900)]
Remove StepAcquireExternalStorage from Reinstall

StepAcquireExternalStorage does not support reinstall yet.

Change-Id: I49c5e4f0b998ba2ff902f1bd9effb3cfa1163c2a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSmoke test for enable/disable pkg 90/82090/2
Piotr Ganicz [Thu, 28 Jul 2016 10:40:35 +0000 (12:40 +0200)]
Smoke test for enable/disable pkg

I've made also small refactor

Change-Id: I7a4a5083d7d92872fe531016efc53f3c05590a2f

8 years agoReorder steps for delta update for external installation 92/80292/4
Tomasz Iwanek [Fri, 15 Jul 2016 12:54:57 +0000 (14:54 +0200)]
Reorder steps for delta update for external installation

Requires:
 - https://review.tizen.org/gerrit/80277

To verify, check that delta update mode works for external storage.

Change-Id: I43433d8fc44136341c084e552042d4195ba2d1b5

8 years agoFix build warning 47/81647/1
Sangyoon Jang [Wed, 27 Jul 2016 10:44:21 +0000 (19:44 +0900)]
Fix build warning

Change-Id: I9bf2df3544921fe9a5fde76434f2f7597cbdd21a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agosupport of legacy app directories. 24/80324/4 accepted/tizen/common/20160722.135227 accepted/tizen/ivi/20160724.042110 accepted/tizen/mobile/20160724.042018 accepted/tizen/tv/20160724.042043 accepted/tizen/wearable/20160724.042057 submit/tizen/20160722.091303
jongmyeongko [Sat, 16 Jul 2016 08:57:59 +0000 (17:57 +0900)]
support of legacy app directories.

Requires:
        https://review.tizen.org/gerrit/#/c/80319/4

Change-Id: I9cfa081c634dba4a173d1bcabfb6f2c03eeabe18
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoImplement pkg enable/disable 83/79683/1
Tomasz Iwanek [Tue, 12 Jul 2016 09:46:04 +0000 (11:46 +0200)]
Implement pkg enable/disable

Requires:
 - https://review.tizen.org/gerrit/78919

Change-Id: Ic5c001fe2b91e81d35a66891f17cfafb2de3f9a1

8 years agoFix memory leak in CheckPrivilegeLevel 88/79388/3
Piotr Ganicz [Mon, 11 Jul 2016 06:56:15 +0000 (08:56 +0200)]
Fix memory leak in CheckPrivilegeLevel

This patch fixes also typo in the function name.

Change-Id: If118e0fd8d220e0d5dbb65a88b3a8f55a8cd343b

8 years agoimplement step for use user extension 28/75028/5 accepted/tizen/common/20160707.171532 accepted/tizen/ivi/20160707.043119 accepted/tizen/mobile/20160707.043137 accepted/tizen/tv/20160707.043001 accepted/tizen/wearable/20160707.043135 submit/tizen/20160707.013535
Inhwan Lee [Thu, 16 Jun 2016 10:14:55 +0000 (19:14 +0900)]
implement step for use user extension

Change-Id: Ie5442f543f6e4dc3dbf78685716db2b113c021d0

8 years agoFixed app_keys name.(kAccountKey -> kTizenImeKey) 01/78301/1 accepted/tizen/common/20160705.170148 accepted/tizen/ivi/20160705.101331 accepted/tizen/mobile/20160705.101355 accepted/tizen/tv/20160705.101315 accepted/tizen/wearable/20160705.101333 submit/tizen/20160705.054422
JongHeon Choi [Tue, 5 Jul 2016 05:29:55 +0000 (14:29 +0900)]
Fixed app_keys name.(kAccountKey -> kTizenImeKey)

Change-Id: Ifba625f6d0513499fed01360f63cacfc64b9d86d

8 years agoCheck if widget's shared/res/ entry is directory 52/77852/2 accepted/tizen/common/20160706.141407 accepted/tizen/ivi/20160705.044611 accepted/tizen/mobile/20160705.044443 accepted/tizen/tv/20160705.044553 accepted/tizen/wearable/20160705.044507 submit/tizen/20160704.042542
Tomasz Iwanek [Fri, 1 Jul 2016 09:01:36 +0000 (11:01 +0200)]
Check if widget's shared/res/ entry is directory

Installation will succeed if shared/res entry is not directory.

Change-Id: I06e2b3934dd1342ad7ae98fd681a4b2a21d13885

8 years ago[Refactor] check-coding-style 64/77064/1
Piotr Ganicz [Tue, 28 Jun 2016 10:52:34 +0000 (12:52 +0200)]
[Refactor] check-coding-style

Change-Id: If44523674d80b403d32af34848230f53a2620d0b

8 years agoModify nodisplay value of widget-application 14/76714/3 accepted/tizen/common/20160703.125742 accepted/tizen/ivi/20160629.015654 accepted/tizen/mobile/20160629.015613 accepted/tizen/tv/20160629.015725 accepted/tizen/wearable/20160629.015531 submit/tizen/20160627.042541 submit/tizen_common/20160701.180000
JongHeon Choi [Mon, 27 Jun 2016 04:26:44 +0000 (13:26 +0900)]
Modify nodisplay value of widget-application

Change-Id: I1cc298f5761d9bdd0b446a7cc06a937244f83187

8 years agoAdd 'multiple-accounts-support' attribute for false values 50/76050/2
Arkadiusz Szulakiewicz [Wed, 22 Jun 2016 12:29:06 +0000 (14:29 +0200)]
Add 'multiple-accounts-support' attribute for false values

Change-Id: I16f212ec25689115c890f5688cdd7f8657cbebda

8 years agoSplit API in pkgmgr_registration.h 07/75107/5 accepted/tizen/common/20160624.133942 accepted/tizen/ivi/20160624.064700 accepted/tizen/mobile/20160624.064601 accepted/tizen/tv/20160624.064519 accepted/tizen/wearable/20160624.064720 submit/tizen/20160624.022316
Tomasz Iwanek [Thu, 16 Jun 2016 12:57:58 +0000 (14:57 +0200)]
Split API in pkgmgr_registration.h

Submit together:
 - https://review.tizen.org/gerrit/75107
 - https://review.tizen.org/gerrit/75108
 - https://review.tizen.org/gerrit/75109

Change-Id: I259d3aac621443e7985fc2d5aa87e99d5a7bd959

8 years agoFix for update-period 68/76068/6
Piotr Ganicz [Wed, 22 Jun 2016 07:51:31 +0000 (09:51 +0200)]
Fix for update-period

Change-Id: Ic8adec0d7bd7aa14a3b5e054aaed67d5cb1d849c

8 years agoRefactoring StepParse 24/75824/3
Piotr Ganicz [Tue, 21 Jun 2016 08:50:51 +0000 (10:50 +0200)]
Refactoring StepParse

Change-Id: Ib396f828909c4c114c82876b504c37bdb682a128

8 years agoRename backup_paths.h to paths.h 98/74298/5
Tomasz Iwanek [Mon, 13 Jun 2016 14:06:10 +0000 (16:06 +0200)]
Rename backup_paths.h to paths.h

Submit together:
 - https://review.tizen.org/gerrit/74296
 - https://review.tizen.org/gerrit/74297
 - https://review.tizen.org/gerrit/74298

Change-Id: I9b679eebc05951df0e9c706c1495bf54a376fb9e

8 years agogrant User label to wgt-backend 78/75978/1 accepted/tizen/common/20160622.150028 accepted/tizen/ivi/20160623.122225 accepted/tizen/mobile/20160623.122135 accepted/tizen/tv/20160623.122153 accepted/tizen/wearable/20160623.122209 submit/tizen/20160622.091102
jongmyeongko [Wed, 22 Jun 2016 08:52:03 +0000 (17:52 +0900)]
grant User label to wgt-backend

Change-Id: I301c4e2c990a7c3aab377cf9435bb194d8d40868
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix StepParse for tizen:service icon 56/71456/5 accepted/tizen/common/20160621.184529 accepted/tizen/ivi/20160622.093657 accepted/tizen/mobile/20160622.093546 accepted/tizen/tv/20160622.093616 accepted/tizen/wearable/20160622.093637 submit/tizen/20160621.063045
Tomasz Iwanek [Wed, 25 May 2016 10:39:18 +0000 (12:39 +0200)]
Fix StepParse for tizen:service icon

According to 782d65d706b0bc46e12a2e041a9331893c788f6c
icon path should be always set with full path.

To verify:
 - install widget with <tizen:service> tag and check shared/res/ for icons
   there should be one per tizen:service and one for widget itself.

Change-Id: I58d61c447b88a70de34faabaff81c07133f4cfe4

8 years agoNew use of tep steps 94/74294/4
Tomasz Iwanek [Mon, 13 Jun 2016 13:39:43 +0000 (15:39 +0200)]
New use of tep steps

For internal installation tep is removed with files removal.
For external installation tep file must be removed from sd card.

Requires:
 - https://review.tizen.org/gerrit/#/c/74068/

Submit together:
 - https://review.tizen.org/gerrit/#/c/74068/
 - https://review.tizen.org/gerrit/#/c/74293/
 - https://review.tizen.org/gerrit/#/c/74294/

Change-Id: I2457b1918d5cb8450c8d1f3f93d42bec77f65d5f

8 years agoImplement move request for wgt-backend 39/74039/3
Tomasz Iwanek [Fri, 10 Jun 2016 10:58:58 +0000 (12:58 +0200)]
Implement move request for wgt-backend

Check success of commands to verify:
  wgt-backend -i ${package}
  wgt-backend -m ${pkgid} -t 1
  wgt-backend -m ${pkgid} -t 2

Change-Id: I72ef419c1b4c5f99b3477265a7549a53c5efa838

8 years agoapply PIE option 77/75077/6 accepted/tizen/common/20160620.163124 accepted/tizen/ivi/20160617.083632 accepted/tizen/mobile/20160617.083455 accepted/tizen/tv/20160617.083328 accepted/tizen/wearable/20160617.083658 submit/tizen/20160616.134250
jongmyeongko [Thu, 16 Jun 2016 11:39:59 +0000 (20:39 +0900)]
apply PIE option

Change-Id: I7d3271747ff9be58b0f8a46637a8282000c59b3c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoChange the binary name.(widget-client => web-widget-runtime) 23/73623/2 accepted/tizen/common/20160617.121223 accepted/tizen/ivi/20160617.082840 accepted/tizen/mobile/20160617.082657 accepted/tizen/tv/20160617.082644 accepted/tizen/wearable/20160617.082720 submit/tizen/20160616.081626
JongHeon Choi [Thu, 9 Jun 2016 02:30:12 +0000 (11:30 +0900)]
Change the binary name.(widget-client => web-widget-runtime)

Change-Id: If3da83217bd4e3739079689697a56b5454b714e0

8 years agoAdd StepCheckRestriction 05/74205/3 accepted/tizen/common/20160616.151550 accepted/tizen/ivi/20160616.002911 accepted/tizen/mobile/20160616.002840 accepted/tizen/tv/20160616.002823 accepted/tizen/wearable/20160616.002744 submit/tizen/20160615.073423
Sangyoon Jang [Mon, 13 Jun 2016 07:45:48 +0000 (16:45 +0900)]
Add StepCheckRestriction

Added at install, uninstall, reinstall, mount install.

Change-Id: I85ff7e43ac8b9033654b116b436a0db04953572f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoset label to prevent execution by non-system application. 93/74193/1
jongmyeongko [Mon, 13 Jun 2016 06:51:02 +0000 (15:51 +0900)]
set label to prevent execution by non-system application.

Change-Id: I12e682b56fa142919ef1d6941d995b7874cab130
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix generating widget-application item 75/72575/3 accepted/tizen/common/20160610.175859 accepted/tizen/ivi/20160609.091412 accepted/tizen/mobile/20160609.091547 accepted/tizen/tv/20160609.091350 accepted/tizen/wearable/20160609.091326 submit/tizen/20160609.010102
Tomasz Iwanek [Wed, 1 Jun 2016 11:29:06 +0000 (13:29 +0200)]
Fix generating widget-application item

This commit is based on:
 - https://review.tizen.org/gerrit/71796

The way it is changed is:
 - widget information is gathered in manifest_x structure and
   backend data because data that is created by StepParse is
   inserted into database directly according to past changes
   (even we add widget information to generated manifest
   it is not read).
 - icon path is full path for widget-application (same as for
   ui-application) to handle icon backup, copying and pkgmgr
   expectations.
 - <size> is changed to <support-size> defined in manifest.xsd.in
   in pkgmgr-info repository.

Requires:
 - https://review.tizen.org/gerrit/71798
 - https://review.tizen.org/gerrit/72573

Change-Id: I2c980ae205f29fb70928aba58d8d3458d88a9c90

8 years agoRefactoring of StepGenerateXml 99/71499/3
Piotr Ganicz [Wed, 25 May 2016 12:43:38 +0000 (14:43 +0200)]
Refactoring of StepGenerateXml

This patch provides refactoring for StepGenerateXml::process() method
into smaller pieces.

Change-Id: I3889f127bb4344a79cd18fb2875d6983a9ab20a7

8 years agoSTEP_NAME marco 29/72829/4
Tomasz Iwanek [Thu, 2 Jun 2016 12:58:32 +0000 (14:58 +0200)]
STEP_NAME marco

Adding marco to print name of step that failed
in AppInstaller class

Following must be submitted together:
 - https://review.tizen.org/gerrit/72827
 - https://review.tizen.org/gerrit/72828
 - https://review.tizen.org/gerrit/72829

Change-Id: I88056f428cc88ceb1a0c375103f4acc410314abe

8 years agoRemove ime checking for tizen:service 40/72540/3
Tomasz Iwanek [Wed, 1 Jun 2016 10:56:52 +0000 (12:56 +0200)]
Remove ime checking for tizen:service

Ime app is supposed to be main app only. This is not related to
tizen:service (service application).

Change-Id: I4c0046a07c4d019887a084d3cbe64127e89d6886

8 years agoPrivilages refactor 41/72341/3
Piotr Ganicz [Tue, 31 May 2016 10:46:10 +0000 (12:46 +0200)]
Privilages refactor

This patch moves the privileges.h header from wgt-backend
to app-installer repository. It collects the privileges
definitions to one place.

The following patchsets should be submitted together:
    - https://review.tizen.org/gerrit/72341
    - https://review.tizen.org/gerrit/72342

Change-Id: Ia714e68aafd32117bb5eeafe0a51094244425b8d

8 years agoAdd StepCheckTizenVersion 23/71623/2 accepted/tizen/common/20160602.140104 accepted/tizen/ivi/20160602.022911 accepted/tizen/mobile/20160602.023043 accepted/tizen/tv/20160602.022625 accepted/tizen/wearable/20160602.022758 submit/tizen/20160531.024853
Sangyoon Jang [Thu, 26 May 2016 08:14:35 +0000 (17:14 +0900)]
Add StepCheckTizenVersion

Change-Id: Ic006f0e6f5bf7c99c30aa5eb1c1c4866c294f867
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoExternal installation 79/61679/13
Tomasz Iwanek [Wed, 9 Mar 2016 16:18:58 +0000 (17:18 +0100)]
External installation

This patch implements installation of package in external sd card storage.
Tpk and wgt applications may declare preference of being installed on external
storage. If so and space requirement is satisified then their resource directory
is installed in sd card with use of app2sd API.

Following patchsets should be submitted together:
 - https://review.tizen.org/gerrit/61678
 - https://review.tizen.org/gerrit/61679
 - https://review.tizen.org/gerrit/61680

Verify by:
 - running smoke tests,
 - running installation, update, deinstallation for package that prefers external
   installation (SD card must be inserted).

Requires:
 - https://review.tizen.org/gerrit/#/c/64796/

Change-Id: I174c14ddfb48dc2bc1a5935c3b4799abd7f26332

8 years agoGenerate widget element in platform manifest 37/71237/6
Tomasz Iwanek [Tue, 24 May 2016 09:18:41 +0000 (11:18 +0200)]
Generate widget element in platform manifest

To verify, install widget with appwidget and:
 - check information generated in manifest file,
 - check creation of symlink for widgets in bin/ directory,
 - check preview icons in shared/res/ directory.

Requires:
 - https://review.tizen.org/gerrit/71235

Change-Id: I2a38aaee729c4c1f18200d2f63764c4c87e7d730

8 years agoFix manifest attributes 34/71234/3
Piotr Ganicz [Tue, 24 May 2016 11:48:33 +0000 (13:48 +0200)]
Fix manifest attributes

This patch repairs manifest.xml attributes when ime is the
type of the app.

Change-Id: I6cf77401058b922e426311b5a00ad8ab48a0e64a

8 years agoSmoke test for mount install 45/69745/2
Tomasz Iwanek [Fri, 13 May 2016 13:00:54 +0000 (15:00 +0200)]
Smoke test for mount install

Change-Id: I1241198b32e7154870db3710341aa717ba381b46

8 years agoRemove blacklist feature 15/70015/1 accepted/tizen/common/20160518.125136 accepted/tizen/ivi/20160518.090810 accepted/tizen/mobile/20160518.090839 accepted/tizen/tv/20160518.090745 accepted/tizen/wearable/20160518.090731 submit/tizen/20160518.054712
Junghyun Yeon [Tue, 17 May 2016 23:02:55 +0000 (08:02 +0900)]
Remove blacklist feature

Related with changes in app-installers
https://review.tizen.org/gerrit/69947

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: Iaf18948497f90f2e7bf600a56118f634e4da9498

8 years agoFix style 62/69762/2
Tomasz Iwanek [Mon, 16 May 2016 14:07:24 +0000 (16:07 +0200)]
Fix style

Change-Id: I59a00a194561d25172a96c8f60314d01a5b08936

8 years agoFix step order in Delta mode for hybrid app 15/69115/2
Tomasz Iwanek [Wed, 11 May 2016 15:08:36 +0000 (17:08 +0200)]
Fix step order in Delta mode for hybrid app

Change-Id: I9d5c90da48231f9827fd096dbeef779c17e939da

8 years agoencrypting resources during update 07/69507/1
Kamil Rojewski [Fri, 13 May 2016 11:54:34 +0000 (13:54 +0200)]
encrypting resources during update

Change-Id: Idb4ee5a1edd356b718200fb5660971fe80ca8392

8 years agoadd PROJECT_TAG as 'WGT_BACKEND' 85/69185/2 accepted/tizen/common/20160513.123348 accepted/tizen/ivi/20160513.004713 accepted/tizen/mobile/20160513.004741 accepted/tizen/tv/20160513.004657 accepted/tizen/wearable/20160513.004630 submit/tizen/20160512.083806
jongmyeongko [Thu, 12 May 2016 05:51:20 +0000 (14:51 +0900)]
add PROJECT_TAG as 'WGT_BACKEND'

Change-Id: I2a4e6248d068229e93e97f1af55203b5dcd0f622
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoReorder steps for StepDeltaPatch 65/69065/3
Tomasz Iwanek [Wed, 11 May 2016 08:38:55 +0000 (10:38 +0200)]
Reorder steps for StepDeltaPatch

StepDeltaPatch will require old_manifest_data of
context structure. Steps are reordered so that in delta
mode reading old configuration reading is done before applying
delta package content.

Change-Id: I386f54afd3ad6cb2525ee38538004f1ad767e698

8 years agoImplement ManifestDirectInstall and ManifestDirectUpdate request handling 51/64351/8 accepted/tizen/common/20160513.123153 submit/tizen/20160511.132536
Tomasz Iwanek [Thu, 31 Mar 2016 09:55:31 +0000 (11:55 +0200)]
Implement ManifestDirectInstall and ManifestDirectUpdate request handling

To verify, try following to scenarios:

1)
 wgt-backend -i ${package}
 wgt-backend -y ${pkgid} # package should be updated from its manifest with success

2)
 wgt-backend -i ${package}
 rm /home/$USER/.applications/dbspace/*
 wgt-backend -y ${pkgid} # package should be installed from its manifest with success

Submit together:
 https://review.tizen.org/gerrit/#/c/64204

Change-Id: I47c2af1e71e8f9b0f022c593762644da88afb8f9

8 years agoSign smoke tests 05/68905/2
Tomasz Iwanek [Mon, 9 May 2016 14:49:17 +0000 (16:49 +0200)]
Sign smoke tests

Run smoke tests to verify (15/16).
Delta mode problem will be handled separately.

Change-Id: I0a46aecbcfd17da3d3b6862ebe8a1e6a962160f5

8 years agosaving ime info in the manifest 05/67905/12
Kamil Rojewski [Tue, 19 Apr 2016 08:43:07 +0000 (10:43 +0200)]
saving ime info in the manifest

Requires:
  - https://review.tizen.org/gerrit/#/c/67903/

Change-Id: Icf7c4fd9403f50ecd3db90f9f4a86ab336e9c6e1