Commit graph

1726 commits

Author SHA1 Message Date
Sida Chen
9afdf3c299 Fix XSS injection when changing service key friendly name 2019-03-12 18:24:44 -04:00
Tom McKay
674e471973 1166 - 'Quay Enterprise' to 'Red Hat Quay' 2019-02-25 18:27:11 -05:00
Joseph Schorr
7b733a75cc Remove dex from the CLI username whitelist
Dex isn't an internal auth service (one that replaces the database), but an *external* one (one that supplements the internal auth). Therefore, it should not be included in this list.

Fixes https://jira.coreos.com/browse/QUAY-1333
2019-02-15 15:37:15 -05:00
Joseph Schorr
c0e6660ac9 Switch loading of the manifest contents to be lazy
We don't need the manifest returned by the tags API except for manifest lists, so just load it lazily
2019-01-22 16:50:42 -05:00
Joseph Schorr
e5f57b9d98 Fix the links in manifest security view 2019-01-14 15:08:18 -05:00
Kenny Lee Sin Cheong
df639750f1
Fix tag reversion UI (#3295)
* Remove unused check

The tags returned from the tag history endpoint did not have
an image_id field until https://github.com/quay/quay/pull/3238 (tags pagination), so the
condition was never met. After #3238, the tags returned from the tag
history endpoints have an image_id field, which is equal to its
docker_image_id field, to allow the same behavior from consumers
getting tags from the repository endpoint (e.g repo-view).

* watch repositoryTags instead of repository in repo-tag-history
2019-01-14 14:40:09 -05:00
Joseph Schorr
204eb74c4f Put aggregated log query and log exports behind feature flags 2019-01-02 16:04:15 -05:00
Joseph Schorr
8a212728a3 Implement a worker for batch exporting of usage logs
This will allow customers to request their usage logs for a repository or an entire namespace, and we can export the logs in a manner that doesn't absolutely destroy the database, with every step along the way timed.
2018-12-18 15:33:03 -05:00
Joseph Schorr
b8d2e1be9c Remove infinite scroll from logs page and fix multiple loading bug
This should make viewing logs significantly less janky
2018-12-18 15:21:26 -05:00
Joseph Schorr
b4ee3578d7 Fix the image track offsets in the repo tags UI
We were missing the `Features` injected into the scope, so the calculation was already returning false
2018-12-12 11:48:33 -05:00
Joseph Schorr
4106f5ce51 Fix manifest UI page to properly show the layers of manifests and show manifest lists 2018-12-10 15:33:59 -05:00
Joseph Schorr
68bcacda25 Fix TS error in manifest security view 2018-12-04 13:18:55 -05:00
Joseph Schorr
001768c043 Make security status for manifests without legacy images more clear in the UI 2018-11-20 16:37:15 +02:00
Joseph Schorr
1e4e424d64 Fix add tag operation in UI on manifests without legacy images 2018-11-20 16:37:15 +02:00
Joseph Schorr
1eaf5b18dd Adjustments based on code review feedback 2018-11-15 13:51:48 +02:00
Joseph Schorr
c46b11bac1 Implement UI support for manifest lists 2018-11-14 18:40:57 +02:00
Kenny Lee Sin Cheong
8805d64eca Build phase message: add missing case 2018-11-01 11:22:59 -04:00
Kenny Lee Sin Cheong
436e8cb760
Merge pull request #3275 from kleesc/fix-tag-ui-function-name
Fix tag ui function name
2018-10-30 14:07:55 -04:00
Sida Chen
1dcc5d9d64 Add dependent packages in about page
Content of bill-of-materials.json is added to about page as a table.

Fixes https://jira.coreos.com/browse/QUAY-1170
2018-10-30 09:53:03 -04:00
Kenny Lee Sin Cheong
e61551d6b9 Show loader when tags are loading instead of empty msg 2018-10-29 19:25:19 -04:00
Kenny Lee Sin Cheong
1cda2e1a62 Fix undefined function name 2018-10-29 19:25:19 -04:00
Kenny Lee Sin Cheong
60048f6da1
Force reload on any change to repositoryTags (#3273) 2018-10-24 13:28:55 -04:00
Sida Chen
14e14eb359
Merge pull request #3271 from KeyboardNerd/bug/null-path
Fix null path exception when checking path
2018-10-23 16:39:50 -04:00
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
Sida Chen
d0d44605a9 Fix null path exception when checking path
tsc compiles default parameter to have `path === void 0`, which doesn't
catch the case of path is null.
2018-10-22 23:50:40 -04:00
Joseph Schorr
db8219185c Fix spec for test of manage trigger 2018-09-27 16:29:09 -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
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
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
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
Sam Chow
dbce986af6 Setup reroutes when complete, fix gunicorn check 2018-08-31 15:17:48 -04:00
Joseph Schorr
f2050bfbe7
Merge pull request #3227 from wgordon17/update-enterprise-trial
Update Quay enterprise trial page
2018-08-28 13:17:52 -04:00
Will Gordon
7cfc7e2a70 Update Quay enterprise trial page
Signed-off-by: Will Gordon <wgordon@redhat.com>
2018-08-27 15:40:49 -04:00
Sam Chow
cd6b0a6f46 Merge branch 'master' into delete-setup-page 2018-08-23 12:46:08 -04:00
Sam Chow
d44aa8f566 Add error message to app if secret missing in quay 2018-08-20 17:14:52 -04:00
Sam Chow
6afc00bf77 Remove old setup page from main app
Change page for incomplete setup

Remove old endpoints not in use
2018-08-20 10:30:21 -04:00
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