Commit graph

1165 commits

Author SHA1 Message Date
Joseph Schorr
37a1b01d77 Fix date display in Firefox
Fixes #934
2015-11-20 11:29:05 -05:00
Matt Jibson
b3c2388618 Allow setting of boto's S3 host for SIGv4
The problem only happens when a user has configured the new AWS Frankfurt
region for their S3 backend. It is the only region to require the new
v4 signature. All other regions support both v2 and v4. I'm not sure
which version is used by default on US Standard.

We could attempt to figure out where the bucket is hosted based on its
DNS resolution and auto-populate the host field that way. But I think
the amount of effort to have that work correctly outweighs its benefit
for such a simple solution.

fixes #863
fixes #764
2015-11-18 17:19:33 -05:00
Joseph Schorr
e574211e8e Fix typo 2015-11-16 06:21:44 +01: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
76ce63895f New Quay Sec UI and fix some small bugs
Fixes #855
2015-11-11 18:15:58 -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
Silas Sewell
e826b14ca4 Merge pull request #725 from coreos-inc/setup-tool-georeplication
superuser: add storage replication config
2015-11-09 17:43:38 -05:00
Silas Sewell
5000b1621c superuser: add storage replication config 2015-11-09 17:34:22 -05:00
Matt Jibson
7a503d678b Add page offset to track line tag index
fixes #755
2015-11-09 16:21:43 -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
8c144397e9 WIP: UI for QuaySec 2015-11-09 12:50:39 -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
cf8497593d Do not redirect on API 404 2015-11-03 12:23:39 -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
cca18f8ede Shoutout to QE on non-QE pages
Fixes #361
2015-11-02 14:34:19 -05:00
Joseph Schorr
fa97e0c839 Rebrand landing page 2015-11-02 14:34:18 -05:00
Joseph Schorr
dcb4935706 QE login dialog and flow
Fixes #560
2015-11-02 14:34:18 -05:00
Joseph Schorr
3a36e23142 Add QE tab to plans page
Note: This does *not* implement the call to Tectonic yet.
2015-11-02 14:34:17 -05:00
Joseph Schorr
9a39859221 Start on revamp of the plans page
This PR implements the hosted side; QE side will come in the next PR

First steps in #559
2015-11-02 14:34:16 -05:00
Joseph Schorr
f867ac5bfe Change to new logo 2015-11-02 14:34:16 -05:00
josephschorr
4ae940aede Merge pull request #660 from coreos-inc/superuser
Superuser Panel Improvements
2015-10-30 14:32:16 -04:00
Quentin Machu
3f35265858 Merge pull request #683 from Quentin-M/whoops-404
Add 404 page
2015-10-30 14:30:20 -04:00
Quentin Machu
adb744089e Add 404 page
Fixes coreos-inc/quay#677
2015-10-21 18:40:15 -04:00
josephschorr
601b741c4e Merge pull request #657 from coreos-inc/bettergherror
Better GitHub error messaging
2015-10-16 18:06:27 -04:00
Joseph Schorr
328aacbc60 Fix small UI bugs around uploading dockerfiles
Fixes #606

