archive/20170607/tools/tic.git
7 years ago[TIC-Web] remove unused library 10/125210/2
ChangHyun Lee [Fri, 14 Apr 2017 06:53:38 +0000 (15:53 +0900)]
[TIC-Web] remove unused library

- remove jquery.slim

Change-Id: Iff412c1fd8c22cf9cc53346f5efb5a69d64529b4
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the deepscan bugs 84/125184/1
ChangHyun Lee [Fri, 14 Apr 2017 05:41:06 +0000 (14:41 +0900)]
[TIC-Web] fix the deepscan bugs

- fix the deepscan warning and error

Change-Id: I971427ebd4ead57f8afa18f28469c84b31534e1d
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the dropzone dependency library 76/125176/1
ChangHyun Lee [Fri, 14 Apr 2017 05:04:33 +0000 (14:04 +0900)]
[TIC-Web] fix the dropzone dependency library

- fix the dropzone dependency library

Change-Id: I32ccfcc8236ef29679885e378a1c98fbeafbc9fe
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'master' into develop 51/125151/1
ChangHyun Lee [Fri, 14 Apr 2017 04:28:28 +0000 (13:28 +0900)]
Merge branch 'master' into develop

Change-Id: Ideeec26e286df93b670c5b2a29b1bb5f30ee4c8e
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] remove dropzone lib and use bower 28/125128/2
ChangHyun Lee [Fri, 14 Apr 2017 02:16:45 +0000 (11:16 +0900)]
[TIC-Web] remove dropzone lib and use bower

- remove dropzeon lib and use bower

Change-Id: I18ec13c3dd13781907379383b40ba1c1fd5040cf
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoFix: MySQL server has gone away according to wait_timeout 99/125099/1
Geunsik Lim [Thu, 13 Apr 2017 22:55:08 +0000 (07:55 +0900)]
Fix: MySQL server has gone away according to wait_timeout

According to https://github.com/mscdex/node-mariasql/blob/master/lib/Client.js#L633 ,
The protocol-level pings can be enabled by setting both 'pingInactive' and
'pingWaitRes' variablei as following:

a. 'pingInactive' to how many milliseconds to wait before sending a ping
   when no queries are pending,
b. AND 'pingWaitRes' to how many milliseconds to wait for a ping response
   before assuming a lost/dead connection.

For example, If you want to check a connection state per 60 seconds,
pingInactive: 60000,
pingWaitRes: 60000

* Before applying this patch:
events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: MySQL server has gone away
    at Error (native)

* How to monitor a sleep time of TIC on MariaDB server:
$ sudo apt-get install mytop [enter]
$ mytop -u root -p**** tic [enter]
MySQL on localhost (10.0.29)   load 0.32 0.30 0.26 2/580 9391 up 0+14:33:20 [07:47:10]
 Queries: 1.7k     qps:    0 Slow:     0.0         Se/In/Up/De(%):    02/00/00/00
 Sorts:      0 qps now:    1 Slow qps: 0.0  Threads:    3 (   1/   2) 00/00/00/00
 Key Efficiency: 100.0%  Bps in/out:   0.9/127.1   Now in/out:  21.3/ 2.9k

       Id      User         Host/IP         DB       Time    Cmd    State Query
       --      ----         -------         --       ----    ---    ----- ----------
      754       tic localhost:34766        pdk         38  Sleep
$ cat /proc/754/stat
$ cat /proc/754/status

* How to change a default timeout of Mariadb server:
$ sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
wait_timeout = 2592000
interactive_timeout = 2592000

Change-Id: I4af9d8bc32099a69772ed60fd08076acfc65cfd5
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Reported-by: Taejun Ha <taejun.ha@samsung.com>
7 years ago[TIC-Web] add recipe import from file 46/124646/6
ChangHyun Lee [Wed, 12 Apr 2017 04:57:48 +0000 (13:57 +0900)]
[TIC-Web] add recipe import from file

- add recipe import from file

Change-Id: If27929039d042c0616462b826083e9e0eff131bd
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-WEB] Expand a node when checked. 26/124626/1
MyungJoo Ham [Wed, 12 Apr 2017 04:07:08 +0000 (13:07 +0900)]
[TIC-WEB] Expand a node when checked.

