Commit graph

8674 commits

Author SHA1 Message Date
Joseph Schorr
b106a31b05 Improvements for the image tracks in the tags view
1) Change to show solid dots (instead of open ones) if we are collapsing into a single track due to track count being > 5
2) Add a hover tooltip on track dots to show the tags associated with that image
3) Change the tag selection menu to only show images that are visible currently
4) Refactor the tracks code to massively reduce the amount of ng-repeats thus making the loading much faster when there are many, many tags

Fixes https://jira.coreos.com/browse/QUAY-949
2018-05-23 16:14:27 -04:00
Joseph Schorr
52a53f5ce2 Update angularstrap lib 2018-05-23 16:12:41 -04:00
Sam Chow
dff05f38c1
Merge pull request #3090 from quay/styling-digest
Add confirmation modal to desktop notifications toggle & change styling for button
2018-05-23 11:36:02 -04:00
Sam Chow
0cddf98b1f Change styling and add digest cycle to notifications req button
Added confirmation modals to enable/disable notifactions
2018-05-23 11:35:22 -04:00
Joseph Schorr
c7ac0aa64b
Merge pull request #3091 from quay/joseph.schorr/QUAY-869/repo-disable
Prevent registry operations against disabled namespaces
2018-05-22 20:45:33 -04:00
Joseph Schorr
f86c087b3b Prevent registry operations against disabled namespaces
Allows admins to completely wall off a namespace by disabling it

Fixes https://jira.coreos.com/browse/QUAY-869
2018-05-22 18:36:04 -04:00
Joseph Schorr
6ffafe44d3
Merge pull request #3059 from quay/joseph.schorr/QUAY-906/reg-tests
Move registry integration tests to py.test
2018-05-22 17:09:11 -04:00
Joseph Schorr
5509dd350c Switch to use the new registry tests suite 2018-05-22 17:06:41 -04:00
Joseph Schorr
a875eac350
Merge pull request #3089 from quay/joseph.schorr/QUAY-910/team-sync-disabled
Allow team syncing if user creation is disabled
2018-05-22 15:24:47 -04:00
Joseph Schorr
861e81cccd Allow team syncing if user creation is disabled
Before this change, if user creation was disabled, team sync would fail to sync over users that had not yet been invited/logged in, because their accounts could not be created. Following this change, team syncing of users not yet in the system will create those user accounts, allowing users to be "auto invited" via team sync.

Fixes https://jira.coreos.com/browse/QUAY-910
2018-05-22 14:09:40 -04:00
Joseph Schorr
2e403633b0
Merge pull request #3088 from quay/joseph.schorr/QUAY-940/url-join-libn
Change to using a lib to build URLs
2018-05-22 14:05:21 -04:00
josephschorr
0c1b13828f
Merge pull request #3043 from quay/joseph.schorr/QUAY-897/manifest-focus
Change from image view UI to manifest view UI
2018-05-22 13:23:55 -04:00
Joseph Schorr
fc6eb71ab1 Switch from an image view UI to a manifest view UI
We no longer allow viewing individual images, but instead only manifests. This will help with the transition to Clair V3 (which is manifest based) and, eventually, the the new data model (which will also be manifest based)
2018-05-22 13:11:04 -04:00
Joseph Schorr
d41dcaae23 Rename image-link into manifest-link, and change to typescript, in prep for the UI changes to link to manifests 2018-05-22 13:11:04 -04:00
Joseph Schorr
648590c356 Change from manual URL construction to using a lib
Makes the code cleaner to read and more resilient to changes

Fixes https://jira.coreos.com/browse/QUAY-940
2018-05-22 13:10:09 -04:00
Joseph Schorr
e33760fcd2 Removed unused code 2018-05-22 13:10:09 -04:00
josephschorr
58c2ddac98
Merge pull request #3087 from quay/joseph.schorr/QUAY-943/temp-logs-migrate
Temporarily change to storing logs in a new LogEntry2 table
2018-05-18 20:35:25 -04:00
Joseph Schorr
a007332d4c Temporarily change to storing logs in a new LogEntry2 table
This will prevent us from running out of auto-incrementing ID values until such time as we can upgrade to peewee 3 and change the field type to a BigInt

Fixes https://jira.coreos.com/browse/QUAY-943
2018-05-18 20:15:16 -04:00
josephschorr
2e1a3c7184
Merge pull request #3086 from quay/joseph.schorr/QUAY-942/swift-delete-fix
Have Swift storage delete segments when deleting dynamic large objects
2018-05-17 22:08:48 -04:00
Joseph Schorr
57523d22de Have Swift storage delete segments when deleting dynamic large objects
This ensures that we reclaim the space, rather than simply deleting the manifest

