Commit Graph

2291 Commits

Author SHA1 Message Date
Wenkai Yin
94507fc8a1 fix bugs found in test 2017-07-04 17:18:24 +08:00
Steven Zou
5cfe6540b7 Merge pull request #2670 from steven-zou/master
Implement scan all policy configuration
2017-07-04 16:53:50 +08:00
Wenkai Yin
aac742e8ba update 2017-07-04 12:33:11 +08:00
Steven Zou
f50a125d61 fix spec failure issue 2017-07-03 18:46:35 +08:00
Wenkai Yin
d2eb8fc8b6 filter request for basic auth in integration mode 2017-07-03 17:58:36 +08:00
Wenkai Yin
3ebe1a824b update codes of auth context 2017-07-03 13:37:55 +08:00
Wenkai Yin
2818c047bf Merge pull request #2672 from ywk253100/170628_getpm
Create a global project manager
2017-06-30 16:38:29 +08:00
Wenkai Yin
bdbdb383ac update 2017-06-30 16:21:55 +08:00
Wenkai Yin
2ada2dbd16 Merge pull request #2631 from ywk253100/170626_statistic
Refactor statistics API to return private/public count of projects and repositories
2017-06-30 14:26:15 +08:00
Wenkai Yin
99a492270e just return tag list rather than 500 error if there are errors 2017-06-30 13:40:25 +08:00
Wenkai Yin
84b443e2b2 Merge remote-tracking branch 'upstream/master' into 170628_getpm
Conflicts:
	src/ui/config/config.go
	src/ui/proxy/interceptor_test.go
2017-06-30 00:14:45 +08:00
Wenkai Yin
d6b4330cc8 create a global project manager 2017-06-30 00:08:45 +08:00
Steven Zou
1db36d99fb Implement scan all policy configuration 2017-06-29 18:41:30 +08:00
Daniel Jiang
ea827ffd6e Merge pull request #2658 from ywk253100/170627_registry
Provide a method to get token from token service
2017-06-29 17:56:38 +08:00
Tan Jiang
9ac23d9da5 add the attribute to valid keys 2017-06-29 16:06:48 +08:00
Tan Jiang
af0e8c85bb configuration api can handle scan all policy 2017-06-29 15:14:11 +08:00
Yan
159d549dbd Merge pull request #2581 from wy65701436/vul-interceptor
vulnerable interceptor
2017-06-28 22:10:10 -07:00
wangyan
c6a8e4076b to get travis status 2017-06-28 21:20:44 -07:00
wangyan
5a26ab1a53 vul interceptor
update

fix http  no found

fix test

fix test

update

fix typo

fix travis

update per comment

update typo
2017-06-28 05:22:28 -07:00
Wenkai Yin
f806adaac4 update test cases of PMS project manager 2017-06-28 15:44:40 +08:00
Wenkai Yin
ab65bca2fe Merge pull request #2649 from ywk253100/170627_service_account
Implement GetByMember function in PMS project manager
2017-06-28 15:25:21 +08:00
Wenkai Yin
4770aeba90 provide a method to get token from token service 2017-06-28 12:23:14 +08:00
Tan Jiang
00e86d86b6 provide an API to scan all images, and some refactory 2017-06-27 19:25:11 +08:00
Wenkai Yin
016af6bc78 implement GetByMember function in PMS project manager 2017-06-27 18:44:20 +08:00
Daniel Jiang
34871fe202 Merge pull request #2627 from reasonerjt/clair-integration
small refinement to clair client
2017-06-26 14:34:08 +08:00
Steven Zou
30ece92360 Merge pull request #2614 from steven-zou/master
Update UI builder to 1.2.5
2017-06-26 14:24:55 +08:00
Wenkai Yin
6e9ec3f22c refactor statistics API 2017-06-26 14:15:01 +08:00
Wenkai Yin
c50e2a5606 Merge pull request #2607 from ywk253100/170622_project
Fix bug: can't show the role of member
2017-06-26 10:17:36 +08:00
Tan Jiang
ed296812f0 small refinement to clair client 2017-06-25 11:44:56 +08:00
Steven Zou
7c68c1ca69 Enhance script in make/dev/nodeclarity/entrypoint.sh 2017-06-23 18:58:58 +08:00
Steven Zou
a12ec997cc Fix tooltip cut issue
Change Dockerfile of UI builder
2017-06-23 18:58:43 +08:00
Steven Zou
7c0e79d10a update ui builder to 1.2.6 2017-06-23 18:58:14 +08:00
Wenkai Yin
b960565d11 Merge remote-tracking branch 'upstream/master' into 170621_auth
Conflicts:
	src/ui/filter/security.go
2017-06-23 18:49:08 +08:00
Wenkai Yin
94822746f1 implement admiral login 2017-06-23 18:17:45 +08:00
Wenkai Yin
e0f01cfd09 Merge pull request #2616 from ywk253100/170623_project
Add GetAll support in PMS project manager
2017-06-23 18:08:09 +08:00
Wenkai Yin
419cf8dfc3 fix bug: can't show the role of member 2017-06-23 17:23:00 +08:00
Wenkai Yin
0b55ce6e80 add GetAll support in PMS project manager 2017-06-23 16:53:59 +08:00
Daniel Jiang
6e0f274c07 Merge pull request #2608 from reasonerjt/clair-integration
fix nil pointer in vulnerability/details api
2017-06-23 11:00:53 +08:00
Wenkai Yin
93924c092d Merge pull request #2597 from ywk253100/170621_jobservice
Call UI's API to get project information in Jobservice
2017-06-23 10:23:26 +08:00
Tan Jiang
d31a25317e fix nil pointer in vulnerability/details api 2017-06-22 18:26:40 +08:00
Steven Zou
fde171bcb3 Fix UI issues 2017-06-22 16:44:34 +08:00
Wenkai Yin
6fe175550b update 2017-06-22 15:50:24 +08:00
Wenkai Yin
f40bdd2ea1 Merge remote-tracking branch 'upstream/master' into 170621_jobservice 2017-06-22 15:04:10 +08:00
Wenkai Yin
bdd49e51d5 call ui API to get project 2017-06-22 14:01:17 +08:00
Wenkai Yin
283792e7c3 Merge pull request #2589 from ywk253100/170621_secret_log
Bug fix
2017-06-21 20:18:41 +08:00
Wenkai Yin
4fe5881121 bug fix 2017-06-21 19:24:29 +08:00
Steven Zou
ed1263148f Merge pull request #2562 from steven-zou/master
Refactor harnor portal with sharable components in harbor-ui lib
2017-06-21 16:51:46 +08:00
Steven Zou
f2d659aebc remove clipboard dep from package.json 2017-06-21 14:57:56 +08:00
Steven Zou
0623ef460e add third party lib 2017-06-21 14:49:29 +08:00
Steven Zou
969066f2c7 Improve components and change package.json 2017-06-21 09:53:59 +08:00
Yan
38b09f9f3f Merge pull request #2579 from ywk253100/170620_pm
Using project manager instead of DAO project methods
2017-06-20 05:40:55 -07:00
Wenkai Yin
d0eec5bb0d Merge pull request #2558 from ywk253100/170618_auth
Add security context based on admiral
2017-06-20 17:18:28 +08:00
Wenkai Yin
3522332430 Merge pull request #2550 from ywk253100/170616_replication
Fix bug: can not replicate repository with multiple namespaces
2017-06-20 16:41:53 +08:00
Wenkai Yin
6aa3e51b40 update 2017-06-20 16:30:01 +08:00
Wenkai Yin
de2479edee update 2017-06-20 13:49:41 +08:00
Wenkai Yin
78366ad23a Merge remote-tracking branch 'upstream/master' into 170620_pm
Conflicts:
	src/ui/service/notification.go
2017-06-20 13:26:14 +08:00
Wenkai Yin
0aed9a1171 use project manager instead of dao method 2017-06-20 13:19:43 +08:00
Tan Jiang
a1a08ebed0 provide API to get vulnerability details 2017-06-20 12:10:55 +08:00
Daniel Jiang
269fa0a70a Merge pull request #2559 from reasonerjt/clair-integration
enable auto scan in notification handler
2017-06-20 11:04:06 +08:00
Archambault, Samuel
18cea61121 Allow 255 chars for Realname 2017-06-19 13:54:21 -04:00
Steven Zou
e60e4c12a6 integrate with vulnerability API 2017-06-20 00:51:08 +08:00
Steven Zou
ef4581449f update related package.json files 2017-06-19 12:35:56 +08:00
Daniel Jiang
6ee631d1eb Merge pull request #2536 from wy65701436/pms-interceptor
notary interceptor
2017-06-19 10:58:40 +08:00
Tan Jiang
80edade6a7 enable auto scan in notification handler 2017-06-18 23:58:16 +08:00
Wenkai Yin
8191f4a476 add security context based on admiral 2017-06-18 22:19:12 +08:00
Steven Zou
44e208f027 Refactor repo and tag view with components in harbor-ui lib 2017-06-18 21:59:56 +08:00
Wenkai Yin
6e89f11ffc Merge pull request #2551 from ywk253100/170616_tag
Add get tag API
2017-06-18 11:10:33 +08:00
Steven Zou
8e20e66f8c replace filter with hbr-filter from harbor-ui lib 2017-06-18 01:05:10 +08:00
Steven Zou
5657005701 Refactor endpoints and replication management view with harbor-ui library 2017-06-17 23:48:55 +08:00
Steven Zou
7cf6510e84 Refactor log component with harbor-ui lib 2017-06-17 00:05:16 +08:00
wangyan
0d5d63c236 notary inteceptor
update etst