- Raises an error when a non-200 code is returned
- Resets the dialog when reopened
- Has a nicer error message for 413 errors
2015-10-16 17:53:00 -04:00
Joseph Schorr
d464af4cce Add ability to update superusers via the UI
Fixes #634
2015-10-16 15:41:18 -04:00
Joseph Schorr
d9e001b688 Better GitHub error messaging
Fixes #612
2015-10-16 13:51:50 -04:00
Joseph Schorr
f49375949f Make teams UI more descriptive
Fixes #646
2015-10-15 12:05:55 -04:00
Joseph Schorr
125bf97667 Loosen DB hostname regex
Fixes #574
2015-10-01 12:35:19 -04:00
Jimmy Zelinskie
8dbc9db292 fix misreference to $scope.isUserNamespace
Fixes #528.
2015-09-22 18:02:24 -04: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
fee72225cf Add a threshold for considering moves of tags
Fixes #516
2015-09-21 16:14:37 -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
josephschorr
abb1486a96 Merge pull request #484 from coreos-inc/swifturl
Add support for direct download in Swift storage engine
2015-09-14 18:08:50 -04:00
Joseph Schorr
6f2271d0ae Add support for direct download in Swift storage engine
Fixes #483
2015-09-14 18:00:03 -04:00
Joseph Schorr
b25660bc88 Fix auto-open of build error command
Fixes #481
2015-09-14 15:53:34 -04:00
josephschorr
edef283697 Merge pull request #447 from coreos-inc/ronon
Add support for Dex to Quay
2015-09-10 11:42:01 -04:00
Joseph Schorr
386fcfd50e Robot accounts allow underscores
Fixes #451
2015-09-08 10:10:00 -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
josephschorr
0823ba5c46 Merge pull request #441 from coreos-inc/ersetupimprove
ER setup improvements
2015-09-02 17:46:53 -04:00
Joseph Schorr
587ef85c7f Allow users to choose the version of Swift to use
Fixes #442
2015-09-02 17:46:14 -04:00
Joseph Schorr
f6cca81178 Handle hostname changes in the config panel
Fixes #436
2015-09-02 17:21:38 -04:00
Joseph Schorr
0a91a1d9d8 Redirect to the /setup page automatically in the ER when not fully setup 2015-09-02 14:59:54 -04:00
Joseph Schorr
c0aca54e32 Allow users to choose trigger or manual in the build dialog
Fixes #379
2015-08-21 14:22:48 -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
Joseph Schorr
84276ee945 Better notifications UI
Fixes #369
2015-08-17 17:08:58 -04:00
Joseph Schorr
c84d2e750f Fix NPE in plans manager while loading 2015-08-13 12:25:21 -04:00
Joseph Schorr
7b77d3990d Organizations need to load the public repos as well 2015-08-13 12:19:18 -04:00
Joseph Schorr
932a85a8c9 Plan UI lookup was using the *name* of the plan, not its data 2015-08-12 23:44:04 -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
16b012e05c Disable password change for non-DB auth
Fixes #344
2015-08-11 13:53:09 -04:00
Joseph Schorr
02ba1968b9 Add removed user service load call; we need it 2015-08-10 13:35:49 -04:00
Joseph Schorr
4d11ff4ed5 Fix page reload on user to org conversion
Fixes #339
2015-08-10 12:28:19 -04:00
Jimmy Zelinskie
a5db0f0d37 Merge pull request #338 from coreos-inc/loguifix
Small UI fix
2015-08-07 15:37:18 -04:00
Joseph Schorr
76e1490d8f Small UI fix 2015-08-07 15:35:58 -04:00
Joseph Schorr
ff6cd92841 Fix NPE 2015-08-07 15:26:45 -04:00
Joseph Schorr
5044a4d58b Add public access to time machine
Fixes #333
2015-08-07 13:32:45 -04:00
Joseph Schorr
175710dc09 We need to load all repositories (including public ones) on the user view page
Fixes #310
2015-08-06 14:11:32 -04:00
Jimmy Zelinskie
a04d06b06a Merge pull request #314 from coreos-inc/fixdocsload
Change docs to load from HTTPS
2015-08-05 14:36:36 -04:00
Joseph Schorr
e53c3e23be Change docs to load from HTTPS 2015-08-05 14:34:11 -04:00
Joseph Schorr
397dc139a5 Don't accidentally overwrite true values from config 2015-08-05 13:52:48 -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
Joseph Schorr
55a0b83ddf Delete old repo view code 2015-07-31 14:05:39 -04:00
Jimmy Zelinskie
242c322850 Merge pull request #267 from coreos-inc/deletethrob
Add a throbber and better dialog for deleting repo
2015-07-23 11:28:06 -04:00
Joseph Schorr
b7581a8d3f Add a throbber and better dialog for deleting repo
Fixes #265
2015-07-22 17:03:47 -04:00
Joseph Schorr
ede9936722 Add a proper throbber to the repo list table 2015-07-22 16:59:31 -04:00
Joseph Schorr
93c614ae31 Default sort by popularity instead of starred 2015-07-22 16:54:21 -04:00
Joseph Schorr
2ff1dfc8b7 Switch to log base for the repo popularity 2015-07-22 14:20:46 -04:00
Joseph Schorr
687bab1c05 Support invite codes for verification of email
Also changes the system so we don't apply the invite until it is called explicitly from the frontend