When there are suggested items, users might not be aware their exitence if not expanded.

Change-Id: I3f8505884e799f3ba8817c7ef19300c2c36716a7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years ago[TIC-Web] fix the recipe order 63/124463/2
ChangHyun Lee [Tue, 11 Apr 2017 10:02:42 +0000 (19:02 +0900)]
[TIC-Web] fix the recipe order

- fix the recipe order

Change-Id: I14a4b017d0130a991792090bfd4a9678c270c6a3
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix for category filter 15/123815/2
ChangHyun Lee [Fri, 7 Apr 2017 06:37:34 +0000 (15:37 +0900)]
[TIC-Web] fix for category filter

- change the category name

Change-Id: I415cd13d485282c50acd86ff336c90c27e716e0d
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add category filter 14/123814/2
ChangHyun Lee [Fri, 7 Apr 2017 06:29:16 +0000 (15:29 +0900)]
[TIC-Web] add category filter

- add category filter(presets, domains, epic feature, all)

Change-Id: I36b43842c4f575494e4fdb40e227eedf6421142c
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the search filter operation 80/123580/3
ChangHyun Lee [Thu, 6 Apr 2017 07:24:22 +0000 (16:24 +0900)]
[TIC-Web] fix the search filter operation

- fix the search filter operation

Change-Id: I22d5704e28aafe0a5493700a28213bf59c1e914b
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop' 57/123557/1
ChangHyun Lee [Thu, 6 Apr 2017 05:46:50 +0000 (14:46 +0900)]
Merge branch 'develop'

Change-Id: I47067082e9d7d3aec3f2b187ca3a501848576ba9
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the error page and disable filter 54/123554/1
ChangHyun Lee [Thu, 6 Apr 2017 05:41:02 +0000 (14:41 +0900)]
[TIC-Web] fix the error page and disable filter

- fix the error page in nginx
- disable filter in packages page

Change-Id: I8a1f79425c23cd0f1f45bb881208dcdcf444651c
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add source filter 30/123430/3
ChangHyun Lee [Wed, 5 Apr 2017 11:46:01 +0000 (20:46 +0900)]
[TIC-Web] add source filter

- add source filter
- set default filter

Change-Id: I31fb58360d2c334bcb5d377a4065adf349a6a48d
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] Update Log View" into develop
ha taejun [Wed, 5 Apr 2017 10:17:35 +0000 (03:17 -0700)]
Merge "[TIC-Web] Update Log View" into develop

7 years agoMerge "[TIC-Web] add browser not support page" into develop
ha taejun [Wed, 5 Apr 2017 10:17:17 +0000 (03:17 -0700)]
Merge "[TIC-Web] add browser not support page" into develop

7 years ago[TIC-Web] Update Log View 67/123367/2
Heekyoung, Oh [Wed, 5 Apr 2017 09:16:10 +0000 (18:16 +0900)]
[TIC-Web] Update Log View

- When Inprogressing,
- The Log View Updated, in realtime

Change-Id: Id61ce230f7e1ae8a2d06b9992980f7ec06dc5417
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] add browser not support page 63/123363/2
ChangHyun Lee [Wed, 5 Apr 2017 09:03:40 +0000 (18:03 +0900)]
[TIC-Web] add browser not support page

- add browser not support page

Change-Id: Ib801328725f65756dcbce825f908744cfaf9fe25
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] Apply changed /exports API" into develop
ha taejun [Wed, 5 Apr 2017 08:10:00 +0000 (01:10 -0700)]
Merge "[TIC-Web] Apply changed /exports API" into develop

7 years agoMerge "[TIC-Web] Update The Section For The Jobs" into develop
ha taejun [Wed, 5 Apr 2017 08:09:03 +0000 (01:09 -0700)]
Merge "[TIC-Web] Update The Section For The Jobs" into develop

7 years ago[TIC-Web] Apply changed /exports API 38/123338/1
Heekyoung, Oh [Wed, 5 Apr 2017 08:00:56 +0000 (17:00 +0900)]
[TIC-Web] Apply changed /exports API

- Updated the variables for the changed "/exports" API
- from kspath to path
- and recipes(array)

