Commit Graph

5433 Commits

Author SHA1 Message Date
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
Qian Deng
0578d51437 Remove clarity logo
Replace favicon to harbor logo

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 17:37:05 +08:00
Qian Deng
097da4bb8d Fix typo
adminiserver to adminserver

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 16:20:03 +08:00
Qian Deng
aff8521c18 Add i18n to static assets
Add i18n files to static asset

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 16:13:37 +08:00
Qian Deng
9f90306600 Merge branch 'angular6' of https://github.com/vmware/harbor into angular6 2018-09-07 16:12:33 +08:00
Qian Deng
ba4762095f Update dockerfile of portal based on angular6 upgrade
1. Update entrypoint to reflect angular 6 upgrade

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 15:06:15 +08:00
Qian Deng
db8d7b9c1c Merge branch 'seprate_harbor_portal_from_harbor_core' into angular6 2018-09-07 14:56:16 +08:00
Steven Zou
7af4f27cc5
Merge pull request #5844 from steven-zou/enable_Stale_bot
Enable the GitHub app Stale bot to clear the outdated issues
2018-09-07 14:47:48 +08:00
Steven Zou
c2cb7066bf Correct the url location of the Codacy badge
- add status report url link

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-07 14:39:15 +08:00
Steven Zou
ae38fac363 Enable the GitHub app Stale bot to clear the outdated issues
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-07 14:13:50 +08:00
Qian Deng
d797c50438 Fix trivial issues about rename ui_ng to portal
Update ui_ng to portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 13:25:41 +08:00
Qian Deng
870653a5fb Update nginx config to redirect traffic to specific backend
1. Update nginx.conf file
2. Update photon makefile
3. Update global makefile

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 13:21:27 +08:00
Qian Deng
dc21f3f5e2 Add container for harbor-portal
1. Add dockerfile for building harbor-portal
2. change the name from ui_ng to harbor-portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 13:20:08 +08:00
Meina Zhou
94f967e054 remove ng-package and use angular command to build lib
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-07 11:30:01 +08:00
Meina Zhou
20b4386256 remove rxjs-compat in package
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-07 11:30:00 +08:00
Meina Zhou
5c174d5090 fix i18n does not show correctly
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-07 11:30:00 +08:00
Meina Zhou
806fbaa49c fix build fail for angular 6
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-07 11:30:00 +08:00
Meina Zhou
a330d4e116 upgrade to angular 6
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-07 11:30:00 +08:00
Daniel Jiang
cd31cbf892
Merge pull request #5828 from stonezdj/ldap_caseinsense
LDAP group DN should be case insensitively
2018-09-07 10:48:31 +08:00
Colstuwjx
e49a9de2f4 Fix TestTCPConn break issue.
Signed-off-by: Colstuwjx <Colstuwjx@gmail.com>
2018-09-06 14:58:04 +08:00
Meina Zhou
66d2d25d26 remove ng-package and use angular command to build lib
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-09-06 14:41:50 +08:00
Daniel Jiang
f0f1c4ed0c
Merge pull request #5823 from ywk253100/180905_adminserver
Test TCP connection before upgrading database schema
2018-09-06 14:19:55 +08:00
stonezdj
9dca49ba6e LDAP group DN should be case insensitive
Fix issue #5776, LDAP servers are case insensitive. because only LDAP
group DN is used to compare/equal operation, lowercase all LDAP group DN
when retrieves it from LDAP server, and lowercase them before save in DB

Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-09-06 11:33:05 +08:00
Wenkai Yin
dbf388ebb3
Merge pull request #5830 from reasonerjt/update-osl
Update OSL for Clair 2.0.5
2018-09-06 10:00:08 +08:00
Wenkai Yin
b43024ccbf
Merge pull request #5829 from steven-zou/support_chart_search
Enhance the global search API to include chart searching result
2018-09-06 09:58:43 +08:00
Wenkai Yin
5427c0064c
Merge pull request #5731 from Colstuwjx/fix-log-test
Fix logger test case, add SetSkipLine func.
2018-09-06 08:17:17 +08:00
Steven Zou
a9f2ff2c91 Enhance the global search API to include chart searching result
- add chart search interface method in utility handler
- update the search API handler
- update the search API UT case

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-05 20:13:27 +08:00