Arkadiusz Szulakiewicz [Wed, 13 Jan 2016 15:04:55 +0000 (16:04 +0100)]
Fail installation if certificate comparision fails
Change-Id: Ie07c7361d057b0d4eabc7e576719fce1152994c3
Lukasz Wysocki [Fri, 8 Jan 2016 11:58:21 +0000 (12:58 +0100)]
Icons paths parametrization
This change is required to allow temporary copy icon into two
destinations in Web apps.
Associated chages:
- https://review.tizen.org/gerrit/#/c/56489/
Change-Id: Id4a02ad34bbb3b8f58cdd229c63562442e178019
Tomasz Iwanek [Wed, 13 Jan 2016 13:29:21 +0000 (14:29 +0100)]
Merge directories for copying shared/ when installing package
Tpk package may have shared/ directory. Therefore, in update
we merge directories if possible to:
- package supplied directories,
- runtime created files,
- package supplied directories from previous version.
Change-Id: I23b181ee4b37acb8c08ad53873875a74c46dfe1b
Tomasz Iwanek [Wed, 13 Jan 2016 12:56:36 +0000 (13:56 +0100)]
Filter apps in StepCreateIcons
Method will be overriden in wgt backend.
Needs to be submitted:
- https://review.tizen.org/gerrit/57017
Change-Id: I566a07d9e5047857928c47cc03afb33abd2fd3cf
Tomasz Iwanek [Tue, 12 Jan 2016 12:20:47 +0000 (13:20 +0100)]
CheckPathInZipArchive
Change-Id: I3ef523eee112202eb306e48cf247c0f05d59508e
jongmyeongko [Tue, 12 Jan 2016 08:53:08 +0000 (17:53 +0900)]
remove preload_list related API usage.
This will be replaced with other way.
Refer to following commit.
Require : https://review.tizen.org/gerrit/56717
Change-Id: Ic721c1372993af02aa1846d31bf331dd0406ad0f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Fri, 8 Jan 2016 15:49:02 +0000 (16:49 +0100)]
Expose AppInstaller::context_ for derived classes
Change-Id: If0e5d54d8c4633771dac983fabf0498955578abf
Tomasz Iwanek [Fri, 8 Jan 2016 12:58:32 +0000 (13:58 +0100)]
Subprocess utility
Change-Id: I6efadead6c4eed68e38746b3dcbb615fbde5a921
Tomasz Iwanek [Thu, 7 Jan 2016 14:47:14 +0000 (15:47 +0100)]
Do not fail installation if application has no privileges
Change-Id: I5f41e6c243c495127920cbdba4eba2abd777d8c4
Tomasz Iwanek [Mon, 21 Dec 2015 15:31:46 +0000 (16:31 +0100)]
Rework handling PKGMGR_REQ_MANIFEST_DIRECT_INSTALL in StepConfigure
GetRequestInfo() will return pkgid in future and this will provide
all necessary information about ManifestDirectInstall and
ManifestDirectUpdate request type.
Change-Id: If4c58e0fc6c9520c6918c84b735c949fe7d82a97
jongmyeongko [Tue, 22 Dec 2015 05:28:26 +0000 (14:28 +0900)]
add new errors and error_message handlings
To offer more detailed information to developer.
dependency : https://review.tizen.org/gerrit/#/c/56333/
Change-Id: Id156eaf0eb03b73f9a66fbb27d599a95da952da6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Arkadiusz Szulakiewicz [Tue, 5 Jan 2016 08:30:52 +0000 (09:30 +0100)]
Remove BSD license clausure from app-installers
Change-Id: I9fe991e760cf71d083ec38ac8bac4c418e0a8055
Junghyun Yeon [Tue, 22 Dec 2015 02:59:38 +0000 (11:59 +0900)]
fix codes to manifest direct install works properly for preload apps
[app-installers][tpk-backend]
Change-Id: Ifc7137dc54e0c926595e1b84f8d143eebbeb6b92
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Mon, 14 Dec 2015 15:19:55 +0000 (16:19 +0100)]
Remove tpk and wgt backend code
Source code is being transfered to separate git repositories.
This repository will export devel package for those backends.
Requires to be submitted together with commits moving source
code of backends to repositories:
- platform/appfw/wgt-backend,
- platform/appfw/tpk-backend.
Submit with:
- https://review.tizen.org/gerrit/#/c/54291/,
- https://review.tizen.org/gerrit/#/c/54886/.
Change-Id: I7a4ba6f6dd732418ae896130010d22c99ceb8e30
Pawel Sikorski [Fri, 18 Dec 2015 10:44:20 +0000 (11:44 +0100)]
Coding style fixes
Coding style fixes after running check-coding-style
Change-Id: I74919eb62527ff7f23949a0983fd286c9e366767
Arkadiusz Szulakiewicz [Wed, 16 Dec 2015 12:18:46 +0000 (13:18 +0100)]
Pass error message from StepCheckSignature to AppInstaller
Change-Id: I422e111195249ac2db9668ad14013071af7dce40
Tomasz Iwanek [Mon, 14 Dec 2015 12:25:39 +0000 (13:25 +0100)]
Developement package for common app-installers library
Change-Id: I1c2740fb315b4a6b4a5a71e287382e5f7e6e32cf
Tomasz Iwanek [Thu, 17 Dec 2015 08:37:47 +0000 (09:37 +0100)]
Move StepGenerateXml to wgt/
Following to changes in: https://review.tizen.org/gerrit/#/c/54607/
StepGenerateXml will be used only for wgt.
Change-Id: I689b6a1f39fde81fe4214acec4f2bd5f3648d251
Sangyoon Jang [Wed, 16 Dec 2015 11:58:50 +0000 (20:58 +0900)]
Add StepConvertXml for tpk backend
StepConvertXml copies tpk packages manifest file with some modification.
replace StepGenerateXml with StepConvertXml in tpk-backend.
current manifest generation cannot generate some elements/attributes for
plugin-parsers, because manifest-parser and app-installer don't handle
all of elements/attributes.
Change-Id: I743050a47d4b21150a82a760e7717ced97fa4886
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 17 Dec 2015 01:18:14 +0000 (10:18 +0900)]
Allow single widget-application package
Change-Id: Ibfc33ed793305f0bc73f204a083c8dafd2799d2e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 15 Dec 2015 04:56:22 +0000 (13:56 +0900)]
Parse and fill widget-application tag
Change-Id: I7cb53a1834e87f70c8af47e8895ecbd0c756a486
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Wed, 16 Dec 2015 06:27:12 +0000 (15:27 +0900)]
default, apply public privilege to untrusted application
Change-Id: I7c376bc5d2b72edc42e6f3fd077066c0aced3de9
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Tue, 15 Dec 2015 01:29:03 +0000 (17:29 -0800)]
Merge "privilege will mapped even api_version is 3.0" into tizen
Lukasz Wysocki [Mon, 14 Dec 2015 10:04:33 +0000 (11:04 +0100)]
Fix issue with missing xml:lang attribute
Change-Id: Id9bebf76e6e1f71796d74d80655618751f7ccede
Junghyun Yeon [Mon, 14 Dec 2015 07:23:04 +0000 (16:23 +0900)]
privilege will mapped even api_version is 3.0
Change-Id: I646b41072b53b0fef71f11e8485a653747ca41bf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Tue, 17 Nov 2015 09:57:59 +0000 (10:57 +0100)]
Pass manifest_x directly to pkgmgr_parser API
manifest_x structure is prepared inside app-installers and
passed to API (according to changes) to prevent extra parsing
of xml file.
Each lang member is now assigned with value of DEFAULT_LOCALE macro as
pkgmgr-info expects this.
Application exec attribute was fixed to contain full path.
Requires: https://review.tizen.org/gerrit/54114
Requires submission together with: https://review.tizen.org/gerrit/51972
Change-Id: I480d1905b4e885756f8140210e56f8fcca58f455
Lukasz Wysocki [Tue, 1 Dec 2015 09:05:57 +0000 (10:05 +0100)]
Remove redundant code
This is due to change made in this following commit
- https://review.tizen.org/gerrit/#/c/52917/
This change depend on following change:
- https://review.tizen.org/gerrit/#/c/53081/
please merge it first.
Change-Id: I8dc188c3af27f42396187b7ef44e2cfe2545857d
Lukasz Wysocki [Tue, 1 Dec 2015 15:07:18 +0000 (16:07 +0100)]
Add handling for background-category element in TPK.
Refactoring - remove ISpecification from the solution.
This commit depend on:
- https://review.tizen.org/gerrit/#/c/53072/
- https://review.tizen.org/gerrit/#/c/50502/
changes should be submitted together.
Fix code review from:
- https://review.tizen.org/gerrit/#/c/50502/
Fix issue from:
- https://review.tizen.org/gerrit/#/c/53835/
Change-Id: I8ca81da641e724822c96b6606343a619673b63a2
Junghyun Yeon [Fri, 11 Dec 2015 06:51:24 +0000 (15:51 +0900)]
hotfix to create cache, data directory for skel.
temporary fix to create cache, data directory when using pkgdir-tool.
Should find other way to apply smack label to skel folders
Change-Id: I56c165d1467340e1dc15e8e568d354c4ca340bac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Semun Lee [Fri, 11 Dec 2015 06:19:55 +0000 (15:19 +0900)]
Fix crash while freeing privilege
Change-Id: I12c5c5b17dcf59c3b3797984f1d8075eaf35df12
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Junghyun Yeon [Thu, 10 Dec 2015 10:42:57 +0000 (02:42 -0800)]
Merge "Apply changed security APIs" into tizen
Tomasz Iwanek [Tue, 8 Dec 2015 12:44:29 +0000 (13:44 +0100)]
Parse extra elements in tpk::parse::StepParse
Added parsing for elements:
- manifest/uiapplication/image,
- manifest/label.
Requires: https://review.tizen.org/gerrit/53678
Change-Id: I955ce05b99ecdb0bcc336d300f66538d5331a7fa
Tomasz Iwanek [Fri, 4 Dec 2015 14:04:56 +0000 (15:04 +0100)]
Generate application_x attributes
application attributes:
- uigadget,
- process-pool,
- submode,
- submode-mainid,
- indicatordisplay,
- portrait-effectimage,
- landscape-effectimage,
- effectimage-type,
- hwacceleration.
package attributes:
- nodisplay-setting.
Requires: https://review.tizen.org/gerrit/53638
Change-Id: Idbf8f7d570914becc1a4145b1359abb700ee60fd
Pawel Sikorski [Wed, 9 Dec 2015 15:07:43 +0000 (16:07 +0100)]
Temporary fix for background-category.
Error: cannot install normal application (without background-category)
Log:
| DEBUG | CheckBackgroundCategory : Installation fail caused by background-cat.
| ERROR | AppInstaller : Error during processing
| ERROR | AppInstaller : Failure occurs
Change-Id: I03f2bc6c424ed7e11ab7e7a66bc1b1cfc4452ae0
Tomasz Iwanek [Thu, 3 Dec 2015 09:28:00 +0000 (10:28 +0100)]
Pass xml namespace from tizen-manifest.xml in tpk::StepParse
Change-Id: I7b18abd8876d695a38cd5b99e7efb7e2de9871aa
Tomasz Iwanek [Thu, 3 Dec 2015 08:52:40 +0000 (09:52 +0100)]
Generate deviceprofile list for tpk
Requires:
- https://review.tizen.org/gerrit/53280
- https://review.tizen.org/gerrit/53288
Change-Id: Ic166436b24531b42166328e5651876db7f938850
Junghyun Yeon [Fri, 4 Dec 2015 06:34:05 +0000 (15:34 +0900)]
Apply changed security APIs
now privilege-check will manage privilege mapping
instead of security-manager
Change-Id: I5d84dbfdccd9fd8a68123f6184bde3fbf8b20596
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Pawel Sikorski [Wed, 9 Dec 2015 09:57:09 +0000 (10:57 +0100)]
Coding style fixes.
Fixing coding style issues found by check-coding-style tool.
Change-Id: I09bce980b003506d281f0bf8b91d547d328971b2
Arkadiusz Szulakiewicz [Mon, 7 Dec 2015 09:18:04 +0000 (10:18 +0100)]
Fix privileges of globally installed applications
Change-Id: I44076b5defdd60899352046d9e990b5ea9f4a14a
Lukasz Wysocki [Thu, 29 Oct 2015 10:19:16 +0000 (11:19 +0100)]
Add handling for background-category element.
This commit depend on:
- https://review.tizen.org/gerrit/#/c/50500/
- https://review.tizen.org/gerrit/#/c/52917/
changes should be submitted together.
Created sperated header files for classes that
belong to ExtraManifestData.
Change-Id: Ia487d33b9c83977852a292256499077cf805ee83
Kamil Chłodnicki [Tue, 24 Nov 2015 13:09:53 +0000 (14:09 +0100)]
Don't encrypt empty files because libwebappenc doesn't support it
Change-Id: I78b0cd8ffd430527c2eeb6deabf97ce73ce10dce
Signed-off-by: Kamil Chłodnicki <k.chlodnicki@samsung.com>
Kamil Chłodnicki [Tue, 24 Nov 2015 11:36:39 +0000 (12:36 +0100)]
Fix rollback for StepRemoveEncryptionData
Removing the encryption key is now done in clean(), so that it does not
affect rollback.
Change-Id: I629373fbaff6585e92581e48b97763cc6d374a28
Signed-off-by: Kamil Chłodnicki <k.chlodnicki@samsung.com>
Junghyun Yeon [Mon, 30 Nov 2015 06:33:35 +0000 (22:33 -0800)]
Merge "allows to add db information of manifest direct installed apps" into tizen
Tomasz Iwanek [Mon, 7 Sep 2015 12:07:53 +0000 (14:07 +0200)]
Proper native implementation for directory creator tool
Implementing tool for creating directories for global applications data
based on previous script.
This is fixed reverted commit of: https://review.tizen.org/gerrit/#/c/47937
This version do not uses gumd API which was failing during image creation time.
Change-Id: I318515dbbd1b21d3b1e801e8eab68ca6354efabd
Junghyun Yeon [Tue, 17 Nov 2015 01:07:54 +0000 (10:07 +0900)]
allows to add db information of manifest direct installed apps
[app-installers][slp-pkgmgr]
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: I10064d27e16be380a7cc0ce17084597f5925b77c
Arkadiusz Szulakiewicz [Thu, 19 Nov 2015 12:45:09 +0000 (13:45 +0100)]
Fix permission for applications installed in global path
Change-Id: I778a2104db654c6d9409b534e9bb7d38ec6a5a78
Kyungwook Tak [Mon, 16 Nov 2015 11:37:44 +0000 (20:37 +0900)]
cert-svc-vcore sig validator API changed (2.0.0)
Change-Id: I94c65faa0e8bc0a31ee736353a4db6b8d49bfed4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Tomasz Iwanek [Tue, 17 Nov 2015 11:32:52 +0000 (12:32 +0100)]
Change smack label of smoke tests
Change-Id: I87d6562d19493a99f67364b680309ca445f6bdd5
Pawel Sikorski [Fri, 6 Nov 2015 14:31:21 +0000 (15:31 +0100)]
[cleanup] fix source files attributes
Change-Id: I0797c735f6a1715a81273984131b4f437613b6df
Semun Lee [Tue, 17 Nov 2015 10:49:07 +0000 (02:49 -0800)]
Merge "Avoid referencing inexistant object to fix crash" into tizen
VBS [Mon, 16 Nov 2015 11:06:12 +0000 (03:06 -0800)]
Merge "implement TEP install, update" into tizen
Youmin Ha [Fri, 13 Nov 2015 09:22:17 +0000 (18:22 +0900)]
Avoid referencing inexistant object to fix crash
When installing an app having only service-applications, there is no
ui-application element in the manifest. In this case, current log
printing code causes crash at runtime.
This commit fixes the crash.
Change-Id: I2aac4bf1a4a38dad3422728eaa85cf05c90602a9
Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
VBS [Tue, 3 Nov 2015 11:31:08 +0000 (20:31 +0900)]
implement TEP install, update
[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: Iec6ea9df7dccd2545504ca6944e46e34bcb9676b
Tomasz Iwanek [Fri, 6 Nov 2015 09:09:11 +0000 (10:09 +0100)]
fix stylecheck
skipping one error as it will be reverted.
Change-Id: I5ff580ba9082a6ba06ff3dc704a66f51245855a6
Youmin Ha [Fri, 6 Nov 2015 03:59:41 +0000 (12:59 +0900)]
Revert "Remove old pkgdir_maker symlink for backward compatibility"
This reverts commit
2febf9ed97e7c419bb4bde223c12b319cab36daa.
Must be reverted because of the MIC block. (Read the previous revert
commit)
Conflicts:
packaging/app-installers.spec
Change-Id: I2edf2f211d0b7a6318a9369d88c94da5afbfaaaf
Youmin Ha [Fri, 6 Nov 2015 03:55:17 +0000 (12:55 +0900)]
Revert "Proper native implementation for directory creator tool"
This reverts commit
87ff328999633522d3b374770e1a287288a216d6.
During running MIC to make the binary image, this pkgdir-tool blocks the
process. In the binary server, this commit is reverted already.
The original commit must be applied again after fixing this problem.
Conflicts:
packaging/app-installers.spec
Change-Id: I65eeaa4dc85b5349b411853e7e815be6b540563c
Tomasz Iwanek [Thu, 29 Oct 2015 15:34:42 +0000 (16:34 +0100)]
Smoke test of delta package installation
Change-Id: Ic23d97126509c3e91c2235b2bfae1a3f5a047527
Tomasz Iwanek [Fri, 30 Oct 2015 13:56:14 +0000 (14:56 +0100)]
Cleanup
Remove warnings
Change-Id: I3a447f34758e73cb34a4a3b6f511def171ec0558
Tomasz Iwanek [Thu, 29 Oct 2015 12:18:35 +0000 (13:18 +0100)]
Implement delta mode for wgt
Change-Id: Iec9dd993cdc552ef1bb96e6c70f18ad452b593cc
Tomasz Iwanek [Fri, 30 Oct 2015 13:24:51 +0000 (14:24 +0100)]
String to request map for recovery mode reading
Change-Id: I2459fff8606ad081d1bbf889556333c294e6a4e4
Tomasz Iwanek [Tue, 27 Oct 2015 10:50:59 +0000 (11:50 +0100)]
Add RequestType::Delta and implement delta mode for tpk
Requires:
- submission of https://review.tizen.org/gerrit/#/c/50418/
- release of xdelta3 for tizen 3.0
Change-Id: I3066c9457368e9ab229d1500b0cd4a7549edce15
Tomasz Iwanek [Tue, 3 Nov 2015 08:13:31 +0000 (09:13 +0100)]
Add exception handling in AppInstaller for exception safety
Although app-installer was designed not to throw exceptions
some code may still throw. This is some failure in design that
we have yet allowed exceptions to exist. Anyway,
rollback should work in cases where exception is thrown.
Change-Id: I0dc54154f7c3a29ce0b1f4dc9c0dda1a98cfd32f
Youmin Ha [Thu, 5 Nov 2015 07:36:12 +0000 (16:36 +0900)]
Remove old pkgdir_maker symlink for backward compatibility
Now meta-generic script is fixed to call pkgdir-tool, not pkgdir_maker.
So the symlink is not needed anymore.
Change-Id: Iff3e796b3a21c6e1b603be99ccc61d8ab1af02cf
Tomasz Iwanek [Mon, 7 Sep 2015 12:07:53 +0000 (14:07 +0200)]
Proper native implementation for directory creator tool
Implementing tool for creating directories for global applications data
based on previous script.
Change-Id: I717db44b6472a79409dbcf88709cb4d38678e218
Wojciech Kosowicz [Fri, 30 Oct 2015 12:27:22 +0000 (13:27 +0100)]
Check icon->text in StepBackupIcons::process()
Change-Id: I136184068797442e643442a2c5ce1d0777b22ed6
Tomasz Iwanek [Thu, 29 Oct 2015 13:43:31 +0000 (14:43 +0100)]
Create manifest_x in parse steps
Change-Id: I458fa86e48d1511df365152f30f580767ad25d19
Lukasz Wysocki [Thu, 29 Oct 2015 13:49:52 +0000 (14:49 +0100)]
Added missing comments
Change-Id: Ie8f77811dbf18147203ce15cadfd736d695a2683
Lukasz Wysocki [Fri, 23 Oct 2015 07:20:04 +0000 (09:20 +0200)]
Removed manifest_keys namespace
This change depend on:
- https://review.tizen.org/gerrit/#/c/49847/
Changes should be submitted together.
Change-Id: I276646d4db201afc828aa77242954a5c61a752e7
Pawel Sikorski [Thu, 29 Oct 2015 10:37:42 +0000 (11:37 +0100)]
Adding Comments to step classes.
The quality requirement for comments rate is >20%
Change-Id: Ic075f6435a061bdf55e6381b4e283b7c70eafcd1
Pawel Sikorski [Thu, 29 Oct 2015 08:59:51 +0000 (09:59 +0100)]
Generate XML fixes:
* Removal of permission-type attribute from generated xml
(no such attribute in specification).
* Adding taskmanage="false" to service application
* launch_mode attribture strlen check added
Change-Id: I3c88acf4cbae7fc6393d206943f10b8c77bf8611
Lukasz Wysocki [Fri, 23 Oct 2015 07:42:09 +0000 (09:42 +0200)]
Added attribute launch_mode in generated xml.
This change was made for tpk and wgt installers.
Change-Id: I1d937f51dcdb95103af71ec7eaa72be7b9c803e3
Pawel Sikorski [Tue, 20 Oct 2015 16:01:23 +0000 (18:01 +0200)]
Setting launch_mode attribute into manifest_x
TODO: add to generate xml
Change-Id: I10d8726b6d7387d382f99a8a5d03156e7150976b
Tomasz Iwanek [Fri, 23 Oct 2015 09:40:15 +0000 (11:40 +0200)]
Fix binary symlink for service applications
Change-Id: I0de6cb3811722e01131d1a049eec826b6e140642
Tomasz Iwanek [Fri, 23 Oct 2015 09:29:05 +0000 (11:29 +0200)]
Create icon files for service applications
Change-Id: I8db4123c3d8d4969635644e358c294cbd3d90b71
Tomasz Iwanek [Tue, 20 Oct 2015 14:44:06 +0000 (16:44 +0200)]
Parse and generate service application element in wgt-backend
wgt::parse::StepParse should use ServiceInfo from manifest handler
to generate information for <service-application> tag in platform
manifest file.
Requires submit: https://review.tizen.org/gerrit/49880
Change-Id: I1e83ef5800c1b335e0845adb5a5d39b306cc3748
Tomasz Iwanek [Wed, 7 Oct 2015 08:13:43 +0000 (10:13 +0200)]
Use GList in manifest_x structures
This is adjustment to following commit:
- https://review.tizen.org/gerrit/#/c/49085/
Changes should be submitted together.
Change-Id: I0834960bf882e1335109d9208b4970dbc03ede1e
Tomasz Iwanek [Wed, 21 Oct 2015 07:10:38 +0000 (09:10 +0200)]
Remove sorting of privileges for security_manager
According to security team, sorting is not needed:
"This requirement is now removed. You can safely call
security_manager_app_inst_req_add_privilege in
arbitrary order and even with duplicates"
Change-Id: I19b1300e5558832d362ae538a354f1018674cb26
Tomasz Iwanek [Thu, 22 Oct 2015 08:56:26 +0000 (10:56 +0200)]
Generate <category> in platform manifest
Category generation was missing.
Change-Id: Ie9e478047d6bd95f180fd891dd724bdc00e80250
Pawel Sikorski [Tue, 20 Oct 2015 13:59:07 +0000 (15:59 +0200)]
comments added into src/common/*.h header files
Change-Id: I83fa85da37937589dea6388931d7427e0e87f2d8
Tomasz Iwanek [Fri, 16 Oct 2015 14:19:43 +0000 (16:19 +0200)]
Parse and generate shortcut information in platform manifest
Shortcut information is not present in manifest_x structure.
Therefore, additional data member is introduced in context
(same case as for accounts).
Requires submit: https://review.tizen.org/gerrit/49699
Change-Id: I0a814933d08a926ba9b3484ee67fc8bf00363ab7
Tomasz Iwanek [Fri, 16 Oct 2015 12:12:33 +0000 (14:12 +0200)]
Stylecheck. Unused/commented out code.
Change-Id: I85782fe902563df1992fdcc4c16dcb7d153537d3
WonYoung Choi [Thu, 15 Oct 2015 09:01:24 +0000 (02:01 -0700)]
Merge "Add default privileges for each certificates level" into tizen
WonYoung Choi [Wed, 16 Sep 2015 08:35:46 +0000 (17:35 +0900)]
Add default privileges for each certificates level
Add some privileges as default in next cases.
If the package is wgt,
add 'http://tizen.org/privilege/internal/webappdefault'.
If the package has public cert,
add 'http://tizen.org/privilege/internal/default/public'.
If the package has partner cert,
add 'http://tizen.org/privilege/internal/default/partner'.
If the package has platform cert,
add 'http://tizen.org/privilege/internal/default/platform'.
These default privileges will be converted to mapped privileges by
the security-manager.
NOTE: api version 3.0 is not considered yet. should be fixed later.
Change-Id: I70d0ec09efbcd8c80e6189412c8bdbac84ef438a
Youmin Ha [Wed, 14 Oct 2015 05:18:01 +0000 (14:18 +0900)]
Fix wrong element name
Changed svc-application to service-application
Change-Id: I58a319c00d8e4b5acb2cd0675060c2e7eee95b28
Tomasz Iwanek [Wed, 7 Oct 2015 08:42:19 +0000 (10:42 +0200)]
Datacontrol element generation in StepGenerateXml
This adds generation of datacontrol element in platform manifest file.
Change-Id: I8a1b3ac4af0788b1b1096400c2de29bdfc4d0d1f
Tomasz Iwanek [Fri, 2 Oct 2015 12:10:45 +0000 (14:10 +0200)]
Rename ContextInstaller to InstallerContext
Class is a context, not installer.
Change-Id: I63d31467b768de76ffb00212196ae869005bc5e0
Tomasz Iwanek [Fri, 2 Oct 2015 13:13:08 +0000 (15:13 +0200)]
Remove unused xml_parser
It was replaced by tpk manifest handlers.
Change-Id: Ic9d56952b8ed4206eb659ab5ff4c08e658d008bc
Tomasz Iwanek [Thu, 1 Oct 2015 07:55:07 +0000 (09:55 +0200)]
Adjustment to application_x unification
This patchset reworks app-installers according to changes in:
- https://review.tizen.org/gerrit/#/c/48804/
Change-Id: I5cb319681b12d6f290f83d2f121c18bf3ef4fa88
Tomasz Iwanek [Fri, 2 Oct 2015 07:01:50 +0000 (09:01 +0200)]
Revert "Do not pass app_id in security-manager registration"
Application fails to launch due to this commit. Keep multiple
requests.
This reverts commit
4358ccd901a8ca0ebcf9261d323e49e71ca9f94c.
Change-Id: I0cab889ab8d3550ee2766d67fb0b3e465509f3ba
Tomasz Iwanek [Thu, 27 Aug 2015 08:35:48 +0000 (10:35 +0200)]
Unify StepGenerateXml
There should be one way of generating platform xml as
format of this is same for any backend.
Change-Id: I691e161653b8d8b35933b79deb318eb17bd5e71f
Tomasz Iwanek [Wed, 16 Sep 2015 07:20:58 +0000 (09:20 +0200)]
Tpk StepParse fixes
Requires submit: https://review.tizen.org/gerrit/#/c/48393/
Fixes to previous commit: https://review.tizen.org/gerrit/#/c/46517/
Change-Id: Ibf81400709392ad6a51960e8f9b221de9413243a
Maciej Socha [Thu, 20 Aug 2015 12:25:48 +0000 (14:25 +0200)]
[Feature] Integration step_parse for TPK tizen_manifest.xml file with manifest_parser
Change-Id: I109956932b81e8af4fe2cbe54b5525292754555f
Tomasz Iwanek [Tue, 1 Sep 2015 09:26:27 +0000 (11:26 +0200)]
Do not pass app_id in security-manager registration
According to directory policies, files is labeled by
pkgid so the appid is not needed. Additionally, it solves
problem which appid to pass. TODO was left to be removed
when possible.
Change-Id: I8087c41416013f9753075837472581bb0d8d33ac
Sangyoon Jang [Thu, 24 Sep 2015 06:58:20 +0000 (23:58 -0700)]
Merge "Remove defininition PKGMGR_INSTALLER_ERROR_KEY_STR" into tizen
Tomasz Iwanek [Mon, 21 Sep 2015 13:23:06 +0000 (15:23 +0200)]
Fix memory allocation in TranslatePrivilegesForCompatibility
Change-Id: I03e8b8a1685ef89389ab51a826e0a6f1958da2ef
Sangyoon Jang [Tue, 22 Sep 2015 06:18:23 +0000 (15:18 +0900)]
Remove defininition PKGMGR_INSTALLER_ERROR_KEY_STR
pkgmgr_installer now exports this variable
Change-Id: Ib1dbfbcb371bef299b0778cc32fd613936271522
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Tue, 15 Sep 2015 13:33:16 +0000 (15:33 +0200)]
Set manifest->installlocation in StepParse
Change-Id: Ic7f458f3d78b82aaf2db09d2274bdac7c2e2638c
Sangyoon Jang [Fri, 18 Sep 2015 06:24:51 +0000 (15:24 +0900)]
Change installer label to "User"
Change-Id: I74602aa666814442657c5e8908495d10e517a140
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Wed, 16 Sep 2015 12:28:55 +0000 (14:28 +0200)]
Workaround - sending appid during deinstallation
Web application application plugin needs information
about uninstalled application but it cannot get it
from database during uninstallation. Therefore,
this workaround is provided to send appids explicitly.
Submit after: https://review.tizen.org/gerrit/48250
Change-Id: I8138c888c17a0421caf87c29f20599e7eed962ef
WonYoung Choi [Tue, 15 Sep 2015 02:52:45 +0000 (11:52 +0900)]
Add manifest file for app-installers
Change-Id: Idc5d54280e6ade6533a3c7d10076048633c1778a