Commit Graph

1559 Commits

Author SHA1 Message Date
Steven Zou
9943c0cd07
Merge pull request #5021 from pengpengshui/asynctask
Add async task progress and delete dialog task progress #4371
2018-05-23 15:20:13 +08:00
Wenkai Yin 79628
76274dbf84 Update change password API
Modify the changing password API to support that admin user can change the password of normal users without old password
2018-05-22 19:02:20 +08:00
pengpengshui
9989a67d09
Merge pull request #5022 from pengpengshui/hightlights
Modify leftnav and tab have no hightLight about #4996
2018-05-22 18:12:00 +08:00
pfh
1121c8a76b Add async task progress and delete dialog task progress #4371
norm code
2018-05-22 14:42:06 +08:00
pfh
9992241163 Modify spelling about serverity 2018-05-22 14:21:45 +08:00
Wenkai Yin 79628
ab41977dcf Log error message in server side
Record the errors which are only returned to frontend in the server side for easy debugging.
2018-05-22 11:36:08 +08:00
stonezdj(Daojun Zhang)
2844d137d3
Merge pull request #5020 from stonezdj/fix_login_500
Fix error 500 with error username
2018-05-21 21:14:30 +08:00
pfh
a51af4a1c5 Modify leftnav and tab have no hightLight 2018-05-21 18:57:36 +08:00
Steven Zou
fb33f83b9a
Merge pull request #5003 from ywk253100/180517_label_filter_api
Add label filter in replication policy API
2018-05-21 18:55:02 +08:00
stonezdj
a1b668921b Fix error 500 with error username 2018-05-21 18:23:10 +08:00
pengpengshui
d16cddda04
Merge pull request #4986 from pengpengshui/leftNav
Filter out existimg members when add a new member #4364
2018-05-21 18:19:39 +08:00
pfh
14614b3572 Filter out existimg members when add a new member #4364 2018-05-21 17:27:20 +08:00
Wenkai Yin 79628
ad62fffb0e Add label filter in replication policy API
The label filter can be used to filter images when do the replication, this commit provides the filter in replication policy
2018-05-21 15:01:17 +08:00
Daniel Jiang
c2c667c6d6
Merge pull request #4976 from ywk253100/180514_parallel_pull_tag
Request repository and tag list in parallel
2018-05-21 15:00:44 +08:00
Deng, Qian
b3749bd4a4 Deploy button send event based on latest tag
If latest tag exist sent provision event. Otherwise send Add additional info event.
2018-05-17 17:07:27 +08:00
stone
d3930ae17c Put user info into session (#4885)
Fix the following issues.
1) GroupList is not found in SecurityContext user info
2) Retrieve multiple memberof information from LDAP.
3) If user is in two groups with guest, administrator role separately, display the max privilege role.
2018-05-17 16:23:51 +08:00
Steven Zou
6a7ba4609f
Merge pull request #4977 from ninjadq/fix_observable_issues
Fix 'xxx' is not a function err
2018-05-17 14:07:19 +08:00
Deng, Qian
a8025d2b32 Fix 'xxx' is not a function err
Because new version of rxjs you need import function manually, update code to avoid related errors.
Issues #4923 #4904 are caused by this problem.
2018-05-16 14:00:19 +08:00
Steven Zou
3917512d3e
Merge pull request #4962 from ywk253100/180509_label_filter
Add label filter to filter chain
2018-05-15 20:12:34 +08:00
Wenkai Yin 79628
c1ebf0ba1e Add label filter to filter chain
Label filters are used to filter the resources according to the labels, adding the filters to the chain to enable the function.
2018-05-15 19:19:01 +08:00
Deng, Qian
43c8e9f589 Fix all tslint warnings
1. Fix tslint warnings
2. Add tslint to travis
2018-05-15 16:28:23 +08:00
stonezdj
44006247a6 Fix issue of import LDAP user 404 message
Some user requires return json format message in 404
2018-05-15 16:05:11 +08:00
Wenkai Yin 79628
6243fed8f5 Request repository and tag list in parallel
When using S3 or others as the registry storage, the request for repository and tag list may be very slow. This commit fixes this by parallel requesting the resources.
2018-05-15 15:47:32 +08:00
Daniel Jiang
b537ea96f3
Merge pull request #4925 from stonezdj/fix_ldap_import_404
Fix issue of import LDAP user 404 message
2018-05-14 16:15:49 +08:00
stonezdj
931e17330c Fix issue of import LDAP user 404 message
Some user requires return json format message in 404
2018-05-11 15:33:35 +08:00
Steven Zou
9b01d3a2f6
Merge pull request #4899 from ninjadq/mv_string_to_html_n_css
Fix legacy issues that html and css file are written on ts file.
2018-05-11 15:22:37 +08:00
Deng, Qian
282a63f57f Fix legacy issues that html and css file are written on ts file.
Currently, our html and css files are written as string on .ts file. This pr is to solve the legacy issue.
2018-05-10 18:39:48 +08:00
Daniel Jiang
cf79e9ee8d
Merge pull request #4910 from vmware/fix_none_zero_issue
Improve the error handling capabilities of job service
2018-05-10 16:41:49 +08:00
Steven Zou
4db708096b Add retry for getting configs from admin server when doing job conetxt initialization 2018-05-10 15:26:59 +08:00
Steven Zou
f7bc467c99 Return none zero code when job service exit with error
replace fmt.Println/logger.Errorf with logger.Fatal(f)
2018-05-10 14:44:04 +08:00
stone
7863d7ffa0
Delete debug.test 2018-05-10 14:32:47 +08:00
Daniel Jiang
3ca439c71a Sync user info after UAA user is logged in (#4900)
This is a fix for #4895.
Currently the user's UserId and HasAdminRole data will not be populated correctly after a user in UAA is logged in.
2018-05-10 11:49:13 +08:00
Deng, Qian
2ef1a92a93 Add ng-packagr to packaging harbor-ui npm repo
Using ng-packagr to build and publish npm repo
2018-05-09 10:59:22 +08:00
pfh
8f90e9c987 Add multiple filter options for log #4360 2018-05-08 16:02:53 +08:00
pfh
2f6dcce0d5 rewrite layout about filter by label and tesecase #4809 2018-05-08 12:10:24 +08:00
pfh
5006693fd6 Modify global search project and adjust selected label position 2018-05-04 10:27:40 +08:00
stone
e6a52f49a4
Merge pull request #4722 from stonezdj/security_context_for_group3
Update security context for assign role to project group member
2018-05-03 17:17:41 +08:00
stonezdj
b8a48d0326 Update security context for assign role to project group member
The project list will contain all public projects, user is a member of this project, or user is in the group which is a member of this projects.
Change the behaviour of user roles, if the user is not a member of this project, then return the user's groups role of current project
2018-05-03 16:49:16 +08:00
Steven Zou
9746f9f2a9
Merge pull request #4838 from ninjadq/cherry_pick_hardcode_url_back_master
Fix URL hardcode on replication service
2018-05-03 16:01:54 +08:00
Qian Deng
9e1e66beeb
Merge pull request #4839 from pengpengshui/language
Modify issue about cannot switch language to franch
2018-05-03 15:57:19 +08:00
Deng, Qian
8d79747085 Fix URL hardcode on replication service
Url hardcoded in replication service. This commit is to fix it.
2018-05-03 13:46:17 +08:00
pfh
80ff0e4553 Modify issue about cannot switch to franch 2018-05-02 15:48:55 +08:00
pfh
ad74297a14 Modify harbor-ui version 2018-05-02 15:41:47 +08:00
pfh
08f750b04d Merge remote-tracking branch 'upstream/master' into labelFilter 2018-05-02 14:14:15 +08:00
Wenkai Yin
e5efa034a8 Fix bug #4819: the scheduled rule can not be removed
When checking the jobs of the rule which are going to be deleted, only get the transfer and delete jobs.
2018-04-28 18:43:49 +08:00
Deng, Qian
6ba6dcd1d5 Fix bugs that some place hardcode url addr
In the repositories and projects service some url is hardcoded.
2018-04-28 01:07:15 +08:00
Deng, Qian
18c8686d57 Fix bugs infinity copy of reponame and auth
1. everytime click deploy or add additional info will add a prefix before reponame
2. add constrait on button on cardview
2018-04-28 00:50:57 +08:00
stone
413ae9a8cb
Merge pull request #4808 from stonezdj/master
Merge pull request #4798 from stonezdj/release-1.5.0
2018-04-27 18:44:05 +08:00
pfh
30fe99790b Modify images filter with label issue 2018-04-27 17:42:58 +08:00
Yan
ae257433cc
Fully migrate harbor db to postgresql (#4689)
* Merge harbor db to postgres
2018-04-27 02:27:12 -07:00
Wenkai Yin
f77e4167ac
Merge pull request #4802 from ywk253100/180427_label_db
Modify unique constraint of table harbor_label
2018-04-27 17:10:05 +08:00
stone
68cf63bbef Merge pull request #4798 from stonezdj/release-1.5.0
Return 404 if user is not found
2018-04-27 17:01:17 +08:00
pengpengshui
4dda6d8875
Merge pull request #4784 from pengpengshui/labelFilter
Add sort fun when filter labels in tag page  #4617
2018-04-27 15:35:45 +08:00
pfh
b520addf08 Add sort fun when filter label in tag page #4617 2018-04-26 10:24:25 +08:00
Qian Deng
ac8e5d6e25
Merge pull request #4768 from ninjadq/fix_bug_search_result
Fix bug on search result ui
2018-04-25 15:55:48 +08:00
pengpengshui
888379dfb5
Merge pull request #4764 from pengpengshui/addLock
Fix issue about read only mode warning undisappear about #4741
2018-04-25 13:17:11 +08:00
Wenkai Yin
54d6b08e7c
Merge pull request #4777 from reasonerjt/fix-clair-sev
Fix mis-interpretation of severity in Clair
2018-04-25 12:27:40 +08:00
pengpengshui
585bde163f
Merge pull request #4767 from pengpengshui/stickLabel
Modify color panel and add labels to imgs frequently click problem
2018-04-25 11:34:48 +08:00
Tan Jiang
93c448d91b Fix mis-interpretation of severity in Clair
Currently "Critical" vulnerablity is treated as "Unknown" in Harbor.
This commit provides a quickfix that it will be interpret as "High".  In
future, we should consider introduce "Critical" and enable UI to handle
it to be more consistent with CVSS spec.
2018-04-25 10:31:12 +08:00
Deng, Qian
456b0c40cb Fix bug on search result ui
Fix issue #3852, After global search result returned if you research another item, the content will not refresh.
2018-04-23 19:58:22 +08:00
pfh
566e867984 Modify color panel and add labels to imgs click problem 2018-04-23 19:07:44 +08:00
pfh
9994ea6974 fix issue about read only mode warning undisappear about #4741 2018-04-23 11:24:31 +08:00
pfh
f72a41694a Modify tooltips size about authentication 2018-04-23 10:51:37 +08:00
pfh
cdcaff10bf Modify click to registry under project 2018-04-20 21:30:40 +08:00
Deng, Qian
de0927578f Fix bug sent multiple scan request
Every time after add lable or delte lable scan button will trigger multiple requests
2018-04-20 19:42:04 +08:00
Steven Zou
6bab3310ae
Merge pull request #4755 from pengpengshui/replication
Modify replication rule list not seleted when load first
2018-04-20 19:29:13 +08:00
pfh
e92ef72902 Modify replication rule list not seleted first 2018-04-20 18:58:37 +08:00
Daniel Jiang
641f01eb0e
Merge pull request #4738 from steven-zou/fix_nil_job_logger_issue
Return the logger.Interface instead of the pointer of logger to avoid nil checking issue
2018-04-20 18:53:44 +08:00
Steven Zou
a17436962f Return the logger.Interface instead of the pointer of logger to avoid nil checking issue 2018-04-20 14:59:28 +08:00
Tan Jiang
1fc4142e1a Do not call chown to config files
This commit fixes a recently discovered issue on Kubernetes #4496
It make necessary to avoid calling `chown` to config files during the
bootstrap of the containers.
2018-04-20 13:44:21 +08:00
Steven Zou
4da4dd6694
Merge pull request #4717 from pengpengshui/breadScrumb
Modify bread crumb for vic
2018-04-19 19:24:27 +08:00
Steven Zou
850c09f3f4
Merge pull request #4723 from pengpengshui/skinnable
Modify login bg image position about skinnable
2018-04-19 17:32:02 +08:00
Fuhui Peng (c)
890cbb727c Modify harbor-ui version 2018-04-19 15:52:30 +08:00
Fuhui Peng (c)
9082b50bb9 Merge branch 'master' of https://github.com/vmware/harbor into breadScrumb 2018-04-19 15:34:20 +08:00
Steven Zou
6f83b9e563 Fix the issue of causing the UI UT cases failed
downgrade the zone.js version to 0.8.19 and fix it
2018-04-19 15:30:12 +08:00
Fuhui Peng (c)
3c42277651 Modify loginBg position about skinnable 2018-04-19 14:03:19 +08:00
Steven Zou
9a2b522a2f
Merge pull request #4720 from ninjadq/fix_default_view_to_card_view
Fix default view problem and styles issues
2018-04-19 13:46:55 +08:00
Fuhui Peng (c)
cdefac82e7 Delete needless code about breadcrueb 2018-04-19 12:28:13 +08:00
Fuhui Peng (c)
e41db9469e Merge remote-tracking branch 'upstream/master' into breadScrumb 2018-04-19 11:11:43 +08:00
Daniel Jiang
f8d577994f
Merge pull request #4719 from reasonerjt/fix-db-broken-pipe
Fix intermittent `broken pipe` issue in log
2018-04-19 10:23:59 +08:00
Deng, Qian
ca9de64cdb Fix default view problem and styles issues
Set default view of repo to cardview
Fix card title style issue that break test
2018-04-18 21:16:06 +08:00
Fuhui Peng (c)
8a41bcab93 Modify bread crumb for vic 2018-04-18 18:29:06 +08:00
Daniel Jiang
5792829951
Merge pull request #4706 from ywk253100/180418_admiral
Fix bug #4688
2018-04-18 18:23:24 +08:00
Tan Jiang
7fa8261661 Fix intermittent broken pipe issue in log
This commit fixes #4713, by adopting the suggested fix in:
https://github.com/go-sql-driver/mysql/issues/529
When creating the DB instance in orm, call `SetConnMaxLifetime()`
2018-04-18 17:39:13 +08:00
stone
2f1989d211
Merge pull request #4672 from ninjadq/fix_bug_search_member_by_username
Add query string when get members
2018-04-18 16:42:28 +08:00
Wenkai Yin 79628
f6bd2f245d Fix bug #4688
Fix bug: the user can push images although he have no permisson by checking empty value before assign permissions.
2018-04-18 12:03:06 +08:00
Deng, Qian
02b00724f9 Fix readonly mode show in vic and rewording the tooltip
Hidden readonly mode on vic
Reword the tooltip
2018-04-18 12:02:54 +08:00
Deng, Qian
cb79d1c38b Fix bugs on configuration save
When configuration saving, an error undefined no atrribute toString will occur. This commit will fix it.
2018-04-17 20:12:34 +08:00
Deng, Qian
c31fb5ddf2 Fix UI/UX issues and manuely refresh component when fresh
1. Fix card-title text alignment
2. Trancate text in title if length greater then 29
3. Fix auto refresh data when loading next page in card-view
2018-04-17 19:50:23 +08:00
pengpengshui
813f6d2ed2
Merge pull request #4684 from pengpengshui/labelCase
Add filter images by label testcase
2018-04-17 18:17:10 +08:00
Deng, Qian
286defa367 Add query string when get members 2018-04-17 15:36:29 +08:00
pfh
2989ad6c92 Delete a unused file 2018-04-17 10:57:21 +08:00
Qian Deng
0f271710ae
Merge pull request #4673 from ninjadq/fix_bug_4665
Fix bug 4665 project admin can not change the role of some user
2018-04-17 10:47:03 +08:00
pfh
786a082fff Fix issue about label filter and I18n 2018-04-17 10:22:46 +08:00
pfh
e9052dd42a Merge remote-tracking branch 'upstream/master' into fixIssue 2018-04-17 10:19:16 +08:00
Steven Zou
ca8d3bdcc9
Merge pull request #4638 from vmware/use_redis_url_addr
Use redis URL address to replace host:port when connecting to redis server
2018-04-17 10:12:51 +08:00
pfh
bd28eb4541 Add Filter Label about imgs 2018-04-17 10:08:19 +08:00
Deng, Qian
9eec96afd6 Fix bug 4665 project admin can not change the role of some user 2018-04-16 18:57:26 +08:00
stonezdj
7e57c685ac Add project member search by name
Previous implementation contains the search user by name feature. This implementation can search user and user group by name.
2018-04-16 18:38:10 +08:00
Daniel Jiang
63ad0efd4f
Merge pull request #4637 from ywk253100/180412_bugfix
Bug fix
2018-04-13 19:39:50 +08:00