Change-Id: I75cd2da9a7531da49491d08f923ca689433e5b2f
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update The Section For The Jobs 70/123070/2
Heekyoung, Oh [Tue, 4 Apr 2017 09:57:06 +0000 (18:57 +0900)]
[TIC-Web] Update The Section For The Jobs

- Update the css for the button for the log.
- when job was inprogressing, it highlighted.

Change-Id: Id893a628b8815ab23b4960039c4ef0ebb7387d4b
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] fix the bug for import dialog 74/123274/2
ChangHyun Lee [Wed, 5 Apr 2017 06:08:45 +0000 (15:08 +0900)]
[TIC-Web] fix the bug for import dialog

- change the color of url
- fix the status of ok button

Change-Id: I2d1018adb19f92ee06245c5301d53e0b9c8955be
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add import dialog 39/121939/12
ChangHyun Lee [Wed, 29 Mar 2017 10:55:42 +0000 (19:55 +0900)]
[TIC-Web] add import dialog

- add import for recipe and url
- add export module

Change-Id: I0b47663dcfcd83f0b345d2e2b74aa8e552682588
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop' 87/122187/1 v20170331
ChangHyun Lee [Thu, 30 Mar 2017 12:04:08 +0000 (21:04 +0900)]
Merge branch 'develop'

Change-Id: I0a012ac459f324328bd06fbfc18b37af378816de
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] fix the image creation enable/disable status and job log status...
ha taejun [Thu, 30 Mar 2017 12:03:09 +0000 (05:03 -0700)]
Merge "[TIC-Web] fix the image creation enable/disable status and job log status" into develop

7 years ago[TIC-Web] if server restarted, then job_status be changed. 62/122162/3
Heekyoung, Oh [Thu, 30 Mar 2017 10:06:09 +0000 (19:06 +0900)]
[TIC-Web] if server restarted, then job_status be changed.

- Add cleanAllStatus function
- If server restarted, then job_status for 'INPROGRESS' be changed 'FAILED'
- And killed all the running process for 'mic'

Change-Id: I0d25118901b32387c168b1602ec35b09f7620f6e
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] fix the image creation enable/disable status and job log status 55/122155/2
ChangHyun Lee [Thu, 30 Mar 2017 09:42:21 +0000 (18:42 +0900)]
[TIC-Web] fix the image creation enable/disable status and job log status

- check the package list and mic status
- fix the job log color

Change-Id: Ia3f300acab361ffb21e87ecb911521bdb85b302c
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the limited number of process in mic and fix the config loading error 16/122116/4
ChangHyun Lee [Thu, 30 Mar 2017 08:01:32 +0000 (17:01 +0900)]
[TIC-Web] fix the limited number of process in mic and fix the config loading error

- fix the limited number of process in mic
- fix the config loading

Change-Id: Ic4a46cb735d4871c0cb9b488ef739798aceeaa07
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix for duplicat module loading 74/122074/1
ChangHyun Lee [Thu, 30 Mar 2017 05:54:32 +0000 (14:54 +0900)]
[TIC-Web] fix for duplicat module loading

- fix the define name

Change-Id: I484095bdc41d5d3bcc34db430a169d123492c88c
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] remove unused config value 65/122065/2
ChangHyun Lee [Thu, 30 Mar 2017 05:19:13 +0000 (14:19 +0900)]
[TIC-Web] remove unused config value

- remove unused config value

Change-Id: I7a94e1a25ca27d11a29935bf8f2b654b2469619a
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop' 96/121996/1
Heekyoung, Oh [Thu, 30 Mar 2017 01:45:14 +0000 (10:45 +0900)]
Merge branch 'develop'

Change-Id: If36f75d6dc14030d0b2726987af5f42ca4afc8ce

7 years ago[TIC-Web] Fix. Image Creation 89/121889/4
Heekyoung, Oh [Wed, 29 Mar 2017 09:32:19 +0000 (18:32 +0900)]
[TIC-Web] Fix. Image Creation

- bug fixed.
- that the error for the referencing to the global variables.

Change-Id: I94022926a7f7d2020a600182ebeabcdb9ac8621a
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update The Login Module 24/121624/2
Heekyoung, Oh [Tue, 28 Mar 2017 10:22:22 +0000 (19:22 +0900)]
[TIC-Web] Update The Login Module

