Commit graph

219 commits

Author SHA1 Message Date
alecmerdler
659417f7ef tests for AngularViewArray service 2017-01-07 00:28:02 -08:00
Joseph Schorr
ff52fde8a5 Have Quay always use an OAuth-specific CSRF token
This change ensures that we always store and then check the contents of the OAuth `state` argument against a session-stored CSRF token.

Fixes https://www.pivotaltracker.com/story/show/135803615
2016-12-08 16:11:57 -05:00
Charlton Austin
2c637fe5ce Merge pull request #2173 from charltonaustin/adding_in_build_cancel_notifications
Adding in cancel notifications
2016-11-30 15:03:17 -05:00
Charlton Austin
4103a0b75f Adding in cancel notifications 2016-11-30 14:38:34 -05:00
Joseph Schorr
03cf6d1499 Fix link in set password notification
Fixes #2164
2016-11-28 15:25:13 -05:00
Joseph Schorr
24f16fc0d2 Change header back to white and remove CoreOS product bar
As the product bar has been removed from the other CoreOS sites, change back to match
2016-11-21 15:50:11 -05:00
Charlton Austin
2fe74e4057 Adding in UI for cancel anytime. 2016-11-21 10:58:32 -05:00
Joseph Schorr
aa2704acc7 Add a test for operation name collisions and fix the one additional collision found 2016-11-10 15:38:27 -05:00
Joseph Schorr
932fa56227 Fix name collision between the two organization delete calls
Fixes #2104

