Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide 'Scan Now' menu in the tag list #2819

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

steven-zou
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 54.024% when pulling c6ece77 on steven-zou:master into 5c8be35 on vmware:master.

Copy link
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wy65701436 wy65701436 merged commit aa681eb into goharbor:master Jul 20, 2017
wy65701436 added a commit that referenced this pull request Jul 20, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* fix issue 2772 (#2785)

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim the new line in the end of token file

* add user view log test case

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* update
wy65701436 added a commit that referenced this pull request Jul 20, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* fix issue 2772 (#2785)

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim the new line in the end of token file

* add user view log test case

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* update

* updates
sigsbee added a commit that referenced this pull request Jul 24, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* fix issue 2772 (#2785)

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* delete the method of getting security context of specific user

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string
wy65701436 added a commit that referenced this pull request Jul 26, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* update
wy65701436 added a commit that referenced this pull request Jul 27, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* update

* refactor

* update
wy65701436 added a commit that referenced this pull request Jul 28, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #1953

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* provide API for scanning images under a projet

* fix issue 2858

* fix issue #2832

* update

* fix issue #2811

* do not ping if using raw token authorizer

* update

* fixes #2539 (#2877)

* refactor

* update

* Add API to check whether a project can be deleted or not

* update according to the comments

* fix issue #2435

* fix 2869/2870 about the  log of a pending status replication job

* update

* update
wy65701436 added a commit that referenced this pull request Jul 31, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #1953

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* provide API for scanning images under a projet

* fix issue 2858

* fix issue #2832

* update

* fix issue #2811

* do not ping if using raw token authorizer

* update

* fixes #2539 (#2877)

* refactor

* update

* Add API to check whether a project can be deleted or not

* update according to the comments

* fix issue #2435

* fix 2869/2870 about the  log of a pending status replication job

* update

* update

* support read-ony mode for replication list view (#2915)
wy65701436 added a commit that referenced this pull request Aug 1, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #1953

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* provide API for scanning images under a projet

* fix issue 2858

* fix issue #2832

* update

* fix issue #2811

* do not ping if using raw token authorizer

* update

* fixes #2539 (#2877)

* refactor

* update

* Add API to check whether a project can be deleted or not

* update according to the comments

* fix issue #2435

* fix 2869/2870 about the  log of a pending status replication job

* update

* update

* support read-ony mode for replication list view (#2915)

* fix  #2896 #2886 #2888 about tooltips,inline alert ,datagrid leftside style

* fix #2911 about spaces at the begin of log

* fix #2917 about scan error log does`t show

* fix #2903 #2908 about icons color and statistics style

*  fix color about #2908

* add IP address

* update
wy65701436 added a commit that referenced this pull request Aug 2, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #1953

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* provide API for scanning images under a projet

* fix issue 2858

* fix issue #2832

* update

* fix issue #2811

* do not ping if using raw token authorizer

* update

* fixes #2539 (#2877)

* refactor

* update

* Add API to check whether a project can be deleted or not

* update according to the comments

* fix issue #2435

* fix 2869/2870 about the  log of a pending status replication job

* update

* update

* support read-ony mode for replication list view (#2915)

* fix  #2896 #2886 #2888 about tooltips,inline alert ,datagrid leftside style

* fix #2911 about spaces at the begin of log

* fix #2917 about scan error log does`t show

* fix #2903 #2908 about icons color and statistics style

*  fix color about #2908

* add IP address

* update

* update BATs
wy65701436 added a commit that referenced this pull request Aug 3, 2017
* just return tag list rather than 500 error if there are errors

* Prepare rsyslog docker based on photon

* Update Clair to 2.0.1

fix the Debian mapping issue.

* Base dockerfile for rsyslog

* change tag retrive's timeout

* Implement policy scheduler

* Enhancements to configuration sharable component

* Move some method of project manager to security context

* Update commnets of exported methods and structs

* Also update clair in offline package

* update user realname

update

* refine scheduler according to review comments

* update

* update auth context as Admiral's API changed

* Enable policy scheduler in ui main

* update scan overview in notification handler, and return clair vuln timestamp in system info

* return real status code returned by admiral APIs

* return the status only when deployed with Clair

* Fix the import cycle issue

* add int id for scan overview and revoke the change in beego

* restrict scan all API, it should be called once every a period of time

* address comment

* bug fix

* Clair photon (#2721)

* update

* update

* modify docker compose

* update tag

* update

* Update policy scheduler according to comments

* remove watch testing case

* disable some APIs in integration mode

* update

* enable security on jobservice scan api

* read last update from clair db, return in system info

* format error to make it readable for docker (#2731)

remove unneeded

* fixed issue #2688

* UI: Support root cert downloading in configuration component (#2742)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* address comment

* overall timestamp returns 0 when error happens, split check and mark into two func

* fix tc

* fix bug in GET member API

* delete one line

* Support clair db timestamps (#2767)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* bug fix

* trim / in url

* provide default timestamp for all distros in system info api

* fix2564 issue

* fix2564 issue

* Support backend server pagination in repo list (#2778)

* refine the test case of scheduler

* Fix bug

* Support root cert downloaded

* Fix code conflicts

* support clair db timestamps

* Support backend pagination in repository list

* fix bug

* fix issue 2759

* fix issue 2772

* Clair offline data update guide

* refactor format

* refactor format

* refactor

* Update Clair offline data update doc

* fix issue 2772 (#2785)

* Update Clair offiline date guide

* Fix issue #2688 and #2686

* fix nil pointer issue

* fix2552 connect button grayed out

* fix the issue about project name set private/pubulic alert problem

* The password to access clair db can be configured in harbor.cfg, skip auto-scan if clair-db is not ready

* Fix issue of detecting configuration changes

* Enhance scanning policy notify handler and add more testing cases

* fix issue about nav replicationManagement lose highlight

* fix create-project modal submit button issue

* change the code style of the issue create-project modal submit button

* change the code style of the issue create-project modal submit button

* Update the docs

* support basic auth in integration mode

* fix #2775 about create-rule modal connect test issue

* fix issue about endpontUrl,username,password should have data when connent-test button could click #2435

* fix #2800 about consistent datagrid footer indicate number of items and roll back connent-test issue

* add next_scan_all to systeminfo api response

* update token file location

* Implement job log viewer

* Force refresh user list view

* Refine scheduler

* trim new line in the end of token file

* trim the new line in the end of token file

* add user view log test case

* delete the method of getting security context of specific user

* fix

* Provide 'Scan Now' menu in the tag list (#2819)

* refactor GetPublic logic

* update

* 	Fix scan now issue in the tag list (#2824)

* Provide 'Scan Now' menu in the tag list

* Fix scan now issue in the tag list

* updates

* fix replicate issue

* remove duplicate codes in notification handler (#2828)

* update swagger doc (#2822)

* update swagger doc

* remove unused definitions

* provide api to show log of scan job

* fix issue in golint

* load absent property from env

* update interceptor error code (#2836)

* update interceptor error code

* update

* update error string

* update interceptor error code

update

update error string

* Enhance scanning status controlling

* add missing i18n message keys

* update registry to 2.6.2 (#2851)

rm dockerfile

update

add comments

* update DB Migrator according latest change. (#2763)

* update DB Migrator according latest change.

update format

update

add import

update

return the rc from container

update

update to false

* add user_id

* add one more case

* update

* Fix config change watching issue

* fix #1953

* fix #2853 about replication rule link issue

* modify code about replication rule link issue

* change code style again about replication rule link issue

* fix #2839 about project log has no logs

* test fix for project log

* update

* provide API for scanning images under a projet

* fix issue 2858

* fix issue #2832

* update

* fix issue #2811

* do not ping if using raw token authorizer

* update

* fixes #2539 (#2877)

* refactor

* update

* Add API to check whether a project can be deleted or not

* update according to the comments

* fix issue #2435

* fix 2869/2870 about the  log of a pending status replication job

* update

* update

* support read-ony mode for replication list view (#2915)

* fix  #2896 #2886 #2888 about tooltips,inline alert ,datagrid leftside style

* fix #2911 about spaces at the begin of log

* fix #2917 about scan error log does`t show

* fix #2903 #2908 about icons color and statistics style

*  fix color about #2908

* add IP address

* update

* update BATs

* test build process.
wy65701436 added a commit to wy65701436/harbor that referenced this pull request Apr 9, 2019
This commit is to build a regsitry bases on v2.7.1 code and introduces
an fix on issue goharbor#2819, this is a P0 bug on v2.7.1 which causes GCS doesn't
work well on v2.7.1

For more details, refer to distribution/distribution#2821

Signed-off-by: wang yan <wangyan@vmware.com>
wy65701436 added a commit to wy65701436/harbor that referenced this pull request Apr 9, 2019
This commit is to build a regsitry bases on v2.7.1 code and introduces
an fix on issue goharbor#2819, this is a P0 bug on v2.7.1 which causes GCS doesn't
work well on v2.7.1

For more details, refer to distribution/distribution#2821

Signed-off-by: wang yan <wangyan@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants