Commit graph

1689 commits

Author SHA1 Message Date
Sida Chen
fbf5134b2e updated according to comment 2018-07-31 17:10:50 -04:00
Sida Chen
bf4cef4870 Removes HTML tags shown in Browser Notification
Fixes https://jira.coreos.com/browse/QUAY-956
2018-07-31 11:48:14 -04:00
Sam Chow
8c37eb50ea Change wording on error when no config volume 2018-07-05 17:12:07 -04:00
Brad Ison
73cb7f3228
endpoints/api: Allow null fields in user metadata
The user metadata fields are nullable in the database, but were not in
the json sechema.  This prevented users from updating some of their
information on the site if they hadn't set the metadata fields.
2018-06-27 15:34:55 -04:00
Joseph Schorr
02db044e0e Fix display of brackets in the labels view
Fixes https://jira.coreos.com/browse/QUAY-983
2018-06-14 11:44:20 -04:00
Joseph Schorr
63ed683dfa Small fixes for GitLab trigger handler, since the GitLab API is returning the wrong ID for the user's namespace
Also has a small UI improvement
2018-06-13 15:12:05 -04:00
Joseph Schorr
1be22a9a56
Merge pull request #3110 from quay/joseph.schorr/QUAY-966/gitlab-v4
Reimplement GitLab trigger handler using the V4 API library
2018-06-12 17:03:31 -04:00
Joseph Schorr
bf966545ba Reimplement GitLab trigger handler using the V4 API library
GitLab has deprecated and removed the V3 API entirely

Fixes https://jira.coreos.com/browse/QUAY-966
2018-06-12 15:01:37 -04:00
Joseph Schorr
805705cc40 Fix positioning of Dockerfile command view 2018-06-06 12:15:17 -04:00
Joseph Schorr
d6fd2fcb8f Fix config setup tool contact field to allow removal of empty non-URL fields
We just need to clear the binding when the value entered is completely empty

Fixes https://jira.coreos.com/browse/QUAY-815
2018-06-01 13:50:39 -04:00
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
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
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
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
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
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
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
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
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
Sam Chow
3a25a7c9e6 remove useless props in button 2018-05-08 10:39:10 -04:00
Sam Chow
7b28f745f7 Update naming of optional parameter 2018-05-07 12:47:29 -04:00
Sam Chow
84ad1d83e1 Add support for Enterprise logos in notifications 2018-05-07 11:11:33 -04:00
Sam Chow
6fe579119b Use cookie service and small cleanup for pr 2018-05-04 17:15:00 -04:00
Sam Chow
2d3583fb44 Add button to enable desktop notifications 2018-05-04 16:24:56 -04:00
Sam Chow
b5db46ad06 Default to the first credential tab if no cookie
Also removes the credential dialog id, to ensure persistence across
sessions
2018-04-26 13:24:53 -04:00
Sam Chow
1afedafcbb Configurable options for search, info when at max
includes the options for  maximum search results per page, and the
maximum number of pages available before help text is shown, and
the next page button is disabled
2018-04-25 11:12:09 -04:00
Joseph Schorr
111ba8f7ee Changes missing from the license removal code 2018-03-27 16:18:56 -04:00
josephschorr
6c43b7ff0d
Merge pull request #3024 from coreos-inc/manageable-robots
Manageable robots epic
2018-03-21 18:50:17 -04:00
Joseph Schorr
2ea13e86a0 Add last_accessed information to User and expose for robot accounts
Fixes https://jira.coreos.com/browse/QUAY-848
2018-03-21 15:28:34 -04:00
Joseph Schorr
3586955669 Remove license code in Quay
No longer needed under Red Hat rules \o/

Fixes https://jira.coreos.com/browse/QUAY-883
2018-03-20 17:03:35 -04:00
josephschorr
6212e552eb
Merge pull request #3026 from coreos-inc/joseph.schorr/QUAY-840/markdown-error-fix
Fix bug in the markdown viewer
2018-03-16 12:34:38 -04:00
Joseph Schorr
3ebcc07fec Fix bug in the markdown viewer
Fixes https://jira.coreos.com/browse/QUAY-840
2018-03-16 12:28:32 -04:00
Brad Ison
452379c603
Add collaborators view to teams manager
Adds a view of an organization's outside collaborators to the team
manager interface.
2018-03-15 15:26:37 -04:00
Joseph Schorr
96fafcdffb Add UI for viewing and setting the description of a robot account 2018-03-12 20:32:05 -04:00
Joseph Schorr
a693771345 Add creation date information to robots API and UI
Fixes https://jira.coreos.com/browse/QUAY-846
2018-03-09 13:55:19 -05:00
Joseph Schorr
c35eec0615 Add ability for triggers to be disabled
Will be used in the followup commit to automatically disable broken triggers
2018-03-01 16:49:28 -05:00
Joseph Schorr
8bc55a5676 Make namespace deletion asynchronous
Instead of deleting a namespace synchronously as before, we now mark the namespace for deletion, disable it, and rename it. A worker then comes along and deletes the namespace in the background. This results in a *significantly* better user experience, as the namespace deletion operation now "completes" in under a second, where before it could take 10s of minutes at the worse.

Fixes https://jira.coreos.com/browse/QUAY-838
2018-02-27 13:12:51 -05:00
Joseph Schorr
e857c676db Have cor-checkable-menus reflect the filtered set of items
Fixes https://jira.coreos.com/browse/QUAY-837
2018-02-21 16:38:21 -05:00
Joseph Schorr
188ea98441 Add new decorator to prevent reflected text attacks
Instead of disabling repo names with periods in them, we simply disallow calls to the API when they are GET requests, whose path ends in a dot, and that do not have a referrer from the frontend.
2018-02-20 11:33:45 -05:00
Joseph Schorr
72ca758c88 Add messaging when trying to create a team that already exists
Fixes https://jira.coreos.com/browse/QUAY-827
2018-02-15 16:03:09 -05:00
Joseph Schorr
de47b13c24 Add superuser config for Azure blob storage 2018-02-06 13:48:40 -05:00
josephschorr
6514bf229f
Merge pull request #2973 from coreos-inc/joseph.schorr/QS-116/cloudfront-storage
Add support for configuring cloudfront storage
2018-02-02 10:14:28 -05:00
Joseph Schorr
1b707660de Hide build-related UI elements when builds are disabled
Fixes https://jira.coreos.com/browse/QUAY-807
2018-01-31 18:09:38 -05:00
Joseph Schorr
b0f656731c Add support for configuring CloudFront storage engine
Fixes https://jira.coreos.com/browse/QS-116
2018-01-31 11:22:14 -05:00
Joseph Schorr
8714ad6fe3 Fix NPE when app specific tokens are not enabled 2018-01-26 13:18:32 -05:00
Joseph Schorr
f726e8c972 Fix typo in expiration status view
Fixes https://jira.coreos.com/browse/QS-119
2018-01-11 17:29:48 -05:00
Joseph Schorr
888b564a9b Add a banner to the Quay UI when an app specific token is about to expire 2018-01-04 15:27:42 -05:00