Commit Graph

326 Commits

Author SHA1 Message Date
Wenkai Yin
3cb53011eb refactor get tags API to return more info 2017-03-09 17:30:00 +08:00
Wenkai Yin
c8802f05ad refactor get tag API 2017-03-09 14:48:25 +08:00
Daniel Jiang
40653436b1 Merge pull request #1551 from ywk253100/170308_test_case
Modify test cases for get repo API
2017-03-09 14:24:18 +08:00
Steven Zou
e115f8b577 merge latest ui_ng code in 2017-03-09 10:18:03 +08:00
Wenkai Yin
18402f84f0 modify test cases 2017-03-08 20:42:40 +08:00
Tan Jiang
42bc430cfd update swagger, fix minor issues in test 2017-03-08 13:57:34 +08:00
Wenkai Yin
f7fe063436 fix conflict 2017-03-08 10:57:17 +08:00
Wenkai Yin
aaa27386c9 Merge pull request #1534 from reasonerjt/notary-integration
Provide a api for retrieving the signature of a repo.
2017-03-07 21:11:03 +08:00
Tan Jiang
8ec94a6d0a fix golint issue 2017-03-07 19:34:02 +08:00
Tan Jiang
d983982d19 provide api to fetch repository's signature information from Harbor's nested notary intance 2017-03-07 19:14:00 +08:00
Steven Zou
da3ebdcdcd merge ui_ng 2017-03-07 17:20:33 +08:00
Daniel Jiang
c1d9d68232 Merge pull request #1518 from ywk253100/170306_search
Refactor search API to return more info
2017-03-07 13:12:53 +08:00
Daniel Jiang
b16a8843a2 Merge pull request #1512 from ywk253100/1703002_email_ping
Support email ping
2017-03-07 13:06:30 +08:00
Wenkai Yin
1d83d8b642 remove cache 2017-03-07 12:28:24 +08:00
Wenkai Yin
dfae869dce add test cases 2017-03-06 18:03:31 +08:00
Wenkai Yin
d6a6f67596 refactor search API to return more info 2017-03-06 17:47:05 +08:00
Daniel Jiang
d5a4e5cc20 Merge pull request #1513 from reasonerjt/token-service-refactory
support generate UI token for notary
2017-03-06 15:59:13 +08:00
Daniel Jiang
c619bb9294 Merge pull request #1490 from ywk253100/170301_config
Read some configs from env when start up
2017-03-06 12:40:21 +08:00
Tan Jiang
109db458c3 support generate UI token for notary 2017-03-06 12:17:22 +08:00
Wenkai Yin
0a80d7fee2 fix bug in sending email 2017-03-03 18:10:28 +08:00
Wenkai Yin
23bf2f0ddf support ping email server 2017-03-03 16:36:13 +08:00
Wenkai Yin
a4cb261df9 read some configs from env 2017-03-02 13:24:41 +08:00
Steven Zou
ac6c26d6db Merge pull request #1483 from vmware/feature/merge_ui_ng_code
merge code for building
2017-02-28 12:51:44 +08:00
Steven Zou
dcc88cbea2 merge code for building 2017-02-28 12:46:15 +08:00
Tan Jiang
71c9fcf849 remove confusing comment 2017-02-28 11:37:09 +08:00
Tan Jiang
6454ccfc3a fix the 'v2' URL conflict issue, and remove the work around in token service code 2017-02-27 21:01:26 +08:00
kunw
44ea387f02 Updates for configuration ldap scope. 2017-02-27 19:12:19 +08:00
Steven Zou
2e20a65121 Merge pull request #1458 from wknet123/harbor-clarity-integration
Merge Harbor clarity integration to into Dev branch.
2017-02-27 16:20:22 +08:00
Wenkai Yin
c4606d0383 Merge pull request #1467 from yhua123/dev
add new ldap auth and import user feature
2017-02-27 16:17:14 +08:00
yhua
c48d908515 add new ldap auth and import user feature 2017-02-27 15:13:49 +08:00
Tan Jiang
81502e1e59 refinement per review 2017-02-27 12:52:14 +08:00
kunw
46cef020eb Rename directory name. 2017-02-27 11:41:46 +08:00
Tan Jiang
776c34a0ae fix go vet and golint errors 2017-02-26 22:05:13 +08:00
Tan Jiang
7620cd3b86 refactor token service 2017-02-26 19:53:13 +08:00
kunw
5619e4e7e3 Added lastest UI codes. 2017-02-24 18:06:08 +08:00
kunw
23f0ff1ea5 Refactor Harbor Clarity integration code structure. 2017-02-24 17:54:50 +08:00
Wenkai Yin
9f3f48be59 add harbor network to adminserver 2017-02-24 14:35:11 +08:00
Wenkai Yin
414e8a8bcf Merge remote-tracking branch 'upstream/dev' into 170224_merge_config
Conflicts:
	make/docker-compose.tpl
	src/ui/service/token/authutils.go