- Add the function for the job page
- Add the function for the image page
- And, Fixed header of table on the job page

Change-Id: I00f6c277bc722b4d2cecd4b656e8e1ef3efc08d1
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] fix the checkbox area 21/121521/1
ChangHyun Lee [Tue, 28 Mar 2017 06:59:51 +0000 (15:59 +0900)]
[TIC-Web] fix the checkbox area

- fixed checkbox by clicking on checkbox label

Change-Id: I5dc3054ae8a1b69aef7d551a87a714b78c6e0282
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] refactoring for login module 73/121473/4
ChangHyun Lee [Tue, 28 Mar 2017 05:58:07 +0000 (14:58 +0900)]
[TIC-Web] refactoring for login module

- add login.js

Change-Id: I5fb958472e240dfbfbd84128b8871bf202cc60ba
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] Update The Button For The 'Cancel.'" into develop
ha taejun [Mon, 27 Mar 2017 09:08:33 +0000 (02:08 -0700)]
Merge "[TIC-Web] Update The Button For The 'Cancel.'" into develop

7 years ago[TIC-Web] Update The Button For The 'Cancel.' 97/121197/1
Heekyoung, Oh [Mon, 27 Mar 2017 08:10:06 +0000 (17:10 +0900)]
[TIC-Web] Update The Button For The 'Cancel.'

- Cancel Button. it depends on a user group.
- only admin and master can click this.
- and be activated

Change-Id: I2c45818becc7af8c95f064f9851f687da44d7dda
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] fix to filter option 11/120811/4
ChangHyun Lee [Fri, 24 Mar 2017 08:56:01 +0000 (17:56 +0900)]
[TIC-Web] fix to filter option

add filter option
- show all pacakge
- hide debug package
- hide develop package

Change-Id: Ib66464c8479e35a5c2536760411a8c660d090d03
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] add context menu and filter" into develop
ha taejun [Fri, 24 Mar 2017 02:30:57 +0000 (19:30 -0700)]
Merge "[TIC-Web] add context menu and filter" into develop

7 years ago[TIC-Web] add context menu and filter 03/120603/4
ChangHyun Lee [Thu, 23 Mar 2017 09:08:36 +0000 (18:08 +0900)]
[TIC-Web] add context menu and filter

- add 'uncheck all' in contenxt menu
- add package filter

Change-Id: Ie79891b0650675aed7d1a70cc0345f95976ed945
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Modify the function for the image creation 18/120618/2
Heekyoung, Oh [Thu, 23 Mar 2017 09:47:35 +0000 (18:47 +0900)]
[TIC-Web] Modify the function for the image creation

- bug fixed

Change-Id: Iaddafa37ab7cc49d2e5ebb78556ee18e95a5a6aa
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update The Function For The Image Creation. 60/120360/1
Heekyoung, Oh [Wed, 22 Mar 2017 11:31:18 +0000 (20:31 +0900)]
[TIC-Web] Update The Function For The Image Creation.

- Limited Contions are added.
- The jobs that an image creation are runned only 4 at the same time

Change-Id: I5f897dfa0ef365687aca053d3f38ff3262869404
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge "[TIC-Web] remove duplicated code" into develop
chulwoo shin [Wed, 22 Mar 2017 05:45:57 +0000 (22:45 -0700)]
Merge "[TIC-Web] remove duplicated code" into develop

7 years ago[TIC-Web] Update The Cancel function For The Job 05/120105/1
Heekyoung, Oh [Tue, 21 Mar 2017 11:14:36 +0000 (20:14 +0900)]
[TIC-Web] Update The Cancel function For The Job

- Modify the function that job cancellation.

Change-Id: Ida3082ad2fa684583f33f5a9e2e240a1b8564a22
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] remove duplicated code 10/120010/1
ChangHyun Lee [Tue, 21 Mar 2017 06:37:41 +0000 (15:37 +0900)]
[TIC-Web] remove duplicated code

Change-Id: Iefc480a735d0565fe7a57a640cedb446a6e8daea
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Update Image Section 57/119857/2
Heekyoung, Oh [Mon, 20 Mar 2017 09:48:53 +0000 (18:48 +0900)]
[TIC-Web] Update Image Section

- Update CSS