Fixes https://jira.coreos.com/browse/QUAY-942
2018-05-16 16:01:49 -04:00
josephschorr
66b4e45929
Merge pull request #3085 from quay/2.9.2-release
CHANGELOG for v2.9.2
2018-05-16 11:03:18 -04:00
Joseph Schorr
e66a3a98c4 CHANGELOG for v2.9.2 2018-05-16 10:36:30 -04:00
josephschorr
42d749a634
Merge pull request #3084 from quay/fix-authorize-url
Fix authorize URL for Gitlab OAuth
2018-05-15 18:31:48 -04:00
Joseph Schorr
421f59e1ff Fix authorize URL for Gitlab OAuth
We now add the ? on the server side, so it should be removed on the client side
2018-05-15 18:18:48 -04:00
josephschorr
fda8d65942
Merge pull request #3083 from quay/notification-robots
Notifications can target robots, but the model did not reflect that
2018-05-15 16:22:02 -04:00
Joseph Schorr
f5fafc480f Notifications can target robots, but the model did not reflect that
This fixes a breakage when deleting robots that have notifications targeting them.
2018-05-15 16:19:46 -04:00
josephschorr
93165a7273
Merge pull request #3081 from quay/fix-oidc-redirect
Fix bug with missing & in authorization URL for OIDC
2018-05-15 16:08:50 -04:00
josephschorr
0c3b6d5b1a
Merge pull request #3082 from quay/migrate-logs-caching
Add some additional caching and logs to the robot cleanup migration
2018-05-15 15:35:59 -04:00
Joseph Schorr
ad1da86986 Add some additional caching and logs to the robot cleanup migration 2018-05-15 15:34:54 -04:00
Joseph Schorr
22a39c3007 Fix bug with missing & in authorization URL for OIDC
Also adds testing to ensure we don't break this again
2018-05-15 14:52:00 -04:00
josephschorr
58612955d6
Merge pull request #3079 from quay/joseph.schorr/QUAY-927/robots-limit
Limit robots displayed in entity search
2018-05-15 13:59:48 -04:00
josephschorr
6780a1f06b
Merge pull request #3077 from quay/joseph.schorr/QUAY-931/log-slowdown
Logs slowdown fixes
2018-05-15 13:28:05 -04:00
Joseph Schorr
5c50161d85 Limit robots displayed in entity search
Before, we'd load *all* the robots, which can be a huge issue in namespaces with a large number of robots. Now, we only load the top-20 robots (as per recency in login), and we also limit the information returned to the entity search to save some bandwidth.

Fixes https://jira.coreos.com/browse/QUAY-927
2018-05-15 11:00:57 -04:00
josephschorr
4c0ab81ac8
Merge pull request #3080 from quay/joseph.schorr/QUAY-936/delete-async-ui
Filter out deleted users and organizations from the superuser list
2018-05-15 10:58:45 -04:00
Joseph Schorr
b98c65b3a3 Filter out deleted users and organizations from the superuser list
Superusers were getting confused because the users/orgs were being disabled and renamed, but still appeared in the list until they were GCed by the background worker. Now we just hide them.

Fixes https://jira.coreos.com/browse/QUAY-936
2018-05-15 10:42:41 -04:00
josephschorr
7878435805
Merge pull request #3078 from quay/joseph.schorr/QUAY-855/trigger-history
Fix display of triggered builds if their trigger has been deleted
2018-05-14 15:40:08 -04:00
Joseph Schorr
99c986df6c Fix display of triggered builds if their trigger has been deleted
Before this change, if a build was triggered by a build trigger that was subsequently deleted, we'd display "Manually triggered" for the build in the UI, even though we have sufficient metadata to show *nearly the same* normal build information. After this change, if we have said trigger metadata, we still display as much as we can.

Fixes https://jira.coreos.com/browse/QUAY-855
2018-05-14 15:30:52 -04:00
Joseph Schorr
e3248bde47 Small fixes to make loading of logs faster
Removes filtering of log types where not necessary, removes filtering based on namespace when filtering based on repository (superfluous check that was causing issues in MySQL preventing the use of the correct index) and fix some other small issues around the API

Fixes https://jira.coreos.com/browse/QUAY-931
2018-05-14 11:41:49 -04:00
Joseph Schorr
29058201e5 Fix bug in modelutil pagination that caused us to load far more results than necessary
Also adds tests for the modelutil pagination
2018-05-14 11:40:31 -04:00
josephschorr
e5b86d4763
Merge pull request #3076 from quay/joseph.schorr/QUAY-937/star-search
Fix MySQL bug in full text search
2018-05-14 10:10:54 -04:00
Joseph Schorr
49699fe251 Fix MySQL bug in full text search
Fixes https://jira.coreos.com/browse/QUAY-937
2018-05-14 08:41:40 -04:00
josephschorr
7345ff855c
Merge pull request #3071 from quay/joseph.schorr/QUAY-932/namespace-robot-deletion
Fix issue where we didn't delete robots immediately under a namespace
2018-05-11 00:27:17 +03:00
josephschorr
44db41d66e
Merge pull request #3074 from quay/cert-upload-fix
Further fixes to the Kubernetes config provider, and a new set of proper unit tests
2018-05-11 00:26:11 +03:00
josephschorr
5cccd45cd7
Merge pull request #3073 from quay/joseph.schorr/QUAY-935/robot-create-bug
Fix error displayed if a description was not entered for creating a robot
2018-05-10 18:06:08 +03:00
Joseph Schorr
2ae69dc651 Further fixes to the Kubernetes config provider, and a new set of proper unit tests 2018-05-10 16:44:18 +03:00
Joseph Schorr
e7ee235b31 Fix error displayed if a description was not entered for creating a robot
We were sending a `null` description, which the schema does not allow

Fixes https://jira.coreos.com/browse/QUAY-935
2018-05-10 12:42:33 +03:00
josephschorr
babb7bb803
Merge pull request #3072 from quay/joseph.schorr/QUAY-933/dockerfile-path
Fix lookup of Dockerfile in archives
2018-05-09 21:04:53 +03:00
Joseph Schorr
134433c715 Fix lookup of Dockerfile in archives
Fixes https://jira.coreos.com/browse/QUAY-933
2018-05-09 21:04:37 +03:00
Joseph Schorr
f06eec8a35 Fix issue where we didn't delete robots immediately under a namespace
This could result in "hanging" robot accounts, although that would only leak the names of said accounts. Now we delete them immediately AND we proactively delete them before replacing the namespace (just to be sure)
2018-05-09 17:53:30 +03:00
Sam Chow
bd1f3e6bb8
Merge pull request #3068 from quay/browser-notifications
Browser notifications setting
2018-05-08 14:49:28 -04:00