Commit Graph

3746 Commits

Author SHA1 Message Date
Daniel Jiang
22d7ea77c8
Merge pull request #3530 from reasonerjt/deprivilege-harbor-core
Deprivilege harobr-log, harbor-db, registry image
2017-11-03 15:27:20 +08:00
Daniel Jiang
795d33a45a
Add filter on API endpoints to mitigate XSRF (#3542)
Add filter for all API endpoints to allow the POST requests which have
application/json header.
Make update to UI code to make sure all requests contain the header.
2017-11-03 14:43:27 +08:00
root
6f335bdb1a Deprivilege harobr-log, harbor-db, registry image.
This change involves using non-root user to run the process of the
docker images.  Also made update in Dockerfile to make the containers
support "read-only" and introduce "HEALTHCHECK". Note the "read-only"
options are not enabled in docker-compose, to cover the very corner
case when user wants to update the container filesystem manually.

Remove read only option from docker-compose template by default
2017-11-02 23:35:06 -07:00
Yan
877e918f85
Merge pull request #3535 from ninjadq/db_migration_1_3_0
db migration from 1.2.0 to 1.3.0
2017-11-03 13:41:46 +08:00
Daniel Jiang
6a9dc8a133
Merge pull request #3495 from ywk253100/171031_config
Add email_insecure and delete verify_remote_cert configuration item from harbor.cfg
2017-11-02 17:47:48 +08:00
Deng, Qian
5ffa192b79 db migration from 1.2.0 to 1.3.0 2017-11-02 17:43:10 +08:00
Daniel Jiang
f7967e22ab
Merge pull request #3482 from yixingjia/ossclairupdate
Update Clair base images
2017-11-02 14:23:33 +08:00
pengpengshui
83b0000d71
Merge pull request #3512 from pengpengshui/master
modify the remote cert checkbox value and test case
2017-11-02 09:45:03 +08:00
Fuhui Peng (c)
48cbdcbb08 change package version 2017-11-01 18:45:11 +08:00
Fuhui Peng (c)
30a60e6115 Merge branch 'master' of https://github.com/vmware/harbor 2017-11-01 18:36:37 +08:00
Deng, Qian
c19a7a56da
Merge pull request #3514 from ninjadq/fix_project_level_policy_issue
* fix bug when save policies
* improve text of vulnerability
* fix bug project admin can see the config tab
2017-11-01 04:53:29 -05:00
Fuhui Peng (c)
bcfba78615 modify test case about email config 2017-11-01 17:29:02 +08:00
Deng, Qian
bd2bb0a697 fix project admin can view project config 2017-11-01 16:40:01 +08:00
Yan
d150f8763b
Merge pull request #3503 from sigsbee/deleteproj
Update assert of keyword Project should not be deleted
2017-11-01 16:23:53 +08:00
Daniel Jiang
0339f4ffcc
Merge pull request #3515 from wy65701436/fix-build-issue
Update package offline installer with vmware/photon
2017-11-01 15:29:59 +08:00
Fuhui Peng (c)
a1a5835d76 Merge branch 'master' of https://github.com/vmware/harbor 2017-11-01 14:51:38 +08:00
Deng, Qian
091f68e5b0 fix tag vulnerability text to uppercase 2017-11-01 14:39:25 +08:00
myufei
d3f9d0545d Update assert of keyword Project should not be deleted 2017-11-01 14:23:52 +08:00
wangyan
9e1049e3c9 Update package offline installer with vmware/photon 2017-10-31 22:17:46 -07:00
yixingjia
8908b75085
Merge pull request #3481 from yixingjia/ossnotaryupdate
Update Notary base images and oss package
2017-10-31 19:46:07 -07:00
Deng, Qian
0045b269db fix bug when save policies 2017-11-01 10:31:21 +08:00
Yan
5ba414397d
Merge pull request #3484 from wy65701436/https-ci
Enable https support in CI testing
2017-11-01 09:08:51 +08:00
Fuhui Peng (c)
29cf632de8 modify the remote cert checkbox value 2017-10-31 19:39:07 +08:00
Daniel Jiang
f7b4218022
Merge pull request #3476 from yixingjia/ossUpdateUI
Update UI image oss package to latest
2017-10-31 17:50:03 +08:00
wangyan
31d92bf0c5 Enable https support in CI testing
Add harbor.ca with certutil into Chrome trust store, then can use Chrome headless to access harbor with https
And also update Chrome to latest stable version 62
2017-10-31 00:49:43 -07:00
yixingjia
5e54f793e1
Merge pull request #3477 from yixingjia/ossUpdateRegistry
Update registry image oss package to latest
2017-10-31 00:40:07 -07:00
Wenkai Yin
f3a4cecdcb Add email_insecure and delete verify_remote_cert configuration item from harbor.cfg 2017-10-31 13:51:49 +08:00
Wenkai Yin
094a4f48ab
Merge pull request #3490 from ywk253100/171030_meta_id
Add column id to table project_metadagta as the primary key
2017-10-31 00:42:04 -05:00
pengpengshui
26cf27f327
Merge pull request #3475 from pengpengshui/master
add checkbox on config-email page and test code, modify project access level label
2017-10-31 10:42:07 +08:00
Wenkai Yin
0ddca31355 Add column id to table project_metadagta as the primary key 2017-10-30 17:37:25 +08:00
Yan
472ffb95b0
Merge pull request #3471 from sigsbee/deleteproj
Add delete project auto case
2017-10-30 17:27:53 +08:00
yixingj
651cb81389 Update Clair base images
1>update clair base iamges to vmware/photon:1.0
2>update oss packages to latest
2017-10-30 17:04:14 +08:00
myufei
1eca12ec28 Add delete project auto case 2017-10-30 16:34:49 +08:00
yixingj
2953ca9967 Update Notary base images and oss package
1> Update Notary server image to vmware/photon
2> Update NOtary signer image to vmware/photon
3> update oss package to latest
2017-10-30 14:46:33 +08:00
yixingj
d8919f4da9 Update Clair base images
1>update clair base iamges to vmware/photon:1.0
2>update oss packages to latest
2017-10-30 13:50:44 +08:00
yixingj
beefb40d0d Update Notary base images and oss package
1> Update Notary server image to vmware/photon
2> Update NOtary signer image to vmware/photon
3> update oss package to latest
2017-10-30 13:12:47 +08:00
Deng, Qian
1840aefea9
Merge pull request #3461 from ninjadq/fix_scanning_bar_title
fix text of bar chart title
2017-10-30 00:02:08 -05:00
yixingj
d173fd7256 Update registry image oss package to latest
1>Change base image to vmware/photon
2>update oss pakcage and remove vim package.
2017-10-30 11:06:48 +08:00
yixingj
c4024f03a1 Update UI image oss package to latest
Update base image to photon
Remove vim from the image
2017-10-30 10:56:18 +08:00
Fuhui Peng (c)
ad38106642 modify label about project access level 2017-10-30 10:39:19 +08:00
Fuhui Peng (c)
f6595bedad modify test case about an insecure checkbox to configure 2017-10-30 10:34:43 +08:00
Fuhui Peng (c)
a0172bc0c4 "add insecure checkbox to configure #3363" 2017-10-30 10:29:47 +08:00
Deng, Qian
fe4f611e73 fix text of bar chart title 2017-10-27 19:19:40 +08:00
Wenkai Yin
5b2ececae8 Merge pull request #3436 from ywk253100/171020_meta_api
Add project metadata API
2017-10-27 05:16:50 -05:00
Deng, Qian
979aa37020 Merge pull request #3414 from ninjadq/project_level_policy_ui
add ui for project level policy
2017-10-27 04:36:09 -05:00
Wenkai Yin
c355034c14 Add project metadata API
Project metadata API can be used to integrated with project management
service which can not provide all metadatas needed by Harbor.
2017-10-27 17:05:15 +08:00
Daniel Jiang
630921812b Merge pull request #3470 from reasonerjt/habor-db-on-mariadb
Fix the bug to change permission of bootstrap scripts
2017-10-27 15:32:18 +08:00
Deng, Qian
69ffd7117c add ui for project level policy 2017-10-27 15:18:00 +08:00
Tan Jiang
5b12747761 Fix the bug to change permission of bootstrap scripts 2017-10-27 14:10:48 +08:00
Daniel Jiang
54384554bc Merge pull request #3465 from wy65701436/ci-flag-upload-build
[Upload Build]Add a upload build flag in Drone CI
2017-10-27 13:54:18 +08:00