2017-02-24 13:52:19 +08:00
Wenkai Yin
a1858098c5 using different secret to mark himself when communicates with other components 2017-02-23 18:24:32 +08:00
Wenkai Yin
e2c7cfc0ad support changing all configurations through API 2017-02-23 16:27:19 +08:00
Tan Jiang
160d5636fb add basic unit test cases for token service 2017-02-22 20:44:29 +08:00
Wenkai Yin
40eb6bb7d3 encrypt passwords enhancement 2017-02-22 16:59:28 +08:00
Steven Zou
668f39c732 Merge pull request #1419 from wknet123/harbor-clarity-integration
Fixed some issues and merged latest codes.
2017-02-22 12:27:28 +08:00
kunw
3a621faba3 Fixed some issues and merged latest codes. 2017-02-22 13:03:05 +08:00
Steven Zou
e829b04f1f Merge pull request #1407 from wknet123/harbor-clarity-integration
Harbor Clarity UI integration.
2017-02-22 11:26:23 +08:00
kunw
3c112f2a2c Harbor Clarity UI integration. 2017-02-21 14:54:42 +08:00
Wenkai Yin
385d76e6f2 Merge remote-tracking branch 'upstream/configuration' into 170214_encryption
Conflicts:
	src/common/utils/registry/auth/tokenauthorizer.go
	src/common/utils/test/adminserver.go
	src/jobservice/replication/transfer.go
	src/ui/api/config.go