The collision was causing the frontend to try to call the *superuser* method (in local, where superuser is enabled), but on prod (where it isn't), it was calling the normal method, which takes a different parameter name
2016-11-10 15:28:20 -05:00
Joseph Schorr
1e3b354201 Add support for temp usernames and an interstitial to confirm username
When a user now logs in for the first time for any external auth (LDAP, JWT, Keystone, Github, Google, Dex), they will be presented with a confirmation screen that affords them the opportunity to change their Quay-assigned username.

Addresses most of the user issues around #74
2016-11-03 15:59:14 -04:00
Joseph Schorr
a85126ea97 Prevent NPE in delete namespace
Fixes #2039
2016-10-31 12:17:50 -04:00
josephschorr
edc2bc8b93 Merge pull request #1698 from coreos-inc/delete-namespace
Add support for deleting namespaces (users, organizations)
2016-10-21 16:54:52 -04:00
Joseph Schorr
73eb66eac5 Add support for deleting namespaces (users, organizations)
Fixes #102
Fixes #105
2016-10-21 15:41:09 -04:00
Joseph Schorr
d2bc8722c9 Fix container service status check
It appears Chrome changed the status code returned when it cannot connect
2016-10-21 13:31:02 -04:00
Jake Moshenko
f04b018805 Write our users to Marketo as leads. 2016-10-14 16:29:11 -04:00
josephschorr
e313d59138 Merge pull request #1894 from coreos-inc/dockerfile-upload-bugs
Fix bugs around reading in datafiles and Dockerfiles
2016-09-29 22:47:06 +02:00
Joseph Schorr
7380cf0ce0 Show a throbber when the Angular view array still has hidden entries
This provides slightly better UI feedback to the user that more logs are incoming

Fixes #1881
2016-09-29 16:34:26 +02:00
Joseph Schorr
ba0ecf03dd Fix bugs around reading in datafiles and Dockerfiles
We now properly try to read archives in all three formats. If none are valid, the dataFileService.readDataArrayAsPossibleArchive fails (as it should), and then the Dockerfile service will try to read the file directly as a Dockerfile.

Fixes #1889
Fixes #1891
2016-09-29 11:36:57 +02:00
Lucas Serven
10a44a9224 frontend: fix gitlab icon spacing
fixes: #1888
2016-09-28 14:06:10 -07:00
Joseph Schorr
949dcb9d35 Add regex validating field 2016-09-15 13:25:57 -04:00
Joseph Schorr
9140b0e41d Add placeholder for regex field in create event control 2016-09-14 17:07:14 -04:00
Joseph Schorr
03d4445a02 Add notification filtering for builds based on ref regex
Fixes #1835
2016-09-14 16:48:17 -04:00
Joseph Schorr
0dce935c40 Move repo notification create to its own page
Also fixes a bug around Slack setup

Fixes #1834
2016-09-14 16:06:52 -04:00
Joseph Schorr
5e94f97a42 Fix tar-gz reading of Dockerfiles
- Fixes TAR to actually use data
- Fixes buffers for Gunzip to be a proper ArrayBufferView

Fixes #1832
2016-09-13 11:34:35 -04:00
josephschorr
cd8b45e25b Merge pull request #1754 from coreos-inc/team-add-perms
Better UI and permissions handling for robots and teams
2016-09-06 17:21:19 -04:00
josephschorr
3f459523c4 Merge pull request #1763 from coreos-inc/quay-title-seo
Change default title to include Container Registry and fix title usage
2016-08-29 11:29:26 -04:00
Joseph Schorr
608ffd9663 Basic labels support
Adds basic labels support to the registry code (V2), and the API. Note that this does not yet add any UI related support.
2016-08-26 15:24:26 -04:00
Joseph Schorr
4950776628 Change default title to include Container Registry and fix title usage
Goes towards fixing #1762
2016-08-25 14:57:48 -04:00
Joseph Schorr
391d70d9ec Add repo permissions dialog for existing teams and robots
Fixes #1686
2016-08-22 14:43:12 -04:00
Joseph Schorr
82753931f5 Remove old Olark code
Fixes #1696
2016-08-10 15:11:05 -04:00
Joseph Schorr
b7bde27b3c Fix display for builds which have fully expired
Fixes #1663
2016-08-04 11:13:32 -04:00
Joseph Schorr
c60f441d87 Fix enter key in password dialogs in Firefox
Fixes #1655
2016-07-27 13:12:37 -07:00
Joseph Schorr
dcebd61dde Add support for custom commit links in the build UI
Fixes #1251
2016-07-26 16:06:41 -07:00
Joseph Schorr
7ac37a3813 We cannot use customGET for resources, as it builds an invalid URL 2016-07-26 11:46:58 -07:00
Joseph Schorr
6432f28df7 Fix AsResource method loading 2016-07-26 11:21:02 -07:00
Joseph Schorr
1655e79a74 Fixes for fresh login check in API
- Fixes enter key causing two requests
- Makes sure fresh login is handled for resources as well

Fixes #1625
2016-07-25 15:29:55 -07:00
Jake Moshenko
af37f44c84 Collect billing address on credit card operations. 2016-07-08 13:00:01 -04:00
Joseph Schorr
4b3420eddf Change the encrypted password dialog to use the user's external username, if one exists.
Fixes #1538
2016-06-14 18:09:42 -04:00
Joseph Schorr
40ec2fcfd0 Fix enter key in password dialogs 2016-06-09 14:45:48 -04:00
Joseph Schorr
2ddede7857 Fix deletion of roles
This is currently broken in the UI
2016-05-24 11:44:59 -04:00
Joseph Schorr
35703e220f Fix timestamp 2016-05-17 17:15:11 -04:00
Joseph Schorr
4aab834156 Move to Angular 1.5
This has been reasonably well tested, but further testing should be done on staging.

Also optimizes avatar handling to use a constant size and not 404.

Fixes #1434
2016-05-17 16:32:08 -04:00
josephschorr
ee557c944a Merge pull request #1455 from coreos-inc/better-dialogs
Better dialogs
2016-05-16 18:27:03 -04:00
Joseph Schorr
4a543be7a7 New create entity dialogs (team and robot)
Fixes https://github.com/coreos-inc/design/issues/230
2016-05-16 17:30:00 -04:00
Joseph Schorr
486facedbe Add catches around calls to external services that might break login 2016-05-16 15:54:52 -04:00
Joseph Schorr
08d7b4babe New Credentials dialog
Fixes #279
2016-05-12 12:14:55 -04:00
Joseph Schorr
522cf68c5d Lots of smaller fixes:
- Add the rotation_duration to the keys API
- Have the key service UI use the new rotation_duration field
- Fix notification deletion lookup path
- Add proper support for the new notification in the UI
- Only delete expired keys after 7 days (configurable)
- Fix angular digest loop
- Fix unit tests
- Regenerate initdb
2016-04-29 14:05:16 -04:00
Joseph Schorr
11ff3e9b59 keys ui WIP 2016-04-29 14:05:16 -04:00
Joseph Schorr
fe735b8048 Implement new design for user and org settings
Fixes #1376
2016-04-27 18:17:46 -04:00
Joseph Schorr
da4c658bde Add support for shift key selection in checkable items
Fixes #1389
2016-04-20 15:25:20 -04:00
Joseph Schorr
74cbe2ebb1 Cleanup the convert user UI a bit 2016-04-15 15:13:22 -04:00
Evan Cordell
29eb0304e5 Merge pull request #1361 from ecordell/application-problem-json
Return application/problem+json format errors
2016-04-12 17:25:14 -04:00
Evan Cordell
7c361c07f9 Use ApiService to get error message 2016-04-11 17:31:30 -04:00
Evan Cordell
9c08717173 Return application/problem+json format errors and provide error endpoint
to dereference error codes.
2016-04-11 14:57:24 -04:00
Joseph Schorr
f97b8e2304 New login screen UI 2016-04-08 16:23:10 -04:00
Joseph Schorr
46b4ea8e3e Fix display of images in new sec scan API
Fixes #1297
2016-03-17 16:55:41 -04:00
Jimmy Zelinskie
48e0c44dbb vuln-service: use new clair namespace field name 2016-03-16 16:55:07 -04:00
Joseph Schorr
a941b26a2d Better handling of defcon1 2016-03-14 15:25:56 -04:00
Joseph Schorr
821b09daaf Update Quay Sec UI as per feedback from design team
Fixes #1281
2016-03-10 14:49:36 -05:00
Joseph Schorr
65037ac5e1 Fix handling of non-features from Clair and other small UI fixes 2016-03-04 18:07:44 -05:00
Joseph Schorr
58ccda6590 Small JS fixes 2016-02-25 17:09:29 -05:00
Joseph Schorr
ae9140caae Implement new vulnerabilities and packages tabs.
Fixes https://github.com/coreos-inc/design/issues/268
2016-02-25 17:09:29 -05:00
Joseph Schorr
9cb1366d36 Fix UI for dismissing notifications
Fixes #959
2015-12-22 07:38:57 -05:00
josephschorr
859537c4a1 Merge pull request #952 from coreos-inc/fixpagetitle
Fix page titles
2015-11-20 18:38:03 -05:00
Joseph Schorr
70b72818b7 Fix handling of plain Dockerfiles
Fixes #901
2015-11-20 18:09:25 -05:00
Joseph Schorr
fce37f545a Fix page titles
Fixes #949
2015-11-20 17:50:01 -05:00
Joseph Schorr
7816b0c657 Merge master into vulnerability-tool 2015-11-12 21:52:47 -05:00
Joseph Schorr
3b3f101ea6 Vulnerability UI part 2
Fixes #860
Fixes #855
2015-11-12 16:59:36 -05:00
Joseph Schorr
ca7d736db2 Only send vulnerability events if the minimum priority is gte to that specified
Fixes #770
2015-11-10 16:05:55 -05:00
josephschorr
a5f4cc19ed Merge pull request #789 from coreos-inc/dfsbug
Show an error if the gunzip returns an empty buffer
2015-11-09 14:42:35 -05:00
Joseph Schorr
0f3db709ea Add a vulnerability_found event for notice when we detect a vuln
Fixes #637

Note: This PR does *not* actually raise the event; it merely adds support for it
2015-11-06 15:22:18 -05:00
Joseph Schorr
4f41f79fa8 Never load the full repo image list
Always make smaller queries per tag to ensure we scale better

Fixes #754
2015-11-04 15:53:00 -05:00
Joseph Schorr
7d6b4b621f Show an error if the gunzip returns an empty buffer 2015-11-04 14:50:56 -05:00
Joseph Schorr
f6a53f7cc5 Change all Quay.io references to Quay, fix tour and change logo
Fixes #741
2015-11-02 14:37:48 -05:00
Joseph Schorr
1f90aa5b59 Fix repo count checker when the user service has not yet loaded
Fixes #521
2015-09-21 16:42:16 -04:00
Joseph Schorr
4829ec51ca Better UX for build logs when switching focus back to tab
Currently, build logs are not loaded when the tab is in the background. However, when switching back to the tab, there is no indication that logs have not loaded, and it can take up to the poll duration (5s) before we even start loading the logs. This change adds a message displayed for the user before the logs start to load to indicate they are being refreshed and also *immediately* starts the loading of the logs when the tab is made visible.

Fixes #501
2015-09-17 14:24:34 -04:00
Joseph Schorr
2739cf47ba Prevent change visibility of a repo in the UI when disallowed by billing plan
Fixes #486

- Extracts out the check plan logic and UI from the new repo page into its own directive (repo-count-checker)
- Adds the new directive to the repo settings panel
- Some additional UI improvements for the repo settings panel
2015-09-16 14:00:06 -04:00
Joseph Schorr
c0286d1ac3 Add support for Dex to Quay
Fixes #306

- Adds support for Dex as an OAuth external login provider
- Adds support for OIDC in general
- Extract out external logins on the JS side into a service
- Add a feature flag for disabling direct login
- Add support for directing to the single external login service
- Does *not* yet support the config in the superuser tool
2015-09-04 17:05:06 -04:00
Joseph Schorr
f6cca81178 Handle hostname changes in the config panel
Fixes #436
2015-09-02 17:21:38 -04:00
Joseph Schorr
b3fcd3f84e Better build dialog UX
We now automatically validate the chosen Dockerfile/archive, and automatically check to see if a robot is needed
2015-08-20 13:41:08 -04:00
Jake Moshenko
ec6bee35b6 Allow a stripe plan to be superseded
If a plan has a direct corrolary, show that one as the selected plan
instead of showing the plan as deprecated even though it has the same
details
2015-08-12 15:01:15 -04:00
Joseph Schorr
e53c3e23be Change docs to load from HTTPS 2015-08-05 14:34:11 -04:00
Jake Moshenko
65f982577d Merge pull request #289 from coreos-inc/swaggerfix
Fix swagger errors
2015-08-04 10:23:05 -04:00
Joseph Schorr
8a8955d234 Add documentation search to the main search bar 2015-08-03 17:15:53 -04:00
Jimmy Zelinskie
8e6a0fbbee Merge pull request #294 from coreos-inc/logsload
Switch to using an aggregated logs query and infinite scrolling
2015-08-03 14:52:04 -04:00
Joseph Schorr
5c1d195a19 Fix swagger errors
Fixes #287
2015-08-03 14:10:15 -04:00
Joseph Schorr
3d6c92901c Switch to using an aggregated logs query and infinite scrolling
This should allow users to work with large logs set.

Fixes #294
2015-07-31 16:38:02 -04:00
Joseph Schorr
4160b720f9 UI and API improvements for working with large repositories
- Change the tag check bar to only select the current page (by default), but allow for selecting ALL tags
- Limit the number of tags compared in the visualization view to 10
- Fix the multiselect dropdown to limit itself to 10 items selected
- Remove saving the selected tags in the URL, as it is too slow and overloads the URLs in Chrome when there are 1000+ tags selected
- Change the images API to not return locations: By skipping the extra join and looping, it made the /images API call 10x faster (in hand tests)

Fixes #292
Fixes #293
2015-07-31 16:31:29 -04:00
Jimmy Zelinskie
486ac45783 Merge pull request #226 from coreos-inc/robotadd
Feedback bar for showing response to user actions
2015-07-21 16:47:27 -07:00
Joseph Schorr
9453d67c32 Change default placement of form error popovers
Fixes #229
2015-07-14 13:35:10 +03:00
Joseph Schorr
d74da9a3db Update styling of feedback bar to use the alert styles and string builder 2015-07-14 12:22:18 +03:00
Joseph Schorr
fe7677f275 Small NPE Fix 2015-07-13 12:20:51 +03:00
Jake Moshenko
411ddceee0 Merge pull request #195 from coreos-inc/tidy
Delete all the old UI code and branches for new UI
2015-06-30 14:34:43 -04:00
Jimmy Zelinskie
7043ddc935 Merge pull request #187 from coreos-inc/adblock
Add messaging when archived build logs loads fail.
2015-06-29 13:34:42 -04:00
Jake Moshenko
6e6b3c675f Merge pull request #28 from coreos-inc/swagger2
Switch to Swagger v2
2015-06-29 12:18:10 -04:00
Joseph Schorr
ff3d8bb013 Delete the old UI! 2015-06-29 12:33:00 +03:00
Joseph Schorr
33039e9bc4 New layout cleanup: Remove second GH trigger path 2015-06-29 12:18:21 +03:00
Joseph Schorr
094c94c0fb Add messaging when archived build logs loads fail.
This code also checks for an ad blocker, and adjusts the message accordingly.

Fixes #184
2015-06-28 09:14:48 +03:00
Joseph Schorr
dde8d32984 Switch CheckStateController to not be O(n) for the isChecked call 2015-06-25 16:19:04 -04:00
Joseph Schorr
3fb2a33ee7 Fix the API service to use the new Swagger description form 2015-06-22 15:13:26 -04:00