Commit graph

423 commits

Author SHA1 Message Date
Joseph Schorr
eb5cebbcdf Have tag operations dialog reflect time machine configuration
If a tag deletion is going to remove images, but those images are not going to be removed immediately, we need to message that

Fixes https://www.pivotaltracker.com/story/show/143063199
2017-04-21 11:32:25 -04:00
josephschorr
c8136f2fe5 Merge pull request #2550 from coreos-inc/signing-ui
Basic signing support UI
2017-04-20 18:03:08 -04:00
Joseph Schorr
14054a237a Add UI for viewing and changing trust setting in repo 2017-04-18 17:20:39 -04:00
Alec Merdler
b822a25a17 Hide non-Gravatar Avatar Search Results (#2549) 2017-04-17 15:54:27 -07:00
Joseph Schorr
dec14647a8 Add basic signing UI to repo tags view 2017-04-17 18:45:16 -04:00
Joseph Schorr
95e9cdaccc Disable tag and build operations in repos when trust is enabled 2017-04-17 14:34:43 -04:00
Evan Cordell
2661db7485 Add flag to enable trust per repo (#2541)
* Add flag to enable trust per repo

* Add api for enabling/disabling trust

* Add new LogEntryKind for changing repo trust settings
Also add tests for repo trust api

* Add `set_trust` method to repository

* Expose new logkind to UI

* Fix registry tests

* Rebase migrations and regen test.db

* Raise downstreamissue if trust metadata can't be removed

* Refactor change_repo_trust

* Add show_if to change_repo_trust endpoint
2017-04-15 08:26:33 -04:00
Alec Merdler
581d7c67a7 Fix Trigger Setup Robot Permissions for Private Base (#2543) 2017-04-14 12:10:00 -07:00
alecmerdler
49c04eb7af initialize path and context component members to avoid null exception 2017-04-06 15:25:52 -07:00
Alec Merdler
7a352ddfbc Use ng-metadata as a Backport of Angular 2+ API (#2486)
* starting UtilService refactor

* pre find-replace angular.module('quay') => angular.module('QuayModule')

* successfully switched to ng-metadata for backported Angular2 API

* working with parent component reference in child

* fixing @Output to use EventEmitter

* fixed @Output events for custom git trigger

* more fixes

* refactored QuayPages module for backwards-compatibility

* reinitialized test.db

* use minified libraries

* replaced references for angular-ts-decorators

* fixed ng-show
2017-04-05 14:14:08 -07:00
Joseph Schorr
c8ee889272 Watch for changes in table data in corTable control
Prevents stale data from appearing in the table
2017-04-05 14:22:46 -04:00
Joseph Schorr
288ef0f5b5 Add "(None)" into release channels column 2017-04-05 14:11:41 -04:00
Joseph Schorr
f9e6110f73 Add basic user interface for application repos
Adds support for creating app repos, viewing app repos and seeing the list of app repos in the Quay UI.
2017-04-05 11:30:09 -04:00
Charlton Austin
d32453ec25 Merge pull request #2509 from charltonaustin/fix_custom_git_trigger
fix(custom git trigger): fix subdir input
2017-04-04 17:24:52 -04:00
Charlton Austin
4760ea33f5 fix(custom git trigger): fix subdir input
### Description of Changes

  custom git triggers were being created incorrectly this creates them correctly
2017-04-04 15:13:42 -04:00
josephschorr
1243350d30 Merge pull request #2507 from coreos-inc/allow-null-avatars
Allow null avatars from Gitlab
2017-04-04 14:35:55 -04:00
josephschorr
d000cc656f Merge pull request #2505 from coreos-inc/superuser-buildlogs-internal
Display full error information for build errors in superuser view
2017-04-04 13:59:39 -04:00
Joseph Schorr
eae151ff96 Allow null avatars from Gitlab
Not all gitlab repositories have defined owners, meaning we cannot always get an avatar_url for the namespace

Fixes https://sentry.io/coreos/backend-production/issues/241774339/
2017-04-04 13:41:38 -04:00
Joseph Schorr
21d86597cf Display full error information for build errors in superuser view
Allows for easier debugging of build failures

Fixes https://www.pivotaltracker.com/story/show/142883625
2017-04-03 15:30:15 -04:00
Joseph Schorr
04225f2d25 Add feature flag for team syncing 2017-04-03 11:31:29 -04:00
Joseph Schorr
eeadeb9383 Initial interfaces and support for team syncing worker 2017-04-03 11:31:29 -04:00
Charlton Austin
ca99535774 Merge pull request #2449 from charltonaustin/phase_two_config
feat(build runner): added in context, dockerfile_location
2017-03-28 14:14:36 -04:00
Charlton Austin
e6d201e0b0 feat(build runner): added in context, dockerfile_location
this is a new feature meant to allow people to use any file as
  a dockerfile and any folder as a context directory
2017-03-28 13:55:31 -04:00
Jimmy Zelinskie
65a17dc155 Merge pull request #2473 from coreos-inc/certs-fixes
Fixes and improvements around custom certificate handling
2017-03-27 15:08:36 -04:00
Joseph Schorr
e509eb4cba Better custom cert handling in the superuser tool
We now only allow certificates ending in .crt to be uploaded and we automatically install the certificate once it has been validated
2017-03-24 17:15:26 -04:00
Joseph Schorr
1d3af2b0bd Fix take ownership of organizations
Take ownership code got moved into its own directive in Oct, but we forgot we have a call in superuser panel for orgs as well. Fix this, and simplify the call sites
2017-03-22 12:25:20 -04:00
Joseph Schorr
8bbe0e5e9b Always allow robot accounts to be selected by admins in trigger setup
Currently during trigger setup, if we don't know for sure that a robot account is necessary, we don't show the option to select one. This fails if the user has a Dockerfile in a branch or tag with a private base image *or* they *intend* to add a private base image once the trigger is setup. Following this change, we always show the option to select a robot account, even if it isn't determined to be strictly necessary.
2017-03-20 13:24:55 -04:00
Alec Merdler
cd61482ff1 Merge pull request #2426 from alecmerdler/frontend-refactoring
More Front-end TypeScript Refactoring
2017-03-16 14:19:13 -07:00
Joseph Schorr
85ce944189 Make sure all sections of the sec scan donut chart are visible
Sets a minimum chart % for all entries
2017-03-16 13:05:53 -04:00
Joseph Schorr
2759e08902 Fix bug in adding date entries in tag history view 2017-03-15 17:32:00 -04:00
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