Fixes #241
2015-07-22 13:41:27 -04:00
Jake Moshenko
5d86fa80e7 Merge pull request #197 from coreos-inc/keystone
Add Keystone Auth
2015-07-22 13:38:47 -04:00
Joseph Schorr
38a6b3621c Automatically link the superuser account to federated service for auth
When the user commits the configuration, if they have chosen a non-DB auth system, we now auto-link the superuser account to that auth system, to ensure they can login again after restart.
2015-07-22 13:37:23 -04:00
Jimmy Zelinskie
5a9d4155ad Merge pull request #258 from coreos-inc/repolistapi
Clean up the repository list API and loads stars with it
2015-07-22 13:19:09 -04:00
Joseph Schorr
a0c4e72f13 Clean up the repository list API and loads stars with it
We load stars with the same list API now so that we get the extra metadata needed in the repo list (popularity and last modified)
2015-07-22 13:05:02 -04:00
Jimmy Zelinskie
fe83fb40cd Merge pull request #259 from coreos-inc/landingoldcode
Delete the old landing page code
2015-07-21 16:53:59 -07: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
f1736212d1 Delete the old landing page code 2015-07-21 17:32:37 -04:00
Joseph Schorr
066637f496 Basic Keystone Auth support
Note: This has been verified as working by the end customer
2015-07-20 10:55:21 -04:00
Joseph Schorr
634190d1f9 Better messaging when creating a user on the landing page
Fixes #230
2015-07-14 14:00:29 +03:00
Joseph Schorr
9453d67c32 Change default placement of form error popovers
Fixes #229
2015-07-14 13:35:10 +03:00
Joseph Schorr
ab47089872 Add feedback to prototype manager, application manager and the builds tab 2015-07-14 12:39:49 +03:00
Joseph Schorr
fd354469da Add feedback to the teams manager 2015-07-14 12:28:53 +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
dcf8922799 Feedback bar for showing response to user actions
Fixes #215
2015-07-14 12:02:57 +03:00
Joseph Schorr
fe7677f275 Small NPE Fix 2015-07-13 12:20:51 +03:00
Jimmy Zelinskie
cf4800c06c Merge pull request #213 from coreos-inc/orgmember
Add a secondary tab to Teams for managing org members
2015-07-06 11:48:40 -04:00
Jimmy Zelinskie
3e29420718 Merge pull request #201 from coreos-inc/basepullissue
Record phase information and make better error messages on pull failure
2015-07-02 11:26:40 -04:00
Joseph Schorr
3a59c99b08 Add a secondary tab to Teams for managing org members
Also adds the ability to completely remove a user from an organization (repo permissions and teams), in a single click

