Commit graph

443 commits

Author SHA1 Message Date
Joseph Schorr
685bdf6814 Change security scanner column to be more informative 2017-03-15 17:14:59 -04:00
Joseph Schorr
129986c0f1 Change to single directional binding on new directives 2017-03-14 11:38:17 -04:00
Joseph Schorr
cfb81c977f Add UI for editing labels on a manifest 2017-03-14 11:34:43 -04:00
Joseph Schorr
46d1532f0e Add a label input control 2017-03-14 11:34:43 -04:00
Joseph Schorr
94c41cc7e3 Add caching for manifest labels
Helps reuse and makes UI faster when filtering
2017-03-14 11:34:43 -04:00
Joseph Schorr
f17ef4adda Add UI for viewing labels on a manifest in the tags view 2017-03-14 11:34:43 -04:00
Joseph Schorr
25db46c341 Redo UI of the tag history timeline and add restoration 2017-03-14 11:34:42 -04:00
Joseph Schorr
35752176b5 Small UI fixes to tag history timeline 2017-03-14 11:34:42 -04:00
Joseph Schorr
0dbe267212 Show manifest digests in repo tag history timeline 2017-03-14 11:34:42 -04:00
Joseph Schorr
4b51fa5e5b Update security scan col in repo view to use donut chart and better language 2017-03-14 11:34:41 -04:00
Joseph Schorr
af743b156b Show manifest digests in place of V1 ids in the tag view when possible 2017-03-14 11:34:41 -04:00
alecmerdler
40e6540074 easier mocking/spying using ts-mocks 2017-03-11 15:27:23 -08:00
Joseph Schorr
409ee6137f Clarify the namespace being deleted
Fixes https://www.pivotaltracker.com/story/show/141418611
2017-03-10 13:25:40 -05:00
alecmerdler
4e913f106d refactored DockerfileServiceImpl to return promise instead of callbacks 2017-03-09 01:26:19 -08:00
alecmerdler
52b2f5828c fix no robot accounts visible 2017-03-08 15:27:22 -08:00
alecmerdler
85441c8459 refactoring to promises 2017-03-08 11:43:53 -08:00
Joseph Schorr
19bc023ce0 Make sure ref field in manual trigger dialog is cleared 2017-03-07 20:39:57 -05:00
alecmerdler
f7258c85e4 fix styling for deselected organizations in build trigger setup 2017-03-07 11:27:52 -08:00
Joseph Schorr
5a2a72bfac Fix padding in mobile view of triggers
Fixes https://www.pivotaltracker.com/story/show/141245867
2017-03-07 14:11:37 -05:00
Joseph Schorr
f2750ba645 Make sure to initialize trigger setup when *both* values change
Hopefully fixes https://www.pivotaltracker.com/story/show/141245817
2017-03-07 14:05:55 -05:00
alecmerdler
8fcd76c0be removed old templates 2017-02-28 16:51:44 -05:00
alecmerdler
ea9d47ba75 ignore invalid linear workflow sections that are after the current section 2017-02-28 16:51:44 -05:00
alecmerdler
ff07533d80 added tests for linear workflow components 2017-02-28 16:51:44 -05:00
alecmerdler
b0cc8d0f19 fixed CSS references to element instead of class 2017-02-28 16:51:44 -05:00
alecmerdler
e59d394491 refactoring linear workflow directives 2017-02-28 16:51:43 -05:00
alecmerdler
c86b09e26e moved config to seperate module 2017-02-28 16:51:43 -05:00
alecmerdler
b1516193a5 converted ManageTriggerGithostComponent to TypeScript 2017-02-28 16:51:43 -05:00
alecmerdler
14222be9fe working on ManageTriggerGithostComponent 2017-02-28 16:51:43 -05:00
alecmerdler
39c18eb216 moved component templates to separate files in order to support HTML syntax highlighting in certain editors 2017-02-28 16:51:43 -05:00
alecmerdler
00b1f0e3cc starting ManageTriggerCustomGitComponent 2017-02-28 16:51:43 -05:00
alecmerdler
5ef4357dec unit tests for DockerfilePathSelectComponent 2017-02-28 16:51:42 -05:00
alecmerdler
38e40665a7 refactored DockerfilePathSelectComponent 2017-02-28 16:51:42 -05:00
alecmerdler
389a4cb1c4 fixed tests 2017-02-28 16:51:42 -05:00
alecmerdler
c60ce4a696 using decorators to write AngularJS in nearly identical syntax to Angular 2 2017-02-28 16:51:42 -05:00
Joseph Schorr
8e863b8cf5 Implement new create and manager trigger UI
Implements the new trigger setup user interface, which is now a linear workflow found on its own page, rather than a tiny modal dialog