Change-Id: I384ce0ea6eb66274831120368419d84940a8db56
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] modify text name of meta-package 23/119723/1
Chulwoo Shin [Mon, 20 Mar 2017 02:18:20 +0000 (11:18 +0900)]
[TIC-Web] modify text name of meta-package

- display meta-package's summary in treeview

Change-Id: Iee6e0dd2143ddab1fb23df5a45159223bef03ddb
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] fix the contents size of alert dialog 91/119291/1
ChangHyun Lee [Thu, 16 Mar 2017 08:36:09 +0000 (17:36 +0900)]
[TIC-Web] fix the contents size of alert dialog

- fix the contents size of alert dialog

Change-Id: Ie858a6a1223b1faaf76f88589f754d87a4672a0b
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] remove profile button group and add error handler of http request 53/119253/1
ChangHyun Lee [Thu, 16 Mar 2017 06:38:10 +0000 (15:38 +0900)]
[TIC-Web] remove profile button group and add error handler of http request

- remove profile button group
- add error handler of http request

Change-Id: Idbcc63c907bcd0382f95492f0f9ab7cd09157856
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the exception when selected 'misc' 72/119072/1
ChangHyun Lee [Wed, 15 Mar 2017 10:36:47 +0000 (19:36 +0900)]
[TIC-Web] fix the exception when selected 'misc'

- fix the exception when selected 'misc'

Change-Id: I86e55b1a27a5fb08c545429ba64c0d61c19ba348
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop' 65/119065/1 v20170316
ChangHyun Lee [Wed, 15 Mar 2017 09:42:08 +0000 (18:42 +0900)]
Merge branch 'develop'

Change-Id: Ie6e76659864b2a040414b608bc8c6f6529efadcb
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the query of session 59/119059/1
ChangHyun Lee [Wed, 15 Mar 2017 09:27:46 +0000 (18:27 +0900)]
[TIC-Web] fix the query of session

- fix the callback

Change-Id: Ib1e043ae0c1800831b1d09b7aaf53df7cf0c10b2
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the warning of deepscan 54/119054/1
ChangHyun Lee [Wed, 15 Mar 2017 08:56:40 +0000 (17:56 +0900)]
[TIC-Web] fix the warning of deepscan

- duplicate declarartion of variable

Change-Id: I9e4ea4d8caca4c447bf320f582fcb55a4ac58991
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop' 49/119049/1
ChangHyun Lee [Wed, 15 Mar 2017 08:43:54 +0000 (17:43 +0900)]
Merge branch 'develop'

Change-Id: I354d5375463fc2c8f2fd7ea75a2fa617e432ed12
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] Update Log View" into develop
ha taejun [Wed, 15 Mar 2017 08:40:10 +0000 (01:40 -0700)]
Merge "[TIC-Web] Update Log View" into develop

7 years agoMerge "[TIC-Web] fix the warning of deepscan" into develop
ha taejun [Wed, 15 Mar 2017 08:39:48 +0000 (01:39 -0700)]
Merge "[TIC-Web] fix the warning of deepscan" into develop

7 years agoMerge "[TIC-Web] fix the Util.bytesToSize" into develop
ha taejun [Wed, 15 Mar 2017 08:39:35 +0000 (01:39 -0700)]
Merge "[TIC-Web] fix the Util.bytesToSize" into develop

7 years ago[TIC-Web] fix the warning of deepscan 42/119042/2
ChangHyun Lee [Wed, 15 Mar 2017 08:23:54 +0000 (17:23 +0900)]
[TIC-Web] fix the warning of deepscan

- remove unused variable
- init for variable

Change-Id: Ic044a13ca2c4a0c9cca37340c0b8770b5af35b64
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the Util.bytesToSize 33/119033/1
ChangHyun Lee [Wed, 15 Mar 2017 07:50:58 +0000 (16:50 +0900)]
[TIC-Web] fix the Util.bytesToSize

- Consider if bytes is a character

Change-Id: I8dfa4eadfd4324af545ac7c93ef1fd3510d8f890
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] support recommends tag 26/119026/1
Chulwoo Shin [Wed, 15 Mar 2017 07:29:01 +0000 (16:29 +0900)]
[TIC-Web] support recommends tag

- support dependency analysis for recommends tag
- add selection of file dep

