archive/20170607/tools/tic.git
7 years agoMerge branch 'master' into develop 65/126565/1
ChangHyun Lee [Mon, 24 Apr 2017 07:30:28 +0000 (16:30 +0900)]
Merge branch 'master' into develop

Change-Id: Ie78e6661ca2090c5b8e60104872abeb751ed097b
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[tic-web] systemd: service file for systemd at boot time"
ha taejun [Mon, 24 Apr 2017 07:29:01 +0000 (07:29 +0000)]
Merge "[tic-web] systemd: service file for systemd at boot time"

7 years ago[tic-web] systemd: service file for systemd at boot time 98/126498/2
Geunsik Lim [Mon, 24 Apr 2017 01:18:12 +0000 (10:18 +0900)]
[tic-web] systemd: service file for systemd at boot time

* How to enable a service file
u16.04$> sudo cp ./systemd/tic-web.service /lib/systemd/systemd
u16.04$> systemctl enable tic-web.service
u16.04$> systemctl start  tic-web.service
u16.04$> systemctl status tic-web.service
u16.04$> journalctl -u    tic-web.service

Change-Id: I6e31d59c42a486429fdcdc932d2c5b160b8add89
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years ago[TIC-Web] fix the expandNode bug 25/126425/1
ChangHyun Lee [Fri, 21 Apr 2017 10:04:33 +0000 (19:04 +0900)]
[TIC-Web] fix the expandNode bug

- Tree does not collase after expanding tree with function.
- There is a bug that does not reflect the 'state.expanded' value,
so i apply a patch that gives a click event.

Change-Id: I5bb850e4979e0c928fa9ca7db98dfb8b7ea6e337
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years agoMerge "[TIC-Web] fix the issue that cannot analyze install-dependency" into develop
ha taejun [Fri, 21 Apr 2017 05:09:57 +0000 (22:09 -0700)]
Merge "[TIC-Web] fix the issue that cannot analyze install-dependency" into develop

7 years ago[TIC-Web] fix the issue that cannot analyze install-dependency 46/126346/3
Chulwoo Shin [Fri, 21 Apr 2017 04:56:46 +0000 (13:56 +0900)]
[TIC-Web] fix the issue that cannot analyze install-dependency

- fix the issue that cannot analyze install-dependency
- support the recommends tag

Change-Id: I456e83a7195605961423c0b378841d6024c586b6
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] Bug fixed. the problem that paging 04/126104/1
Heekyoung, Oh [Thu, 20 Apr 2017 06:25:17 +0000 (15:25 +0900)]
[TIC-Web] Bug fixed. the problem that paging

- bug fixed.
- the problem that paging
- now, it can point the page num exactly
- apply the section of jobs and images

Change-Id: I063d59a341caf7a1273ac6e15ea904abb3b9cc11
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] bug fixed. for the cancel button. 28/125928/2
Heekyoung, Oh [Wed, 19 Apr 2017 09:26:44 +0000 (18:26 +0900)]
[TIC-Web] bug fixed. for the cancel button.

- bug fixed.
- image events distingush failed, canceled.

Change-Id: I1fbe264815bd869b3f6ea6ff85dfaa901a931f8d
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Update the function for the cancel 37/125837/2
Heekyoung, Oh [Wed, 19 Apr 2017 05:22:23 +0000 (14:22 +0900)]
[TIC-Web] Update the function for the cancel

- to cancel for each
-

Change-Id: Idc93db324e0aa27aece2e0b9a2e51e7d5140ed59
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] Change tab title Epic Feature -> Options 56/125856/2
MyungJoo Ham [Wed, 19 Apr 2017 06:21:43 +0000 (15:21 +0900)]
[TIC-Web] Change tab title Epic Feature -> Options

Updated the tab title for TDC demo.

Change-Id: I5ef3036d85a6250b96e8e889b94e3971e86bd0b8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge branch 'develop' 26/125826/1
ChangHyun Lee [Wed, 19 Apr 2017 05:02:48 +0000 (14:02 +0900)]
Merge branch 'develop'

Change-Id: Id6e4c6586609909443ab7a621489bd6181b89050
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] fix for readlog error 13/125713/4
ChangHyun Lee [Tue, 18 Apr 2017 12:16:17 +0000 (21:16 +0900)]
[TIC-Web] fix for readlog error

- fix for readlog error

Change-Id: I12b7ea9808a5442b26efb72749344242d095b6b8
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] add recipe export 08/125608/5
ChangHyun Lee [Tue, 18 Apr 2017 05:57:42 +0000 (14:57 +0900)]
[TIC-Web] add recipe export

- add recipe export

Change-Id: I677eb0fc0a46e35d808a25f06746be14fc3360c5
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] Save the pid each jobs 54/125654/2
Heekyoung, Oh [Tue, 18 Apr 2017 08:06:13 +0000 (17:06 +0900)]
[TIC-Web] Save the pid each jobs

- Add the column that pid, on tic_job table
- The pid updated, when mic running started.
- The pid saved, for that using 'cancel' function.
- Remove blink button effect.

Change-Id: Ib1f1e4456164e510066f3f6fdd6119bae70b7391
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years agoMerge branch 'develop' 07/125507/1
ChangHyun Lee [Tue, 18 Apr 2017 01:30:36 +0000 (10:30 +0900)]
Merge branch 'develop'

Change-Id: Ib4269887bd12e0ae55e006564b777ac8031994d4
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] remove unused module 87/125487/1
ChangHyun Lee [Mon, 17 Apr 2017 12:58:12 +0000 (21:58 +0900)]
[TIC-Web] remove unused module

- remove unused module

Change-Id: I8909951d9528fea07c0e2dd8048601bf48b17b5f
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
7 years ago[TIC-Web] The waiting queue added. for the image creation 82/125482/1
Heekyoung, Oh [Mon, 17 Apr 2017 12:21:44 +0000 (21:21 +0900)]
[TIC-Web] The waiting queue added. for the image creation

- The waiting queue added.
- The size of queue was 4.
- The image creation can runned one by one.

Change-Id: I5a10fceb0bec98852527f59af2cd53b97237a269
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
7 years ago[TIC-Web] filter self-referencing 78/125478/1
Chulwoo Shin [Mon, 17 Apr 2017 11:42:32 +0000 (20:42 +0900)]
[TIC-Web] filter self-referencing

- filter self-referencing (e.g. vim-base rpm)

Change-Id: I089e5dfd5beef1901d7a1b2b16ee344d9ada3f4b
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
7 years ago[TIC-Web] add boilerplate 69/125469/2
ChangHyun Lee [Mon, 17 Apr 2017 10:10:01 +0000 (19:10 +0900)]
[TIC-Web] add boilerplate

- add boilerplate

Change-Id: Ia3a3697fe5e8bbd616f7aa4b9cc3f0506330ac99
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
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 agoMerge branch 'develop' 77/125177/1
ChangHyun Lee [Fri, 14 Apr 2017 05:06:43 +0000 (14:06 +0900)]
Merge branch 'develop'

Change-Id: I2a0dc385044087a6eba82b3e51c9f5719005fc05
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>