Commit graph

8882 commits

Author SHA1 Message Date
Kenny Lee Sin Cheong
8b25d5b77b
Fix UI rendering issue when creating/deleting tags from the UI (#3269)
### Description of Changes

Tag operations in UI would not be rendered properly when using the paginated tags endpoint.
When a user would create/delete a tag from the repo-panel-tags, `digest` would be called. This caused the `$scope.repository.tags` to be removed.

To fix this:
* Bind the tags directly to the scope instead of the repository
* Change references to scope.repository.tags to use scope.repositoryTags

---
2018-10-23 13:26:40 -04:00
Kenny Lee Sin Cheong
bb01e08d44
Fix ipresolver test_thread_missing_file (#3268)
There is no guarantee that the assertion would happen AFTER "sleep" is
called.

Block the caller for an amount of time to give "update_ip_thread" time to call "sleep" and raise LoopInterruptionForTest exception to terminate the thread.
2018-10-15 17:18:11 -04:00
Kenny Lee Sin Cheong
fc67bbd0a6
IPResolver: fix unreachable code (#3267)
* Fix unreachable code

_get_aws_ip_ranges handles missing file exceptions and returns None,
so the excepttion handling block in the UpdateIPRange thread is never reached.

* Test for missing range file in resolver thread
2018-10-12 10:24:28 -04:00
Joseph Schorr
0f1d415c49
Merge pull request #3263 from quay/new-tier
Add new 2000 repo pricing tier
2018-10-02 22:44:29 -04:00
Joseph Schorr
ce19273c54
Merge pull request #3257 from quay/joseph.schorr/QUAY-1030/interfacing-part-9-2
Finish changing V1 to use new registry data model
2018-09-30 15:59:50 -04:00
Joseph Schorr
4520f9e842 Change V1 to use the manifest builder and new registry data model 2018-09-28 17:30:04 -04:00
Joseph Schorr
65d5be23c7 Implement a manifest builder, to allow for easier management of state around constructing manifests 2018-09-28 15:52:43 -04:00
Joseph Schorr
91afeefebe Add new 2000 repo pricing tier 2018-09-28 15:42:57 -04:00
Joseph Schorr
8b7254d377
Merge pull request #3260 from quay/delete-swift-empty-segments
Make sure empty segments in Swift are deleted on upload cancelation
2018-09-27 17:22:56 -04:00
Joseph Schorr
dd23718142
Merge pull request #3262 from quay/fix-trigger-sperc
Fix spec for test of manage trigger
2018-09-27 16:31:50 -04:00
Joseph Schorr
db8219185c Fix spec for test of manage trigger 2018-09-27 16:29:09 -04:00
Joseph Schorr
9cd17d78d2
Merge pull request #3261 from quay/joseph.schorr/QUAY-1096/github-org
Add clear instructions to the github trigger setup on how to authorize additional organizations
2018-09-27 16:14:14 -04:00
Joseph Schorr
1f8e0b72be Add clear instructions to the github trigger setup on how to authorize additional organizations
Until now, this has been quite hard for customers to find
2018-09-27 15:59:00 -04:00
Joseph Schorr
b1411d4d52 Make sure empty segments in Swift are deleted on upload cancelation 2018-09-27 15:12:04 -04:00
Joseph Schorr
b894d8e58c
Merge pull request #3203 from quay/joseph.schorr/QUAY-1029/backfill-tag-labels
Add a worker for backfilling labels on manifests that have already been backfilled
2018-09-26 16:17:13 -04:00
Joseph Schorr
aeceea0f97 Add a worker for backfilling labels on manifests that have already been backfilled 2018-09-26 14:55:14 -04:00
Joseph Schorr
01ee1e693c
Merge pull request #3259 from quay/client-v1-test
Turns out that box version 0.9.1 also needs the V1 SSL cert
2018-09-26 14:15:00 -04:00
Joseph Schorr
c76fc2935a Turns out that box version 0.9.1 also needs the V1 SSL cert 2018-09-26 13:27:49 -04:00
Joseph Schorr
1224930af8
Merge pull request #3258 from quay/more-client-tests
Add additional versions of Docker against which we can test
2018-09-26 12:50:28 -04:00
Joseph Schorr
e70abfa09e Add additional versions of Docker against which we can test 2018-09-25 18:21:39 -04:00
Joseph Schorr
ccb1670d78
Merge pull request #3256 from quay/docker-client-tester
Add an end-to-end test suite for different versions of Docker
2018-09-25 16:55:06 -04:00
Joseph Schorr
7f1835c978 Add an end-to-end test suite for different versions of Docker
This script, when run, will boot up a Container Linux VM (via vagrant) with a specific version of Docker installed, and then run a login, push and pull test against the host machine's Quay instance.
2018-09-25 14:33:30 -04:00
Joseph Schorr
468e5a8fc2
Merge pull request #3250 from quay/joseph.schorr/QUAY-1030/interfacing-part-9
Implement blob uploader and change V1 to use it
2018-09-24 16:03:41 -04:00
Joseph Schorr
5422386de4 Make absolutely sure we have foreign keys enabled on all tests 2018-09-24 12:54:56 -04:00
Joseph Schorr
3dc9ddc6b3 Add an additional multilayer push/pull test 2018-09-24 12:54:56 -04:00
Joseph Schorr
7567808a10 Fix bug in V1 delete tag code and add a test 2018-09-24 12:54:56 -04:00
Joseph Schorr
077c3908e4 Change V1 upload code to use the new blob uploader 2018-09-24 12:54:56 -04:00
Joseph Schorr
ba39737c3a Add blob uploader helper class, for easy management of all the state associated with uploading blobs 2018-09-24 12:54:56 -04:00
Joseph Schorr
c10e3bf973
Merge pull request #3255 from quay/joseph.schorr/QUAY-1087/allow-basic-auth-on-secscan
Allow use of basic auth for security scan endpoints
2018-09-21 15:06:26 -04:00
Joseph Schorr
a38edea11b Allow use of basic auth for security scan endpoints
This will allow the security labeler to send a pull secret to retrieve security information for a manifest

Fixes https://jira.coreos.com/browse/QUAY-1087
2018-09-21 13:54:33 -04:00
Joseph Schorr
f9da0caaa4
Merge pull request #3254 from quay/joseph.schorr/QUAY-1069/robot-creds
Set maximum width on display of robot names
2018-09-20 16:55:09 -04:00
Joseph Schorr
a1b9c1086d
Merge pull request #3253 from quay/joseph.schorr/QUAY-981/logs-markdown
Only markdown strings in builder service when explicitly whitelisted
2018-09-20 15:27:14 -04:00
Joseph Schorr
8404d25fd4 Set maximum width on display of robot names
Fixes https://jira.coreos.com/browse/QUAY-1069
2018-09-20 13:59:03 -04:00
Joseph Schorr
430f91b868
Merge pull request #3252 from quay/joseph.schorr/QUAY-1004/fix-clipboard-copy
Fix clipboard copy box to not cause reflow
2018-09-20 11:40:19 -04:00
Joseph Schorr
bfd873c8e4 Only markdown strings in builder service when explicitly whitelisted 2018-09-20 11:35:31 -04:00
Joseph Schorr
5cde147426 Fix clipboard copy box to not cause reflow
Instead, we now put the "Copied" message inline in the box and have it both fade and slide rightward away
2018-09-18 14:17:33 -04:00
Joseph Schorr
5d2fe535b4 Add ability to commit blob uploads into blobs 2018-09-14 17:15:25 -04:00
Joseph Schorr
f68fbb8028 Add blob upload to new registry data model 2018-09-14 17:15:25 -04:00
Joseph Schorr
1bbe41bb36 Add blob support to get_legacy_image 2018-09-14 17:15:24 -04:00
Kenny Lee Sin Cheong
8e643ce5d9
Repository endpoint tags pagination (#3238)
* endpoint/api/repository: limit the number of tags returned

- Limit the number of tags returned by /api/v1/repository/<ns:repo> to 500.
- Uses the tag history endpoint instead, with an active tag filte.
- Update UI to use tag history endpoint instead.
2018-09-14 15:30:54 -04:00
Joseph Schorr
6d5489b254
Merge pull request #3249 from quay/fix-aci
Fix ACI conversion and add a registry test for it
2018-09-13 15:30:34 -04:00
Joseph Schorr
3bd1b21ca9 Fix ACI conversion and add a registry test for it 2018-09-13 14:12:23 -04:00
Joseph Schorr
a4f1475de4
Merge pull request #3234 from quay/joseph.schorr/QUAY-1030/interfacing-part-8
Change verbs endpoint to use the new registry data model interface
2018-09-13 12:50:02 -04:00
Joseph Schorr
94253787c1
Merge pull request #3248 from quay/joseph.schorr/QUAY-1023/fix-test-notification
Fix test notification data for repo_pull to match actual data
2018-09-12 22:15:21 -04:00
Joseph Schorr
10b14866f5 Fix test notification data for repo_pull to match actual data
Fixes https://jira.coreos.com/browse/QUAY-1023
2018-09-12 17:31:07 -04:00
Joseph Schorr
54aca8206b
Merge pull request #3246 from quay/joseph.schorr/QUAY-1079/oidc-improvements
OIDC improvements
2018-09-12 16:17:51 -04:00
Joseph Schorr
7424a6d73a Add additional multi-layer complex squashing test 2018-09-12 15:26:57 -04:00
Jimmy Zelinskie
867e809ddc
Merge pull request #3247 from jzelinskie/fix
endpoints/api: fix docs on dates for logs API
2018-09-12 13:09:41 -04:00
Jimmy Zelinskie
2da80aa1a0 endpoints/api: fix docs on dates for logs API
The code actually adds the timezone, so previously this was very
confusing telling the user that they needed to provide the timezone.
2018-09-12 13:06:42 -04:00
Joseph Schorr
90c0e34945 Add ability to configure custom email and username claims
This will help customers support active directory-based OIDC
2018-09-12 11:14:23 -04:00