platform/framework/web/wrt-installer.git
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

11 years ago[Release] wrt-installer_0.1.39
Jihoon Chung [Tue, 23 Apr 2013 09:41:49 +0000 (18:41 +0900)]
[Release] wrt-installer_0.1.39

Change-Id: Ifac986f211dfd52817cf2aa232d06774e93c953a

11 years agoFixed wrong progress status during installation
Soyoung Kim [Tue, 23 Apr 2013 08:42:21 +0000 (17:42 +0900)]
Fixed wrong progress status during installation

[Issue#] N/A
[Problem] wrong progress status.
[Cause] wrong position smack status.
[Solution] move smack status to end of task.
[SCMRequest] N/A

Change-Id: I2a9c7dd28890e730da948ce4edebb96e1e3ea21f

11 years ago[Release] wrt-installer_0.1.38
Jihoon Chung [Tue, 23 Apr 2013 09:29:03 +0000 (18:29 +0900)]
[Release] wrt-installer_0.1.38

Change-Id: Ib634dd1016d5a143e9874769104ddcf32fc64122

11 years agoMerge "Add description element to manifest.xml"
Hoseon LEE [Tue, 23 Apr 2013 09:27:59 +0000 (18:27 +0900)]
Merge "Add description element to manifest.xml"

11 years agoAdd description element to manifest.xml
Jihoon Chung [Tue, 23 Apr 2013 09:12:34 +0000 (18:12 +0900)]
Add description element to manifest.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add description element to manifest.xml
[SCMRequest] N/A

Change-Id: I481c055f015e1df84b5654e2869d2cbbf56956bb

11 years agoFixed crash if encryption buffer is null
Soyoung Kim [Tue, 23 Apr 2013 09:00:58 +0000 (18:00 +0900)]
Fixed crash if encryption buffer is null

[Issue#] N/A
[Problem] there is a crash when encryption resource.
[Cause] no null check
[Solution] check null from get buffer from trustzone.
[SCMRequest] N/A

11 years agoFixing building wrt-installer with tests
Karol Pawlowski [Tue, 23 Apr 2013 07:24:19 +0000 (09:24 +0200)]
Fixing building wrt-installer with tests

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] build wrt-installer 'WITH_TESTS ON'

Change-Id: I2bcaa759a66b02ba79b4031ab94645bfd908a270

11 years agoMerge "Adjust verification of application configuration element to current spec."
Hoseon LEE [Tue, 23 Apr 2013 07:30:23 +0000 (16:30 +0900)]
Merge "Adjust verification of application configuration element to current spec."

11 years ago[Release] wrt-installer_0.1.37
Jihoon Chung [Tue, 23 Apr 2013 06:44:41 +0000 (15:44 +0900)]
[Release] wrt-installer_0.1.37

Change-Id: I96dae5f8fcc73808c0166040aa931abbaa2b42cb

11 years agoSync code with private
Jihoon Chung [Tue, 23 Apr 2013 05:29:23 +0000 (14:29 +0900)]
Sync code with private

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Sync code with private
[SCMRequest] N/A

Change-Id: Ib8a0fe0498187b2f28185ac66ebbbc4c157b7f7a

11 years agoAdd routine terminated application when update application
Jihoon Chung [Mon, 22 Apr 2013 13:08:53 +0000 (22:08 +0900)]
Add routine terminated application when update application

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Terminate application when update application.
[SCMRequest] N/A

Change-Id: Id019472d5ed67d7cb7e400aa20ea6f77d89a3bcc

11 years agoFixed prevent defect 51981
Hoseon LEE [Tue, 23 Apr 2013 02:39:32 +0000 (11:39 +0900)]
Fixed prevent defect 51981

[Issue#] Prevent 51981
[Problem] memory allocation size error
[Cause] momory allocation size error
[Solution] Size value is fixed
[SCMRequest] N/A

Change-Id: Ie78ee3e75ef1673a0e007cc77e97ddd03ac324c6

11 years ago[Release] wrt-installer_0.1.36
Soyoung Kim [Mon, 22 Apr 2013 13:04:59 +0000 (22:04 +0900)]
[Release] wrt-installer_0.1.36

Change-Id: Idd461d7f526fa2f2c8e436e942fd40e9c3f52e17

11 years agoMerge "Fixed crash when get detail info"
Hoseon LEE [Mon, 22 Apr 2013 13:04:00 +0000 (22:04 +0900)]
Merge "Fixed crash when get detail info"

11 years agoFixed crash when get detail info
Soyoung Kim [Mon, 22 Apr 2013 12:58:59 +0000 (21:58 +0900)]
Fixed crash when get detail info

[Issue#] N/A
[Problem] occur crash
[Cause] wrong use Glist.
[Solution] fix add glist.
[SCMRequest] N/A

Change-Id: Ie11914681769caade72ac7366d70b32ee760a05c

11 years ago[Release] wrt-installer_0.1.35
Soyoung Kim [Mon, 22 Apr 2013 12:03:56 +0000 (21:03 +0900)]
[Release] wrt-installer_0.1.35

11 years agoMerge "Handle 'mouse-event' attribute differently according to configuration of web...
Hoseon LEE [Mon, 22 Apr 2013 09:41:34 +0000 (18:41 +0900)]
Merge "Handle 'mouse-event' attribute differently according to configuration of web-provider's plugin"

11 years ago[Release] wrt-installer_0.1.34
Soyoung Kim [Mon, 22 Apr 2013 07:49:42 +0000 (16:49 +0900)]
[Release] wrt-installer_0.1.34

Change-Id: I88e358c39073677e844a8159fb9b1e409b336817

11 years agoHandle 'mouse-event' attribute differently according to configuration of web-provider...
Yunchan Cho [Mon, 22 Apr 2013 05:26:03 +0000 (14:26 +0900)]
Handle 'mouse-event' attribute differently according to configuration of web-provider's plugin

[Issue#] N/A
[Problem] For general appwidgets, value of 'mouse-event' isn't unconditionally indicated as false to its webapp's manifest(xml)
[Cause] wrt-installer didn't distinguish general appwidgets and commericalized appwidgets.
[Solution] For only commercialized appwidget, wrt-installer adds value of 'mouse-event' as 'true' to its manifest(xml),
           if value of 'mouse-event' is 'true' on its webapp's config.xml.
[SCMRequest] First, livebox.web-provider-1.10 must be merged to obs server.

Change-Id: Ia1d50746eb1245ee4c279eb68132a69a758e6fb2

11 years agoAdjust verification of application configuration element to current spec.
Zbigniew Kostrzewa [Wed, 10 Apr 2013 06:56:34 +0000 (08:56 +0200)]
Adjust verification of application configuration element to current spec.

[Issue#] N/A
[Problem] Currently configuration parser does not check for all
attributes of tizen:application element and does not verify their
format.
[Cause] N/A
[Solution] Update configuration parser.
[SCMRequest] N/A

[Verification]
1. Build repository.
2. Run tests `wrt-extra-tests-misc --output=text --regexp='installer'`

Change-Id: Ia9cf2807d6e6e0cdd8eefa0dc5875fc318ee68a5

11 years ago[Release] wrt-installer_0.1.33
Jihoon Chung [Sun, 21 Apr 2013 14:07:41 +0000 (23:07 +0900)]
[Release] wrt-installer_0.1.33

Change-Id: I00e04eabc6273150f351e18c5e9d5fd44dce63ee

11 years ago[Release] wrt-installer_0.1.32
Jihoon Chung [Sun, 21 Apr 2013 13:21:10 +0000 (22:21 +0900)]
[Release] wrt-installer_0.1.32

Change-Id: I028a57d524cdf168d2414b9300940d52c409ee27

11 years agoClean-up Multiple process for application control
Jihoon Chung [Sun, 21 Apr 2013 04:17:54 +0000 (13:17 +0900)]
Clean-up Multiple process for application control

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up Multiple process for application control.
This commit change control_index to alloc each page.
[SCMRequest] must be imported with wrt-commons, wrt

Change-Id: I4529abcc52a2325da9c4b972a97250cf7a4dfb1f

11 years agoAdd <description/> in the manifest.xml
Jihoon Chung [Sat, 20 Apr 2013 10:05:27 +0000 (19:05 +0900)]
Add <description/> in the manifest.xml

[Issue#] TREL-163
[Problem] PackageInformation descroption can't get expect value.
[Cause] Missed <description/> element in the manifest.xml
[Solution] Add <description/> element
[SCMRequest] N/A

Change-Id: Idef2c095e437146b1191ec4f00f23a5607a3dbce

11 years agoAdd terminate application during uninstalling
Jihoon Chung [Fri, 19 Apr 2013 15:24:34 +0000 (00:24 +0900)]
Add terminate application during uninstalling

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Terminate application during uninstall step when
application is still running state.
[SCMRequest] N/A

Change-Id: Idf14d3181c7e97d194c7270553f040d6194b6f01

11 years agoFixed installation failure during install preload webapp
Soyoung Kim [Sun, 21 Apr 2013 08:38:44 +0000 (17:38 +0900)]
Fixed installation failure during install preload webapp

[Issue#] N/A
[Problem] cann't install preload webapp.
[Cause] fail during ace check.
[Solution] skip ace check when install preload webapp.
[SCMRequest] N/A

11 years agoClean-up application service
Jihoon Chung [Sat, 20 Apr 2013 12:59:43 +0000 (21:59 +0900)]
Clean-up application service

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

Change-Id: I270fb6e6a7e723d78c17c340ffe3cd8bd995803d

11 years agoRemove compile warning
Jihoon Chung [Sat, 20 Apr 2013 11:53:21 +0000 (20:53 +0900)]
Remove compile warning

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove compile warning
[SCMRequest] N/A

Change-Id: I86e942d43e44dec3035243f58a3a9c749e53b679

11 years ago[Release] wrt-installer_0.1.31
Soyoung Kim [Fri, 19 Apr 2013 17:33:47 +0000 (02:33 +0900)]
[Release] wrt-installer_0.1.31

Change-Id: I943c08171d761e159a602d42778250fe6a90fd9c

11 years agoAdd preload web app for installer
Soyoung Kim [Fri, 19 Apr 2013 15:21:21 +0000 (00:21 +0900)]
Add preload web app for installer

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
1. Add command "-ip" for preload webapp.
2. skip verify certificate during install preload webapp.
3. Add show install error during generate binary.
4. Preload web app cann't uninstall.
5. preload widget source file will be removed if installation success after install webapp.
[SCMRequest] This package should release with wrt-commons.

Change-Id: Ibd6d82f49d0c7d9026edd64d508afb75170a7095

11 years agoMerge "correct error definition when to-be-uninstalled widget is running"
Jihoon Chung [Fri, 19 Apr 2013 15:15:43 +0000 (00:15 +0900)]
Merge "correct error definition when to-be-uninstalled widget is running"

11 years ago[Release] wrt-installer_0.1.30
Jihoon Chung [Fri, 19 Apr 2013 09:27:38 +0000 (18:27 +0900)]
[Release] wrt-installer_0.1.30

Change-Id: I7f1f64d0d6c5c665c6faac91578756598e90f13c

11 years agoClean-up pkgname
Jihoon Chung [Fri, 19 Apr 2013 06:20:15 +0000 (15:20 +0900)]
Clean-up pkgname

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Some code naming is pkgname even using for app id.
Replace pkgname to application id.
[SCMRequest] N/A

Change-Id: I20571147dc2bfb008a322ade371c7984b9dcc2ab

11 years agoFixing issues found by prevent (49866)
Karol Pawlowski [Wed, 17 Apr 2013 13:54:38 +0000 (15:54 +0200)]
Fixing issues found by prevent (49866)

[Issue#] LINUXWRT-234
[Bug] Dereference null return value
[Cause] N/A
[Solution] Remove issues
[Verification] Build wrt-installer repository

Change-Id: Icd6e285caa74d9e99a029d6224edd27eafb9e13f

11 years agoPopup removal
Tomasz Iwanek [Tue, 16 Apr 2013 09:57:50 +0000 (11:57 +0200)]
Popup removal

[Issue#]       N/A
[Feature]      Popups not needed
[Cause]        N/A
[Solution]     N/A
[Verification] Build repo. Run installation for myfiles app. Installation should not involves popups. Test successfully installation and some invalid widget.

Change-Id: I1c7d64a0d6ca8f302ec89e9c75be5ec8eed2786e

11 years agoMerge "Buffer not null terminated"
Hoseon LEE [Wed, 17 Apr 2013 08:39:09 +0000 (17:39 +0900)]
Merge "Buffer not null terminated"

11 years ago[Release] wrt-installer_0.1.29 submit/trunk/20130417.061026
Soyoung Kim [Wed, 17 Apr 2013 06:09:52 +0000 (15:09 +0900)]
[Release] wrt-installer_0.1.29

Change-Id: I97f00f0fab8afb0c6efafcae42948f3d21cc3832

11 years agoMerge "Fixed crash during saving certificate."
Hoseon LEE [Wed, 17 Apr 2013 06:02:57 +0000 (15:02 +0900)]
Merge "Fixed crash during saving certificate."