Fixes #1187
2017-02-28 16:51:42 -05:00
josephschorr
070180e253 Merge pull request #2371 from coreos-inc/entity-search-fix
Fix transparent icons in entity autocomplete
2017-02-24 11:27:51 -05:00
Joseph Schorr
baf4b7bed4 Change Dockerfile build form to not require a robot unless sure we need it
Fixes #2377

Before this change, we'd err on the side of caution, which is bad UX
2017-02-22 16:27:32 -05:00
Joseph Schorr
6133b01d4d Fix transparent icons in entity autocomplete
This is not a *complete* solution, as it still won't show the nice CSS-based avatars, but that can be done in a followup
2017-02-21 21:16:15 -05:00
Joseph Schorr
fcff867bfd Display avatars in entity search autocomplete
Fixes https://github.com/coreos/bugs/issues/1819
2017-02-21 16:29:13 -05:00
Joseph Schorr
11c931f781 Log more information to the action logs and display the namespaces for superusers
This helps superusers understand better what, exactly, is going on in the registry
2017-02-14 14:55:24 -05:00
Alec Merdler
7c904f2e21 Merge pull request #2292 from coreos-inc/frontend-typescript
Upgrading Front-end Client to TypeScript
2017-02-02 14:24:35 -08:00
josephschorr
01ec22b362 Merge pull request #2300 from coreos-inc/openid-connect
OpenID Connect support and OAuth login refactoring
2017-01-31 18:14:44 -05:00
EvB
b05189fb3f fix(js/logs-view): correct var name 2017-01-31 17:03:31 -05:00
Erica
5d1c2d1881 Merge pull request #2318 from coreos-inc/FIX-date-type-error
fix(js/logs-view): check for valid date
2017-01-30 17:00:10 -05:00
EvB
c869579cd5 fix(js/logs-view): check for valid date 2017-01-30 14:27:07 -05:00
Joseph Schorr
fcdf966c9f Fix multiple loading of build logs in new superuser panel
Also adds an error message if the logs fail to load
2017-01-30 14:00:16 -05:00
Charlton Austin
dae93dce78 feature(superuser panel): ability to view logs
users would like the ability to view build logs in the superuser panel