Change-Id: I889625d5e0954d53f06aabca7c0cbc45d17beff7
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] Update Log View 21/119021/1
Heekyoung, Oh [Wed, 15 Mar 2017 07:05:54 +0000 (16:05 +0900)]
[TIC-Web] Update Log View

- Update The CSS

Change-Id: I83cef501a5ecececce09feacda2f6ee70425eb2a
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge branch 'develop' 16/119016/1
Heekyoung, Oh [Wed, 15 Mar 2017 06:47:29 +0000 (15:47 +0900)]
Merge branch 'develop'

Change-Id: I9ee97fa50120f2291f00fb8bd3fd3286c34ba361

7 years ago[TIC-Web] Update The Config For The Packages 13/119013/1
Heekyoung, Oh [Wed, 15 Mar 2017 06:37:05 +0000 (15:37 +0900)]
[TIC-Web] Update The Config For The Packages

- Update the Version for the generic_pool
- Form 3.7.1 to 3.1.7

Change-Id: Idc70ad4d42cc6a4f324178fc53f187b3d905e54b
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Apply generic resource pooling 85/118885/2
Heekyoung, Oh [Tue, 14 Mar 2017 10:13:35 +0000 (19:13 +0900)]
[TIC-Web] Apply generic resource pooling

- Apply generic_pool with mariasql

Change-Id: Ie9059af1f48a31a5dc4189c1c94340313d852635
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update Job List 71/118271/3
Heekyoung, Oh [Thu, 9 Mar 2017 15:41:59 +0000 (00:41 +0900)]
[TIC-Web] Update Job List

- Using The Name Of Image
- Then distinguish them.
- DB field added, (job_ks, job_arch)

Change-Id: I18a573caef123959dbbf7ab04d2001c9c3bb74cf
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update The Section For The Job 83/118083/1
Heekyoung, Oh [Wed, 8 Mar 2017 14:22:46 +0000 (23:22 +0900)]
[TIC-Web] Update The Section For The Job

- Add Log View
- Add Icons For The Status
- Update The CSS

Change-Id: I91430ac2bf09a1ad785ce262d60838c06ff338e0
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge branch 'develop'. 81/117881/2
ChangHyun Lee [Wed, 8 Mar 2017 02:19:27 +0000 (11:19 +0900)]
Merge branch 'develop'.

Change-Id: I67a4495b9a58456756e2a42f5bde086d657751f4
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add ui control by user group 49/117749/3
ChangHyun Lee [Tue, 7 Mar 2017 09:03:58 +0000 (18:03 +0900)]
[TIC-Web] add ui control by user group

- hide image creation button according to group.

Change-Id: Ia227ba2c8278a5e7b77ae9edd368f94b48756394
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] separate session module from router 27/117727/1
ChangHyun Lee [Tue, 7 Mar 2017 08:10:18 +0000 (17:10 +0900)]
[TIC-Web] separate session module from router

- separate session module

Change-Id: Ic0a141e34e280c318263c6e5111cfba324a2dfcd
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge branch 'develop'
Heekyoung, Oh [Tue, 7 Mar 2017 07:08:25 +0000 (16:08 +0900)]
Merge branch 'develop'

Change-Id: Ic5a58d411832b96aa1994fe1d93d271a971e2e28
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge "[TIC-Web] Update The UI For Image List" into develop
ha taejun [Tue, 7 Mar 2017 06:47:54 +0000 (22:47 -0800)]
Merge "[TIC-Web] Update The UI For Image List" into develop

7 years ago[TIC-Web] add log for login 21/117621/2
ChangHyun Lee [Tue, 7 Mar 2017 02:14:05 +0000 (11:14 +0900)]
[TIC-Web] add log for login

- add log for login
- remvove console.log

Change-Id: I0822b99e5d941362a0a4d3e17a9be63e085342ce
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add login module with database 86/117586/1
ChangHyun Lee [Mon, 6 Mar 2017 14:11:29 +0000 (23:11 +0900)]
[TIC-Web] add login module with database

- add login/logout
- add validation for email and password
- fix the wrong db query

Change-Id: I3825130a8cba39074e9c9d0af6d41fbcdcade31c
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Update The UI For Image List 62/117562/1
Heekyoung, Oh [Mon, 6 Mar 2017 11:49:03 +0000 (20:49 +0900)]
[TIC-Web] Update The UI For Image List

