framework/web/wrt-installer.git
11 years ago[Release] wrt-installer_0.1.67
sung-su.kim [Mon, 27 May 2013 12:07:26 +0000 (21:07 +0900)]
[Release] wrt-installer_0.1.67

Change-Id: I58d7393e851234bc261517c06cb8525ddba238e1

11 years agoFixed skip encryption when downgrade preload webapp
Soyoung Kim [Mon, 27 May 2013 11:25:38 +0000 (20:25 +0900)]
Fixed skip encryption when downgrade preload webapp

[Issue#] N/A
[Problem] twice encrypt during downgrade to preload webapp.
[Cause] preload webapp is already encrypted.
[Solution] if downgrade to preload webapp, skip encryption.
[SCMRequest] N/A

Change-Id: Idcfe249b59e0429b9759ccc059e3ccece7968bd9

11 years ago[Release] wrt-installer_0.1.66
sung-su.kim [Mon, 27 May 2013 08:54:01 +0000 (17:54 +0900)]
[Release] wrt-installer_0.1.66

Change-Id: Ic80260b3e530da1f7b1da54ad0ec37ca18eeece0

11 years agoAdd update download web app to preload web app
Soyoung Kim [Sat, 25 May 2013 14:47:08 +0000 (23:47 +0900)]
Add update download web app to preload web app

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] downgrade to preload when download web app removed.
[SCMRequest] N/A

Change-Id: I09c5c77df9105dd3a6fa238d8b4e9951e2400e11

11 years agoAdd attributes for internal use regarding dynamic box(app widget)
Yunchan Cho [Sat, 25 May 2013 08:18:35 +0000 (17:18 +0900)]
Add attributes for internal use regarding dynamic box(app widget)

