Commit Graph

5567 Commits

Author SHA1 Message Date
De Chen
970d84f1b9 Add comment format check to makefile and travis (#5832)
* Add comment format check to makefile and travis

Signed-off-by: 陈德 <chende@caicloud.io>
2018-09-20 11:48:38 +08:00
Cheng
7d9c6287b3 After selecting color, the color button is closed
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-20 11:15:30 +08:00
Steven Zou
e6de7f080d Rename the import path of new package 'label'
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-20 10:31:29 +08:00
clouderati
587459df15 Replacing copyright notices with "Copyright Project Harbor Authors".
Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-09-19 16:59:36 +00:00
Shane Utt
5d0788ee93 Minor improvements to Helm charts documentation
Signed-off-by: Shane Utt <shaneutt@linux.com>
2018-09-19 07:20:59 -04:00
Steven Zou
06ce715a6b Merge branch 'master' into return_labels_in_chart_api 2018-09-19 17:58:29 +08:00
Yan
002e5a2b70
Enable api tests in travis (#5900)
This commit is to enable parallel run jobs with travis, and add API for DB and API for LDAP in travis.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 17:49:43 +08:00
Steven Zou
3a204dbf7d Rebase to fix conflicts 2018-09-19 17:46:47 +08:00
Yan
e77a116e1d
Decrepate tests from drone ci (#5919)
This commit is to remove tests from drone CI server, and leave drone
as the build system only for harbor. Harbor system admin will remove
the webhook from harbor repo, then any pull request will not trigger
drone job.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 16:54:15 +08:00
Qian Deng
3e76eaf1b3
Merge pull request #5893 from ninjadq/change_ui_2_core
Rename harbor-ui to harbor-core
2018-09-19 16:53:48 +08:00
Qian Deng
7873a0312a Rename harbor-ui to harbor-core
1. Update the nginx.conf
2. Update Makefile
3. Update docker-compose
4. Update image name
5. Rename folder ui to core
6. Change the harbor-ui's package name to core
7. Remove unused static file on harbor-core
8. Remove unused code for harbor-portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-19 16:35:13 +08:00
Steven Zou
df241c0666 Refactor the chart service implementation to provide more extemding flexibilities
- use unified proxy handler to handle all the proxy traffic
- define interfaces for the handlers
- implement the interface at chart controller level
- refactor UT cases
- update other related reference code

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-19 16:34:58 +08:00
Yan
29ca31cf6c
Update gc api to fix issues found by UI implemention (#5920)
This commit is to update gc api to fix issues found by UI implemention:
1, Return json format of gc schedule
2, Unify capital and small letter
3,Return gc records by desc

Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 14:36:47 +08:00
James Zabala
30e71a25de
Merge pull request #5880 from goharbor/jonasrosland-patch-1
Remove CLA and update community links
2018-09-18 16:39:36 -04:00
James Zabala
e6238ae4c6
Merge pull request #5875 from steven-zou/update_readme_for_v1.6.0
Update README to reflect the related changes delivered in v1.6.0
2018-09-18 16:38:19 -04:00
Touch Ungboriboonpisal
e256547411 Normalize (make lowercase) the ldap group dn when onboarding
Fixes #5895

Signed-off-by: Touch Ungboriboonpisal <tungbori@zynga.com>
2018-09-18 13:37:35 -07:00
Cheng Fangyuan
262de58c55
Merge pull request #5898 from pureshine/modify_tooltips
Modify the tooltip to increase and display the full content
2018-09-18 18:28:23 +08:00
Cheng Fangyuan
6a0ccae913
Merge pull request #5903 from pureshine/modify_text
Tooltip prompts 'repository read only'
2018-09-18 17:46:32 +08:00
Cheng Fangyuan
407b46801b
Merge pull request #5899 from pureshine/modify_space
Make the space between the button and the tab section consistent
2018-09-18 17:44:47 +08:00
Cheng
27a5df5c90 Modify the tooltip to increase and display the full content
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-18 14:02:31 +08:00
Cheng
efc3937368 Make the space between the button and the tab section consistent
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-18 13:52:11 +08:00
Cheng
b9dae3f156 Make the space between the button and the tab section consistent
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-18 13:45:33 +08:00
Cheng
76c66a9dea Tooltip prompts 'repository read only'
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-18 11:58:23 +08:00
Cheng
014a81da68 Modify the tooltip to increase and display the full content
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-18 11:37:35 +08:00
Cheng Fangyuan
8250bce9c5
Merge pull request #5897 from pureshine/modify_sort
Remove the sort of project and endpoint name
2018-09-18 10:21:26 +08:00
Cheng
d2f1681943 Tooltip prompts 'repository read only'
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-17 15:52:57 +08:00
Cheng
61298e2673 Make the space between the button and the tab section consistent
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-17 15:27:08 +08:00
Steven Zou
15697c8996 Update README to reflect the related changes delivered in V1.6.0
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-17 13:21:22 +08:00
Cheng
34e66a709e Modify the tooltip to increase and display the full
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-17 10:54:30 +08:00
Cheng
9b8bc80012 fiexed by pr: #5472 Remove the sort of project and endpoint name
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-17 09:54:50 +08:00
Mia ZHOU
424f5f80a7
Merge pull request #5892 from pureshine/modify_button
Disable delete button when there is no group
2018-09-14 17:00:23 +08:00
Wenkai Yin
dfcd6f044d
Merge pull request #5888 from steven-zou/mark_labels_to_chart
Add API to support marking labels to charts
2018-09-14 15:09:46 +08:00
Cheng
b8f9b71d89 Disable delete button when there is no group
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-14 13:36:22 +08:00
Steven Zou
7b8fe27c22 Add API to support marking labels to charts
- add related chart label API entries
- extract label related functionalities to a separate manager interface
- add a base controller for label related actions
- add related UT cases

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-14 13:27:50 +08:00
Wenkai Yin
89893779fb Support configuring sslmode for the connection of database (#5861)
The sslmode of the connection with postgresql is hardcoded as "disable" currently, this commit expose it as an environment variable so that users can configure it

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-09-14 13:05:05 +08:00
Cheng Fangyuan
c25ad4a3ed
Merge pull request #5890 from pureshine/modify_dialog
Make the replication dialog a little bit wider
2018-09-14 11:57:33 +08:00
chengfangyuan
00c225f374 Make the replication dialog a little bit wider
Signed-off-by: chengfangyuan <1309173081@qq.com>
2018-09-14 10:07:39 +08:00
Wenkai Yin
71041cacc0
Merge pull request #5877 from reasonerjt/update-swagger-update-pwd
Update swagger.yaml for API to update password
2018-09-13 12:43:13 +08:00
Qian Deng
1c0e1e7dca
Merge pull request #5884 from reasonerjt/add-dep-portal
Add depdends_on to portal container
2018-09-13 12:18:09 +08:00
Daniel Jiang
36ab8a5bf1 Add depdends_on to portal container
Fixes #5878

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-13 11:00:21 +08:00
Steven Zou
f05c35aa98
Merge pull request #5852 from reasonerjt/update-stale
Let stale bot use the label "staled"
2018-09-13 10:58:10 +08:00
Jonas Rosland
f13235fb31 Remove CLA and update community links
This PR is removing the CLA text and updating the links to the community resources for the project.

Signed-off-by: Jonas Rosland <jrosland@vmware.com>
2018-09-12 10:36:04 -04:00
Daniel Jiang
e7b56f6002 Update swagger.yaml for API to update password
The swagger was a little misleading about the API to update user's
password.  This commit clarifies the usage of 'old_password' and 403
status code.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-12 19:57:40 +08:00
Daniel Jiang
0c40b21966 Let stale bot use the label "staled"
"wontfix" is used to mark the issues that were decided will not be fixed
after triage, so let's use a different label to mark stale issues.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-12 16:22:29 +08:00
Qian Deng
8cdd2d29d9
Merge pull request #5862 from ninjadq/fix_rebot_case_for_angular6
Fix xpath in robot case
2018-09-11 10:20:08 +08:00
Daniel Jiang
bd1be50741
Merge pull request #5865 from reasonerjt/master
Clean up the `contrib` folder
2018-09-10 23:58:16 +08:00
Daniel Jiang
06765756e3 Clean up the contrib folder
Remove the content contributed by the community users such as api client and
harbor-py is no longer maintained and outdated that is not working with
recent releases.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-10 20:37:32 +08:00
Qian Deng
dfeb1924c6 Fix xpath in robot case
1. Fix xpath of Upload button
2. Fix xpath of status span

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-10 17:24:28 +08:00
Qian Deng
7a8c1bfbac
Merge pull request #5854 from zhoumeina/fix_remove_static
remove static after angular 6 ugprade
2018-09-10 16:58:06 +08:00
Wenkai Yin
1f195c2b5f
Merge pull request #5840 from Colstuwjx/fix-tcp-probe
Fix `TestTCPConn` break issue.
2018-09-10 14:46:04 +08:00