2017-02-20 12:21:56 +08:00
Wenkai Yin
390f89ee0a encrypt passwords and secret 2017-02-17 18:23:21 +08:00
Daniel Jiang
4bc69f294f Merge pull request #1390 from wknet123/configuration
Add configuration of UI.
2017-02-17 14:39:09 +08:00
Wenkai Yin
2e3174f404 update 2017-02-15 15:28:50 +08:00
kun wang
8b8dcc6b17 Fix some missing semi-colons in JS. (#1357)
LGTM
2017-02-14 17:43:33 +08:00
kunw
09dc6909ae Update for some changes about configuration settings of UI. 2017-02-14 12:34:47 +08:00
Wenkai Yin
06519bb3f2 update 2017-02-13 17:17:46 +08:00
kunw
421288046e Add configuration features to UI. 2017-02-13 13:13:49 +08:00
Wenkai Yin
6dc6b4fa79 update Makefile 2017-02-10 17:03:21 +08:00
Wenkai Yin
58d17cbd72 Merge pull request #1314 from laz2/fix-1306-admin-top-repos
Fix visibility of top repos for admin (#1306)
2017-02-10 15:45:37 +08:00
Tan Jiang
1d2970c3c5 Merge branch 'master' into dev 2017-02-10 10:51:20 +08:00
Wenkai Yin
1fbb28ad8c update 2017-02-09 15:25:52 +08:00
Wenkai Yin
9ec11ac672 add test cases 2017-02-09 11:24:23 +08:00
kun wang
13eaedb84f Update for batch deletion of repos. (#1335)
NMT
2017-02-08 18:15:07 +08:00
Wenkai Yin
480ac427cc Merge remote-tracking branch 'upstream/configuration' into 161228_config
Conflicts:
	src/adminserver/systemcfg/store/json/driver_json_test.go
	src/adminserver/systemcfg/systemcfg_test.go
2017-02-08 15:16:53 +08:00
Wenkai Yin
f113f4a54f update 2017-02-08 14:58:21 +08:00
Wenkai Yin
dc432d5575 support multiple namespace fix #1217 2017-02-07 13:13:42 +08:00
Dmitry Lazurkin
444b7f97bf fix visibility of top repos for admin (#1306) 2017-01-21 19:06:43 +03:00
Wenkai Yin
bcc6a4bbf2 update 2017-01-20 16:52:03 +08:00
Wenkai Yin
b6e27f6ea2 Merge remote-tracking branch 'upstream/configuration' into 161228_config
Conflicts:
	tests/docker-compose.test.yml
2017-01-19 17:56:53 +08:00
Wenkai Yin
f1f78a5649 update 2017-01-19 17:56:08 +08:00
wemeya
7f949b1a95 add test for ldap.go (#1307)
LGTM
2017-01-19 10:09:56 +08:00
Wenkai Yin
24a935a25f Merge remote-tracking branch 'upstream/configuration' into 161228_config 2017-01-12 17:41:54 +08:00
Wenkai Yin
75f660fa77 Merge remote-tracking branch 'upstream/dev' into 161228_config
Conflicts:
	make/common/templates/ui/env
	src/ui/auth/ldap/ldap.go
	src/ui/config/config.go
2017-01-12 17:41:14 +08:00
Wenkai Yin
b62a958250 configure harbor 2017-01-12 17:15:32 +08:00
kun wang
84509fbb3e regulate some model attribute names. (#1303)
LGTM
2017-01-11 18:31:20 +08:00
kun wang
733a9fd628 Merge pull request #1302 from yhua123/dev
LGTM
2017-01-11 04:30:10 -06:00
yhua
7fbe811394 add ldap ping feature 2017-01-11 15:08:41 +08:00
yhua
c61016512f fix project name length and follow docker project name rule 2017-01-11 11:39:18 +08:00
Wenkai Yin
05436d7a73 Merge pull request #1301 from laz2/fix-783-filter-top-repos
Fix filtering top repositories (#783, #1281) (recreated for dev branch)
2017-01-10 10:42:52 +08:00
Dmitry Lazurkin
3c7a09a8c4 Fix filtering top repositories (#783, #1281) 2017-01-06 21:53:29 +03:00
wemeya
ce0a44010d add test file for systeminfo.go (#1288)
LGTM
2017-01-06 15:41:07 +08:00
Ricardo Katz
160e22f0fe Changes LDAP Library and other LDAP improvements (#1277)
* Changes LDAP library to go-ldap and creates new ldap timeout directive

* Add support for connection on LDAP using TLS
2016-12-30 16:03:30 +08:00
kun wang
226ab5a5f7 Add debounce to input fields. (#1273)
LGTM
2016-12-29 13:23:59 +08:00
kun wang
6088d45686 Fix clarifying color about message in modals. (#1258)
LGTM
2016-12-23 15:05:39 +08:00
Wenkai Yin
111638ae8e Merge pull request #1249 from yhua123/dev-update-registry
update registry from 2.5.0 to 2.5.1
2016-12-16 18:03:53 +08:00
kun wang
d50ec3808a Fixed error messages displaying in modals. (#1254)
LGTM
2016-12-16 17:27:40 +08:00
yhua
0249f2181a update registry from 2.5.0 to 2.5.1 2016-12-15 16:50:50 +08:00
Penghao Cen
1e57166962 Remove http timeout option on getting catalog 2016-12-12 20:42:28 +08:00
Tan Jiang
ee4cfa68d8 Merge branch 'master' into dev 2016-12-12 14:39:45 +08:00
Wenkai Yin
d6d4711700 1.fix issue: deleting repo action will fall in deadlock between two Harbor if they are configured to sync to each other 2. Filter notification request in nginx 2016-12-09 18:10:20 +08:00
Daniel Jiang
64ae107fe5 Merge pull request #1224 from ywk253100/161205_rm_auth_header
Do not add the authentication header to requests which are not sent to registry
2016-12-09 00:48:09 +08:00
yhua123
c74703434f Merge pull request #1225 from wknet123/dev
Update about checking comment length with non-ASCII characters
NMT
2016-12-08 16:23:23 +08:00
kunw
9e73abf8f6 Update checking comment length. 2016-12-08 15:57:03 +08:00
yhua123
ead0985d20 Merge pull request #1146 from wknet123/dev-update-swagger
Updates Swagger YAML for new added API.
NMT
2016-12-08 15:44:39 +08:00
Wenkai Yin
2e9b59a20a add test case 2016-12-08 15:18:51 +08:00
yhua123
6565a3da54 Merge pull request #1189 from wknet123/master-fix-save-comment
Fix save comment issue.
NMT
2016-12-08 14:59:45 +08:00
kunw
b0da7b6d89 Merge remote-tracking branch 'upstream/dev' into dev-fix-popup 2016-12-08 13:54:04 +08:00
kunw
3d9d106acb Fixed popup and inline help toggle issues. 2016-12-08 13:23:02 +08:00
Wenkai Yin
fb9aa78f75 do not add the authentication header to requests which are not sent to registry 2016-12-07 18:20:25 +08:00
kunw
47ddd97182 Update pagination of UI. 2016-12-06 12:16:59 +08:00
Tan Jiang
3f6301b587 remove timeout for replicating large image 2016-11-30 17:43:04 +08:00
kunw
da85b8f3cb Fix save comment issue. 2016-11-29 16:55:52 +08:00
kunw
92a37083d6 Merged master. 2016-11-28 12:16:37 +08:00
kunw
cb1fed8d0e Update i18 messages 2016-11-28 12:05:44 +08:00
yhua123
a192ce90c6 Merge pull request #1172 from wknet123/master-handle-sign-in-error
Fixed handle other errors while signing in.
NMT
2016-11-28 10:57:01 +08:00
yhua123
e99d4b8466 Merge pull request #1160 from wknet123/master-handle-rep-err
Updates for handling 404 response text.
NMT
2016-11-28 10:55:59 +08:00
kunw
3d0bf35ef1 Fixed handle other errors while signning in. 2016-11-25 18:01:15 +08:00
kunw
499141c193 Fixed handle errors about sending email. 2016-11-25 17:32:44 +08:00
kunw
277785febc Update some i18n messages. 2016-11-25 17:13:52 +08:00
kunw
50a057994e Updates for handling 404 response text. 2016-11-24 17:37:00 +08:00
kunw
e3f5e9e501 Updates Swagger YAML for new added API. 2016-11-22 19:19:17 +08:00
yhua123
96cf5ef866 Revert "Updates Swagger YAML for new added APIs." 2016-11-22 18:36:34 +08:00
yhua123
44205610ec Merge pull request #1143 from wknet123/master-update-swagger
Updates Swagger YAML for new added APIs.

Need test cases for these 2 new API~
2016-11-22 18:35:45 +08:00
kun wang
211c0424ff Replace the style of select-all button. (#1140)
* Replace the style of select-all button.

* Remove the button as discussion.

LGTM, maybe others will give more comments, merge first
2016-11-22 18:34:02 +08:00
kunw
df85ff0125 Updates Swagger YAML for new added APIs. 2016-11-22 18:13:40 +08:00
kunw
902af427af Fixed toggle admin button. 2016-11-21 15:10:24 +08:00
Daniel Jiang
57e01000c9 Merge pull request #1128 from reasonerjt/dev
fix GetIsInsecure
2016-11-21 02:15:49 +08:00
Tan Jiang
418d9bc2b6 handle the no session scenario in project controller 2016-11-18 20:00:15 +08:00
Tan Jiang
4a603f0913 add a test case 2016-11-18 19:32:35 +08:00
Tan Jiang
aab3dfee4e fix GetIsInsecure 2016-11-18 19:13:23 +08:00
kunw
b663b06b74 Change cert dir path. 2016-11-18 17:50:42 +08:00
kunw
d26e972fb6 Add dowload cert to UI. 2016-11-18 16:07:18 +08:00
Tan Jiang
0df31586bb hide the button if user doesn't have permission to create project 2016-11-18 14:11:58 +08:00
Daniel Jiang
64b3c7f261 Merge pull request #1100 from ywk253100/161116_sql_wildcard
Escapse % and _ in sql
2016-11-18 13:17:49 +08:00
yhua123
fba88b79ac Merge pull request #1116 from wknet123/dev-precise-volume-size
Update for precising volume size.
LGTM
2016-11-18 11:11:02 +08:00
kunw
f6303672a0 Update for precising volume size. 2016-11-17 19:01:29 +08:00
Wenkai Yin
a64891103d escapse % and _ in sql 2016-11-17 16:39:45 +08:00
kunw
a0d73b8bf6 Updates for form data check. 2016-11-17 14:22:31 +08:00
yhua123
fb3f001a47 Merge pull request #1098 from wknet123/dev-revised-pagination
Update pagination component.
need more test
2016-11-17 13:45:20 +08:00
yhua123
3be2fb7733 Merge pull request #1107 from wknet123/dev-restrict-timespan
Updates for restriction to time span.
need more test
2016-11-17 13:44:50 +08:00
yhua123
13e37ce6aa Merge pull request #1095 from wknet123/dev-optimize-sign-in
Updates for optimizing interaction with sign-in action.
need more test
2016-11-17 13:43:49 +08:00
yhua123
bb0e96fbfd Merge pull request #1091 from wknet123/dev-fix-message-colors
Update for showing red color to error messages.
need testing
2016-11-17 13:42:02 +08:00
yhua123
df023468cb Merge pull request #1096 from wknet123/dev-change-language-name
Change Chinese language name.
LGTM
2016-11-17 13:25:55 +08:00
kunw
15c713f927 Updates for restriction timespan. 2016-11-17 12:17:07 +08:00
Daniel Jiang
ffbe980622 Merge pull request #1101 from reasonerjt/config-refactory
Config refactory
2016-11-16 22:00:20 +08:00
Tan Jiang
1e599833fa fix go vet error 2016-11-16 21:44:15 +08:00
Tan Jiang
51581d8d47 merge 2016-11-16 20:36:02 +08:00
Tan Jiang
9d7a18a0a3 fix issue in golint, support project creation restriction at backend 2016-11-16 20:31:04 +08:00
kunw
8a536ea892 Update pagination component. 2016-11-16 19:08:25 +08:00
yhua123
6d901e2335 Merge pull request #934 from wknet123/dev-volume-info
Added volume info to UI.
need more test.
2016-11-16 18:19:30 +08:00
kunw
bc13881fcc Change Chinese language name. 2016-11-16 18:06:33 +08:00
kunw
2ccb521e42 Updates for optimizing interaction with sign-in action. 2016-11-16 17:54:47 +08:00
kunw
c9ab2d2eb7 Update for removing cookies about user info. 2016-11-16 15:32:17 +08:00
kunw
85d38830bf Update for showing red color to error messages. 2016-11-16 15:27:16 +08:00
kunw
51a23baeea Updates for changing JSON attribute name. 2016-11-16 14:35:10 +08:00
kunw
e367ec24a8 Merge remote-tracking branch 'upstream/dev' into dev-volume-info 2016-11-16 14:23:27 +08:00
Tan Jiang
33da8b230e ui config direcotry 2016-11-16 13:33:14 +08:00
Tan Jiang
0e3cb2e3f4 ui config refactory 2016-11-16 13:33:14 +08:00
Tan Jiang
31eccec220 unset env vars in TC 2016-11-16 13:33:14 +08:00
Tan Jiang
c34b2872bc config refactory for common pkg 2016-11-16 13:33:14 +08:00
kun wang
05759cf0ad Merge pull request #1080 from yhua123/dev
LGTM
2016-11-16 12:05:33 +08:00
yhua
99223fc29f update code for statics testing 2016-11-16 11:42:16 +08:00
Tan Jiang
853a15349d unset env vars in TC 2016-11-15 18:55:17 +08:00