[Issue#] N/A
[Problem] Some commercialization features regarding dynamic box doesn't work
[Cause] Internally used attributes was removed by other patch
        <tizen:pd fastOpen>, <tizen:app-widget type>
[Solution] Add these attributes again.
           these attributes aren't announced publicly, so that wrt core spec doesn't include them.

Change-Id: I0a3dbe450dc5eb7aa4e5fee2952764d51fcd24c9

11 years agoDeferred installation removal.
Grzegorz Rynkowski [Thu, 23 May 2013 06:56:57 +0000 (08:56 +0200)]
Deferred installation removal.

[Issue#] LINUXWRT-161
[Problem] Unused functionality.
[Cause] N/A
[Solution] Removing it.
[Verification]
    1. Build a repository.
    2. Do a wrt-installer-tests-general after installation new
    wrt-installer. Compare the new test results with the previous
    (additionally you could do that for other tests also).

Change-Id: Ifb3c1b86a75f42f43582d2d775cb12749c3fed6c

11 years ago[Release] wrt-installer_0.1.65
sung-su.kim [Fri, 24 May 2013 05:25:35 +0000 (14:25 +0900)]
[Release] wrt-installer_0.1.65

Change-Id: I0fd9b20f21274ec447770914392ae4538aa276f0

11 years agoMerge "Set the API to check the supported boxsize."
Yunchan Cho [Fri, 24 May 2013 01:22:58 +0000 (10:22 +0900)]
Merge "Set the API to check the supported boxsize."

11 years agoFix for wiget parser.
Andrzej Surdej [Wed, 22 May 2013 15:37:23 +0000 (17:37 +0200)]
Fix for wiget parser.

[Issue#] N/A
[Problem] When checking 'update-period' the decimal point mark
various in different locales.
[Cause] strdot() uses locales when converting string to double.
[Solution] Set standard "C" locales on parsing time.
[Verification] To verify install new-app-widget* attached in
https://tizendev.org/bugs/browse/TDIS-5713.
Both should be able to install.

Change-Id: I4c4d67e96845c16b66f4c91b8e17c67dab77c05a

11 years agoMerge "Configuration parser adjustment to specification"
Pawel Sikorski [Thu, 23 May 2013 10:18:06 +0000 (19:18 +0900)]
Merge "Configuration parser adjustment to specification"

11 years ago[Release] wrt-installer_0.1.64
sung-su.kim [Thu, 23 May 2013 09:21:20 +0000 (18:21 +0900)]
[Release] wrt-installer_0.1.64

Change-Id: I294cfd078e79fadfdb32daf2a95feeefea59bf1b

11 years agoAdd encryption for preload web app
Soyoung Kim [Tue, 21 May 2013 12:30:54 +0000 (21:30 +0900)]
Add encryption for preload web app

[Issue#] N/A
[Problem] Can't install web app is required encryption during preload.
[Cause] there is no encryption api for preload web app.
[Solution] Add encryption api using master key.
[SCMRequest] this package have to release with ss-client and ss-server.

Change-Id: Id05cd77cf3657526ee0f13286ef6bc179b2f6840

11 years agoConfiguration parser adjustment to specification
Tomasz Iwanek [Tue, 7 May 2013 12:25:29 +0000 (14:25 +0200)]
Configuration parser adjustment to specification

[Issue#]       LINUXWRT-314
[Bug]          Parser not working as specified
[Cause]        N/A
[Solution]     Several fixes. Following things are being fixed:
 - prefering tizen:content element over widgets:content element
 - taking first content element (besides rule above)
[Verification] Build repository.

Run tests from change no "202543" from wrt-extra.

Change-Id: I75fd980a0dc6a372a001135a62acb9cd4ecd7c54

11 years agoupdate encryption logic to capi.
Soyoung Kim [Thu, 9 May 2013 12:38:50 +0000 (21:38 +0900)]
update encryption logic to capi.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] update encryption logic to capi.
[SCMRequest] this commit have to release with wrt.

Change-Id: I5cf257135a8857647a4d77a7d031306df254b8b9

11 years ago[Release] wrt-installer_0.1.63
sung-su.kim [Tue, 21 May 2013 05:53:05 +0000 (14:53 +0900)]
[Release] wrt-installer_0.1.63

Change-Id: I3fd1cc00f616ba2076c13b8a0ebbf619c58ea2e4

11 years agoSet the API to check the supported boxsize.
leerang song [Mon, 29 Apr 2013 10:54:05 +0000 (19:54 +0900)]
Set the API to check the supported boxsize.

[Issue#] N/A
[Problem] Config.xml use the not supported boxsize
[Cause] N/A
[Solution] Set the API to check the supported boxsize.
[SCMRequest] N/A

Change-Id: I7d39b257c1822f5296922342385c2629efe3e625

11 years agoPrevent fix
Lukasz Marek [Tue, 14 May 2013 11:15:02 +0000 (13:15 +0200)]
Prevent fix

[Issue#] N/A
[Problem] Memory leak found.
[Cause] N/A
[Solution] Release resources.
[Verification] Compile repository, install any widget.

Change-Id: If73441a222fb0c96bc2bc426726176ca3c770a8d

11 years agoRemove add_shared_dir_readers
Jihoon Chung [Fri, 17 May 2013 07:22:19 +0000 (16:22 +0900)]
Remove add_shared_dir_readers

[Issue#] N/A
[Problem] lock-up is occurred when web application is updating
[Cause] SMACK API has problem
[Solution] Remove API from installer part
[SCMRequest] N/A

Change-Id: I36dd8522da653c7c0d0ae0cdc60f6b6617933b2d

11 years ago[Release] wrt-installer_0.1.62
sung-su.kim [Thu, 16 May 2013 04:30:08 +0000 (13:30 +0900)]
[Release] wrt-installer_0.1.62

Change-Id: I889fa94dbf52caa019b4864ac31e1241cc307301

11 years agoAdjust wrt-installer AppWidgetParser to current specification
Karol Pawlowski [Wed, 15 May 2013 07:48:40 +0000 (09:48 +0200)]
Adjust wrt-installer AppWidgetParser to current specification

[Issue#] LINUXWRT-322
[Problem] N/A
[Cause] N/A
[Solution] adjusted to specification http://slp-info.sec.samsung.net/confluence/display/BROWSER/Tizen+Web+Runtime+Core+Specification+2.1#TizenWebRuntimeCoreSpecification21-Web%C2%A0AppWidgetConfigurationExtensions
[Verification] Build wrt-installer repository
Tests located in test/wrt repository in wrt-webapp-widget-tests subdir shouldn't be installed:
app-widget-icon-null.wgt
app-widget-content-null.wgt
widget-app-box-size-null.wgt
app-widget-box-size-invalid.wgt

Change-Id: I70460106b2983a360c800b084f41f942a18201c8

11 years ago[Release] wrt-installer_0.1.61
sung-su.kim [Wed, 15 May 2013 05:19:29 +0000 (14:19 +0900)]
[Release] wrt-installer_0.1.61

Change-Id: I98359651c7d53844eadc9a489dc08c4687dcab35

11 years agoCopy picture files of livebox to shared directory of app
Yunchan Cho [Wed, 15 May 2013 02:25:24 +0000 (11:25 +0900)]
Copy picture files of livebox to shared directory of app

[Issue#] N/A
[Problem] Livebox Viewer application like Homescreen can't read picture files of web livebox
[Cause] The picture files are labled as appid of web application of the livebox.
[Solution] Such files are moved to shared directory (APPROOT/shared/data), which files are automatically labeled as "_".

Change-Id: I5c0e911781efb340a7861038b74e76b38be45fdc

11 years ago[Prevent] Fixing issue 53026
Grzegorz Rynkowski [Fri, 10 May 2013 11:33:59 +0000 (13:33 +0200)]
[Prevent] Fixing issue 53026

[Issue#] LINUXWRT-305
[Problem] Unchecked return value.
[Cause] N/A
[Solution] Add handling for return value.
[Verification] Build repo.

Change-Id: I180ee55b39978165268823d6d785531ad0ff86a0

11 years ago[Release] wrt-installer_0.1.59
Soyoung Kim [Mon, 13 May 2013 02:24:50 +0000 (11:24 +0900)]
[Release] wrt-installer_0.1.59

11 years agofixed failed update preload web app
Soyoung Kim [Sun, 12 May 2013 11:52:39 +0000 (20:52 +0900)]
fixed failed update preload web app

[Issue#] N/A
[Problem] can't install web app.
[Cause] check pakcage id from RO.
And failed set smack label at shared directory.
[Solution] To validate package id is only from RW.
And skip to set smack label if update.
[SCMRequest] N/A

Change-Id: I51fe5137134ce59fd862e2a8bb61fcf35ab50587

11 years agoFixed crash when RDS mode is not supported
Jihoon Chung [Sun, 12 May 2013 12:33:32 +0000 (21:33 +0900)]
Fixed crash when RDS mode is not supported

[Issue#] N/A
[Problem] Crash is occurred when RDS update is failed
[Cause] Assert condition doesn't checked new error code
[Solution] Add NotSupportedRDSUpdate error enum to avoid Assert condition
[SCMRequest] N/A

Change-Id: I34718ea5a7468c0d09a81b8422d35cb8a8778d88

11 years agoRemove vconf creation code
Jihoon Chung [Fri, 10 May 2013 06:06:57 +0000 (15:06 +0900)]
Remove vconf creation code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove vconf creation code
[SCMRequest] must be imported with wrt-commons

Change-Id: Ica7d38bf9f6b1eef8de1dd3d2ffa63984bd32c5b

11 years ago[Release] wrt-installer_0.1.58
Taejeong Lee [Fri, 10 May 2013 12:12:36 +0000 (21:12 +0900)]
[Release] wrt-installer_0.1.58

Change-Id: I6d0150134451f264f16cdb8146c543f535c68dc5

11 years agoSynchronized with tizen_2.1_smack branch
Soyoung Kim [Thu, 28 Mar 2013 07:45:19 +0000 (16:45 +0900)]
Synchronized with tizen_2.1_smack branch

[Issue#]   N/A
[Bug]      N/A
[Cause]    Requested from smack team.
[Solution] Synchronized with tizen_2.1_smack branch

Change-Id: Id3568e077452cf7a3bc9820c5b3222978e58fb66

11 years ago[Release] wrt-installer_0.1.57
sung-su.kim [Fri, 10 May 2013 05:08:09 +0000 (14:08 +0900)]
[Release] wrt-installer_0.1.57

Change-Id: I84fb287d69951bf051c985c384d1360d64c7e424

11 years agoUpdate XSD to check application id boundary
Jihoon Chung [Wed, 8 May 2013 12:13:40 +0000 (21:13 +0900)]
Update XSD to check application id boundary

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update XSD to check application id boundary (1 to 52)
[SCMRequest] N/A

Change-Id: I97e59942f005b379c1cedf2f59eb2f0197fd6da5

11 years agoSupport testmode privilege
Jihoon Chung [Fri, 10 May 2013 01:19:21 +0000 (10:19 +0900)]
Support testmode privilege

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support testmode privilege
For disable privacy checks pop-up, TCS should define test mode privilege
in the config.xml. (http://tizen.org/privilege/testautomation)
This commit convert privilege to device-capability to check ACE
[SCMRequest] N/A

Change-Id: I5d4f14e0aed6c5d065685ec1582c1ce8bf7ea120

11 years agoSupport tizen:metadata
Jihoon Chung [Thu, 9 May 2013 04:44:23 +0000 (13:44 +0900)]
Support tizen:metadata

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support tizen:metadata
This key & value is written in the manifest.xml to be used by other application.
Verification : pkginfo --metadata <appid>
[SCMRequest] must be imported with wrt-commons

Change-Id: I6eb9b17a970c8bdad929634103efe70747bed416

11 years ago[Release] wrt-installer_0.1.56
Jihoon Chung [Thu, 9 May 2013 12:14:41 +0000 (21:14 +0900)]
[Release] wrt-installer_0.1.56

Change-Id: Idefea100df67619ffb144336a0ca0f5b73d89c2c

11 years ago[Prevent] Fixing issue 52340
Grzegorz Rynkowski [Tue, 7 May 2013 12:17:43 +0000 (14:17 +0200)]
[Prevent] Fixing issue 52340

[Issue#] LINUXWRT-305
[Problem] N/A
[Cause] N/A
[Solution] Free allocated data.
[Verification] Build repo.

Change-Id: I27de958733fe2d8336f41bd0d94f78fc270142b0

11 years agoMerge "[Prevent] Fixing issue 52473"
Pawel Sikorski [Thu, 9 May 2013 08:59:12 +0000 (17:59 +0900)]
Merge "[Prevent] Fixing issue 52473"

11 years ago[Release] wrt-installer_0.1.55
sung-su.kim [Thu, 9 May 2013 06:25:49 +0000 (15:25 +0900)]
[Release] wrt-installer_0.1.55

Change-Id: I8e908c77d8c0009dd7356326f6780fa4f919ede7

11 years ago[Prevent] Fixing issue 52473
Grzegorz Rynkowski [Tue, 7 May 2013 11:19:59 +0000 (13:19 +0200)]
[Prevent] Fixing issue 52473

[Issue#] LINUXWRT-305
[Problem] N/A
[Cause] N/A
[Solution] Free allocated data.
[Verification] Build repo.

Change-Id: Id7e1b611703a4e570b5c3848a6f8712a5ec01aa1

11 years agoFix ids in test widgets
Karol Pawlowski [Wed, 8 May 2013 08:45:01 +0000 (10:45 +0200)]
Fix ids in test widgets

[Issue#] LINUXWRT-213
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-installer repository with flag --define "WITH_TESTS ON"
run wrt-installer-tests-general --output=text
all tests should pass

Change-Id: I137887979636e06182359d48da3bbeee3a99af23

11 years agoFixed encryption fail if file size is zero.
Soyoung Kim [Thu, 9 May 2013 05:24:34 +0000 (14:24 +0900)]
Fixed encryption fail if file size is zero.

[Issue#] N/A
[Problem] web app installation failed when encryption setting is enable.
[Cause] try encryption at file size is zero.
[Solution] if file size is zero, skip encryption.
[SCMRequest] N/A

Change-Id: Icef14aac576d755f3d8b3afda5ed3b9e2aa398a8

11 years agoMerge "[Prevent] Fixing issue 52451"
Pawel Sikorski [Thu, 9 May 2013 02:23:03 +0000 (11:23 +0900)]
Merge "[Prevent] Fixing issue 52451"

11 years agoFixed crash issue when abort DB insert
Jihoon Chung [Wed, 8 May 2013 12:06:59 +0000 (21:06 +0900)]
Fixed crash issue when abort DB insert

[Issue#] N/A
[Problem] Crash is occurred when abort DB insert data
[Cause] Missing checking whether update mode or normal install mode.
That is caused that create widgetDAO which isn't exist in the database
[Solution] Add condition to check update mode.
[SCMRequest] N/A

Change-Id: I680f72a5ff21053b031af7d61a002b5834739ff4

11 years agoFixed privilege level checking
Jihoon Chung [Tue, 7 May 2013 14:04:04 +0000 (23:04 +0900)]
Fixed privilege level checking

[Issue#] TDIS-5461
[Problem] Unable to disable widget installed with declared one or more partner API privileges in configuration file
[Cause] Caused by the missing code to check the results of the privilege level check
[Solution] Modify source code to check privilege level whether to proceed instll or not
[SCMRequest] N/A

Change-Id: Ic8b96cb24fe23d480f8fb004f155f2c434fb402a

11 years agoChange application ID verify condition
Jihoon Chung [Tue, 7 May 2013 13:06:47 +0000 (22:06 +0900)]
Change application ID verify condition

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Application ID verify condition is changed that minimum
character is 1
[SCMRequest] N/A

Change-Id: Idb16e05841b95e89e56b4223b46049b8b2215f79

11 years ago[Prevent] Fixing issue 52451
Grzegorz Rynkowski [Tue, 7 May 2013 09:51:31 +0000 (11:51 +0200)]
[Prevent] Fixing issue 52451

[Issue#] LINUXWRT-305
[Problem] N/A
[Cause] N/A
[Solution] Add handling for return value.
[Verification] Build repo.

Change-Id: I9ba34fb4fdd8c987bdd3da914b7fd2fa1230cb79

11 years ago[Release] wrt-installer_0.1.54
sung-su.kim [Wed, 8 May 2013 06:51:55 +0000 (15:51 +0900)]
[Release] wrt-installer_0.1.54

Change-Id: I52ec5eff89597111696c70339aa695f144396482

11 years agoAdd shared directory
Soyoung Kim [Tue, 7 May 2013 06:25:58 +0000 (15:25 +0900)]
Add shared directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add shared directory
[SCMRequest] N/A

11 years agoReturn update fail if encryption setting is changed during rds update
Soyoung Kim [Wed, 8 May 2013 03:55:25 +0000 (12:55 +0900)]
Return update fail if encryption setting is changed during rds update

[Issue#] N_SE-36589
[Problem] resource is not readable when web app launched.
[Cause] if encryiption setting is changed, web app should be reinstall not rds update.
[Solution] return fail during rds update.
[SCMRequest] N/A

Change-Id: I5a05a66a820609dab575de1da923f1e92ca5708c

11 years ago[Release] wrt-installer_0.1.53
Jihoon Chung [Tue, 7 May 2013 05:59:05 +0000 (14:59 +0900)]
[Release] wrt-installer_0.1.53

Change-Id: I96086d2d0797bbe4e19fbff8d6278ba7cdace7e3

11 years agoMerge "Remove check upper version when update."
Hoseon LEE [Tue, 7 May 2013 04:54:03 +0000 (13:54 +0900)]
Merge "Remove check upper version when update."

11 years agoFix of supporting widgets with invalid app name
Grzegorz Rynkowski [Thu, 2 May 2013 11:27:14 +0000 (13:27 +0200)]
Fix of supporting widgets with invalid app name

[Issue#] TTS-1305
[Problem] wrt-installer supports widgets with invalid application name.
[Cause] N/A
[Solution] Change pattern for appname at config parser.
[Verification] Build repo and try to install two widgets:
    - widget with invalid appname (expect result: fail),
    - widget with valid appname (expect result: success).

Change-Id: I87ac56f91efbfd4bf86f72c15dbffdaacae72e47

11 years agoAdd auto-rotation in the XSD
Jihoon Chung [Mon, 6 May 2013 08:25:51 +0000 (17:25 +0900)]
Add auto-rotation in the XSD

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add 'auto-roatation' in the XSD
This will be used screen-orientation element
[SCMRequest] N/A

Change-Id: I237b32d6f83adbaa2e7323ba4a1a7970ffacce31

11 years agoSupport Web storage permission privilege
Jihoon Chung [Sat, 4 May 2013 10:06:37 +0000 (19:06 +0900)]
Support Web storage permission privilege

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support Web storage permission privilege
[SCMRequest] must be imported with wrt-commons

Change-Id: I962454354e1d2b69b8c250454992a62571522ee6

11 years agoRemove check upper version when update.
Soyoung Kim [Mon, 6 May 2013 11:04:30 +0000 (20:04 +0900)]
Remove check upper version when update.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] wrt-installer should not check version when web app update.
To check upversion should be on store.
So web app can update if incomming version is lower then existing version.
[SCMRequest] N/A

Change-Id: I65ef04b27b77adb13c7e516664f58c985a9b9b4f

11 years agoMerge "[Release] wrt-installer_0.1.52"
Hoseon LEE [Mon, 6 May 2013 11:27:06 +0000 (20:27 +0900)]
Merge "[Release] wrt-installer_0.1.52"

11 years ago[Release] wrt-installer_0.1.52
Soyoung Kim [Mon, 6 May 2013 04:52:03 +0000 (13:52 +0900)]
[Release] wrt-installer_0.1.52

Change-Id: I3232e49b1fbab8f6c4fb15e946a5d562ffeeada9

11 years ago[Release] wrt-installer_0.1.52
Soyoung Kim [Mon, 6 May 2013 04:52:03 +0000 (13:52 +0900)]
[Release] wrt-installer_0.1.52

Change-Id: I3232e49b1fbab8f6c4fb15e946a5d562ffeeada9

11 years agoAdd osp-installer to spec file
Soyoung Kim [Mon, 6 May 2013 04:45:30 +0000 (13:45 +0900)]
Add osp-installer to spec file

[Issue#] N/A
[Problem] can't install web app for preload web app.
[Cause] need osp-installer at spec file.
[Solution] add osp-installer at spec file
[SCMRequest] N/A

Change-Id: I1b5c8302c4ca0694f3a924ebec9ff558aa5ce03f

11 years ago[Release] wrt-installer_0.1.51
Jihoon Chung [Sat, 4 May 2013 14:28:12 +0000 (23:28 +0900)]
[Release] wrt-installer_0.1.51

Change-Id: I7b4f758fb3587920835db9f619c981d4fa80a331

11 years agoFixed update web app
Soyoung Kim [Fri, 3 May 2013 08:57:59 +0000 (17:57 +0900)]
Fixed update web app

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed update web app
[SCMRequest] this patch need wrt-commons package.

Change-Id: I3c4c52a3566b737124ae06c214b096d24b94ce16

11 years agoUpdate xsd to support CSP & allow-navigation
Jihoon Chung [Sat, 4 May 2013 05:01:31 +0000 (14:01 +0900)]
Update xsd to support CSP & allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update xsd to support CSP & allow-navigation
"content-security-policy", "content-security-policy-report-only", "allow-navigation"
[SCMRequest] N/A

Change-Id: If1a5414a33721c17e778ef414f9811737dc468cc

11 years agoMerge "Update xsd schema file regarding AppWidget"
Hoseon LEE [Fri, 3 May 2013 12:31:44 +0000 (21:31 +0900)]
Merge "Update xsd schema file regarding AppWidget"

11 years agoFixing tests in wrt-installer
Karol Pawlowski [Thu, 25 Apr 2013 09:10:49 +0000 (11:10 +0200)]
Fixing tests in wrt-installer

[Issue#] LINUXWRT-213
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-installer repository with flag --define "WITH_TESTS ON"
run wrt-installer-tests-general --output=text
all tests should pass

Change-Id: I95a67c16d26bb8e53b2bac6ca342bd144049a7b7

11 years agoFixing warnings in wrt-installer repository
Kamil [Thu, 25 Apr 2013 11:12:22 +0000 (13:12 +0200)]
Fixing warnings in wrt-installer repository

[Issue#] LINUXWRT-271
[Problem] Too many warnings
[Cause] N/A
[Solution] Preventing them
[Verification] Build wrt-installer repository

Change-Id: Ibd41be4dd3546dad6fdfa3eda65e44973f43f1d8

11 years agoRemove code for skip verify certificate during reinstall mode
Jihoon Chung [Sun, 31 Mar 2013 07:28:15 +0000 (16:28 +0900)]
Remove code for skip verify certificate during reinstall mode

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove comment out code which is skipped verify certificate
when install mode is reinstall.
[SCMRequest] N/A

Change-Id: I3a8356616f112737fa7aafb8105b04a96955b410

11 years agoSupport preload to writable storage
Jihoon Chung [Thu, 2 May 2013 07:48:11 +0000 (16:48 +0900)]
Support preload to writable storage

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support install Preload application to a writable storage.
This is requirment of operator and preload application can be
uninstalled.
[SCMRequest] N/A

Change-Id: Ibe9af71e1560a01ea8318fc5a9ba2ef28cef5d8d

11 years agoRefactoring install type
Jihoon Chung [Thu, 2 May 2013 02:41:40 +0000 (11:41 +0900)]
Refactoring install type

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Refactoring install type
[SCMRequest] N/A

Change-Id: I39fc9c964d48b7d59b4c4ca4fc1ab49a127edf25

11 years agoUpdate xsd schema file regarding AppWidget
Yunchan Cho [Thu, 2 May 2013 08:56:48 +0000 (17:56 +0900)]
Update xsd schema file regarding AppWidget

[Issue#] N/A
[Problem] In SDK, some attributes of appwidget are not recognized
[Cause] N/A
[Solution] xsd schema file is updated as adding those attributes (type, fast-open)

Change-Id: I5585e1053d1c1d1d9f7c08deac729f9ef25eb3e9

11 years ago[Release] wrt-installer_0.1.50
Soyoung Kim [Tue, 30 Apr 2013 11:31:27 +0000 (20:31 +0900)]
[Release] wrt-installer_0.1.50

Change-Id: Ic151959189f378dc927548433b7c40f2f0456fa1

11 years agoArragne error code
Soyoung Kim [Thu, 11 Apr 2013 06:01:00 +0000 (15:01 +0900)]
Arragne error code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] arrange error code
[SCMRequest] N/A

11 years agoFixed wrong percent send to pkgmgr
Soyoung Kim [Tue, 30 Apr 2013 10:58:01 +0000 (19:58 +0900)]
Fixed wrong percent send to pkgmgr

[Issue#] N/A
[Problem] send over percent to pkgmgr
[Cause] wrong calculate percent.
[Solution] fixed caluate percent.
[SCMRequest] N/A

Change-Id: I786ef375e5de4e53de8fe63ea3fed4b19b33f302

11 years agoFixed privilege list at install service
Soyoung Kim [Tue, 30 Apr 2013 05:53:33 +0000 (14:53 +0900)]
Fixed privilege list at install service

[Issue#] N/A
[Problem] privilege list don't show at install service during installation.
[Cause] can't add glist.
[Solution] add privliege at glist.
[SCMRequest] N/A

Change-Id: Ide0b7ea404bff1c0712dc178b83196cf9e798622

11 years ago[Prevent] Fixing issue 52035
Tomasz Iwanek [Mon, 29 Apr 2013 10:31:14 +0000 (12:31 +0200)]
[Prevent] Fixing issue 52035

[Issue#] LINUXWRT-234
[Problem] N/A
[Cause] N/A
[Solution] Free allocated buffer.
[Verification] Build repo.

Change-Id: I01dcd4579e14e32cf80f8daa4b6ad491be77c113

11 years ago[Release] wrt-installer_0.1.49
Jihoon Chung [Tue, 30 Apr 2013 04:43:18 +0000 (13:43 +0900)]
[Release] wrt-installer_0.1.49

Change-Id: I52a76246fa173c23ade21b3e87b92e1df8a4f711

11 years agoFixed failed to uninstall preload webapp. (part2)
Hoseon LEE [Mon, 29 Apr 2013 17:21:48 +0000 (02:21 +0900)]
Fixed failed to uninstall preload webapp. (part2)

[Issue#] N/A
[Problem] Manifest.xml is not removed.
[Cause] The path of manifest.xml was wrong.
[Solution] Add removing the manifest.xml
[SCMRequest] N/A

Change-Id: I1dc4b930a6281559131476862261a8218aae4d81

11 years ago[Release] wrt-installer_0.1.48
Jihoon Chung [Tue, 30 Apr 2013 04:36:03 +0000 (13:36 +0900)]
[Release] wrt-installer_0.1.48

Change-Id: I73793db68c67f593161e614115b153068704b37f

11 years agoFixed wrong ENDIF in the CMakeList
Jihoon Chung [Tue, 30 Apr 2013 04:33:58 +0000 (13:33 +0900)]
Fixed wrong ENDIF in the CMakeList

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Fixed wrong ENDIF in the CMakeList
[SCMRequest] N/A

Change-Id: Id1c8a34ef1ca4801ffad53e5af4a866e8aefde6d

11 years ago[Release] wrt-installer_0.1.47
Soyoung Kim [Mon, 29 Apr 2013 14:51:50 +0000 (23:51 +0900)]
[Release] wrt-installer_0.1.47

Change-Id: I6da65bfcf859a00f51d09021719f74a59be77346

11 years agoFixed progres bar
Soyoung Kim [Mon, 29 Apr 2013 14:34:32 +0000 (23:34 +0900)]
Fixed progres bar

[Issue#] TREL-479
[Problem] Installation progress bar displays abnormal after installing is completed.
[Cause] there is no send signal of 100%.
[Solution] send 100% signal when installation success.
[SCMRequest] N/A

Change-Id: I515d322b2fd8fd7193505b2adb72d2ab9b94903a

11 years agoremove user data directory if preload web app installation failed.
Soyoung Kim [Tue, 23 Apr 2013 09:26:29 +0000 (18:26 +0900)]
remove user data directory if preload web app installation failed.

[Issue#] N/A
[Problem] data directory remained if preload webapp installation failed.
[Cause] N/A
[Solution] remove data directory /opt/usr/apps/[packageid]
[SCMRequest] N/A

Change-Id: I68c9326bac7bce961ad7fd8af76a20a13c1a7b96

11 years agoFixed failed to uninstall preload webapp.
Soyoung Kim [Mon, 29 Apr 2013 12:05:05 +0000 (21:05 +0900)]
Fixed failed to uninstall preload webapp.

[Issue#] N/A
[Problem] failed to uninstall preload webapp.
[Cause] check preload webapp during uninstall.
[Solution] remove check logic.
[SCMRequest] N/A

Change-Id: Ib290277ff2aaabbabba0f5bb074f4797e4bd16db

11 years ago[Release] wrt-installer_0.1.46
Yunchan Cho [Sun, 28 Apr 2013 15:03:15 +0000 (00:03 +0900)]
[Release] wrt-installer_0.1.46

Change-Id: Ia31ad58b7f938f8a74f483b800cb1a739012d531

11 years agoSupport 'fast-open' attribute of <tizen:pd>
Yunchan Cho [Thu, 25 Apr 2013 13:36:16 +0000 (22:36 +0900)]
Support 'fast-open' attribute of <tizen:pd>

[Issue#] N/A
[Problem] For opening PD fast, developers can use 'fast-open' attribute of <tizen:pd>.
          But, wrt-installer is not considered for this.
[Cause] This is new requirement for web livebox
[Solution] wrt-installer parses 'fast-open' attribute and inserts its value to web-provider's DB
[SCMRequest] This patch is dependancy to the following two patches.
             wrt-commons: https://tizendev.org/gerrit/#/c/65035/
             web-provider: https://tizendev.org/gerrit/#/c/64752/

Change-Id: I7a86223bb9a7047462acd59448a075a0222d4fd4

11 years ago[Release] wrt-installer_0.1.45
Jihoon Chung [Sun, 28 Apr 2013 13:18:07 +0000 (22:18 +0900)]
[Release] wrt-installer_0.1.45

Change-Id: I688e7bc85789b142d56acfbf508f20b35d84bdd6

11 years agoSupport origin only case in the allow-navigation
Jihoon Chung [Sun, 28 Apr 2013 12:06:02 +0000 (21:06 +0900)]
Support origin only case in the allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support origin only case in the allow-navigation
[SCMRequest] N/A

Change-Id: I5f13c0989117784a3ba93481087a35b7af08c388

11 years ago[Release] wrt-installer_0.1.44
Jihoon Chung [Sun, 28 Apr 2013 05:27:56 +0000 (14:27 +0900)]
[Release] wrt-installer_0.1.44

Change-Id: Id8826a2d874fbe607dd4c52083d1b207af095d17

11 years agoEnable CSP & allow-navigation
Jihoon Chung [Sun, 28 Apr 2013 05:16:31 +0000 (14:16 +0900)]
Enable CSP & allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Enable CSP & allow-navigation
[SCMRequest] N/A

Change-Id: Ia0953c9e28e2fadec574729cba41cd0c39b0c0dc

11 years agoClean-up CSP, allow-navigation feature
Jihoon Chung [Sun, 28 Apr 2013 05:05:05 +0000 (14:05 +0900)]
Clean-up CSP, allow-navigation feature

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up CSP, allow-navigation feature
[SCMRequest] N/A

Change-Id: I25ad7b03a17a64eec724c736632d4f1a53205c2e

11 years ago[Release] wrt-installer_0.1.43
Jihoon Chung [Sat, 27 Apr 2013 13:19:46 +0000 (22:19 +0900)]
[Release] wrt-installer_0.1.43

Change-Id: I1896fca9f17a576d9e1418aa7abefb819599768b

11 years agoFixed lock-up issue when input argument is wrong with -c command
Jihoon Chung [Thu, 25 Apr 2013 11:41:37 +0000 (20:41 +0900)]
Fixed lock-up issue when input argument is wrong with -c command

[Issue#] N/A
[Problem] If arguments for "-c" is wrong, wrt-installer doesn't
exit
[Cause] During parsing command, wrt-installer cannot get out from
while loop
[Solution] Add condition for argument is wrong case
[SCMRequest] N/A

Change-Id: Id506bbce99f5559bdc3d5f08716eec304287a6e5

11 years agoImplement distinguish security model version
Jihoon Chung [Thu, 25 Apr 2013 08:06:46 +0000 (17:06 +0900)]
Implement distinguish security model version

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] After enable CSP and allow-navigation, WRT should
distinguish security model. This needs to avoid conflict between
each security model.
V1 : only handled by WARP
v2 : main resource - allow-navigation
     sub  resource - CSP
[SCMRequest] must be imported with wrt-commons

Change-Id: Ifd56cb56789fa3a0e20d1b6e89ab4d9aaa33bad2

11 years agoImplement allow-navigation
Jihoon Chung [Tue, 23 Apr 2013 05:10:39 +0000 (14:10 +0900)]
Implement allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support allow-navigation
This commit parsing <tizen:allow-navigation>
Also store data which is separate scheme and host by irid to
WidgetDAO
[SCMRequest] must be imported with wrt-commons

Change-Id: I7bd449861958543070527ecf3b759ed7976c5c5b

11 years ago[Release] wrt-installer_0.1.41
Soyoung Kim [Thu, 25 Apr 2013 16:37:12 +0000 (01:37 +0900)]
[Release] wrt-installer_0.1.41

Change-Id: Ic929021c0041aad81d3f6b979b3111a4f5e1a1de

11 years agoFixed install fail from install service.
Soyoung Kim [Thu, 25 Apr 2013 15:39:54 +0000 (00:39 +0900)]
Fixed install fail from install service.

[Issue#] N/A
[Problem] crash installation from install service module.
[Cause] missing dependency pcre library from wgt.so
[Solution] add pcre library at wgt.so
[SCMRequest] N/A

Change-Id: I0880f15d1eaaa64abb0a5b1befeaea23fa708022

11 years agoMerge "Fixing issues found by prevent2 (49866)"
Pawel Sikorski [Thu, 25 Apr 2013 12:11:35 +0000 (21:11 +0900)]
Merge "Fixing issues found by prevent2 (49866)"

11 years agoPopup removal 2
Tomasz Iwanek [Thu, 18 Apr 2013 13:23:54 +0000 (15:23 +0200)]
Popup removal 2

[Issue#]       N/A
[Bug]          Code to be cleaned up
[Cause]        N/A
[Solution]     N/A
[Verification] Build repo. Cp widget to /opt/usr/media/. Run installation for myfiles application. Installation should not involves popups (besides first question Install?, which is not wrt popup).
 Check successfull installation. No UI should be showed. Uninstall widget from settings/task manager. Check if widget was correctly removed with wrt-aluncher listing.

Change-Id: I63e2f892327f34ad8c59b986bcab7b10e5001116

11 years agoFixing issues found by prevent2 (49866)
Karol Pawlowski [Wed, 24 Apr 2013 11:32:50 +0000 (13:32 +0200)]
Fixing issues found by prevent2 (49866)

[Issue#] LINUXWRT-234
[Bug] Dereference null return value
[Cause] N/A
[Solution] Remove issues
[Verification] Build wrt-installer repository
run: wrt-installer -p
additionally you can run wrt-installer-tests-general --output=text --regexp='pluginFilesAdded'
to run tests you should build repository with flag --define="WITH_TESTS ON"

Change-Id: I62db6e501f17170b9f2a799fa596971212d47843

11 years ago[Release] wrt-installer_0.1.40
Jihoon Chung [Wed, 24 Apr 2013 05:51:17 +0000 (14:51 +0900)]
[Release] wrt-installer_0.1.40

Change-Id: I293c9aefb020fc7661ee0fc250ed7356d19c9912

11 years agoFixed crash issue in case of install prefer-external
Jihoon Chung [Wed, 24 Apr 2013 05:23:24 +0000 (14:23 +0900)]
Fixed crash issue in case of install prefer-external

[Issue#] N_SE-36044
[Problem] Unexpected crash is occurred when install-location set
to prefer-external
[Cause] In case of SD card isn't ready, exception is thrown.
During catch and handle exception, callback touch un-initialized
value.
[Solution] Add condition to prevent un-initialize value
[SCMRequest] N/A

Change-Id: I68eb0ccd5d7ee8737e2e89eba563a8d1ccc0342f

11 years agoImplement install & uninstall by CSC
Jihoon Chung [Wed, 24 Apr 2013 02:07:03 +0000 (11:07 +0900)]
Implement install & uninstall by CSC

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement install & uninstall by CSC configuration
Use case is pkgmgr calls "-c" option with configuration string
wrt-installer -c path=/opt/system/csc/Basic.wgt:op=install:removable=true

"path" is widget file path
"op" is operation name. install or uninstall
"removale" isn't supported by wrt-installer
[SCMRequest] N/A

Change-Id: Icc0873cbd9c2235268d3c843db91485e62557d3b