update

update

update

update

update

update

update

update

update

update

update

update

update

update

update

update

update
2017-06-16 04:39:59 -07:00
Wenkai Yin
ea5de0adf2 add get tag API 2017-06-16 19:37:05 +08:00
Tan Jiang
7a57cb4c87 State machine recover from panic and set job state to error 2017-06-16 19:08:59 +08:00
Wenkai Yin
ec02cf54f0 fix #2508 2017-06-16 18:37:34 +08:00
Wenkai Yin
482f91d91a Merge pull request #2547 from ywk253100/170616_user
Bug fix
2017-06-16 18:12:21 +08:00
Wenkai Yin
df56010739 bug fix 2017-06-16 17:23:22 +08:00
Wenkai Yin
9fb0ad6c0d Merge pull request #2543 from reasonerjt/clair-integration
provide POST api/repostitores/xxx/tags/xxx/scan to trigger image scan
2017-06-16 17:04:34 +08:00
Wenkai Yin
b8d17eeb79 replace trimleft with trimprefix 2017-06-16 16:30:40 +08:00
Tan Jiang
ad7990b07c fix error 2017-06-16 15:15:40 +08:00
Tan Jiang
04b9ee5cfd api should return 503 when Harbor is not deployed with clair, and add more comments 2017-06-16 15:01:14 +08:00
Daniel Jiang
ae77753bf2 Merge pull request #2529 from reasonerjt/clair-integration
add with_clair flag in systeminfo
2017-06-16 13:42:06 +08:00
Steven Zou
6e789d7d46 Use service in harbor-ui library for i18n support 2017-06-15 23:27:54 +08:00
Tan Jiang
41346fe8c0 provide POST api/repostitores/xxx/tags/xxx/scan to trigger image scan 2017-06-15 20:23:55 +08:00
Steven Zou
ce19ba2889 Fix project role displaying issue 2017-06-15 18:17:00 +08:00
Daniel Jiang
2a0fdc4ed2 Merge pull request #2528 from ywk253100/170615_test_case
Update test cases for PMS
2017-06-15 16:34:51 +08:00
Tan Jiang
15384317e0 add with_clair flag in systeminfo 2017-06-15 16:15:46 +08:00
Wenkai Yin
49ddf27868 update test cases for PMS 2017-06-15 15:50:15 +08:00
Daniel Jiang
6a85012dbd Merge pull request #2525 from reasonerjt/clair-integration
GET tags api includes scan overview
2017-06-15 15:34:05 +08:00
Tan Jiang
0b145771c5 handle the case when scan job does not exist 2017-06-15 14:28:45 +08:00
Steven Zou
1df1a45270 Fix issues of public/private projects 2017-06-14 23:38:21 +08:00
Wenkai Yin
7d595c10c5 Merge pull request #2485 from ywk253100/170608_project
Refactor GET /projects API
2017-06-14 21:03:28 +08:00
Tan Jiang
f016dd113c GET tags api includes scan overview 2017-06-14 21:02:59 +08:00
Wenkai Yin
d6c084485b Merge pull request #2497 from ywk253100/170612_user
Support pagination in GET /users API
2017-06-14 20:49:59 +08:00
Wenkai Yin
fa0dec6c9c update 2017-06-14 20:48:43 +08:00
Wenkai Yin
aecfcef51a Merge remote-tracking branch 'upstream/master' into 170608_project 2017-06-14 20:46:23 +08:00
Wenkai Yin
421e9b114e update 2017-06-14 20:35:51 +08:00
Wenkai Yin
802a2fbcce update 2017-06-14 20:23:29 +08:00
Yan
1e0f48b8c5 Merge pull request #2389 from ywk253100/170526_bug_fix
Checking whether the repo contains any tags when syncing repo between db and registry
2017-06-14 20:05:43 +08:00
Wenkai Yin
4d0ae36d4e update test case 2017-06-14 17:01:41 +08:00
Daniel Jiang
e17b46b951 Merge pull request #2506 from reasonerjt/clair-integration
handlers for image scan, store results overview in DB
2017-06-14 16:31:34 +08:00
Tan Jiang
8590c8d6bb remove orm debug setting from test case 2017-06-14 16:11:23 +08:00
Steven Zou
78f8a09177 Merge pull request #2507 from steven-zou/master
Improve components in UI library
2017-06-14 15:03:32 +08:00
Steven Zou
23635b6966 add placeholders to the datagird 2017-06-14 00:00:22 +08:00
Tan Jiang
ae2d868fd4 handlers for image scan, store results overview in DB 2017-06-13 23:37:54 +08:00
Steven Zou
f981415b5b make tag name clickable in repo-tag-stack view 2017-06-13 22:24:38 +08:00
Steven Zou
1d543c9212 Improve components in UI library 2017-06-13 20:38:21 +08:00
Steven Zou
b695ec78db Merge pull request #2504 from steven-zou/master
Improve repo-tag-stack view
2017-06-13 17:04:12 +08:00
Steven Zou
71f3480932 Improve repo-tag-stack view 2017-06-13 16:09:46 +08:00
Wenkai Yin
f0c47b990b Merge pull request #2495 from ywk253100/170605_pm
Implement project manager based on PMS
2017-06-13 15:46:48 +08:00
Wenkai Yin
5a25445096 update according to the comments 2017-06-13 15:28:48 +08:00
Steven Zou
2b3d912f43 update i18n messages 2017-06-13 13:22:09 +08:00
Steven Zou
2072fc237e Implement tag detail component & refactor vul summary bar chart 2017-06-12 19:40:51 +08:00
Wenkai Yin
539c0375a1 support pagination 2017-06-12 18:36:10 +08:00
Wenkai Yin
0925fd35f1 implement project manager based on PMS 2017-06-12 14:43:26 +08:00
Steven Zou
4d2a2363a7 Merge fix code from 1.1.0 branch back to master 2017-06-12 13:43:44 +08:00
Wenkai Yin
6b4ae098db update 2017-06-09 18:24:52 +08:00
Wenkai Yin
20cf8de0f7 Merge remote-tracking branch 'upstream/master' into 170608_project 2017-06-09 16:41:13 +08:00
Wenkai Yin
e97d7dab85 refactor GET /projects 2017-06-09 16:41:02 +08:00
Steven Zou
3ebd4758c1 Merge pull request #2483 from wknet123/master-log-query-params
Fix timestamp value in query params
2017-06-09 16:33:41 +08:00
kun wang
603cc2bd28 Merge pull request #2484 from steven-zou/master
add push-image button component
2017-06-09 16:28:46 +08:00
kunw
93a8219108 Fix timestamp value in query params 2017-06-09 15:59:20 +08:00
Steven Zou
dc56b50b1e add push-image button component 2017-06-09 15:46:16 +08:00
Daniel Jiang
ba785357da Merge pull request #2481 from reasonerjt/clair-integration
add handlers in statemachine
2017-06-09 15:28:12 +08:00
Tan Jiang
58c4993974 add handlers in statemachine 2017-06-09 14:55:15 +08:00
kunw
85c9aeafad Update audit log query params. 2017-06-09 14:37:38 +08:00
Steven Zou
a66d2adfff Merge pull request #2478 from wknet123/master-update-rule-creation
Update for rule creation and styles.
2017-06-09 13:38:25 +08:00
Steven Zou
2583b19bcf remove Clarity-Angular module import 2017-06-09 13:37:15 +08:00
kunw
c342b6a560 Update for rule creation and styles. 2017-06-09 13:22:17 +08:00
Steven Zou
65ef1f70c1 Merge pull request #2470 from wknet123/master-endpoint-integration
Fix global message display issue
2017-06-09 13:09:50 +08:00
Steven Zou
58fc326fb2 use *ngFor to replace *clrDgItems in user datagird 2017-06-09 13:07:26 +08:00
Wenkai Yin
f700b1bfc6 Merge pull request #2461 from ywk253100/170607_log_api
Support query logs according to different conditions
2017-06-09 11:08:08 +08:00
Tan Jiang
a905d72c59 fix typo and refine message in content trust interceptor 2017-06-09 09:13:59 +08:00
kunw
0c15dac241 Fix global message display issue 2017-06-08 18:37:16 +08:00
Steven Zou
8fd327912d fix coflicts between 1.1.0 and master 2017-06-08 16:51:19 +08:00
Daniel Jiang
42984fe1c9 refactory for scan job service (#2459)
* refactory for scan job service and implement ScanJob.
2017-06-08 15:04:23 +08:00
Wenkai Yin
b2380818fd support query logs according to conditions 2017-06-08 14:44:08 +08:00
kun wang
dff382ccee Merge pull request #2455 from wknet123/master-systeminfo-service
Add system info service to shareable components.
2017-06-07 19:13:58 +08:00
kunw
79531972c0 Add system info service to shareable components. 2017-06-07 19:00:20 +08:00
Steven Zou
ef3cf7454f enable pagination for user list 2017-06-07 18:23:58 +08:00
Steven Zou
36bb7cc2e0 Merge pull request #2451 from steven-zou/master
Enable server-driven pagination for recent logs
2017-06-07 15:28:30 +08:00
Steven Zou
aa0212460d Enable server-driven pagination for recent logs 2017-06-07 14:36:55 +08:00
Wenkai Yin
9d3cb5d4b6 fix #2226 2017-06-06 18:05:15 +08:00
Daniel Jiang
3363a1f389 Fix 2411 on branch 1.1.0 (#2431) (#2434)
* fixes #2411
2017-06-06 14:53:51 +08:00
Daniel Jiang
b3b95fbf7b Fix 2411 on branch 1.1.0 (#2431)
* fixes #2411
2017-06-06 13:41:43 +08:00
Steven Zou
3e02f756a3 Fix conflicts of list-repository.component.spec.ts 2017-06-06 13:36:44 +08:00
Steven Zou
fdbf1b9813 Update readme 2017-06-06 13:29:35 +08:00
Steven Zou
ef21b7d3c2 Refactor i18n methods and update readme 2017-06-06 13:26:39 +08:00
Daniel Jiang
c099ccf02e fix #2382 (#2422)
* fix #2382
2017-06-05 21:51:50 +08:00
kunw
8eac6d0030 Merge latest updates. 2017-06-05 19:22:40 +08:00
kunw
ec38754297 Update for shareable replication component. 2017-06-05 19:18:08 +08:00
Steven Zou
1d3364c1a3 Merge pull request #2424 from wknet123/master-stackview-repo-tag
Add stack view repo-tag component.
2017-06-05 18:08:43 +08:00
Wenkai Yin
0679796528 Merge pull request #2386 from ywk253100/170525_log_pagination
Support pagination in GET recent logs API
2017-06-05 17:15:15 +08:00
Wenkai Yin
f03993a777 Merge pull request #2376 from ywk253100/170524_email
Refactor email API
2017-06-05 16:59:10 +08:00
kunw
9684f146b3 Update styles for stack view. 2017-06-05 16:58:16 +08:00
Wenkai Yin
9c4adbe8c9 Merge remote-tracking branch 'upstream/master' into 170525_log_pagination
Conflicts:
	src/common/security/rbac/context_test.go
	src/ui/api/statistic.go
	src/ui/projectmanager/pm.go
2017-06-05 16:53:15 +08:00
Yan
d00aba8de8 Merge pull request #2367 from ywk253100/170524_search
Refactor search API
2017-06-04 22:41:55 -07:00
Yan
1171e4c4d6 Merge pull request #2378 from ywk253100/170524_sync
Refactor sync registry API
2017-06-04 20:32:14 -07:00
Yan
158d14f559 Merge pull request #2358 from ywk253100/170523_replica
Refactor policy, job, target API
2017-06-04 20:29:05 -07:00
Yan
b1d09cdccb Merge pull request #2372 from ywk253100/170524_statistics
Refactor statistics API
2017-06-04 20:28:48 -07:00
Steven Zou
5e5a93d59b Add more usage info to readme 2017-06-05 10:19:13 +08:00
kunw
cc6571f0a2 Update styles for stack view. 2017-06-02 20:24:41 +08:00
kunw
4246f55180 Merge latest updates. 2017-06-02 16:53:03 +08:00
Steven Zou
8bc8aa43a4 Merge pull request #2415 from steven-zou/master
Add integration guideline document for harbor UI library
2017-06-02 16:50:07 +08:00
kunw
e7132c5252 Add stackview for repo-tags 2017-06-02 16:49:29 +08:00
Steven Zou
1d57e1b41c Add guideline for ui library integration 2017-06-02 16:27:51 +08:00
Steven Zou
55a39e9bf3 Add guideline for ui library integration 2017-06-02 16:06:13 +08:00
Wenkai Yin
e0fe068308 update 2017-06-02 14:17:01 +08:00
Wenkai Yin
95a2a01bb0 Merge pull request #2377 from ywk253100/170524_ldap
Refactor ldap API
2017-06-02 13:46:51 +08:00
Wenkai Yin
0ede4bca7b Merge pull request #2381 from ywk253100/170525_config
Refactor config API
2017-06-02 13:46:33 +08:00
kun wang
d7a39f2f9c Merge pull request #2395 from wknet123/master-enable-paging-sorting
Update components for pagination and sorting.
2017-06-02 13:07:19 +08:00
kun wang
2aaa53f22b Merge pull request #2398 from wknet123/master-tags-revised
Update UI for revised tags API.
2017-06-02 13:06:49 +08:00
kunw
2f21ab8442 Update for revised tags API. 2017-05-31 16:29:17 +08:00
kunw
e1df278ab5 Update components for pagination and sorting. 2017-05-31 16:21:29 +08:00
kunw
963efc5253 Update components for pagination and sorting. 2017-05-31 11:31:56 +08:00
Wenkai Yin
1b83c0b076 support pagination in GET recent logs API 2017-05-26 17:51:20 +08:00
Wenkai Yin
1dffe91f91 bug fix 2017-05-26 17:23:01 +08:00
Wenkai Yin
8ae5e46d63 refactor config API 2017-05-25 14:44:05 +08:00
Wenkai Yin
2e059eb85a refactor sync registry API 2017-05-25 13:42:25 +08:00
kun wang
565110d9f1 Merge pull request #2375 from steven-zou/master
Implement vulnerability scanning components [unstable]
2017-05-25 12:07:00 +08:00
Steven Zou
7a0a423cc8 Implement vulnerability scanning components 2017-05-24 17:44:47 -07:00
Wenkai Yin
79e80aad67 Merge pull request #2359 from ywk253100/170523_log
Refactor log API
2017-05-24 18:32:44 +08:00
Wenkai Yin
0d3c25e2a5 refactor ldap API 2017-05-24 18:32:02 +08:00
Wenkai Yin
6ee64ba83a refactor email API 2017-05-24 18:31:01 +08:00
Wenkai Yin
1314ff92f5 refactor sync registry API 2017-05-24 18:29:24 +08:00
Wenkai Yin
cf306ec66e refactor statistics API 2017-05-24 16:34:33 +08:00
Wenkai Yin
a901297859 Merge pull request #2341 from ywk253100/170519_member
Refactor member API
2017-05-24 14:32:06 +08:00
Wenkai Yin
97972028e1 refactor search API 2017-05-24 13:33:46 +08:00
Wenkai Yin
924a62df7e Merge pull request #2355 from ywk253100/170522_repo
Return signatures in GET tags API
2017-05-24 10:30:58 +08:00
Wenkai Yin
30316a2b94 return signatures in GET tags API 2017-05-24 10:15:39 +08:00
Wenkai Yin
577eadf9f1 Merge pull request #2361 from ywk253100/170523_systeminfo
Refactor system info API
2017-05-24 10:10:14 +08:00
Steven Zou
12660e0ea6 Merge pull request #2347 from wknet123/master-replication
Add shareable replication components
2017-05-23 14:58:41 -07:00
Wenkai Yin
33e2e87b62 refactor system info API 2017-05-23 18:40:09 +08:00
Wenkai Yin
e8572545c1 refactor log API 2017-05-23 18:17:12 +08:00
Wenkai Yin
92dcf4bfd3 refactor policy, job, target API 2017-05-23 16:57:25 +08:00
Wenkai Yin
0e237d8cab fix bug 2017-05-23 16:28:10 +08:00
Daniel Jiang
1c441b17be refactor job service (#2348) 2017-05-22 22:33:20 -07:00
kunw
5d3ed05a09 Update per comments. 2017-05-22 16:59:40 +08:00
Wenkai Yin
4884ec7835 Merge pull request #2335 from ywk253100/170518_user_api
Refactor user API
2017-05-22 11:43:34 +08:00
kunw
227b440956 Updates for replication spec. 2017-05-19 18:44:07 +08:00
Wenkai Yin
17813a75f0 refactor member API 2017-05-19 17:35:08 +08:00
Wenkai Yin
d45ef78eaf Merge pull request #2316 from ywk253100/170512_project
Refactor project API
2017-05-19 16:28:32 +08:00
Wenkai Yin
7df2be19de update 2017-05-19 13:24:31 +08:00
Wenkai Yin
3287bf6f9e refactor user API 2017-05-18 15:43:29 +08:00
Steven Zou
588bcf7d6c To fix intl not found issue in Safari 2017-05-17 11:05:28 -07:00
kunw
b26902448d Update for date-validators. 2017-05-17 18:38:19 +08:00
Wenkai Yin
b5279ea1f1 update 2017-05-17 17:54:10 +08:00
kunw
45ef8adca2 Merge remote-tracking branch 'upstream/master' into master-replication 2017-05-17 15:03:33 +08:00
kun wang
ed63c916bf Merge pull request #2310 from wknet123/master-repo-tags
Add shareable repo and tag component.
2017-05-17 14:33:51 +08:00
kunw
833c9f8f2e Refine spec of repository. 2017-05-17 13:33:31 +08:00
kunw
2da0bfa8b9 Add shareable replication component 2017-05-17 13:29:27 +08:00
Steven Zou
755654615e Modify project name checking 2017-05-16 18:23:09 -07:00
Steven Zou
26d20bd9aa Modify member name checking 2017-05-16 18:01:54 -07:00
Steven Zou
cf65c39cef Change the validation way of project name 2017-05-16 12:17:18 -07:00
Steven Zou
5744b83989 Modify password tips to add max length of pwd 2017-05-16 09:56:59 -07:00
Wenkai Yin
e1c1b8ec34 refactor project api 2017-05-16 15:02:37 +08:00
kunw
de88cccf77 Fix per comments. 2017-05-16 11:00:37 +08:00
Steven Zou
153d807fca Refine the access level of project creation 2017-05-15 17:57:20 -07:00
Daniel Jiang
4f66279c33 Fail authentication when username is empty (#2300) (#2303) 2017-05-15 14:35:38 -07:00
kunw
30a7a216c6 Add shareable repo and tag component. 2017-05-15 18:54:45 +08:00
Steven Zou
de8e0091f9 Merge pull request #2299 from wknet123/master-endpoint
Update for restriction check.
2017-05-12 22:35:52 +08:00
Daniel Jiang
7b0646760c Fail authentication when username is empty (#2300) 2017-05-12 06:12:36 -04:00
kunw
3b0bd2e700 Update for restriction check. 2017-05-12 17:38:09 +08:00
Wenkai Yin
e28ad39430 Merge pull request #2290 from ywk253100/170511_merge
Refactor auth of token service
2017-05-12 16:42:23 +08:00
Wenkai Yin
7e805b2dd4 refactor auth of token service 2017-05-12 16:27:13 +08:00
kun wang
da7fe47924 Merge pull request #2289 from wknet123/master-endpoint
Add shareable endpoint components.
2017-05-12 15:40:38 +08:00
kunw
900854128a Update for shareable endpoint. 2017-05-12 15:03:07 +08:00
Daniel Jiang
5892ef29c2 Merge pull request #2291 from reasonerjt/vulscan-job-refactory
add scan job table and dao functions
2017-05-12 02:45:55 -04:00
Tan Jiang
7d7d0c48f4 fix golin, add update status 2017-05-11 23:47:12 +08:00
Tan Jiang
dcbfb4d309 add scan job table and dao functions 2017-05-11 21:41:57 +08:00
Wenkai Yin
161cbea40b Merge pull request #2283 from ywk253100/170509_repo_api
Refactor repository API
2017-05-11 18:01:14 +08:00
Wenkai Yin
f1f302ec29 update 2017-05-11 17:02:01 +08:00
kunw
5071dcf304 Add shareable endpoint components. 2017-05-11 14:59:12 +08:00
Wenkai Yin
06ba7e0de0 update 2017-05-11 12:34:14 +08:00
kun wang
c3c7b540f1 Merge pull request #2278 from steven-zou/master
Implement replication service interface
2017-05-10 16:07:55 +08:00
Wenkai Yin
8f396b44f3 Merge remote-tracking branch 'upstream/master' into 170509_repo_api
Conflicts:
	src/ui/api/repository.go
2017-05-10 15:53:24 +08:00
Wenkai Yin
b02bbc0adf refactor repository API 2017-05-10 15:43:45 +08:00
Steven Zou
e3929f0e95 Implement replication service interface 2017-05-10 15:41:20 +08:00
Yan
8db1b2807e Merge pull request #2197 from ywk253100/170502_change_userid
Delete column user_id from table access_log
2017-05-10 00:02:54 -07:00
Steven Zou
b354653735 Merge pull request #2269 from steven-zou/master
Implement tag service interface
2017-05-10 14:37:22 +08:00
Wenkai Yin
01066c72b5 update 2017-05-10 13:11:09 +08:00
Steven Zou
54df5ec053 Implement tag service interface 2017-05-09 20:32:10 +08:00
Steven Zou
79544d39e0 Merge pull request #2268 from steven-zou/master
Implement repository service interface
2017-05-09 17:49:20 +08:00
Wenkai Yin
b5ef2c231d Merge pull request #2254 from ywk253100/170504_security_context
Create different security contexts and project managers according to the request
2017-05-09 17:41:19 +08:00
Steven Zou
3044a154b1 Implement repository service interface 2017-05-09 17:18:49 +08:00
Wenkai Yin
f8615e4746 create different security context according to the rquest 2017-05-09 17:02:29 +08:00
Steven Zou
68cc911373 Merge pull request #2264 from steven-zou/master
Use local json loader for ngx-translate
2017-05-09 16:24:24 +08:00
Steven Zou
28eafd2f30 Use local json loader for ngx-translate 2017-05-09 16:09:03 +08:00
Tan Jiang
fd8fd2fbe1 Enable project level content trust, controlled by environment variable 2017-05-09 15:36:58 +08:00
Daniel Jiang
7b0daca06a Merge pull request #2218 from ywk253100/170503_pms_db
Implement the project manager based on database
2017-05-07 22:54:37 -04:00
Daniel Jiang
b9b7e2f5e1 Merge pull request #2244 from vmware/release-1.1.0
Merge latest code from release-1.1.0 branch
2017-05-07 22:48:08 -04:00
Wenkai Yin
017e650b5b fix bug 2017-05-05 18:11:16 +08:00
wangyan
045b5a1c63 Fix permission issue catched by GAS Scanner 2017-05-05 00:20:35 -07:00
kun wang
a4a5ff6c60 Merge pull request #2233 from steven-zou/master
Add test spec for log component
2017-05-05 10:59:01 +08:00
Steven Zou
c837a1fb9e Add test spec for log component 2017-05-05 10:41:42 +08:00
kun wang
b7e1df7e1c Merge pull request #2222 from steven-zou/master
Build code base for shareable UI components
2017-05-04 17:50:24 +08:00
Steven Zou
6415689d56 Replace cookie service to ngx-cookie 2017-05-04 17:28:47 +08:00
Steven Zou
e057117d2e Build code base for shareable UI components 2017-05-04 17:09:55 +08:00
Steven Zou
0ae0c31168 Merge changes of rel 1.1.0 back to master 2017-05-04 15:47:02 +08:00
Wenkai Yin
b4c172b754 update 2017-05-04 12:28:00 +08:00
Wenkai Yin
3591086259 update 2017-05-04 12:27:14 +08:00
Wenkai Yin
92aa8ac15b implement PMS based on database 2017-05-04 12:17:32 +08:00
Wenkai Yin
13d9b05dcb Merge pull request #2193 from ywk253100/170502_security_ctx_db
Implement security context interface
2017-05-04 12:15:44 +08:00
Daniel Jiang
c97d349fa8 Merge pull request #2204 from reasonerjt/release-1.1.0
handle unexpected error in ldap search
2017-05-03 19:17:17 +08:00
kun wang
11beddaaf9 Merge pull request #2198 from wknet123/release-1.1.0-fix
Encode sign-in params.
2017-05-03 19:05:30 +08:00
Tan Jiang
7487095dd8 handle unexpected error in ldap search 2017-05-03 18:54:41 +08:00
kun wang
a519534bd1 Merge branch 'release-1.1.0' into release-1.1.0-fix-notary 2017-05-03 18:43:43 +08:00
kunw
e5a17418c8 Fix sign-in encode issue. 2017-05-03 18:32:48 +08:00
kunw
db504068a6 Fix tags action display issue. 2017-05-03 18:09:27 +08:00
kunw
e44c0c8af9 Fix notary signature issue. 2017-05-03 18:01:04 +08:00
Wenkai Yin
22826b5309 update 2017-05-03 17:22:19 +08:00
Wenkai Yin
d5db9db00b update 2017-05-03 17:21:38 +08:00
kunw
2f526e2b5f Encode sign-in params. 2017-05-03 16:03:27 +08:00
Steven Zou
dd80ea48bb Merge pull request #2192 from wknet123/master-fix-tags-action
Fix issues about tags action.
2017-05-03 15:23:19 +08:00
Daniel Jiang
79903ca3f3 Merge pull request #2194 from reasonerjt/create-reverse-proxy
create reverse proxy
2017-05-03 15:09:11 +08:00
Wenkai Yin
3be9cca0f5 delete column user_id from table accesslog 2017-05-03 14:18:07 +08:00
Tan Jiang
785298e6b9 create reverseproxy 2017-05-02 20:27:45 +08:00
kunw
bcb1dff59d Fix issues about tags action. 2017-05-02 17:49:21 +08:00
kun wang
f7a4a21066 Merge pull request #2191 from steven-zou/master
Enhance the module configuration of harbor ui
2017-05-02 17:40:38 +08:00
Wenkai Yin
ac7256efbd implement security context interface for database 2017-05-02 17:36:38 +08:00
Steven Zou
25004bbd1f Enhance the module configuration of harbor ui 2017-05-02 15:12:39 +08:00
Wenkai Yin
4eca617916 Merge remote-tracking branch 'upstream/master' into 170427_delete_ownerid 2017-05-02 14:58:36 +08:00
Wenkai Yin
4f9d9ed5d8 delete owner_id column from table repository 2017-05-02 14:57:07 +08:00
kunw
5ed47c0316 Merge release-1.1.0 2017-05-02 13:27:06 +08:00
Wenkai Yin
80d83d97bd Merge pull request #2158 from ywk253100/170427_pm
Implement security context for secret
2017-05-02 13:12:20 +08:00
Daniel Jiang
97e214c3d3 bypass some email test (#2184) 2017-05-02 12:48:44 +08:00
kun wang
89f5905f34 Update for member guard. (#2182) 2017-04-28 18:44:44 +08:00
kun wang
edbd4a8973 Update messages for access level. (#2176) 2017-04-28 17:11:03 +08:00
kun wang
62f9f842d4 Revert changes to tags route. (#2179) 2017-04-28 16:55:44 +08:00
kun wang
d03657e1d0 Update statistic label messages. (#2174) 2017-04-28 13:36:29 +08:00
kun wang
5e0805bd99 Update messages for access level. (#2175) 2017-04-28 13:16:15 +08:00
kunw
ed488e683d Update for tags route. 2017-04-28 11:04:45 +08:00
Wenkai Yin
e08b8217c3 implement security context for secret 2017-04-27 17:33:24 +08:00
Daniel Jiang
eb39fbf814 Merge pull request #2157 from vmware/release-1.1.0
merge 1.1.0 fix code into master
2017-04-27 17:27:23 +08:00
Daniel Jiang
e4af15048d Merge pull request #2148 from ywk253100/170425_authN_interface
Abstract security context interface and enable security filter
2017-04-27 11:35:22 +08:00
Steven Zou
fc47d3932c Merge pull request #2136 from wknet123/master-ui-aot
Fix issue about UX.
2017-04-26 22:22:09 +08:00
Wenkai Yin
f8f56ad555 auth integration 2017-04-26 18:54:46 +08:00
kunw
fc6d3cd9b9 Update per comments. 2017-04-26 18:34:18 +08:00
Steven Zou
bed7b584ab fix nav divider style issue 2017-04-26 18:18:35 +08:00
Tan Jiang
2f6dd6f102 do not return error when ldap bind failed 2017-04-26 16:29:00 +08:00
Wenkai Yin
f92b17e8b9 Merge remote-tracking branch 'upstream/release-1.1.0' into 170424_ldap_fix 2017-04-26 15:29:04 +08:00
kunw
1d98212d60 Fix UI compile issues. 2017-04-25 21:28:31 +08:00
kunw
e8113fa3fa Merge remote-tracking branch 'upstream/master' into master-ui-aot 2017-04-25 20:34:44 +08:00
kunw
adee392c3c Fix issues about confirm buttons and date validation. 2017-04-25 20:34:28 +08:00
Steven Zou
91f75f6395 Merge pull request #2135 from steven-zou/master
Change the alert style to global style
2017-04-25 19:45:51 +08:00
Steven Zou
dfadb70cc0 Change the alert style to global style 2017-04-25 19:27:28 +08:00
Daniel Jiang
ff4ba7d124 Merge pull request #2130 from reasonerjt/use-crypto-rand
replace math/rand with crypto/rand
2017-04-25 18:07:00 +08:00
Tan Jiang
da19700a1e replace math/rand with crypto/rand 2017-04-25 17:47:40 +08:00
Tan Jiang
e17526a495 fix ldap issue 2017-04-25 16:33:01 +08:00
Steven Zou
95c4994737 fix issue:#2012 2017-04-25 16:28:45 +08:00
Steven Zou
ba18333405 fix issue:#2011 2017-04-25 15:27:19 +08:00
Steven Zou
bb6cd5b17a remove ‘required’ flag from 'searchDN and search password' of ldap 2017-04-25 14:17:09 +08:00
Wenkai Yin
b9833990c4 bug fix 2017-04-25 14:13:03 +08:00
Steven Zou
e31bab435b Enable UI UT test framework (karma and jasmine) 2017-04-24 19:44:12 +08:00
kunw
35489e40ff Fix UI defered issues. 2017-04-24 18:48:35 +08:00
kunw
0c0db587ec Updates per comments. 2017-04-24 16:07:07 +08:00
kunw
1018d1a1c0 Merge remote-tracking branch 'upstream/master' into master-ui-aot 2017-04-24 15:05:38 +08:00
BhEaN
54bcb1fbe1 Added Spanish language 2017-04-22 00:29:27 +02:00
kunw
ba49eb79f1 Update for ui image building. 2017-04-21 19:34:57 +08:00
Tan Jiang
480bbc1a0d fix issue in LDAP support 2017-04-21 19:06:10 +08:00
Steven Zou
543a960ca2 Allow admin to change password when auth mode is 'ldap_auth' 2017-04-21 18:27:32 +08:00
kunw
f4ef4eda02 Merge latest updates. 2017-04-20 23:49:13 +08:00
kunw
b42f8935e2 Fix and update codes for AoT. 2017-04-20 23:47:06 +08:00
Steven Zou
30254f0d89 Setup UI shared components libarary 2017-04-20 14:58:31 +08:00
kunw
012a42a6a2 Merged latest updates. 2017-04-19 12:09:23 +08:00
kunw
3ca69d7596 Upgrade to Angular 4 and Clarity 0.9.0 2017-04-19 12:05:58 +08:00
wy65701436
d983e9d4fe update ignore file
rm unused langagues files.
2017-04-14 02:49:16 -07:00
wy65701436
b9c8fe51b5 replace header of ts files 2017-04-13 19:06:23 -07:00
wy65701436
22a540ea30 fix golint issue 2017-04-13 04:16:51 -07:00
wy65701436
53f7cfb967 replace go header 2017-04-13 03:54:58 -07:00
Steven Zou
7247fe3924 Fix language switching issue 2017-04-12 17:38:28 +08:00
Steven Zou
3171e43e66 override page title and search placeholder when in VIC mode 2017-04-12 08:55:39 +08:00
Steven Zou
3f8dd77eeb amend typo in copyright declearation 2017-04-11 22:19:30 +08:00
Steven Zou
73fa73c21d Merge pull request #1995 from wknet123/master-jit
Fix invisible action for sysadmin.
2017-04-11 18:50:45 +08:00
kunw
9427629267 Fix invisible action for sysadmin. 2017-04-11 18:35:47 +08:00
Yan
9a624c1dfc Merge pull request #1990 from wy65701436/master
customize beego 404
2017-04-11 16:12:02 +08:00
kun wang
28cd538954 Merge pull request #1984 from wknet123/master-jit
Update endpoint interaction of UI.
2017-04-11 15:37:02 +08:00
wy65701436
1bbe14fc9e add comment for source code 2017-04-11 00:30:36 -07:00
wy65701436
a1c20dd666 update template 2017-04-11 00:13:37 -07:00
wy65701436
c63addebb8 add 4040 2017-04-11 00:06:26 -07:00
wy65701436
a8aa0ad9b3 add customize 404 2017-04-11 00:05:28 -07:00
Steven Zou
6664b57365 Merge branch 'master' into master 2017-04-11 14:20:07 +08:00
kunw
9c6e49c5dd Update endpoint interaction of UI. 2017-04-11 11:42:56 +08:00
Wenkai Yin
228ecf9b78 bug fix 2017-04-10 17:25:10 +08:00
Wenkai Yin
ac77ee3bc4 modify ping targat and put target api 2017-04-10 13:45:24 +08:00
Steven Zou
7325572f38 Refine sign-in form validation behavior 2017-04-10 10:58:10 +08:00
Steven Zou
a385684983 translate copyright to zh 2017-04-10 10:39:43 +08:00
Daniel Jiang
3543a4742f Merge pull request #1967 from ywk253100/170407_role
Fixes out of range bug when listing projects
2017-04-07 20:09:30 +08:00
Wenkai Yin
5c2bd7eecc fix bug 2017-04-07 19:47:08 +08:00
Daniel Jiang
49377c5bc8 Merge pull request #1962 from ywk253100/170407_adminserver_log_leak
Fix logs leak
2017-04-07 19:19:17 +08:00
Daniel Jiang
642dbe329e Merge pull request #1961 from wknet123/master-new
Make role name consistent.
2017-04-07 19:18:58 +08:00
Daniel Jiang
9327fd2c66 Merge pull request #1960 from ywk253100/170407_role
Donot add projectadmin role to sysadmin when return roles, fix #1957
2017-04-07 19:16:33 +08:00
Daniel Jiang
554c57fc19 Merge pull request #1958 from steven-zou/master
update message files
2017-04-07 19:15:46 +08:00
Wenkai Yin
746667bb38 donot add projectadmin role to sysadmin when return roles, fix #1957 2017-04-07 19:09:59 +08:00
Steven Zou
c5f88d6085 Fix UI related issue and update message files:
- update message files
 - fix minor UI/UX issues
 - revoke inline alert fix css
 - fix css style
2017-04-07 18:30:58 +08:00
kunw
3c95bbd53a Make role name consistent. 2017-04-07 18:28:37 +08:00
Wenkai Yin
cd86c50e29 donot dump response to log, fix #1950 2017-04-07 18:14:22 +08:00
Wenkai Yin
ff9a64c631 donot log sensitive message to logs, fix #1949 2017-04-07 17:58:57 +08:00
Fangyuan Li
bc30341a76 Merge branch 'master' into fix_typo 2017-04-07 00:22:53 -07:00
maplain
be96a3b17c add a missing format string argument 2017-04-07 00:21:08 -07:00
Daniel Jiang
93f5c78b4b Merge pull request #1948 from ywk253100/170406_secretkey
Mount config to another dir, fix #1939
2017-04-07 11:35:58 +08:00
Daniel Jiang
4dddd5e9b4 Merge pull request #1944 from ywk253100/170406_ping_target
Do not return password of target
2017-04-07 11:35:07 +08:00
Daniel Jiang
1b2ad034a4 Merge pull request #1943 from ywk253100/170405_member_api
Return createtime and updatetime in GET members API
2017-04-07 11:34:44 +08:00
Daniel Jiang
dcda6fe72c Merge pull request #1942 from steven-zou/master
adjust the size of inputbox in related forms
2017-04-07 11:34:06 +08:00
Daniel Jiang
7bf124735a Merge pull request #1929 from ywk253100/170405_subject
Modify the subject of resetting password email
2017-04-07 11:33:29 +08:00
Wenkai Yin
e60fd0530f mount config to another dir, fix #1939 2017-04-07 09:14:41 +08:00
Steven Zou
0c9e6755db adjust gauge css style 2017-04-06 19:12:29 +08:00
Steven Zou
74a4de6868 Merge remote-tracking branch 'upstream/master' 2017-04-06 19:08:48 +08:00
kunw
559011ce93 Update for hidding password in target. 2017-04-06 19:05:44 +08:00
Wenkai Yin
488e19f514 donot return password of target 2017-04-06 18:48:43 +08:00
ywk253100
7c64709402 modify the subject of resetting password email, fix #1919 2017-04-06 18:40:50 +08:00
Steven Zou
b640a22a66 adjust the size of inputbox in related forms 2017-04-06 18:33:00 +08:00
Wenkai Yin
3b56893f3c return createtime and updatetime, fix #1924 2017-04-06 18:18:15 +08:00
Daniel Jiang
d8a0e01214 Merge pull request #1926 from wknet123/master-new
Fix UX issues.
2017-04-06 17:59:17 +08:00
Steven Zou
4d3b0b99ef Shrink gauge size 2017-04-06 17:25:50 +08:00
Steven Zou
0d9934aa40 uncomment alert close timer 2017-04-06 16:21:57 +08:00
Steven Zou
8f0285b4cb Fix UI/UX issues:
Use blur event to instead focusout
Fix mail/ldap server testing spinner and button disabling issues
Fix content area/more info margins and make alert as overlay
fix reset password form issues
fix reset password style issue
fix tootip display inssue on reset form
commit index.html change
2017-04-06 16:12:22 +08:00
kunw
26a2582553 Refine expression. 2017-04-06 15:06:05 +08:00
Steven Zou
d7f8317382 change free to used 2017-04-06 15:06:05 +08:00
Steven Zou
a1769ac6dc fix free storage info bug 2017-04-06 15:06:05 +08:00
Steven Zou
dfda6b4772 fix gauge bug 2017-04-06 15:06:04 +08:00
Steven Zou
b361e6332d change free to used 2017-04-05 19:11:16 +08:00
Steven Zou
39cfaf4be3 fix free storage info bug 2017-04-05 19:00:02 +08:00
kunw
503a332937 Fix UX issues. 2017-04-05 18:51:37 +08:00
Steven Zou
9afd0c9c3c fix gauge bug 2017-04-05 18:37:27 +08:00
kunw
6b322a6e00 Fix some UX issues. 2017-04-05 15:20:21 +08:00
kun wang
3028fe5a71 Merge pull request #1907 from steven-zou/dev
Fix minor style issues
2017-04-05 01:06:24 -05:00
Steven Zou
30dc41b4bb fix style issues 2017-04-05 13:11:49 +08:00
kunw
0c53d9de51 Remove unused images. 2017-04-05 11:20:37 +08:00
Steven Zou
5db2e387c1 fix issue 1824: Move signoff to the sign-in route canActivate 2017-04-01 18:36:20 +08:00
Steven Zou
a25e736ad0 add loading icon to index and remove related console logs 2017-04-01 18:14:08 +08:00
Steven Zou
30c28f9d8d fix issue 1874: support metrics refresh 2017-04-01 17:37:00 +08:00
Steven Zou
34927dacfa Fix minor issue of layout 2017-04-01 16:53:49 +08:00
Steven Zou
5a02cdc1cd fix issue 1687: change fonts and layout of metrics 2017-04-01 16:33:06 +08:00
Steven Zou
7e542258ee fix issue 1897: password validation enhancement 2017-04-01 16:18:42 +08:00
Steven Zou
c3be926426 Merge pull request #1898 from wknet123/dev-sync
Updates for clearing filter values after actions.
2017-03-31 18:40:17 +08:00
Daniel Jiang
2878d0c8a6 Merge pull request #1896 from reasonerjt/dev
Do not return 403 for HEAD
2017-03-31 18:31:26 +08:00
kunw
a8233a5b9a Updates for clearing filter values after actions. 2017-03-31 18:28:21 +08:00
kun wang
7d42b73f83 Merge pull request #1886 from steven-zou/dev
Fix issue 1709
2017-03-31 18:13:53 +08:00
Steven Zou
ec0baa5785 fix issue of resetting password 2017-03-31 16:56:38 +08:00
Steven Zou
9947d1f4bc fix issue of package.json 2017-03-31 16:07:06 +08:00
Tan Jiang
f96bde1abb Do not return 403 for HEAD 2017-03-31 15:36:57 +08:00
Steven Zou
ead67ba374 fix copyrights and icon color issues 2017-03-31 15:00:49 +08:00
Steven Zou
c801a1cc82 fix dependency issue in package.json 2017-03-31 14:38:52 +08:00
kunw
00bd8f3194 Update for UX issues. 2017-03-31 00:51:03 +08:00
Steven Zou
a40cb3c5fb append package.json file 2017-03-30 19:30:04 +08:00
Daniel Jiang
53a19674bf Merge pull request #1885 from ywk253100/170330_fix
Shorten comment message of user registered from LDAP
2017-03-30 19:14:47 +08:00
Wenkai Yin
f0f305a69c return 412 when deleting a target used by a policy, fix #1881 2017-03-30 18:59:18 +08:00
Steven Zou
301a9c57c2 Implement metrics gauge 2017-03-30 18:57:32 +08:00
Wenkai Yin
b99ae2496d shorten message 2017-03-30 18:53:39 +08:00
kunw
b677e8338b Fix list job error message. 2017-03-30 16:07:14 +08:00
Steven Zou
aa8edc5f15 fix user constructor issue 2017-03-30 16:07:14 +08:00
Steven Zou
9b9be0253c fix issue 1860 and other minor remending 2017-03-30 16:07:14 +08:00
Wenkai Yin
966b476d36 mount ca dir to container, fix #1829 2017-03-30 16:07:14 +08:00
Wenkai Yin
fc1ec482a4 remove compress js flag 2017-03-30 16:07:14 +08:00
Steven Zou
791aaa0724 fix issues 2017-03-30 16:07:14 +08:00
Wenkai Yin
052bc429a7 update 2017-03-30 16:07:14 +08:00
Wenkai Yin
0d80608036 add ut 2017-03-30 16:07:14 +08:00
Wenkai Yin
c3a35510fd fix sending email bug, fix #1834 2017-03-30 16:07:14 +08:00
kunw
a1b3fe8a27 Fix UX issues. 2017-03-30 15:51:00 +08:00
kun wang
64bcbfde00 Merge pull request #1872 from steven-zou/dev
Fix issue #1860 and other minor things
2017-03-30 14:27:27 +08:00
Wenkai Yin
4236d47653 Merge remote-tracking branch 'upstream/dev' into 170329_send_email 2017-03-30 14:03:25 +08:00
Wenkai Yin
2528ad9c62 Merge pull request #1870 from ywk253100/170330_ca_download_dir
Mount ca dir to UI container
2017-03-30 13:52:27 +08:00
Wenkai Yin
0ec0349016 update 2017-03-30 13:51:56 +08:00
Steven Zou
03aa346efc fix user constructor issue 2017-03-30 13:40:36 +08:00
Steven Zou
3ec4310faf fix issue 1860 and other minor remending 2017-03-30 13:24:15 +08:00
Wenkai Yin
ec27e2dc07 remove compress js flag 2017-03-30 12:59:47 +08:00
Wenkai Yin
ee2a6748c0 mount ca dir to container, fix #1829 2017-03-30 12:50:20 +08:00
Steven Zou
e38a055451 fix issues 2017-03-30 12:33:42 +08:00
kunw
c88b705c8b Fix matched lang issue and some i18n messages. 2017-03-30 00:35:19 +08:00
Wenkai Yin
705452ac04 add ut 2017-03-29 23:12:17 +08:00
kunw
ed11d23e40 Lowercase language names. 2017-03-29 19:57:06 +08:00
kunw
04f1c8e625 Fix export function. 2017-03-29 19:18:17 +08:00
kunw
3fdb06377d Add styles.css 2017-03-29 19:04:56 +08:00
kunw
ae4fdff2c3 Merge remote-tracking branch 'upstream/dev' into dev-revised 2017-03-29 18:40:38 +08:00
kunw
0616bb3219 Updates for date time format by locale. 2017-03-29 18:40:18 +08:00
Steven Zou
fdb7f9fa4b fix issue #1809 2017-03-29 18:25:21 +08:00
Steven Zou
fe5de50566 Fix UI issues 2017-03-29 16:17:17 +08:00
Wenkai Yin
189536e354 fix sending email bug, fix #1834 2017-03-29 15:54:02 +08:00
Steven Zou
86c8cbf0cd fix issue 1823 2017-03-28 23:50:02 +08:00
Steven Zou
ffd3b73232 fix related issues 2017-03-28 23:16:31 +08:00
kunw
fb79b4d730 Merge latest update. 2017-03-28 19:02:15 +08:00
kunw
ec3ddd82fd Updates for showing image ID and router tags. 2017-03-28 18:55:31 +08:00
Steven Zou
cd33432264 fix issue 1795 2017-03-28 18:37:03 +08:00
Steven Zou
b3ef639caf control the button status based on app config 2017-03-28 15:18:51 +08:00
Steven Zou
41bb91f279 applied unique message handler and fix signin issue when code is 401 2017-03-28 14:47:21 +08:00
kunw
52d679e16d Updates for message handlers and i18n messages for replication and endpoints. 2017-03-28 01:22:12 +08:00
kun wang
b433b2d54f Merge pull request #1816 from steven-zou/dev
Add general message handler to handle the error messages as described in #1694
2017-03-27 18:57:43 +08:00
Daniel Jiang
f142778826 Merge pull request #1815 from reasonerjt/fix-1811
fixes 1811
2017-03-27 18:53:41 +08:00
Steven Zou
3c05a35303 fix issue #1694: add general message handler to handler the error and error messages 2017-03-27 18:39:53 +08:00
Steven Zou
df6e3c5d0a fix self deletion issue of #1766 2017-03-27 16:35:26 +08:00
Tan Jiang
9e0b16c492 fixes 1811 2017-03-27 16:34:24 +08:00
Daniel Jiang
8cfdd1f5cc Merge pull request #1780 from ywk253100/170322_refactor_adminserver_test
Refactor uts of adminserver
2017-03-27 16:23:03 +08:00
Steven Zou
5fb2605a45 support 'remember me' and root cert downloading 2017-03-27 15:58:00 +08:00
Steven Zou
5c4e17638f Merge pull request #1808 from vmware/fix/merge_latest_ui_code_to_dev
merge latest ui code to dev
2017-03-27 13:47:16 +08:00
Wenkai Yin
4cc2115a23 Merge pull request #1710 from ywk253100/170321_url
Refactor API URL.
2017-03-27 13:26:32 +08:00
Steven Zou
88783af851 merge latest ui code to dev 2017-03-27 12:51:23 +08:00
Tan Jiang
5e2598028f remove root.json after getting the targets 2017-03-25 17:00:26 +08:00
Steven Zou
28a513f900 Merge pull request #1791 from wknet123/dev-revised
Merge latest updates of UI.
2017-03-24 18:42:38 +08:00
Wenkai Yin
5c4808bf93 update frontend codes 2017-03-24 18:38:33 +08:00
Wenkai Yin
bf83ea2506 Merge pull request #1788 from ywk253100/170324_ping_ldap
Read password from config when calling ping ldap API if password is not provided
2017-03-24 18:34:04 +08:00
kunw
fb862e5cb8 Merge latest updates of UI. 2017-03-24 18:29:51 +08:00
Wenkai Yin
12847f90d1 if password is not provided read it from config when calling ping ldap API 2017-03-24 18:00:21 +08:00
Tan Jiang
aa25c20f44 only admin can access registry's catalog API 2017-03-24 15:29:53 +08:00
Wenkai Yin
d83554013b Merge remote-tracking branch 'upstream/dev' into 170321_url 2017-03-24 14:56:55 +08:00
Wenkai Yin
e77e2333ec refactor some uts of adminserver 2017-03-24 13:07:45 +08:00
kunw
9a4ba69026 Fix issues per testing and merge latest updates. 2017-03-24 01:04:42 +08:00
kunw
801a83ffd5 Add restriction for repositories and tags. 2017-03-23 15:48:45 +08:00
kunw
01d9930b5a Merge latest updates for UX refinements. 2017-03-23 15:36:41 +08:00
Wenkai Yin
9e12274309 Merge remote-tracking branch 'upstream/dev' into 170321_url
Conflicts:
	src/ui/router.go
2017-03-23 11:19:34 +08:00
kunw
9419b632f2 Merge latest UI codes. 2017-03-22 20:54:22 +08:00
Wenkai Yin
b461ba54a8 refactor api. 2017-03-22 14:30:49 +08:00
wy65701436
677359b606 remove file exist. 2017-03-21 22:20:44 -07:00
wy65701436
5a764d30ea remove file exist. 2017-03-21 22:07:12 -07:00
wy65701436
e667bd7a79 add version file 2017-03-21 18:39:09 -07:00
wy65701436
c5633f7ce8 add version support 2017-03-21 04:56:59 -07:00
Wenkai Yin
753a544294 fix merge issue 2017-03-21 16:29:51 +08:00
Wenkai Yin
383997f785 read capacity from adminserver 2017-03-21 16:28:24 +08:00
Daniel Jiang
e02dd11703 Merge pull request #1684 from ywk253100/170320_adminserver_client
Abstract adminserver client into a single package
2017-03-21 16:08:31 +08:00
Daniel Jiang
1320bc8685 Merge pull request #1698 from wknet123/dev-revised
Update latest changes of UI codes for dev branch.
2017-03-21 15:21:33 +08:00
kunw
084d6a2b91 Updates for new UI latest changes. 2017-03-21 14:20:32 +08:00
kunw
cef202cb54 Merge latest codes. 2017-03-21 12:09:27 +08:00
kunw
5c3fd9fc43 Merge latest updates. 2017-03-21 11:51:12 +08:00
Daniel Jiang
127bd09c59 Merge pull request #1676 from reasonerjt/deletion-control
DELETE /api/repository returns 412 if the tag is signed in notary
2017-03-21 10:55:45 +08:00
Wenkai Yin
67612aa2e3 abstract adminserver client into a single package 2017-03-21 01:00:26 +08:00
wy65701436
769ca125f9 rm js and mp files 2017-03-20 07:59:35 -07:00
Yan
038d7dd90c Dev new ui (#1)
* Updates for verfied tags deletion.

* Remove old UI.

* Move i18n folder.

* Updates for latest UI codes.

* make travis with latest dev code.

* update test code

* add cat log

* cat nginx

* cat nginx

* fix template error

* remove --with-notary

* remove controller test

* fix controller test bug

* modify controller test

* debug controller test

* update controller test

* update index title to harbor, discussed with Kun.

* Update package.json

* Merge latest UI changes.

* remove git
2017-03-20 18:51:20 +08:00
Tan Jiang
aa769dbfa8 fix warning message 2017-03-20 18:13:50 +08:00
Tan Jiang
5017199885 fix go vet issue 2017-03-20 17:46:57 +08:00
Tan Jiang
1b3043f901 DELETE /api/repository returns 412 if the tag is signed in notary 2017-03-20 17:33:08 +08:00
Steven Zou
a311ade53d update ui code for fixing bugs and upgrade Clarity version to 0.8.7 2017-03-20 16:33:14 +08:00
Daniel Jiang
29f3e609e7 Merge pull request #1667 from ywk253100/170317_mount_data
Mount directory data to adminserver phase 1
2017-03-20 14:45:52 +08:00
Wenkai Yin
a40994852f remove duplicate codes 2017-03-20 14:01:43 +08:00
Wenkai Yin
3a167ddfce mount data directory to adminserver 2017-03-20 13:41:02 +08:00
Daniel Jiang
eda9aa189e Merge pull request #1634 from reasonerjt/more-systeminfo
return ca root cert status in systeminfo
2017-03-20 10:41:24 +08:00
Yan
92d9f8516f Merge pull request #1626 from ywk253100/170315_registry_upgrade
Upgrade registry to 2.6.0
2017-03-17 18:25:22 +08:00
Tan Jiang
5e229f7d96 systeminfo returns flag for ca root 2017-03-17 14:06:33 +08:00
Wenkai Yin
20e764636b fix search bug 2017-03-16 16:26:04 +08:00
Wenkai Yin
9d8366d89e Merge remote-tracking branch 'upstream/dev' into 170315_ping_email
Conflicts:
	src/ui/api/harborapi_test.go
2017-03-16 15:54:15 +08:00
Wenkai Yin
ca15c0e093 update ut cases 2017-03-16 15:17:21 +08:00
Wenkai Yin
108aa21499 upgrade registry to 2.6.0 2017-03-16 13:44:16 +08:00
Wenkai Yin
b25f5f9692 ping email server API enhancement 2017-03-16 11:52:12 +08:00
Wenkai Yin
c3626edd42 reset config 2017-03-16 11:27:45 +08:00
Tan Jiang
e8af73aff6 fix notary test error 2017-03-15 19:50:37 +08:00
kunw
a80008d0f9 Remove old UI. 2017-03-15 17:27:10 +08:00
Steven Zou
f6b9427de5 fix dashboard route issue 2017-03-14 18:37:05 +08:00
Steven Zou
079cca5f91 merge latest ui code to fix block issues 2017-03-14 18:01:18 +08:00
kunw
959af275d8 Updates for verfied tags deletion. 2017-03-13 19:34:30 +08:00
kunw
e80840c2d3 Merge remote-tracking branch 'upstream/dev' into dev-revised 2017-03-13 18:23:09 +08:00
kunw
d700786878 Merge latest UI codes. 2017-03-13 18:20:45 +08:00
Daniel Jiang
58a05c0aaf Merge pull request #1563 from ywk253100/170310_top_repo
Refactor getting top repo API to return more info
2017-03-13 10:45:36 +08:00
Tan Jiang
ef906c96d0 provide systeminfo API for UI 2017-03-10 18:53:11 +08:00
Wenkai Yin
fea1ae4e26 refactor getting top repo API to return detail info 2017-03-10 15:23:22 +08:00
Wenkai Yin
39f786dbbc Merge pull request #1557 from ywk253100/170309_get_tag
Refactor getting tags API to return more info
2017-03-10 15:22:25 +08:00
Daniel Jiang
6eb2912aad Merge pull request #1554 from ywk253100/170309_bug_fix
bug fix in search API: do not return duplicate projects when user does not login
2017-03-09 20:20:19 +08:00
Wenkai Yin
d7b867ebcc bug fix in search API: do not return duplicate projects when user does not login 2017-03-09 17:34:34 +08:00
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
Tan Jiang
b01aace154 config refactory for common pkg 2016-11-15 18:37:36 +08:00
kunw
c1c5ba8157 Update for adding timestamp to JS file name to avoid browser cache. 2016-11-14 18:27:56 +08:00
Tan Jiang
49d07ff581 set path for language cookie 2016-11-14 13:59:23 +08:00
Daniel Jiang
32f8c92eb7 Merge pull request #1019 from rikatz/master
Improves namespace validation for Docker Notary integration
2016-11-10 08:27:14 +08:00
kunw
76958eaa96 Merge remote-tracking branch 'upstream/dev' into dev-volume-info 2016-11-09 16:57:27 +08:00
kunw
55b98f9abd Merge remote-tracking branch 'upstream/dev' into dev-volume-info 2016-11-09 14:53:26 +08:00
yhua123
0a4ecd765f Merge pull request #1043 from wknet123/dev-set-autocomplete-off
Set form autocomplete to off
LGTM
2016-11-09 14:45:43 +08:00
kun wang
126b7fae55 Merge pull request #1023 from fillet54/add-mail-identity-config
Make mail identity configurable
2016-11-09 14:35:09 +08:00
kunw
8dbc391790 Set form autocomplete to off 2016-11-09 12:28:57 +08:00
Ricardo Pchevuzinske Katz
7a1212db45 Corrected the registryURL var name 2016-11-08 21:52:22 -02:00
Ricardo Pchevuzinske Katz
804759cbdb Corrected the registryURL var name 2016-11-08 21:36:53 -02:00
Ricardo Pchevuzinske Katz
72b44a17c6 Improved Harbor URL detection on Notary Requests 2016-11-08 20:12:58 -02:00
kunw
d166b8117b Updates for refining some i18n messages. 2016-11-07 18:21:31 +08:00
yhua123
ddc9e4538b Merge pull request #999 from wknet123/dev-ux-refinements
Updates for refinements of UX.
2016-11-07 15:31:05 +08:00
Phillip Gomez
0dfce1d837 Make mail identity configurable
The identity field parameter passed to smtp.SendMail is now
configurable instead of being hardcoded to 'Mail Config'.

This fixes issue #900
2016-11-06 18:05:46 -08:00
Ricardo Pchevuzinske Katz
802fea6633 Fix the repoLenght variable verification 2016-11-05 01:04:52 -02:00
Ricardo Pchevuzinske Katz
dbcbe80084 Improve Project Name handling for Docker Notary requests 2016-11-05 00:57:57 -02:00
Daniel Jiang
ddd03c55d3 Merge pull request #976 from wknet123/dev-show-totals
Updates for displaying pagination total number.
2016-11-04 15:30:33 +08:00
kunw
0f553aa4e2 Updates for checking cookie status. 2016-11-02 18:30:08 +08:00
kunw
10f69d5250 Updates for refinements of UX. 2016-11-02 18:01:07 +08:00
kunw
98a7c4adf6 Changes for golint checkings. 2016-11-02 13:03:42 +08:00
kunw
560b41b5e6 Merge remote-tracking branch 'upstream/dev' into dev-volume-info 2016-11-02 12:46:57 +08:00
kunw
e6b5714f7d Undo changes for session.current-user.js file. 2016-11-02 12:26:24 +08:00
kunw
075c9e378d Change template file for multi-language settings. 2016-11-02 12:03:05 +08:00
kunw
8a7f80a2a7 Merge remote-tracking branch 'upstream/dev' into dev-language-cookies 2016-11-02 11:51:04 +08:00
kunw
4a81f7796b Fixes issues about setting cookies in multi-language. 2016-11-02 11:48:43 +08:00
Daniel Jiang
171b17b202 Merge pull request #971 from ywk253100/161028_fix_961
User can not be deleted in LDAP authentication mode.
2016-10-31 12:39:24 +08:00
Wenkai Yin
8fe0a333a8 user can not be deleted in LDAP authentication mode 2016-10-31 10:53:11 +08:00
Daniel Jiang
a05a9c1afd Merge pull request #982 from reasonerjt/dev
recognize vic in notification handler
2016-10-31 10:09:53 +08:00
Tan Jiang
0b86da91e9 recognize vic in notification handler 2016-10-30 19:58:27 +08:00
yhua123
43b10fb404 Merge pull request #972 from wemeya/role
modify user_test.go
2016-10-29 22:08:54 +08:00
kun wang
7a14e69ea0 Merge pull request #974 from wknet123/dev-admin-options
Updates for issues about account settings.
2016-10-28 04:55:55 -05:00
kunw
1d18f5d154 Updates for controller tests. 2016-10-28 17:30:00 +08:00
kunw
8c9435324d Updates for controller tests. 2016-10-28 17:14:09 +08:00
Daniel Jiang
c732b624e9 Merge pull request #970 from zgdxiaoxiao/api-test3
add test case of search api
2016-10-28 16:56:33 +08:00
kunw
08b4851fc8 Updates for controller test cases. 2016-10-28 16:50:40 +08:00
kunw
54696b1112 Updates for redirections when user is not an admin. 2016-10-28 16:12:51 +08:00
wemeya
23487bebba modify user_test.go 2016-10-28 15:31:54 +08:00
Wenkai Yin
5cf381fc43 Merge pull request #969 from wemeya/role
modify log_test.go
2016-10-28 15:05:12 +08:00
kunw
26b1df4bdb Merge branch 'dev' into dev-admin-options 2016-10-28 14:57:00 +08:00
Daniel Jiang
ce40b26ff2 Merge pull request #949 from wknet123/dev
Updates for link of logs on dashboard.
2016-10-28 14:41:36 +08:00
zgdxiaoxiao
9252dbe7a0 add test case of search api 2016-10-28 14:30:19 +08:00
kunw
5cefe5c91f Updates for handling errors of UI. 2016-10-28 14:07:33 +08:00
kunw
509c68a781 Updates for issues of account settings in LDAP. 2016-10-28 13:53:47 +08:00
wemeya
9d3d7e6502 modify log_test.go 2016-10-28 13:44:30 +08:00
Daniel Jiang
76abe30d4d Merge pull request #955 from ywk253100/161027_fix_895
Fix #895
2016-10-28 12:45:49 +08:00
Daniel Jiang
5a01a41121 Merge pull request #956 from ywk253100/161027_fix_883
Fix #883
2016-10-28 12:45:18 +08:00
kunw
61657600b3 Updates for displaying pagination total number. 2016-10-28 11:44:43 +08:00
Wenkai Yin
a7c84cc2c8 fix #895. 2016-10-27 17:23:47 +08:00
Wenkai Yin
ebc569fb93 fix #883 2016-10-27 14:24:10 +08:00
kunw
7ffd40ea57 Updates for link of logs on dashboard. 2016-10-26 16:09:19 +08:00
kun wang
0c955020e9 Merge pull request #940 from wknet123/dev-block-ldap
Updates for blocking account settings in LDAP auth mode.
2016-10-26 15:11:57 +08:00
kun wang
1857ff36dd Merge pull request #943 from wknet123/dev-refresh-tags
Updates for refreshing repos or tags when deleted.
2016-10-26 15:11:33 +08:00
Daniel Jiang
aea99d49b4 Merge pull request #942 from wknet123/dev-originary-user-show
Updates for hiding buttons against to user role.
2016-10-26 14:23:00 +08:00
Daniel Jiang
4272d2e26f Merge pull request #923 from caicloud/signed-manifest-support
Add prettyjws in pattern for signed manifest support
2016-10-26 14:19:28 +08:00
kunw
07b09a92b8 Updates for checking role id. 2016-10-26 12:40:10 +08:00
kunw
2fcd649e01 Merge remote-tracking branch 'upstream/dev' into dev-originary-user-show 2016-10-26 10:57:10 +08:00
kunw
0e870bf694 Updates for refreshing repo or tags when deleted. 2016-10-25 18:39:55 +08:00
wemeya
2924799f78 add project role for non-sysadmin user 2016-10-25 18:25:39 +08:00
kunw
bb0246910e Updates for hiding buttons against to user role. 2016-10-25 18:22:29 +08:00
kunw
45803b53e1 Updates for blocking account settings in LDAP auth mode. 2016-10-25 16:20:42 +08:00
kun wang
ce7b556e84 Merge pull request #930 from wknet123/dev-admin-options
Fixed toggling admin options.
2016-10-25 13:46:43 +08:00
kun wang
b39f3ec2fe Merge pull request #932 from wknet123/dev-user-redirection
Fixed redirection when deleted user.
2016-10-25 13:41:54 +08:00
kunw
070cc30c83 Updates for changing admin options. 2016-10-25 13:39:22 +08:00
kunw
5ba1cc1f44 Updates error log. 2016-10-25 13:31:10 +08:00
Daniel Jiang
7930ca8285 Merge pull request #929 from wknet123/dev-origin
Updates for email validations.
2016-10-25 13:26:58 +08:00
kunw
811401f40e Added volume info of UI. 2016-10-25 12:44:27 +08:00
kunw
debf482765 Fixed redirection when deleted user. 2016-10-25 11:55:27 +08:00
kunw
8f758120d9 Fixed toggling admin options. 2016-10-25 11:39:04 +08:00
kunw
dbe830395d Fixed log output. 2016-10-25 11:12:23 +08:00
kunw
0ba342ca96 updates for email validations. 2016-10-24 18:37:54 +08:00
Tan Jiang
64562b8f83 add test case to cover new password and old password are the same 2016-10-24 17:16:18 +08:00
Penghao Cen
9775de3d78 Add prettyjws in pattern for signed manifest support 2016-10-24 14:30:31 +08:00
Tan Jiang
b876ea360d update salt when updating password 2016-10-24 13:40:19 +08:00
Tan Jiang
e3e0074a7f API should not return the salt of a user 2016-10-24 10:46:12 +08:00
yhua
311cf8da07 change code 20161019 2016-10-21 18:39:10 +08:00