Commit Graph

5309 Commits

Author SHA1 Message Date
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
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
Meina Zhou
232a8f390a remove static after angular 6 ugprade
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-10 14:39:09 +08:00
Mia ZHOU
62cdccc5dd
Merge pull request #5848 from ninjadq/angular6
Frontend upgrade to angular6 and harbor portal refactor to a single container.
2018-09-10 11:00:22 +08:00
Daniel Jiang
03f9cafeaf
Merge pull request #5228 from stonezdj/doc_ldap_group
Add document for manange role by LDAP group(master)
2018-09-10 09:51:27 +08:00
Qian Deng
ac6c9d79ba Remove nodeclarity
Remove the nodeclarity container related code and ui_builder parameter no longer needed when build clarity

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-08 20:33:21 +08:00
Qian Deng
8c26f78ae4 Fix tslint fail issues
Fix issues that cause tslint fail

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-08 14:58:50 +08:00
Qian Deng
66e3db3350 Add run test script to travis
1. remove clarity node contaienr on traivs
2. add run test script

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 20:25:01 +08:00
Daniel Jiang
ddba0df527
Merge pull request #5847 from steven-zou/fix_codacy_badge_url
Correct the url location of the Codacy badge
2018-09-07 18:47:15 +08:00
stonezdj
0906fbfabe Add document for manange role by LDAP group
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-09-07 18:39:30 +08:00