- Update the UI
- Add the Job Status Model

Change-Id: I64067cb91191c84fe19c662bf0be7825bddd44ba
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge "[TIC-Web] Add tic_user Table" into develop
ha taejun [Fri, 3 Mar 2017 06:47:44 +0000 (22:47 -0800)]
Merge "[TIC-Web] Add tic_user Table" into develop

7 years ago[TIC-Web] Add tic_user Table 40/117040/2
Heekyoung, Oh [Thu, 2 Mar 2017 11:13:16 +0000 (20:13 +0900)]
[TIC-Web] Add tic_user Table

- Add tic_user table
- Add getUser query

Change-Id: I1e568a4a4eeed20329bc7fcda261b86b1886be91
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] add login/out ui 17/117017/3
ChangHyun Lee [Thu, 2 Mar 2017 09:55:35 +0000 (18:55 +0900)]
[TIC-Web] add login/out ui

- add login and logout page
- add email and password validation

Change-Id: I845e8edfa16c07b09a57cc400928ef1ea3c3516b
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add error message and Util function 01/116901/1
ChangHyun Lee [Thu, 2 Mar 2017 02:25:23 +0000 (11:25 +0900)]
[TIC-Web] add error message and Util function

Change-Id: Ia68a5e6437ccfd6f8be5c58a0163d3d45dda6733
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] Modify the Images View" into develop
ha taejun [Tue, 28 Feb 2017 09:42:24 +0000 (01:42 -0800)]
Merge "[TIC-Web] Modify the Images View" into develop

7 years agoMerge "[TIC-Web] fix the getAppConfig function" into develop
ha taejun [Tue, 28 Feb 2017 09:42:02 +0000 (01:42 -0800)]
Merge "[TIC-Web] fix the getAppConfig function" into develop

7 years ago[TIC-Web] fix the getAppConfig function 94/116794/3
ChangHyun Lee [Tue, 28 Feb 2017 08:36:40 +0000 (17:36 +0900)]
[TIC-Web] fix the getAppConfig function

- Change the function to RESTful api

Change-Id: I8250eae46c0cee76400f49c228a07a6aded00a36
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Modify the Images View 11/116711/3
Heekyoung, Oh [Tue, 28 Feb 2017 01:49:08 +0000 (10:49 +0900)]
[TIC-Web] Modify the Images View

- Bug fix the. update job information.
- Update the UI
- Update the CSS

Change-Id: I59ed2ab65f59ecd1e8a4fd8d048db54aac33ee3b
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Modify the Images View
Heekyoung, Oh [Tue, 28 Feb 2017 01:49:08 +0000 (10:49 +0900)]
[TIC-Web] Modify the Images View

- Bug fix the. update job information.
- Update the UI
- Update the CSS

Change-Id: I59ed2ab65f59ecd1e8a4fd8d048db54aac33ee3b Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>

7 years ago[TIC-Web] Update The Section For The Image 08/116608/5
Hee Kyoung, Oh [Mon, 27 Feb 2017 07:53:05 +0000 (16:53 +0900)]
[TIC-Web] Update The Section For The Image

- Modify the path for the MIC log file
- Add mic init

Change-Id: Ia15247aebe594baeebbd3a5800b6d0d84e1bc9e6
Signed-off-by: Hee Kyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] fix the deepscan warning 53/116653/2
ChangHyun Lee [Mon, 27 Feb 2017 11:26:33 +0000 (20:26 +0900)]
[TIC-Web] fix the deepscan warning

- fix the deepscan warning

Change-Id: I7745d092f177047c64a981f36b1475be70bb378f
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] source clean up 07/116607/2
ChangHyun Lee [Mon, 27 Feb 2017 07:52:31 +0000 (16:52 +0900)]
[TIC-Web] source clean up

- remove unused variable
- eslint convention

Change-Id: I2683f9bd945997dfb99438b902e645d02a05bed8
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add RESTful api for session 17/116017/6
ChangHyun Lee [Wed, 22 Feb 2017 10:54:09 +0000 (19:54 +0900)]
[TIC-Web] add RESTful api for session