[None]
2017-01-26 13:54:03 -05:00
Joseph Schorr
c9812864be Small JS fixes for the PR 2017-01-26 12:03:56 -05:00
Joseph Schorr
a9791ea419 Have external login always make an API request to get the authorization URL
This makes the OIDC lookup lazy, ensuring that the rest of the registry and app continues working even if one OIDC provider goes down.
2017-01-23 19:06:19 -05:00
alecmerdler
64a4b68216 removed unnecessary factory classes, simplified existing services 2017-01-23 01:57:00 -08:00
alecmerdler
eea2a18c3f move window.__config to an Angular constant; refactor AngularViewArray -> ViewArray + ViewArrayFactory 2017-01-21 00:14:37 -08:00
alecmerdler
615e233671 moved Angular routes to separate module; load Webpack bundle before other main scripts 2017-01-20 16:24:55 -08:00
Joseph Schorr
19f7acf575 Lay foundation for truly dynamic external logins
Moves all the external login services into a set of classes that share as much code as possible. These services are then registered on both the client and server, allowing us in the followup change to dynamically register new handlers
2017-01-20 15:21:08 -05:00
alecmerdler
8f0f16a551 single entrypoint for Webpack 2017-01-19 14:54:00 -08:00
alecmerdler
01f99f6133 resolved conflicts with master branch 2017-01-19 12:21:22 -08:00
Joseph Schorr
7c7a07fb5a Allow namespaces to be between 2 and 255 characters in length
[Delivers #137924329]
2017-01-19 13:10:26 -05:00
alecmerdler
8a9a2972ec moved naming patterns to seperate module and Angular constant 2017-01-19 01:48:15 -08:00
Joseph Schorr
3106504f39 Severity and Markdown support in MOTD
[Delivers #133555165]
2017-01-18 16:55:32 -05:00
Joseph Schorr
7e0fbeb625 Custom SSL certificates config panel
Adds a new panel to the superuser config tool, for managing custom SSL certificates in the config bundle

[Delivers #135586525]
2017-01-13 14:34:35 -05:00
EvB
bd027b9cbc fix(js/signin-form): check for resp body first 2017-01-10 14:46:51 -05:00
EvB
bdb86fdc10 fix(js/set-repo-permissions): chk not null before iterating 2017-01-10 14:32:53 -05:00
EvB
d25051a953 feat(super-users): paginate user tab 2016-12-20 18:03:32 -05:00
Joseph Schorr
b83784f1e1 Add error message if security scan not found
This change ensures that the user gets an error message (and not a blank tab) if the security scan information could not be successfully loaded

Fixes https://www.pivotaltracker.com/story/show/136072509
2016-12-14 00:50:06 -05: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
josephschorr
9cc78f314d Merge pull request #2152 from coreos-inc/pull-log
Add tracking of pulled tag/digest to logs
2016-11-22 13:57:10 -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
josephschorr
d675e5eaa2 Merge pull request #2145 from coreos-inc/robot-performance
Change robots manager to use a TableService for filtering and display
2016-11-21 14:55:12 -05:00
Joseph Schorr
080802ed2d Add tracking of pulled tag/digest to logs
Fixes #2148
2016-11-21 12:29:59 -05:00
Charlton Austin
2fe74e4057 Adding in UI for cancel anytime. 2016-11-21 10:58:32 -05:00
Joseph Schorr
d6723927f7 Remove deprecated email flag from generated docker login commands
Fixes #2135
2016-11-18 12:41:00 -05:00
Joseph Schorr
a34229780d Change robots manager to use a TableService for filtering and display
This allows for much larger lists of robots with a lower loss of performance, as well as better code for filtering, sorting on the name and teams columns.

Fixes #2121
2016-11-18 12:38:08 -05:00
Joseph Schorr
1405b6b95c Adjustments to QE plans page for lead-gen feedback
- Adds a start trial button "above the fold" on the right hand side
- Adds back the dialog explaining the redirect to tectonic accounts
2016-11-10 17:10:08 -05:00
Joseph Schorr
3193f32a95 Fix cannot-use-robot for private base image bug in build dialog
There are a number of small state fixes in this PR, which result in the build dialog being properly reset state-wise each time it is displayed, thus fixing the state inconsistency.

Fixes #2106
2016-11-10 14:47:25 -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
604c67948a Fix NPE in activate trigger
Fixes #2042
2016-10-31 12:19:43 -04:00
Joseph Schorr
ccb5bc8f1b Add external auth emails to entity search
Fixes #1791
2016-10-27 16:08:07 -04:00
Joseph Schorr
d145222812 Add support for linking to external users in entity search 2016-10-27 15:42:03 -04:00
Joseph Schorr
e85a1bce0a Redo the UI for the run trigger dialog to be much cleaner
Fixes #774
2016-10-21 16:56:13 -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
3a68740ff7 Better handling of namespace validation to fix a number of issues
- Fixes a bug which allows for underscores at the beginning of namespaces: Fixes #1849
- Allows dots and dashes for newer Docker clients: Fixes #1188
- Has the UI display better messaging associated with namespace entry
2016-10-20 13:32:22 -04:00
Charlton Austin
8e5dc8d3db Moving the messages endpoint to something more generic, and making the get visible all the time. 2016-10-17 16:23:48 -04:00
Charlton Austin
c8e5809cc7 Refactoring manage users to it's own directive. 2016-10-13 16:57:19 -04:00
Charlton Austin
97d644d95d Adding in the delete api and the delete and create UI. 2016-10-13 10:40:52 -04:00
Joseph Schorr
3476829139 Add missing $scope.$apply in the build logs view
Without this, the logs appear to never load, until such time as any other digest cycle comes along

Fixes #1886
2016-09-29 16:23:11 +02:00
josephschorr
ad4efba802 Merge pull request #1830 from coreos-inc/superuser-dashboard
Add prometheus stats to enable better dashboarding
2016-09-26 17:19:22 +02:00
Joseph Schorr
0a435fa1dc Fix Angular bug on plans page when using back button
Angular apparently tries to read the DOM that is being manipulated simultaneously by bootstrap, which results it a state inconsistency (since the DOM is changing) and an Angular failure. This change ensure that the modal call happens outside of the initial digest loop and therefore, appears to solve the problem (translation: who the heck knows why it works, but it does).

Fixes #1869
2016-09-23 15:35:19 -04:00
Joseph Schorr
e4ad25ea81 Add repository list pagination
Also changes our binds to be bind-once, which should significantly reduce memory and increase performance for large lists

Fixes #1856
2016-09-21 14:23:32 -04:00
Joseph Schorr
949dcb9d35 Add regex validating field 2016-09-15 13:25:57 -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
13bcba4206 Fix timeline's delete-then-tag display bug
Currently, if a tag is deleted and then assigned later, it shows up as a move, rather than a delete+create. This is due to the threshold check being backwards.

Fixes #1824
2016-09-12 15:46:23 -04:00
Joseph Schorr
5d6876eb81 Remove old metrics dashboard
It only applies to a single instance, making it fairly useless
2016-09-09 14:46:33 -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
Joseph Schorr
de212d8594 Fix grammar in entity search
Fixes #1794
2016-08-31 14:19:28 -04:00
josephschorr
040886b781 Merge pull request #1769 from coreos-inc/fix-plans-tabs
Fix handling of tabs in the plans page
2016-08-29 13:37:42 -04:00
josephschorr
b3c592c09a Merge pull request #1631 from coreos-inc/labels
Basic labels support
2016-08-26 15:24:35 -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
b1e0620c1d Fix handling of tabs in the plans page
Fixes #1768
2016-08-26 13:09:05 -04:00
Joseph Schorr
e3ed2c8a92 Hide repo star control when not logged in
Fixes #1756
2016-08-23 13:02:55 -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
6ebb417923 Redesign the teams page to use a table
Allows for faster loading and easier viewing of important information about teams
2016-08-22 14:42:54 -04:00
Joseph Schorr
98206310bd Extract the add repo permissions UI into its own directive 2016-08-22 14:42:54 -04:00
josephschorr
aa2066e3f5 Merge pull request #1722 from coreos-inc/logentry-index
Add an index for lookup by account to log entries
2016-08-12 18:40:24 -04:00
Joseph Schorr
0f46230493 Add an index for lookup by account to log entries
Also fixes the query to require one less join
2016-08-12 17:39:31 -04:00
Joseph Schorr
2af938c241 Fix use of bootstrap glyph icons in QE
Fixes #1717
2016-08-12 15:41:01 -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
06d52f2c83 Fix handling of multi-part branches in the build triggers
Fixes #1360
2016-07-26 13:41:13 -07:00
Joseph Schorr
38744c81c5 Change future entries in heat map to be empty 2016-06-23 17:08:11 -04:00
Joseph Schorr
fcd7c7e5e9 Have heat map adjust its color range based on linear scale 2016-06-23 13:28:46 -04:00
Joseph Schorr
760d63bfdc Small fixes for heat map views 2016-06-22 15:56:11 -04:00
Joseph Schorr
853cca35f3 Change repo stats to use the RAC table and a nice UI 2016-06-22 15:06:53 -04:00
Joseph Schorr
ed727ad424 Globally replace illegal chars in escaped username
Fixes #1564
2016-06-21 13:29:35 -04:00
Joseph Schorr
41ae47c995 Toggle for add permissions dialog
Fixes #1553
2016-06-20 14:33:40 -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
josephschorr
58bef472d9 Merge pull request #1526 from coreos-inc/superuser-grant
Add ability for super users to take ownership of namespaces
2016-06-13 16:23:10 -04:00
Joseph Schorr
20816804e5 Add ability for super users to take ownership of namespaces
Fixes #1395
2016-06-13 16:22:52 -04:00
Joseph Schorr
56abefe58e Remove description from the log for change desc
Fixes #1524
2016-06-09 14:06:51 -04:00
Joseph Schorr
b06b5b420a Fix teams list in entity search
The new version of Angular 1 no longer allows us to loop over an object, so we construct an array instead.

Fixes #1519
2016-06-06 11:47:53 -04:00
Joseph Schorr
23322bc572 Fix login form for password managers
Fixes #1476
2016-06-01 16:09:16 -04:00
Joseph Schorr
04df2410ec Add better errors if Redis is down
Fixes #1497
2016-05-31 15:24:36 -04:00
Joseph Schorr
303db01ec5 Better error display for build logs view
Fixes #1492
2016-05-31 14:41:45 -04:00
Joseph Schorr
ad12df0f93 Fix logs UI around date time handling
Makes the UI nicer looking and removes the 2 week limit; instead we have a 1 month limit, which is the max days we keep the logs in the database before being rotated.

Fixes #1480
2016-05-23 15:51:34 -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
a3612c0e37 Fix reference in credentials dialog 2016-05-16 16:30:56 -04:00
Joseph Schorr
7179f23568 Temporary fix for login screen by always showing the signin (instead of create account) 2016-05-16 14:12:15 -04:00
Joseph Schorr
2274d6ff84 Fix error 2016-05-12 16:54:05 -04:00
Joseph Schorr
580814f712 Move the credentials dialog to always be under the body
Fixes a CSS issue with display:table-cell and nesting
2016-05-12 13:42:11 -04:00
Joseph Schorr
08d7b4babe New Credentials dialog
Fixes #279
2016-05-12 12:14:55 -04:00
josephschorr
94e9448658 Fix loading of billing panel when the org has a deprecated plan (#1450) 2016-05-10 18:15:05 -07:00
Joseph Schorr
9c22ee3e29 Remove old security scanner UI code 2016-05-04 15:25:30 -04:00
Joseph Schorr
2cbdecb043 Implement setup tool support for Clair
Fixes #1387
2016-05-04 13:40:50 -04:00
Joseph Schorr
a55e92bc95 Add UI support for multiple operations on keys 2016-04-29 14:09:37 -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
08017c5111 Further UI updates 2016-04-29 14:05:16 -04:00
Joseph Schorr
11ff3e9b59 keys ui WIP 2016-04-29 14:05:16 -04:00
Joseph Schorr
6497a5b18b Make sure to hide the billing header when billing is disabled 2016-04-28 15:41:32 -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
03489c22ad Log the pushed tag and add IP address display
Fixes #798
2016-04-20 13:00:21 -04:00
Joseph Schorr
1ce47fd228 Lots of small UI fixes
Fixes #1369
Fixes #1368
2016-04-14 15:12:54 -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
693a11c58e Add RFC citation 2016-04-11 20:08:45 -04:00
Evan Cordell
7c361c07f9 Use ApiService to get error message 2016-04-11 17:31:30 -04:00
Joseph Schorr
f97b8e2304 New login screen UI 2016-04-08 16:23:10 -04:00
Joseph Schorr
87e820c138 Show degraded component in bottom bar, if only one 2016-03-24 14:37:18 -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
4c5c46aa8f Add experiment to hide the new Clair UI 2016-02-25 17:42:09 -05:00
Joseph Schorr
58ccda6590 Small JS fixes 2016-02-25 17:09:29 -05:00