framework/web/wrt-installer.git
11 years agoAdd support for processing only first occurence of allow-navigation.
Zbigniew Kostrzewa [Fri, 12 Jul 2013 10:15:22 +0000 (12:15 +0200)]
Add support for processing only first occurence of allow-navigation.

[Issue#] https://bugs.tizendev.org/jira/browse/TDIS-6856
[Problem] All allow-navigation elements from web application's
configuration document are parsed but only the first one
should be processed.
[Cause] N/A
[Solution] Process only the first occurrence of the allow-navigation
element.
[SCMRequest] Depends on: https://review.tizendev.org/80915
[Verification]
1. Build repository
2. Run test test/tct/wrt/tct-ext02-wrt-tests/setting-an-more

Change-Id: Ief2a0ce2f6a59b40c08df0fa90ffb04caa9377dc

11 years ago[Release] wrt-installer_0.1.101
sung-su.kim [Mon, 15 Jul 2013 11:12:01 +0000 (20:12 +0900)]
[Release] wrt-installer_0.1.101

Change-Id: Ia76e35299420467a32d86e13cdacf55111f3f955

11 years agoFixed decrypt DRM web app.
Soyoung Kim [Mon, 15 Jul 2013 10:58:11 +0000 (19:58 +0900)]
Fixed decrypt DRM web app.

[Issue#] N/A
[Problem] can't install DRM web app
[Cause] fail to check decryption of drm web app.
[Solution] fixed check dcrypted web app.
[SCMRequest] N/A

Change-Id: Ib42b83209cb486d0f958f3eb800681f3409367da

11 years ago[Release] wrt-installer_0.1.100
sung-su.kim [Mon, 15 Jul 2013 06:11:04 +0000 (15:11 +0900)]
[Release] wrt-installer_0.1.100

Change-Id: I2fb86b4515b8a4cf37f89ac4fca35a767f102203

11 years agoFixed installation failed when configure has default locale in widget element.
Soyoung Kim [Fri, 12 Jul 2013 08:30:08 +0000 (17:30 +0900)]
Fixed installation failed when configure has default locale in widget element.

[Issue#] WEB-3324
[Problem] installation failed.
[Cause] there is no smack rule at install service app.
[Solution] For temporary remove to check logic about valid default locale.
[SCMRequest] N/A

Change-Id: Ib9bf0f92dc3ab1c8b1f17f591548fb993a964fba

11 years ago[Release] wrt-installer_0.1.99
Soyoung Kim [Sat, 13 Jul 2013 10:54:25 +0000 (19:54 +0900)]
[Release] wrt-installer_0.1.99

Change-Id: I56a8d0bb83b3875c156a59d4f3d56e83b0664a41

11 years agoSet smack label for preloaded app.
Soyoung Kim [Fri, 12 Jul 2013 04:53:47 +0000 (13:53 +0900)]
Set smack label for preloaded app.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Set smack label for preloaded app.
[SCMRequest] N/A

Change-Id: I1614ea7ec61cf15ab55dfdb592708f168377408b

11 years agoDefault icon is not loading in correct order
Kamil Nowac [Fri, 5 Jul 2013 07:51:40 +0000 (09:51 +0200)]
Default icon is not loading in correct order

[Issue#] LINUXWRT-621
[Problem] Wrong prioritizing of icons.
[Cause] N/A
[Solution] Icons extensions are now checked
[Verification] 1. Build wrt-installer repo
2. Build wrt-extra repo with tests
2. Install widget bo.wgt widget from wrt-extra's ta_FAFYMEGELU_bo test
Widget should install without problems and icon.png should be displayed in menu.

Change-Id: I7cc7f4e552c3221b284832cc422be132a805edc8

11 years ago[Release] wrt-installer_0.1.98
sung-su.kim [Fri, 12 Jul 2013 00:06:36 +0000 (09:06 +0900)]
[Release] wrt-installer_0.1.98

Change-Id: Ibbdfc047ae7ebfc67983cfc5e92268280dbbac91

11 years agofixed build break
sung-su.kim [Thu, 11 Jul 2013 13:19:28 +0000 (22:19 +0900)]
fixed build break

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed build break
[SCMRequest] N/A

Change-Id: Ifa33678d87923368903a500a5d74745382c0fa23

11 years agoAdd dynamic box icon src exception handle
sung-su.kim [Thu, 4 Jul 2013 09:21:47 +0000 (18:21 +0900)]
Add dynamic box icon src exception handle

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add dynamic box icon src exception handle
[SCMRequest] N/A

Change-Id: Ia134292d7303049b4991c09d87feec8a9bab9232

11 years agoSupport Tizen app DRM
Soyoung Kim [Mon, 8 Jul 2013 12:23:56 +0000 (21:23 +0900)]
Support Tizen app DRM

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support Tizen DRM.
[SCMRequest] N/A

Change-Id: I80177ba3f4ed7cbd2a721519158fce9a7bd8fae8

11 years agoWAC code removal
Tomasz Iwanek [Wed, 10 Jul 2013 06:49:09 +0000 (08:49 +0200)]
WAC code removal

[Issue#]       LINUXWRT-629
[Bug]          Not supported code
[Cause]        N/A
[Solution]     Removal of:
- LinkParser,
- code branches or WrtDB::APP_TYPE_WAC20 app type,
- WACPluginsPrefix
[Verification] Build repository
[SCMRequest]   This change requires: https://review.tizendev.org/80321

Change-Id: I9bced8f45f21fa063cbcf55e277d705b439d1595

11 years agoChange smack labeling api
Soyoung Kim [Wed, 29 May 2013 08:57:17 +0000 (17:57 +0900)]
Change smack labeling api

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] app_label_dir to app_setup_path.
[SCMRequest] N/A

Change-Id: Ie8e9a8f311af3316fbaa07834d6b762031007128

11 years agoGCC 4.8 build break fix
Pawel Sikorski [Fri, 5 Jul 2013 12:33:14 +0000 (14:33 +0200)]
GCC 4.8 build break fix

[Issue#] N/A
[Problem] Build break during gcc 4.8 compilation
[Cause] no proper include added
[Solution] unistd.h include added
[SCMRequest] N/A

Change-Id: Ia73557cfcfa2f88853fb9c84d1e180be0c59e7f4

11 years ago[Release] wrt-installer_0.1.97
sung-su.kim [Tue, 9 Jul 2013 10:18:00 +0000 (19:18 +0900)]
[Release] wrt-installer_0.1.97

Change-Id: Iba78e4606412f7375e9cc23ac0aa4fe923ebc195

11 years agoSetting app type fix.
Andrzej Surdej [Fri, 5 Jul 2013 07:46:15 +0000 (09:46 +0200)]
Setting app type fix.

[Issue#] LINUXWRT-599
[Problem] Multiple xml namespaces caused unhandled exception.
[Cause] N/A
[Solution] Fixed namespace chosing and catching exception
[Verification] To verify install widget: http://slp-info.sec.samsung.net/bugs/browse/WEB-3530
and run some part of w3c P&C tests

Change-Id: I8c616f70e9ca46f321dae8bfe20abd391da76468

11 years agoRun wrt-installer -p for plugins tests
Tomasz Iwanek [Thu, 4 Jul 2013 07:23:17 +0000 (09:23 +0200)]
Run wrt-installer -p for plugins tests

[Issue#]       N/A
[Bug]          Tests may not run properly
[Cause]        N/A
[Solution]     Run plugin installation. Make sure it was run.
[Verification] run: wrt-installer-tests-general --output=text --regexp='PluginsInstallation_'

Change-Id: Idfcb05a3cbb294633a0d2d4fbdff5d192dce17d1

11 years ago[Release] wrt-installer_0.1.96
sung-su.kim [Thu, 4 Jul 2013 12:09:59 +0000 (21:09 +0900)]
[Release] wrt-installer_0.1.96

Change-Id: Icc75d8442d37ccd25af9c74f7ff1ecdeedf99da5

11 years agoRemoved default icon image file
sung-su.kim [Thu, 4 Jul 2013 05:37:21 +0000 (14:37 +0900)]
Removed default icon image file

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Removed default icon image file in installer package.
[SCMRequest] N/A

Change-Id: Ia7bd661b8b66060ff1ea77d1bd9aa1ad27bf5596

11 years agoMake pkg manager case-insensitive to wgt backend installer name.
Zbigniew Kostrzewa [Tue, 2 Jul 2013 05:51:05 +0000 (07:51 +0200)]
Make pkg manager case-insensitive to wgt backend installer name.

[Issue#] WEB-3480
[Problem] Pkg manager cannot find backend installer for widgets with
file extension not being in lowercase.
[Cause] W3C P&C specifies that widget file extension should be matched
case-insensitively to string ".wgt". However, pkg-manager when resolving
backend installer for specific file matches its extension case-sensitively
against the backend installer names. In a result, if a widget file
extension differs from "wgt" (in letters capitalization, e.g. wgT, WgT)
pkg manager cannot find appropriate backend installer.
[Solution] Because other backend installers may require matching
their names case-sensitively the fix is to provide symbolic links to wgt
backend installer in all possible combinations of uppercase/lowercase
letters.
[SCMRequest] N/A

Change-Id: Ic146c96df7f22196af0f933045b442ef5d17babe

11 years ago[Release] wrt-installer_0.1.95
sung-su.kim [Wed, 3 Jul 2013 06:50:20 +0000 (15:50 +0900)]
[Release] wrt-installer_0.1.95

Change-Id: I0a6edcedb69cedd70ce2eea2b47abcc7467bd78f

11 years agoRevert "Fix installation of widgets using "defaultlocale" attribute."
sung-su.kim [Wed, 3 Jul 2013 06:39:12 +0000 (15:39 +0900)]
Revert "Fix installation of widgets using "defaultlocale" attribute."

This reverts commit a702e45a1c07816e5659561012f3a3170ec77eda.

Change-Id: Iba12f6f1ac8df114bbd33208e58c409a1be0729f

11 years ago[Release] wrt-installer_0.1.94
sung-su.kim [Tue, 2 Jul 2013 05:22:26 +0000 (14:22 +0900)]
[Release] wrt-installer_0.1.94

Change-Id: If71d21952fad0de983340ecbfca4514cb548d73f

11 years agoFix installation of widgets using "defaultlocale" attribute.
Zbigniew Kostrzewa [Thu, 27 Jun 2013 07:02:02 +0000 (09:02 +0200)]
Fix installation of widgets using "defaultlocale" attribute.

[Issue#] WEB-3324
[Problem] Installation of widgets with attribute "defaultlocale" in
"widget" element fails.
[Cause] Installer backendlib for package-manager does not include all
required sources. To be exact launguage_subtag_rst_tree.cpp which
defines object used only when attribute "defaultlocale" is used. What's
more the language tag verification requires connection to WRT DB which
was not established in this particular case.
[Solution] Add missing dependencies and establish connection to WRT DB.
[SCMRequest] N/A
[Verification]
1. Build the change
2. Install package on the device
3. Run test widgets (from menu screen):
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/dlocuse01.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/dlocignore00.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-000.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-001.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-002.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-003.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-004.wgt

and one other that does not include "defaultlocale" attribute, e.g.
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/br.wgt

CAUTION: This commit does not fix the issue entirely. Application that
performs the installation, when it is initiated from menu screen
(i.e. Installer), does not have enough access rights to establish connection
to WRT DB (SMACK issue). Lack of rights results in sqlite returning
SQLITE_BUSY to the application each time the application tries to establish
a connection (this results in an infinite loop in the application).
Temporary fix could be to set SMACK label "*" to WRT DB (label "_" is
not enough for some reason). However, generally the issue should
probably be passed to security team.

Change-Id: I1f16e7ad47830e226bbf57522719cf9e0af77cff

11 years ago[Release] wrt-installer_0.1.93
Soyoung Kim [Mon, 1 Jul 2013 08:34:44 +0000 (17:34 +0900)]
[Release] wrt-installer_0.1.93

Change-Id: Ieacd7d58a404cf27d78009a0b4fdbb318f9a512d

11 years agoFixed upgrade to preload hybird app.
Soyoung Kim [Mon, 1 Jul 2013 07:12:47 +0000 (16:12 +0900)]
Fixed upgrade to preload hybird app.

[Issue#] N/A
[Problem] failed upgrade to preload hybrid app.
[Cause] there was a issue about package api call.
[Solution] always call package api call when hybrid app.
[SCMRequest] N/A

Change-Id: I02e3c3240b1a0bdcf43f144011d03d0affbc9b6a

11 years ago[Release] wrt-installer_0.1.92
Jihoon Chung [Fri, 28 Jun 2013 16:07:21 +0000 (01:07 +0900)]
[Release] wrt-installer_0.1.92

Change-Id: I63cafa214762cc9267fbc6ac6fcb25815f9625f2

11 years agoChange implement of policy (CSP, allow-navigation, access)
Jihoon Chung [Fri, 28 Jun 2013 15:46:31 +0000 (00:46 +0900)]
Change implement of policy (CSP, allow-navigation, access)

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
If platform version is 2.2, preferred CSP, allow-navigation than access
Core spec 0104, 0105 will be changed
[SCMRequest] N/A

Change-Id: Ib41333c730e9c1ea54123411e8d803c4326fb3b4

11 years agoFixed RDS install failed
Soyoung Kim [Fri, 28 Jun 2013 14:40:37 +0000 (23:40 +0900)]
Fixed RDS install failed

[Issue#] N/A
[Problem] RDS update failed.
[Cause] because signature file can't find.
[Solution] fixed path of signature file when RDS mode.
[SCMRequest] N/A

Change-Id: I6673b1eefdcc1aa5eb4a68e5b469b2a39001e61a

11 years ago[Release] wrt-installer_0.1.91
Soyoung Kim [Fri, 28 Jun 2013 08:03:15 +0000 (17:03 +0900)]
[Release] wrt-installer_0.1.91

Change-Id: Ie9f4ee0844a2124140c320b9c59088e1fc4e1d33

11 years agoRevert "Change smack labeling api"
Soyoung Kim [Fri, 28 Jun 2013 07:45:24 +0000 (16:45 +0900)]
Revert "Change smack labeling api"

This reverts commit 7bd7b093dd5876db2d7ee1f49df1f7a03c451a55.

Change-Id: Icd4d609c7e326f699213748fa4bfaf7f34d4dd0d

11 years ago[Release] wrt-installer_0.1.90
sung-su.kim [Fri, 28 Jun 2013 00:01:32 +0000 (09:01 +0900)]
[Release] wrt-installer_0.1.90

Change-Id: I41403bfe60ebfdb001734021ba9c346043a145b7

11 years agoSupport core spec 0104, 0105
Jihoon Chung [Thu, 27 Jun 2013 13:49:02 +0000 (22:49 +0900)]
Support core spec 0104, 0105

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
0104.  If the "required_version" specified in the Web Application's
configuration is 2.2 or higher and if the Web Application's
configuration is "CSP-compatible configuration", then the WRT MUST be
set to "CSP-based security mode". Otherwise, the WRT MUST be set to
"WARP-based security mode".
0105.  A Web Application configuration is "CSP-compatible configuration"
if the configuration includes one or more of
<tizen:content-security-policy> /
<tizen:content-security-policy-report-only> /
<tizen:allow-navigation> elements.
[SCMRequest] N/A

Change-Id: If9c042e7216445b56e235ba52ca2c4f1e3321421

11 years agoChange XSD configuration
Jihoon Chung [Sun, 23 Jun 2013 11:08:16 +0000 (20:08 +0900)]
Change XSD configuration

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Add "xml:lang" for Widget, Name, Author and Description
IDE needs exactly declare of each element to generate java data for UX
from XSD
[SCMRequest] N/A

Change-Id: Ib2918948a6efcd617b49c6f28133165e0e88e0c3

11 years ago[Release] wrt-installer_0.1.89
Soyoung Kim [Thu, 27 Jun 2013 05:52:47 +0000 (14:52 +0900)]
[Release] wrt-installer_0.1.89

Change-Id: I307b75fb0c80df8c9db99d28a74fe9b7719b3160

11 years agoChange smack labeling api
Soyoung Kim [Wed, 29 May 2013 08:57:17 +0000 (17:57 +0900)]
Change smack labeling api

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] app_label_dir to app_setup_path.
[SCMRequest] N/A

Change-Id: If8ee55200250c7edb7070e5606cbfc261ec6cc29

11 years agoFixed prevent
Soyoung Kim [Wed, 26 Jun 2013 13:17:12 +0000 (22:17 +0900)]
Fixed prevent

[Issue#] prevent-58873
[Problem] resource leak
[Cause] not free malloc variable.
[Solution] free variable.
[SCMRequest] N/A

Change-Id: Ia4bd98027d4050cda907e50d65247500ad70cd2f

11 years agoFixed progress percentage
Soyoung Kim [Tue, 25 Jun 2013 08:19:44 +0000 (17:19 +0900)]
Fixed progress percentage

[Issue#] N/A
[Problem] percentage is wrong during installation
[Cause] installation order is wrong.
[Solution] fixed list.
[SCMRequest] N/A

Change-Id: I2848d1cc012d547d8d791cf63f4726d7e54fdb82

11 years agoChange XSD configuration
Jihoon Chung [Sun, 23 Jun 2013 11:08:16 +0000 (20:08 +0900)]
Change XSD configuration

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Add Version validation to "[0-9]{1,2}.[0-9]{1,2}(.[0-9]{1,4})?"
[SCMRequest] N/A
[Verification] Run:
 xmlstarlet val -e -s configuration/widgets.xsd configuration/config.xml

Change-Id: I9ec53ad44c4fb6252d9326ee8c6a69778aff9870

11 years agoCheck for conifg.xml existence in pre-installation
Tomasz Iwanek [Mon, 24 Jun 2013 07:59:10 +0000 (09:59 +0200)]
Check for conifg.xml existence in pre-installation

[Issue#]       LINUXWRT-478
[Bug]          Crash of wrt-installer with wrong error code
[Cause]        N/A
[Solution]     Check if config.xml file actually exist before parsing
[Verification] Run:
 wrt-extra-tests-w3c --output=text --regexp='_dq'
 wrt-extra-tests-w3c --output=text --regexp='_dw'
 wrt-extra-tests-w3c --output=text --regexp='_bg'
 wrt-extra-tests-w3c --output=text --regexp='_bh'

Change-Id: I70cec6d1a4af2cc2f0dff7beaf34e3233c76ffbf

11 years ago[Release] wrt-installer_0.1.88
sung-su.kim [Tue, 25 Jun 2013 07:17:53 +0000 (16:17 +0900)]
[Release] wrt-installer_0.1.88

Change-Id: I9850d456e4b70288eeaa8f4606d58157a1603986

11 years agofixed uninstallation if web app is installed sd card.
Soyoung Kim [Tue, 25 Jun 2013 06:36:07 +0000 (15:36 +0900)]
fixed uninstallation if web app is installed sd card.

[Issue#] N_SE-42628
[Problem] web app installed sd card uninstallation should be failed if sd card removed.
[Cause] condition check failed.
[Solution] fixed check condition app location.
[SCMRequest] N/A

Change-Id: Ic5568675225df60a8f8c6f120d8e6d5fada5ff23

11 years agoRevert "Fix installation of NPRuntime plug-ins."
Taejeong Lee [Tue, 25 Jun 2013 04:43:00 +0000 (13:43 +0900)]
Revert "Fix installation of NPRuntime plug-ins."

This reverts commit 9952b51a8e732a9fd9578d83c34c2f85bc4c9b44.

[Issue#] N/A
[Problem] Webapp install is failed because signature validation regarding this commit.
[Cause] N/A
[Solution] Revert this commit and the core spec will be changed about this.

Change-Id: I2e6e85de8cffc6c359d3d468b9e3f398a7ba5a96

11 years ago[Release] wrt-installer_0.1.87
sung-su.kim [Mon, 24 Jun 2013 10:27:51 +0000 (19:27 +0900)]
[Release] wrt-installer_0.1.87

Change-Id: I3d6c4b216a0e37d45b1409b01f10d5163150e73f

11 years agoPlugin Installation Tests
Tomasz Iwanek [Wed, 12 Jun 2013 14:41:10 +0000 (16:41 +0200)]
Plugin Installation Tests

[Issue#]       LINUXWRT-411
[Feature]      Tests
[Cause]        N/A
[Solution]     Tests
[Verification] Run: wrt-installer-tests-general --output=text --regexp='PluginsInstallation_'

Change-Id: Ic8facf68a97b33c4fd603e08ad2ada1a2a7f1f3e

11 years agoremove drm code
Soyoung Kim [Mon, 24 Jun 2013 06:51:55 +0000 (15:51 +0900)]
remove drm code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove drm code
[SCMRequest] N/A

11 years ago[Release] wrt-installer_0.1.86
sung-su.kim [Mon, 24 Jun 2013 05:17:28 +0000 (14:17 +0900)]
[Release] wrt-installer_0.1.86

Change-Id: Id0b510596e69bbba1ac49c34fd2ef7987ccc6039

11 years agoFixed decrypt drm
Soyoung Kim [Fri, 21 Jun 2013 07:10:27 +0000 (16:10 +0900)]
Fixed decrypt drm

[Issue#] N/A
[Problem] failed to decyprt drm wgt file
[Cause] there was a issue to decrypt.
[Solution] change paramater.
[SCMRequest] N/A

Change-Id: Ie7299603e3b1a2f1f3a27721bda529672bd4ff1a

11 years agochange to check condition of preload web app.
Soyoung Kim [Mon, 24 Jun 2013 04:49:35 +0000 (13:49 +0900)]
change to check condition of preload web app.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] using package manager api to check preload web app.
[SCMRequest] N/A

Change-Id: I009bdf89fc051178101380b2c6e68fc9fbf7afe9

11 years agoChange min value of updatePeriodType to 1800
Yunchan Cho [Sat, 22 Jun 2013 13:10:38 +0000 (22:10 +0900)]
Change min value of updatePeriodType to 1800

[Issue#] N/A
[Problem] min value of updatePeriodType on schema is not 1800
[Cause] N/A
[Solution] min value of it is changed from 60 to 1800

Change-Id: Ibae00eef6f464f31c44b7f429ae4579d76f46224

11 years agoCircular dependency removal in xml schema
Tomasz Iwanek [Mon, 17 Jun 2013 07:44:52 +0000 (09:44 +0200)]
Circular dependency removal in xml schema

[Issue#]       LINUXWRT-457
[Bug]          Tizen IDE requires no circular dependecies in xml schema
               Missing namespace for elements.
               Using import instead of include.
               Ambiquitious model for foreign element in widget element (it just cannot be expressed...)
[Cause]        N/A
[Solution]     Move conflict part to new xsd file
[Verification] run on PC: xmlstarlet val -e -s configuration/widgets.xsd configuration/config.xml.
Check xml schema for IDE:
- Run eclipse (Java EE edition!).
- Create Project of type of "XSD Schema File".
- Copy xsd files to project.
- Right click on widgets.xsd file in Project Explorer view.
- Choose "Validate" menuitem.
- No errors should appear.

Change-Id: I894a70c2548fc667c0a78ecde880e95b7b8fe4b7

11 years ago[Release] wrt-installer_0.1.85
Soyoung Kim [Fri, 21 Jun 2013 12:05:46 +0000 (21:05 +0900)]
[Release] wrt-installer_0.1.85

Change-Id: I3e3b24cda75d9991f9a952d77242e3516316ea18

11 years agoRemove two tests from WidgetUpdate test group
Grzegorz Rynkowski [Thu, 20 Jun 2013 17:34:21 +0000 (19:34 +0200)]
Remove two tests from WidgetUpdate test group

[Issue#] LINUXWRT-403
[Problem] Two tests are incompatible to the specification 2.1
[Cause] N/A
[Solution] Comment it.
[Verification]
    1. Build wrt-installer repo with --define "WITH_TESTS ON"
    2. Run tests wrt-installer-tests-general --output=text.
    It should be test group named "WidgetUpdate" who contains 5 tesets.
    All of them should pass.

Change-Id: Idf140b87bf7077e1014f269a4c8091e357078bf2

11 years agoFixed can't install hybrid web app.
Soyoung Kim [Fri, 21 Jun 2013 05:51:52 +0000 (14:51 +0900)]
Fixed can't install hybrid web app.

[Issue#] N/A
[Problem] there is no service app data in aul db.
[Cause] because of upgrade manifest file before insert service app data in manifest file.
[Solution] remove to upgrade manifest before installation service app if web app is hybrid.
[SCMRequest] N/A

Change-Id: Ia2e706ae86c7c645fb8207a7af311f20cabeef09

11 years ago[Release] wrt-installer_0.1.84
sung-su.kim [Fri, 21 Jun 2013 02:46:12 +0000 (11:46 +0900)]
[Release] wrt-installer_0.1.84

Change-Id: Ifea8ca4d735830f948b79c924c5ae0c9bc491621

11 years agochange directory owner during update web app.
Soyoung Kim [Thu, 20 Jun 2013 11:53:33 +0000 (20:53 +0900)]
change directory owner during update web app.

[Issue#] N/A
[Problem] private directory owner changed to root during update web app.
[Cause] because of copy backup directory.
[Solution] chage owner to app during update web app.
[SCMRequest] N/A

Change-Id: Id3719ef0fec9236c318e047c7da27b5ab107e42d

11 years agoSupport 'use-decoration' attribute of <tizen:box-size>
Yunchan Cho [Tue, 18 Jun 2013 12:36:34 +0000 (21:36 +0900)]
Support 'use-decoration' attribute of <tizen:box-size>

[Issue#] N/A
[Problem] frame decoration feature was not supported on dynamic box
[Cause] There is no way for developer to apply frame decoration of dynamic box
[Solution] For this, 'use-decoration' attribute has been added to <tizen:box-size>
           'use-decoration' attribute is optional, and can have 'true' or 'false' as value.
           default value is 'true'
[SCMRequest] Depends on: wrt-commons. https://review.tizenrsa.org/#/c/75079/

Change-Id: I08fff1d8f022d6de0c2835cce0e7c100b1c8550d

11 years agoAdd WidgetUpdate tests
Grzegorz Rynkowski [Tue, 11 Jun 2013 13:37:20 +0000 (15:37 +0200)]
Add WidgetUpdate tests

[Issue#] LINUXWRT-403
[Problem] A lot of paths used in wrt are constructedmanually
[Cause] N/A
[Solution] Add WidgetUpdate test group.
[Verification]
    1. Build wrt-installer repo with --define "WITH_TESTS ON"
    2. Run tests wrt-installer-tests-general --output=text.
    It should be test group named "WidgetUpdate" who contains 7 tesets.
    Five of them passed, and two failed.

Change-Id: I7ade49f50cfbf6ef2e476357e8ad39f0315889cd

11 years agoMerge "[Release] wrt-installer_0.1.82"
HOSEON LEE [Thu, 20 Jun 2013 05:09:10 +0000 (05:09 +0000)]
Merge "[Release] wrt-installer_0.1.82"

11 years agoChange tizen:metadata details
Jihoon Chung [Tue, 18 Jun 2013 05:33:17 +0000 (14:33 +0900)]
Change tizen:metadata details

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Change tizen:metadata details
Add value is null case
[SCMRequest] must be imported with wrt-commons

Change-Id: I7ab48bee18e8d3689dd129877958aa39e5dc8fda

11 years agoFixed resource symbolic link for prealod app.
Soyoung Kim [Tue, 18 Jun 2013 12:25:19 +0000 (21:25 +0900)]
Fixed resource symbolic link for prealod app.

[Issue#] P130614-0991
[Problem] show wrong alarm icon at schedule memo app.
[Cause] wrong symbolic link for service app.
[Solution] change symbolic link at resource directory.
[SCMRequest] N/A

Change-Id: I2a517a5e544211a18319e6892870a5349957e7c9

11 years ago[Release] wrt-installer_0.1.82
sung-su.kim [Tue, 18 Jun 2013 05:46:01 +0000 (14:46 +0900)]
[Release] wrt-installer_0.1.82

Change-Id: Id59079f9856b6e3c30085f2c8dd8a2e754b2a8a3

11 years agoFix installation of NPRuntime plug-ins.
Zbigniew Kostrzewa [Fri, 14 Jun 2013 10:56:53 +0000 (12:56 +0200)]
Fix installation of NPRuntime plug-ins.

[Issue#] N/A
[Problem] All NPRuntime plug-ins are installed with a widget instead of
only those that match target architecture.
See "Tizen Web Runtime Core Specification 2.1", section
"Web Application Installation", requirements 0102 and 0103.
[Cause] N/A
[Solution] Install from widget package from sub-directory
"plugins/" only those files that are in sub-directory for target
architecture.
[SCMRequest] Depends on: https://review.tizenrsa.org/74219

[Verification]
1. Build repository.
2. Install widget npruntime-all-on-arm-x86.wgt from
RSA/test/wrt/wrt-package-management-tests/resources/ on the device.
3. Check if only plug-ins for arm architecture have been installed.

Change-Id: Iaa5ddca79f8cb1bc0237531869841864ee0e4625

11 years ago[CTS Week24] appwidget-box-label-null should PASS
Kamil Nowac [Fri, 14 Jun 2013 09:44:15 +0000 (11:44 +0200)]
[CTS Week24] appwidget-box-label-null should PASS

[Issue#] LINUXWRT-450
[Problem] widget doesn't install
[Cause] N/A
[Solution] Changed verify method
[Verification]
1. Build wrt-installer
2. install appwidget-box-label-null from attachement in
http://cam.sprc.samsung.pl/browse/LINUXWRT-450
Widget should install without problems

Change-Id: Ib4d3635eb94936e0d4a8dced0512cdd6f97e56db

11 years ago[Release] wrt-installer_0.1.81
Soyoung Kim [Fri, 14 Jun 2013 06:19:08 +0000 (15:19 +0900)]
[Release] wrt-installer_0.1.81

Change-Id: Ia3ec3c7156363bede44a520a1e41e479bacdb383

11 years agoModification of widgets.tizen.xsd for splash screen support.
Taejeong Lee [Fri, 14 Jun 2013 05:25:00 +0000 (14:25 +0900)]
Modification of widgets.tizen.xsd for splash screen support.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Modification of widgets.tizen.xsd for splash screen support.

Change-Id: I5e3fe9011c3d9922a36391ad212c0927378610a0

11 years agoFixed get signature file logic
Soyoung Kim [Fri, 14 Jun 2013 04:53:32 +0000 (13:53 +0900)]
Fixed get signature file logic

[Issue#] N/A
[Problem] can't install twitter web app.
[Cause] fail to get signature file.
[Solution] if there is no signature file, skip get certificate.
[SCMRequest] N/A

Change-Id: I1371ca4239eef58c0e99d4122055db66b6514289

11 years ago[Release] wrt-installer_0.1.80
Jihoon Chung [Thu, 13 Jun 2013 14:10:51 +0000 (23:10 +0900)]
[Release] wrt-installer_0.1.80

Change-Id: Iecdf197484422a9ad813b94b0223a8c4866a3c7e

11 years agoFixed reinstall hybrid web app.
Soyoung Kim [Wed, 12 Jun 2013 11:02:27 +0000 (20:02 +0900)]
Fixed reinstall hybrid web app.

[Issue#] N/A
[Problem] failed installation native app
[Cause] can't check whether hybrid web app or not.
[Solution] fixed check routine.
[SCMRequest] N/A

Change-Id: I645a41dbd761135dfa014f86ab7bcc57d008bfdb

11 years ago[CTS Week24] W3C P&C wiget installation
Kamil Nowac [Wed, 12 Jun 2013 14:46:15 +0000 (16:46 +0200)]
[CTS Week24] W3C P&C wiget installation

[Issue#] LINUXWRT-437
[Problem] Unhandled exception during instalation
of bg.wgt and bh.wgt
[Cause] N/A
[Solution] Checking existence of config.xml
[Verification]
1.Build wrt-extra and wrt-installer with --define "WITH_TESTS ON"
2.Install widgets bg.wgt and bh.wgt (/opt/share/widget/tests/w3c_widgets/)
Installation should fail but without unhandled exceptions.

Change-Id: I8ccf79e30f89664e2b66ad96efb715721c62aecc

11 years agoMerge "Content tag parsing fix"
Pawel Sikorski [Thu, 13 Jun 2013 10:24:39 +0000 (10:24 +0000)]
Merge "Content tag parsing fix"

11 years agoFixed hybrid web app update
Soyoung Kim [Thu, 13 Jun 2013 05:02:12 +0000 (14:02 +0900)]
Fixed hybrid web app update

[Issue#] N/A
[Problem] can't update hybrid web app.
[Cause] failed update manifest file.
[Solution] update manifest file.
[SCMRequest] N/A

Change-Id: I6f58c91a7171771b240c571f793f4565cded2a3b

11 years ago[Release] wrt-installer_0.1.79
Jihoon Chung [Thu, 13 Jun 2013 04:23:09 +0000 (13:23 +0900)]
[Release] wrt-installer_0.1.79

Change-Id: I208009ba1399ac478423f522ca0845446ebd1065

11 years agoContent tag parsing fix
Tomasz Iwanek [Wed, 12 Jun 2013 13:34:01 +0000 (15:34 +0200)]
Content tag parsing fix

[Issue#]       LINUXWRT-438
[Bug]          Bug in content parsing when src == "" is treated as if not encountered at all
[Cause]        Wrong content parswing changes
[Solution]     Fix
[Verification] Run tests:
 wrt-extra-tests-w3c --output=text --regexp='br'
 wrt-extra-tests-w3c --output=text --regexp='bq'
 wrt-extra-tests-w3c --output=text --regexp='bs'
 wrt-extra-tests-w3c --output=text --regexp='d7'
 wrt-extra-tests-w3c --output=text --regexp='d8'
 wrt-extra-tests-w3c --output=text --regexp='gb'
 wrt-extra-tests-w3c --output=text --regexp='b3'
 wrt-extra-tests-misc --output=text --regexp='first_content'
 wrt-extra-tests-misc --output=text --regexp='prefer_tizen_content'

Change-Id: I4d0eb996a4bcebbfab960fbd73c41eb04c124dde

11 years agoUpdate XSD
Jihoon Chung [Wed, 12 Jun 2013 06:10:29 +0000 (15:10 +0900)]
Update XSD

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update XSD
Fixed XSD compile error in the box-label
Add "hwkey-event" to the tizen:setting
[SCMRequest] N/A

Change-Id: I0ebf9e2b56befec970f89790272c5adb78c96fef

11 years agoFixed package version
Soyoung Kim [Wed, 12 Jun 2013 08:58:16 +0000 (17:58 +0900)]
Fixed package version

[Issue#] N/A
[Problem] wrong package version
[Cause] N/A
[Solution] fixed update pkg parser api..
[SCMRequest] N/A

Change-Id: I4380f8fc4862dc1543632770738f4dc588b351dd

11 years agoFixed wrong package info version
Soyoung Kim [Wed, 12 Jun 2013 06:05:48 +0000 (15:05 +0900)]
Fixed wrong package info version

[Issue#] N/A
[Problem] wrong package version
[Cause] wrong check pre condition.
[Solution] fixed condition.
[SCMRequest] N/A

Change-Id: If9e60bca9dc3ee363ba0eae95d019ddefa9610cc

11 years ago[Release] wrt-installer_0.1.78
sung-su.kim [Tue, 11 Jun 2013 02:25:30 +0000 (11:25 +0900)]
[Release] wrt-installer_0.1.78

Change-Id: Ide8397a93147ca5ed769002e1b4152efb9a977e6

11 years agoFixed installation hybrid web app.
Soyoung Kim [Tue, 11 Jun 2013 05:54:49 +0000 (14:54 +0900)]
Fixed installation hybrid web app.

[Issue#] N/A
[Problem] can't install hybrid web app.
[Cause] wrong comparison
[Solution] fixed comparison.
[SCMRequest] N/A

Change-Id: I67fb358f683a82dc3d601c86148dc47705ef2687

11 years ago[Path usage Unification] Plugin Installation part unification
Kamil Nowac [Wed, 29 May 2013 13:05:55 +0000 (15:05 +0200)]
[Path usage Unification] Plugin Installation part unification

[Issue#] LINUXWRT-395
[Problem] A lot of paths used in wrt are constructed manually
[Cause] N/A
[Solution] Used module DPL::Utils::Path
[Verification] 1. Build wrt-installer repo with --define "WITH_TESTS ON"
2. Install plugins by using wrt-installer -p and
run tests wrt-installer-tests-general --output=text
They shoud install without problems and tests should pass.

Change-Id: I6e03f4732a6bb10df78dfb0bc451f5a3da627ac8

11 years agoFixed systemd
Soyoung Kim [Mon, 10 Jun 2013 08:45:14 +0000 (17:45 +0900)]
Fixed systemd

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed systemd
[SCMRequest] N/A

Change-Id: Ic04ac832ac2f9de80bb68f8d3f6c985803434e0f

11 years agofixed wrong package version.
Soyoung Kim [Mon, 10 Jun 2013 08:27:00 +0000 (17:27 +0900)]
fixed wrong package version.

[Issue#] N/A
[Problem] can't update package version.
[Cause] should be call parsing upgrade api when web app update.
[Solution] call parsing upgrade api if prealod web app update.
[SCMRequest] N/A

Change-Id: Ifb0f60a747d971fbe98000f5c067622afa619bd4

11 years agoapp directory isn't removed if native app installation failed.
Soyoung Kim [Mon, 10 Jun 2013 06:36:38 +0000 (15:36 +0900)]
app directory isn't removed if native app installation failed.

[Issue#] S1-14267
[Problem] app directory isn't removed.
[Cause] missing directory remove.
[Solution] add directory remove.
[SCMRequest] N/A

Change-Id: I76f6e3d0caff773355e40b5de720ec9e41ec5a98

11 years agoSplash screen declaration element name was changed.
Taejeong Lee [Fri, 7 Jun 2013 02:05:22 +0000 (11:05 +0900)]
Splash screen declaration element name was changed.

 - 'tizne' namespace is needed.
 <splash src="...">  ->  <tizen:splash src="...">

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Splash screen declaration element name was changed.

Change-Id: Id768612da81a51c7d70bdb842af907e94c613399

11 years ago[Release] wrt-installer_0.1.75
Jihoon Chung [Fri, 7 Jun 2013 05:18:13 +0000 (14:18 +0900)]
[Release] wrt-installer_0.1.75

Change-Id: I780b2f66035cf1cfd211f6c68c61ed2eb3660bc2

11 years agoMerge "[Path usage Unification] Widget Uninstallation part unification"
Pawel Sikorski [Thu, 6 Jun 2013 15:36:02 +0000 (00:36 +0900)]
Merge "[Path usage Unification] Widget Uninstallation part unification"

11 years agoInstaller Jobs list clean up
Rafal Bednarski [Wed, 29 May 2013 11:58:01 +0000 (13:58 +0200)]
Installer Jobs list clean up

[Issue#] N/A
[Problem] wrt-installer cannot be used to install/uninstall
    multiple widgets at once. Because of that,
    InstallerLogic does not need to use the Jobs container
    for the jobs.
    InstallerLogic can run/use just one job at given time.
[Cause] N/A
[Solution] container is exchanged for a single pointer
    value that holds the job.
[Verification]  Verification should contain:
    running wrt-installer -p (plugins installation)
    installing, deinstalling, update widgets
    installing invalid widget (that should
    not be installed)

Change-Id: Ib738f61551c5fb39085b6c972b152c9515c9711f

11 years agoAdd default icon
Jihoon Chung [Thu, 6 Jun 2013 07:30:57 +0000 (16:30 +0900)]
Add default icon

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add default icon
[SCMRequest] N/A

Change-Id: I59df43d004f3ff493742b2876b27128dc14ce1d0

11 years ago[Path usage Unification] Widget Uninstallation part unification
Kamil Nowac [Wed, 29 May 2013 10:38:24 +0000 (12:38 +0200)]
[Path usage Unification] Widget Uninstallation part unification

[Issue#] LINUXWRT-394
[Problem] A lot of paths used in wrt are constructed manually
[Cause] N/A
[Solution] Used module DPL::Utils::Path
[Verification] 1. Build wrt-installer repo with --define "WITH_TESTS ON"
2. Install and uninstall widgets on targets. They shoud uninstall without problems.

Change-Id: I90a680aad6d7292cb53a4dd236c7b353a5286187

11 years ago[Release] wrt-installer_0.1.74
Soyoung Kim [Wed, 5 Jun 2013 11:38:19 +0000 (20:38 +0900)]
[Release] wrt-installer_0.1.74

Change-Id: Icbca11207d86e251cc2596b2522a404866879461

11 years agoBuild break fix within DRM functionality
Pawel Sikorski [Wed, 5 Jun 2013 09:50:59 +0000 (11:50 +0200)]
Build break fix within DRM functionality

[Issue#] N/A
[Problem] Build break during RSA wrt-installer compilation
[Cause] Wrong Exception declaration (no DrmDecryptFailed Exception)
[Solution] DrmDecryptFailed exception declaration added

Change-Id: If10594683175459a850b9d7b8bbd08f3105ab069

11 years ago[Release] wrt-installer_0.1.73
Soyoung Kim [Wed, 5 Jun 2013 08:37:19 +0000 (17:37 +0900)]
[Release] wrt-installer_0.1.73

Change-Id: I421c478ccd9a4dd0a692f61d4724220d241ee51d

11 years agoFixed error code when wgt file is invalid.
Soyoung Kim [Wed, 5 Jun 2013 08:27:55 +0000 (17:27 +0900)]
Fixed error code when wgt file is invalid.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add error code when wgt file is invalid
[SCMRequest] N/A

Change-Id: Ib5bc38f375de8b68ccd0e3bd9e05ed03d9481539

11 years agoFixed save certification for distributor2.
Soyoung Kim [Wed, 5 Jun 2013 07:32:54 +0000 (16:32 +0900)]
Fixed save certification for distributor2.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Fixed save certification for distributor2.
[SCMRequest] N/A

Change-Id: Ic62dae0a4c41514056ee2251e6ed85909908d700

11 years agoRevert "Fix widget version support"
Lukasz Marek [Mon, 27 May 2013 16:44:55 +0000 (18:44 +0200)]
Revert "Fix widget version support"

This reverts commit 499860cd91b1c6799d3a424d4625151d6c913f6c.

11 years agoMissing tizen settings in XML schema
Tomasz Iwanek [Mon, 3 Jun 2013 06:54:03 +0000 (08:54 +0200)]
Missing tizen settings in XML schema

[Issue#]       N/A
[Bug]          Some of settings are not specified in Core Spec but needed.
[Cause]        N/A
[Solution]     Added settings which are needed.
[Verification] Look at changes. Run: xmlstarlet val -e configuration/widgets.xsd configuration/config.xml

Change-Id: Ic92988fdeccf634c91f0d0835baba032ad60e854

11 years agoclean up unzip. phase 1
Soyoung Kim [Tue, 4 Jun 2013 08:58:06 +0000 (17:58 +0900)]
clean up unzip. phase 1

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove unzip task to class.
[SCMRequest] N/A

Change-Id: Ibb6e946ae0606a38964ab481de7424bdcaf321b2

11 years agoFixed systemd
Soyoung Kim [Tue, 28 May 2013 09:41:52 +0000 (18:41 +0900)]
Fixed systemd

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed systemd about wrt-preinstall-widgets.service
[SCMRequest] N/A

Change-Id: I9f067f0d179b5de0413c45ec2c1003b5872f1bda

11 years agoFixed shared directory's owner
Soyoung Kim [Tue, 4 Jun 2013 06:42:32 +0000 (15:42 +0900)]
Fixed shared directory's owner

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Fixed shared directory's owner.
[SCMRequest] N/A

Change-Id: I3b0f8f33942c6dee81f5039a829eb5056745be52