Fixes #212
2015-07-02 17:06:36 +03:00
Joseph Schorr
b535e222b8 Have the fetch tag dialog show a warning for robot accounts without access
Before this change, we'd show the squash pulling command with the proper credentials, but it then 403s on the end user.
2015-07-01 19:37:52 +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
Joseph Schorr
e06435fee4 Record phase information and make better error messages on pull failure 2015-06-30 18:04:44 +03:00
Joseph Schorr
2b1bbcb579 Add a table view to the repos list page
Fixes #104
2015-06-29 21:12:53 +03: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
Jimmy Zelinskie
756d6784ca Merge pull request #192 from coreos-inc/sqlssl
Allow SSL cert for the database to be configured
2015-06-29 13:33:31 -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
dc5af7496c Allow superusers to disable user accounts 2015-06-29 18:40:52 +03:00
Joseph Schorr
892548f5d7 Remove old controller code 2015-06-29 12:40:18 +03:00
Joseph Schorr
3342f2392d Remove long build descriptions (not properly used in the new UI) 2015-06-29 12:36:39 +03: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
b8c74bbb17 Remove container usage tab and replace with changlog view
Fixes #179
2015-06-29 11:07:46 +03:00
Joseph Schorr
bb07d0965f Allow SSL cert for the database to be configured
This change adds a field for the SSL cert for the database in the setup tool. Fixes #89
2015-06-29 08:08:10 +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
f0f864a375 Fix handling of long build commit messages
Fixes #175
2015-06-26 16:09:35 -04:00
Joseph Schorr
672e8a5ba9 Add pagination to the tags view 2015-06-25 16:19:39 -04:00
Joseph Schorr
0d133b0fa4 appLinkTarget needs to be lazy 2015-06-25 16:19:36 -04: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
43330bcfad Make loading of the tags tab async 2015-06-25 16:19:04 -04:00
Joseph Schorr
07439328a4 Remove user_exists endpoint from all auth systems 2015-06-23 17:33:51 -04:00
Joseph Schorr
3fb2a33ee7 Fix the API service to use the new Swagger description form 2015-06-22 15:13:26 -04:00
Joseph Schorr
143036be9c Allow manual triggering of both branches and tags
Fixes #100
2015-06-19 14:38:26 -04:00
Joseph Schorr
96bcfa84ae Add better messaging around squashed fetching when the user is not a namespace admin
Fixed #147
2015-06-17 16:38:31 -04:00
Jimmy Zelinskie
7315736c1f Merge pull request #134 from coreos-inc/permapprove
Default to the read role in the permissions table
2015-06-16 17:37:46 -04:00
Joseph Schorr
b2d2fbe18f Fix bug in the logs view UI 2015-06-15 17:26:58 -04:00
Joseph Schorr
34ab6e4ccc Default to the read role in the permissions table
Fixes #126
2015-06-15 16:11:39 -04:00
Jimmy Zelinskie
ae779cade2 Merge pull request #130 from coreos-inc/setupbuildnow
Add button for running a newly setup trigger
2015-06-15 15:53:50 -04:00
Joseph Schorr
16a205c108 Add button for running a newly setup trigger
This allows users quick access to test their new trigger they just setup

Fixes #125
2015-06-12 17:02:58 -04:00
Joseph Schorr
e7fa560787 Add support for custom fields in billing invoices
Customers (especially in Europe) need the ability to add Tax IDs, VAT IDs, and other custom fields to their invoices.

Fixes #106
2015-06-12 16:45:01 -04:00
Joseph Schorr
36cd79c2c0 Change plan subscription to require a new credit card
Fixes Issue #101

We change the Stripe plan subscription code to require a new credit card to be entered every time a user moves from the open source plan to a paid plan. When a customer's credit card fails, Stripe auto-desubscribes the user from an active plan, but (before this change) we would try to resubscribe with the invalid card.
2015-06-08 14:23:19 -04:00
Jake Moshenko
2a2414d6af Merge pull request #60 from coreos-inc/jwtauthentication
Add support for an external JWT-based authentication system
2015-06-05 13:37:42 -04:00
Joseph Schorr
8aac3fd86e Add support for an external JWT-based authentication system
This authentication system hits two HTTP endpoints to check and verify the existence of users:

Existance endpoint:
GET http://endpoint/ with Authorization: Basic (username:) =>
    Returns 200 if the username/email exists, 4** otherwise