- add login template
- add RESTful api for session ('/api/session/')

Change-Id: Idbe58049effce345b3cd994061e1f62f1fe9bb2b
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Update MIC Command 01/116601/1
Hee Kyoung, Oh [Mon, 27 Feb 2017 07:23:45 +0000 (16:23 +0900)]
[TIC-Web] Update MIC Command

- Update the command

Change-Id: Ifd3102709bafeb15f161191c48697bd79ba43025
Signed-off-by: Hee Kyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update The Flow For The Image Creation. 08/116408/6
Hee Kyoung, Oh [Fri, 24 Feb 2017 07:22:15 +0000 (16:22 +0900)]
[TIC-Web] Update The Flow For The Image Creation.

- Change the process of creation
- Using Database
- When creation tic_job table updated
- When creation tic_image table updated
- Can show the log for the each job
- Update the config.json
- Delete the socketevent.js, it was duplicated meaning that config.json
- Delete the filesystem.js, cause using database
- MIC writes the logfile that mic.log

Change-Id: Ibac100bf7f9248c8e3f7adf828ae8fa54e86e6e2
Signed-off-by: Hee Kyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] sets the format of a directory listing 75/116575/1
ChangHyun Lee [Mon, 27 Feb 2017 05:42:31 +0000 (14:42 +0900)]
[TIC-Web] sets the format of a directory listing

- json format is use

Change-Id: Id6a9d907f8c5557eee4cc5380638d50c6cab6d91
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fixed conflict version comparison typos 97/115997/1
Chulwoo Shin [Wed, 22 Feb 2017 18:08:52 +0000 (03:08 +0900)]
[TIC-Web] fixed conflict version comparison typos

- fixed conflict version comparaison typos

Change-Id: I1a3d66f1762622d413812e4ed6b4cf5851aef2db
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] add the section for the job. 61/114861/6
Hee Kyoung, Oh [Wed, 15 Feb 2017 09:32:54 +0000 (18:32 +0900)]
[TIC-Web] add the section for the job.

- add the section for the job.
- can show the list of the job.
- can show the status of the job dynamically.
- can download the image, kickstart, log files.
- the routing updated.

Change-Id: I3918f544b19a69ec4c6b39f81d06b9086cca7a9d
Signed-off-by: Hee Kyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] add error pages 94/113894/6
ChangHyun Lee [Thu, 9 Feb 2017 08:09:01 +0000 (17:09 +0900)]
[TIC-Web] add error pages

- add 404, 502 error page

Change-Id: I00b9b83122529c4ef0f1d186ae0834f2554a1cf0
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] fixed the problem that mic can not be canceled" into develop
ha taejun [Thu, 9 Feb 2017 05:23:31 +0000 (21:23 -0800)]
Merge "[TIC-Web] fixed the problem that mic can not be canceled" into develop

7 years ago[TIC-Web] fix provide's version handling 07/113607/2
Chulwoo Shin [Wed, 8 Feb 2017 16:36:41 +0000 (01:36 +0900)]
[TIC-Web] fix provide's version handling

If the provide tag does not hava a version,fix it to use version of package

Change-Id: I69dba16374603c3c7c6271c2bf8d934c7a62fa1d
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] fixed the problem that mic can not be canceled 44/113544/1
ChangHyun Lee [Wed, 8 Feb 2017 06:00:24 +0000 (15:00 +0900)]
[TIC-Web] fixed the problem that mic can not be canceled

modified with the kill command to terminate the root process in tree-kill module.

Change-Id: I7bd9b8e74494d87b54fa4dd8215ad759d3c1a7ba
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix the logger option 16/112816/1
ChangHyun Lee [Fri, 3 Feb 2017 02:27:53 +0000 (11:27 +0900)]
[TIC-Web] fix the logger option

Fix the log file size and count

Change-Id: I92a82c9b9428348f6d8c327e73fea1364660eb94
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] support dependency analysis for conflict 93/112693/1
Chulwoo Shin [Thu, 2 Feb 2017 17:20:49 +0000 (02:20 +0900)]
[TIC-Web] support dependency analysis for conflict

- provides dependency analysis for conflict tag
- support for non-existent rpm processing

Change-Id: Ie056a23f87bced23080d5a5f4b489ed7f4127952
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>