framework/web/wrt-installer.git
10 years ago[Release] wrt-installer_0.1.116
sung-su.kim [Wed, 14 Aug 2013 04:50:18 +0000 (13:50 +0900)]
[Release] wrt-installer_0.1.116

Change-Id: I3de20d709f0599d3d61b0eba116c04626fbbeb44

10 years agoPkgmgr's wgt backendlib - fixing name locale for package
Tomasz Iwanek [Mon, 12 Aug 2013 11:20:39 +0000 (13:20 +0200)]
Pkgmgr's wgt backendlib - fixing name locale for package

[Issue#]       LINUXWRT-792 / WGL-406
[Bug]          Locale isn't correctly dipatched
[Cause]        Lookup should be done without subtags too
               (that wasn't fixed when writing LocalisationTagsSingleton).
[Solution]     Use code from localisation module
[Verification] Try to install widget ta-de-004.wgt (located in wrt-extra)
               from myfiles app (copy file to /opt/usr/media/Others/).
               Displayed widget name in popup should be "PASS".

Change-Id: I4468619e441f32f1d744bba4eba08a8579fbe403

10 years agoBuild Fix after ea9d0ebbd87705b6d36ad280bfab4151faaa8808
Soo-Hyun Choi [Wed, 14 Aug 2013 02:22:53 +0000 (11:22 +0900)]
Build Fix after ea9d0ebbd87705b6d36ad280bfab4151faaa8808

[Issue#] N/A
[Problem] Build failed after ea9d0ebbd87705b6d36ad280bfab4151faaa8808
[Cause] spec file still has "wrt-preinstall-widgets.service"
[Solution] Removed "wrt-preinstall-widgets.service" from the spec file
[SCMRequest] N/A

Change-Id: I36b83e5a95028af6c61069f75d1f671a74930f23

10 years agoCreate & update widget interface database
Jihoon Chung [Fri, 9 Aug 2013 13:51:51 +0000 (22:51 +0900)]
Create & update widget interface database

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] To implement update widget interface key & value, database
should create in install time. Also this commit support update widget
interface data.
[SCMRequest] must be imported with wrt-commons
https://review.tizendev.org/gerrit/#/c/86092/

Change-Id: I575ae2ec2f9880d8e26fd6ede3f23549e9134d23

10 years agoRemove wrt-preinstall-widgets.service
Soyoung Kim [Tue, 13 Aug 2013 12:26:45 +0000 (21:26 +0900)]
Remove wrt-preinstall-widgets.service

[Issue#] N/A
[Problem] Booting time is delayed too much by wrt-preinstall-widgets.service
[Cause] wrt_preinstall_widgets.sh is executed several times at boot time
[Solution] Remove preinstall service as we do not need this anymore.
           e.g.,) preinstall service is available with CSC.
           We received a request of removal this service from kyungmin.park@samsung.com
[SCMRequest] N/A

Change-Id: I3152068778565970bb4f2f2c89be12e539f4945d

10 years ago[Release] wrt-installer_0.1.115
sung-su.kim [Sun, 11 Aug 2013 23:28:36 +0000 (08:28 +0900)]
[Release] wrt-installer_0.1.115

Change-Id: I2204f2b141bee23f69349a3cc4d761b00cc04c41

10 years agoImplement disposition element parser
Jihoon Chung [Sun, 4 Aug 2013 09:11:01 +0000 (18:11 +0900)]
Implement disposition element parser

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement disposition element parser
disposition element is sub-element of tizen:app-control.
element name : tizen:disposition
value :
  inline - application running with submode
  window - application running with normal state

example :
  <tizen:app-control>
    <tizen:src name="test.html"/>
    <tizen:operation name="http://tizen.org/appcontrol/operation/test"/>
    <tizen:disposition name="inline"/>
  </tizen:app-control>
dispostion element requires platform level
[SCMRequest] N/A

Change-Id: Ib36215380572afffc23ce831d28488903b5dd4f8

10 years ago[Release] wrt-installer_0.1.114
sung-su.kim [Wed, 7 Aug 2013 23:55:41 +0000 (08:55 +0900)]
[Release] wrt-installer_0.1.114

Change-Id: I85df70b6294c6979cb4ceac80461a1b03c20b00b

10 years agoseparate generation manifest and update pkginfo.
Soyoung Kim [Mon, 5 Aug 2013 11:32:00 +0000 (20:32 +0900)]
separate generation manifest and update pkginfo.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] To update package info separate from generation manifest file.
Because package info is double updated when hybrid app.
[SCMRequest] N/A

Change-Id: Ib32dd11d6108630480918bff9529aa85a6c56185

10 years agoAdd start/end task for log.
Soyoung Kim [Thu, 1 Aug 2013 06:11:33 +0000 (15:11 +0900)]
Add start/end task for log.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add log for marking task.
[SCMRequest] N/A

Change-Id: Ib4891a2389c0821290710a4973d9fd9ceea4ea52

10 years agoApply the cflag(TIZEN_ENGINEER_MODE)
Soyoung Kim [Wed, 7 Aug 2013 05:36:54 +0000 (14:36 +0900)]
Apply the cflag(TIZEN_ENGINEER_MODE)

[Issue#] N/A
[Problem] can't display dlog.
[Cause] N/A
[Solution] add cflag for feature of USER/ENG binary.
[SCMRequest] N/A

Change-Id: Ic91e36f124fd9635d39f8b97217e5e2fc790b52b

10 years agoPrivilege and Feature list files are added for IDE
Hoseon LEE [Wed, 7 Aug 2013 02:54:19 +0000 (11:54 +0900)]
Privilege and Feature list files are added for IDE

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Privilege and Feature list files are added for IDE
The IDE show the available list of Privilege and feature.
WRT maintains this list.
[SCMRequest] N/A

Change-Id: I5d921046bb86bd502c99dfdc87072edf035f99f9

10 years ago[Release] wrt-installer_0.1.113
sung-su.kim [Mon, 5 Aug 2013 23:19:36 +0000 (08:19 +0900)]
[Release] wrt-installer_0.1.113

Change-Id: I70eeae123b1135a9225487fe802aad0e34beef12

10 years agoRemove deprecated API
Jihoon Chung [Sun, 4 Aug 2013 07:38:31 +0000 (16:38 +0900)]
Remove deprecated API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated API
Remove registerOrUpdateWidget, backupAndUpdateWidget and
restoreUpdateWidget.
[SCMRequest] N/A

Change-Id: I8b0bfe580ec2ec04b1cad1c1864f5c71d09e896b

10 years agoMisspell in wrt-installer
Rafal Bednarski [Wed, 31 Jul 2013 09:41:58 +0000 (11:41 +0200)]
Misspell in wrt-installer

[Issue#] LINUXWRT-745
[Problem] Misspell was instead of "true" was "ture".
[Cause] N/A
[Solution] Changed "ture" for "true"
[Verification] Build repository

Change-Id: I965d275103a5587e1c9f519e7d88b0903aa6ddc4

10 years ago[Release] wrt-installer_0.1.112
Soyoung Kim [Fri, 2 Aug 2013 11:55:19 +0000 (20:55 +0900)]
[Release] wrt-installer_0.1.112

Change-Id: I31450af41bc7bfcf47f8cb459d1ee00faff75f58

10 years agoFixed failure return value change to error code.
Soyoung Kim [Fri, 2 Aug 2013 07:33:12 +0000 (16:33 +0900)]
Fixed failure return value change to error code.

[Issue#] N/A
[Problem] CSC installation can't get error code.
[Cause] wrt-installer command doesn't return error code.
[Solution] return error code.
[SCMRequest] N/A

Change-Id: Id39749a22c0dbc5917a387d9c7022f0a4072ce6e

10 years ago[Release] wrt-installer_0.1.111
sung-su.kim [Wed, 31 Jul 2013 00:05:47 +0000 (09:05 +0900)]
[Release] wrt-installer_0.1.111

Change-Id: I0b4722449f03f4d85b726f24efba0f41048b8225

10 years agoDPL Encryption module depenedency dropped
Tomasz Iwanek [Tue, 30 Jul 2013 11:14:17 +0000 (13:14 +0200)]
DPL Encryption module depenedency dropped

[Issue#]       N/A
[Bug]          Not use module
[Cause]        N/A
[Solution]     Remove dependency for wrt-installer
[Verification] Build.

Change-Id: I694f77723ba30eed3451f7b4b80425f950827070

10 years ago[Release] wrt-installer_0.1.110
sung-su.kim [Fri, 26 Jul 2013 07:54:52 +0000 (16:54 +0900)]
[Release] wrt-installer_0.1.110

Change-Id: I308f114c0f9031c35b084b2d3a45f3f4a1fa4624

10 years agoAdd callerId exception
sung-su.kim [Fri, 26 Jul 2013 07:41:43 +0000 (16:41 +0900)]
Add callerId exception

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add callerId exception
[SCMRequest] N/A

Change-Id: I58b7f23ff190e4d0458d71f41403cf144a10d541

10 years ago[Release] wrt-installer_0.1.109
sung-su.kim [Thu, 25 Jul 2013 23:20:03 +0000 (08:20 +0900)]
[Release] wrt-installer_0.1.109

Change-Id: Ia62ddbc7e18d4de50f948e10d6f7e18f2d468d20

10 years agoAdd invalid wgt package exception code
sung-su.kim [Thu, 18 Jul 2013 01:46:44 +0000 (10:46 +0900)]
Add invalid wgt package exception code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add invalid wgt package exception code
[SCMRequest] N/A

Change-Id: I73965ae534e2e7a4f7c00ac5659e4da66faefb88

10 years ago[Release] wrt-installer_0.1.108
sung-su.kim [Thu, 25 Jul 2013 00:39:12 +0000 (09:39 +0900)]
[Release] wrt-installer_0.1.108

Change-Id: I2a65c359d49206fe0a0bc6e0a7542dcf0e63aeb9

10 years agoUtilize extracted i18n db in LanguageSubtagRstTree.
Zbigniew Kostrzewa [Fri, 19 Jul 2013 07:49:17 +0000 (09:49 +0200)]
Utilize extracted i18n db in LanguageSubtagRstTree.

[Issue#] N/A
[Problem] iana_records table, on which LanguageSubtagRstTree relies,
has been extracted into a separate DB
[Cause] N/A
[Solution] utilize new DB (replace references from GlobalDAOReadOnly to
I18nDAOReadOnly)
[SCMRequest] Depends on: https://review.tizendev.org/82091
[Verification]
1. Build repository
2. Run command
  `wrt-installer-tests-general --output=text`
  Pay attention espaecially to test cases ValidateLanguageTag_Invalid
  and ValidateLanguageTag_Valid; however, run whole test suite.

Change-Id: Ie6d82b26e8effc0d62eaaba0701c122e50172154

10 years ago[Release] wrt-installer_0.1.107
sung-su.kim [Wed, 24 Jul 2013 00:13:42 +0000 (09:13 +0900)]
[Release] wrt-installer_0.1.107

Change-Id: I03e1b9170fd7afdca8c55f306e0df8dee630e907

10 years agoAdd store client id in manifest.xml
Soyoung Kim [Fri, 19 Jul 2013 12:24:37 +0000 (21:24 +0900)]
Add store client id in manifest.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add storeclient-id field in manifest.xml
storeclient-id is caller package id.
[SCMRequest] N/A

Change-Id: I4eac194ffe7289159de7fba25f9adc9405ebf236

10 years agoFixed error code when missing start file.
Soyoung Kim [Fri, 19 Jul 2013 11:25:59 +0000 (20:25 +0900)]
Fixed error code when missing start file.

[Issue#] N/A
[Problem] error code is wrong when missing start file.
[Cause] N/A
[Solution] error code change to "package invalid"
[SCMRequest] N/A

Change-Id: I009c38123e235d65d557b01ceec27de0a078c67b

10 years agoChange condition of reinstall preload app after uninstall
Soyoung Kim [Thu, 18 Jul 2013 06:30:54 +0000 (15:30 +0900)]
Change condition of reinstall preload app after uninstall

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] using check system app api.
[SCMRequest] N/A

Change-Id: Ie909a0308ec331955e056e7fb7fea83240befcc1

10 years agoChange log tag WRT to WRT_INSTALLER
Soyoung Kim [Fri, 19 Jul 2013 03:03:48 +0000 (12:03 +0900)]
Change log tag WRT to WRT_INSTALLER

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] log tag is changed WRT_INSTALLER from WRT
[SCMRequest] N/A

Change-Id: Ic2661c6664776263088e4a0fcfd8263659f8f991

10 years agocode cleanup
Soyoung Kim [Wed, 17 Jul 2013 11:53:55 +0000 (20:53 +0900)]
code cleanup

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] unused code cleanup
[SCMRequest] N/A

Change-Id: I5277748a059a453103873a6373dfd729c6666a65

10 years ago[Release] wrt-installer_0.1.106
sung-su.kim [Mon, 22 Jul 2013 23:58:06 +0000 (08:58 +0900)]
[Release] wrt-installer_0.1.106

Change-Id: Icfb026cee3a31506521de6d4bf14594d7118a4ba

10 years agoFix build-break. Remove unused component.
Zbigniew Kostrzewa [Mon, 22 Jul 2013 10:13:08 +0000 (12:13 +0200)]
Fix build-break. Remove unused component.

[Issue#] N/A
[Problem] Build break
[Cause] Use of removed API
[Solution] The component that is using removed API is not used. Comment
it out until proper fix is applied and component is utilized again.
[SCMRequest] N/A
[Verification]
1. Build repository
2. Run command:
  `wrt-installer-tests-general --output=text`

Change-Id: If4efa53eb2e5939d6baa0ed8488452d7926821a5

10 years ago[Release] wrt-installer_0.1.105
sung-su.kim [Mon, 22 Jul 2013 08:56:26 +0000 (17:56 +0900)]
[Release] wrt-installer_0.1.105

Change-Id: Iaa28e9cf66d88ac60f52cf7cc0baeb8c9967211c

10 years agoFixed encryption fail issue
Jihoon Chung [Mon, 22 Jul 2013 08:38:28 +0000 (17:38 +0900)]
Fixed encryption fail issue

[Issue#] N/A
[Problem] Encrypt application is failed to install
[Cause] Certify level checks return error. Because encrypt is done
before certify level task and md5 checking is failed
[Solution] Move certify level checking before encryption
[SCMRequest] N/A

Change-Id: I0500eeca1264e4dadec5d7871372890b52591a00

10 years ago[Release] wrt-installer_0.1.104
sung-su.kim [Mon, 22 Jul 2013 01:38:57 +0000 (10:38 +0900)]
[Release] wrt-installer_0.1.104

Change-Id: If247f03657dd1bf8018a3bcc80c741fae76f04ab

10 years agoImplement task to check "tizen:setting"
Jihoon Chung [Sun, 14 Jul 2013 11:15:14 +0000 (20:15 +0900)]
Implement task to check "tizen:setting"

[Issue#] N/A
[Problem] Current wrt-installer only checks "tizen:privilege" level,
even manifest received many requirement of sensitive "tizen:setting"
[Cause] N/A
[Solution] Implement task "task_certify_level"
To avoid sensitive manifest setting is used by untrust application,
installer needs to check privilege level of application. This commit
doesn't use global, static and member value intentionally
to reduce attack.
[SCMRequest] N/A

Change-Id: Icb63c2ad3b02a57c90d39f729db159a84576f348

10 years ago[Release] wrt-installer_0.1.103
sung-su.kim [Fri, 19 Jul 2013 03:07:42 +0000 (12:07 +0900)]
[Release] wrt-installer_0.1.103

Change-Id: I4033ba0dea93dd5971c1ed4dc81a96db536847b0

10 years agoFix for wrong notification during installation
Kamil Nowac [Mon, 15 Jul 2013 13:55:31 +0000 (15:55 +0200)]
Fix for wrong notification during installation

[Issue#] LINUXWRT-656
[Problem] Wrong notification during widget instalation
on the top of teh screen
[Cause] N/A
[Solution] Added chcecking for system language.
[Verification] Install widget from:
https://bugs.tizendev.org/jira/secure/attachment/140622/WEB-3429.zip
During installation should be displayed notification depending on curent language.

Change-Id: I5a1a73a95cdd8cef1796786152e721bb4e1eb52a

10 years ago[Release] wrt-installer_0.1.102
sung-su.kim [Wed, 17 Jul 2013 02:52:57 +0000 (11:52 +0900)]
[Release] wrt-installer_0.1.102

Change-Id: I8d40292ac3da46349eab1a5e718ca0995ee2a226

10 years agoReplace LogInfo to LogDebug
Jihoon Chung [Wed, 17 Jul 2013 02:32:35 +0000 (11:32 +0900)]
Replace LogInfo to LogDebug

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace LogInfo to LogDebug
Platform policy isn't used LogInfo
[SCMRequest] N/A

Change-Id: I0aa6c90972a6189786cde68766f8f893d6aa7362

10 years agoIWacSecurity interface name change to IWidgetSecurity
Tomasz Iwanek [Wed, 10 Jul 2013 10:46:15 +0000 (12:46 +0200)]
IWacSecurity interface name change to IWidgetSecurity

[Issue#]       LINUXWRT-629
[Bug]          Irrelevant name
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository:
[SCMRequest]   This change depends on: https://review.tizendev.org/#/c/80379

Change-Id: I1b52a267b6ba450376b91c872b97e64b64760871

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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