Verification endpoint:
GET http://endpoint/ with Authorization: Basic (username:password) =>
    Returns 200 and a signed JWT with the user's username and email address if the username+password validates, 4** otherwise with the body containing an optional error message

The JWT produced by the endpoint must be issued with an issuer matching that configured in the config.yaml, and the audience must be "quay.io/jwtauthn". The JWT is signed using a private key and then validated on the Quay.io side with the associated public key, found as "jwt-authn.cert" in the conf/stack directory.
2015-06-05 13:20:10 -04:00
Joseph Schorr
4347e2f344 Tutorial improvements
- Skip the build-related tutorial steps when builds are disabled
- Make the styling of the tutorial more consistent with the new layout
2015-06-04 14:15:47 -04:00
josephschorr
63f289a8cb Merge pull request #59 from jzelinskie/custom-git-fix
triggers: metadata.commit_sha -> metadata.commit
2015-06-02 16:10:26 -04:00
Jimmy Zelinskie
7f4dd7d42f triggers: backwards compatible schema for metadata 2015-06-02 16:05:17 -04:00
Jimmy Zelinskie
e01bdd4ab0 triggers: metadata.commit_sha -> metadata.commit
This resolves an issue where the custom-git trigger's public facing
schema was not the same as the internal metadata schema. Instead of
breaking users, we rework the internal metadata schema to be the same as
the custom-git JSON schema. This commit also updates everything that
used `metadata.commit_sha` including the test database.
2015-06-02 15:32:28 -04:00
Joseph Schorr
c0e995c1d4 Merge branch 'master' into nolurk 2015-06-02 13:55:16 -04:00
Joseph Schorr
d414111fa7 Fix small JS issue if the underlying repository has no branches defined
This allows the user to continue the setup, even if the repo is empty.
2015-06-01 15:45:13 -04:00
Joseph Schorr
8929e25dd8 Fix typo 2015-05-27 12:06:38 -04:00
Joseph Schorr
2e4893dce0 We only add the build to the build list if present, not if missing 2015-05-26 16:05:38 -04:00
Joseph Schorr
58685f02cd Fix NPE in notifications service 2015-05-26 16:05:38 -04:00
Joseph Schorr
d1fa155eee Fix NPE 2015-05-26 16:05:37 -04:00
Joseph Schorr
0f18fc1c26 Disable the angular poll channel when the browser tab is hidden
Quay pages that normally poll (repo view, build logs, etc) will skip the API call(s) when the tab is hidden.
2015-05-26 16:05:36 -04:00
Joseph Schorr
5845e37e32 Add Swift storage library 2015-05-26 16:05:21 -04:00
Jimmy Zelinskie
fe3f0dc10b custom-git: accept commit SHAs 7+ chars in length 2015-05-20 12:53:43 -04:00
Joseph Schorr
54992c23b7 Add a feature flag for disabling unauthenticated access to the registry in its entirety. 2015-05-19 17:52:44 -04:00
Joseph Schorr
28bd9af4ff Fix tutorial 2015-05-13 14:55:39 -04:00
Joseph Schorr
af5fc42f27 Make the new repo page support all the trigger types automatically. 2015-05-12 12:40:26 -04:00
Joseph Schorr
3e1abba284 Add ability for super users to rename and delete organizations 2015-05-11 18:03:25 -04:00
Joseph Schorr
1c41d34b7c Add ability for superusers to change user emails 2015-05-11 14:38:10 -04:00
Joseph Schorr
628d80895d Make sure to escape error messages and add clarification to the trigger activation dialog 2015-05-11 13:47:40 -04:00
Joseph Schorr
4feb2a2032 Hide unneeded user elements when in LDAP 2015-05-11 13:32:24 -04:00
Joseph Schorr
f858caf6cd Only return the team and repo permissions when listing robots when we absolutely need them. 2015-05-08 16:43:07 -04:00