Commit graph

2260 commits

Author SHA1 Message Date
Joseph Schorr
c4e3a5e0a7 Fix apps view for mobile
Fixes https://www.pivotaltracker.com/story/show/144543995
2017-05-08 21:17:24 -04:00
Joseph Schorr
43619b6745 Switch app repo view to use cor-tabs, now that it supports horizontal tabs 2017-05-08 16:48:24 -04:00
Joseph Schorr
ea13469d9d Add support for horizontal tabs into cor-tabs 2017-05-08 16:46:46 -04:00
Evan Cordell
85d382cd84 Only show signing UI when namespace is explicitly whitelisted 2017-05-08 13:50:07 -04:00
Joseph Schorr
3d1197c6af Fix NPE in cor tab panel 2017-05-05 16:31:04 -04:00
Joseph Schorr
aa53dc0f66 Add missing colon onto bindings 2017-05-05 16:30:34 -04:00
Charlton Austin
339aeb59f1 Merge pull request #2625 from charltonaustin/fix_robot_display_error
fix(frontend): fixed changing location
2017-05-05 15:27:45 -04:00
josephschorr
f228ebdc22 Merge pull request #2591 from coreos-inc/cor-tabs
Change cor-tabs to be a TypeScript and Angular "neu" component
2017-05-05 15:13:44 -04:00
Charlton Austin
6e533e3627 fix(frontend): fixed changing location
before we were setting the location on the window when we should have been just using Angular $location service instead

[TESTING -> tested locally with docker compose and a complete build]

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-05 15:10:06 -04:00
Charlton Austin
a6b7560fdc fix(static): add in init
not sure what happened to the init from before

[testing -> tested locally with docker build]

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-04 16:40:40 -04:00
Joseph Schorr
b11239f3bf Change cor-tabs to be a TypeScript and Angular "neu" component
We no longer use bootstrap tabs code in this version

This is in prep for changing the tab style
2017-05-04 15:43:21 -04:00
Alec Merdler
b21af5c1b8 Merge pull request #2621 from alecmerdler/fix-status-service
Fix JS StatusService Error
2017-05-04 12:01:29 -07:00
alecmerdler
4715560e55 return no-op status service if billing is not enabled 2017-05-04 11:56:46 -07:00
Charlton Austin
d8b529bc5c Merge pull request #2618 from charltonaustin/datetimes_in_cor-tables_are_being_sorted_lexically
fix(frontend): fix data binding
2017-05-04 14:45:55 -04:00
josephschorr
0a6a93d47f Merge pull request #2620 from coreos-inc/search-ui-fixes
Search UI fixes
2017-05-04 14:44:45 -04:00
Charlton Austin
3b1d696197 Merge pull request #2619 from charltonaustin/drop-down_menu_reports_bug
fix(frontend): add subscope
2017-05-04 14:43:17 -04:00
Joseph Schorr
11e7d339ab Fix search view on mobile 2017-05-04 14:29:29 -04:00
Charlton Austin
7167eef5a8 fix(frontend): add subscope
added subscope to prevent clobbering of robots

[testing -> tested locally with dockerfile build]

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-04 14:10:53 -04:00
Charlton Austin
54d46e09d8 fix(frontend): fix data binding
### Description of Changes

  there was a bug in the applications sorting
2017-05-04 13:32:50 -04:00
Joseph Schorr
057a2a6f05 Fix typescript error 2017-05-03 17:31:00 -04:00
Joseph Schorr
481d9b2394 Add debounce to search 2017-05-03 16:00:50 -04:00
Joseph Schorr
25d8b6ec02 Make sure only the first line of the repository description is shown in search results 2017-05-03 15:40:11 -04:00
Joseph Schorr
21aff5ef9d Fix search view and search autocomplete for apps
Had the wrong icon in search view and forgot to add the autocomplete handling for applications
2017-05-03 15:38:51 -04:00
Joseph Schorr
17c4d4c84e Don't clear search box on search page when a new query is submitted
Users want to be able to see the current query
2017-05-03 15:35:24 -04:00
Erica
57ab9d6c96 Merge pull request #2592 from coreos-inc/FEAT-AUDIT-LOG-FAILOVER-UI
feat(config-setup): add auditlog failover option
2017-05-03 11:42:48 -04:00
Joseph Schorr
727562405b Fix vertical alignment of star count text in new search 2017-05-03 11:08:11 -04:00
Joseph Schorr
6e3968896b Add ng-if to fix Angular scope+form bug in superuser tool 2017-05-02 17:08:19 -04:00
Joseph Schorr
646c323de5 Always show the tag expiration options UI in the superuser panel
If the user disabled the feature flag, they still need to configure the list to ensure the default is there
2017-05-02 16:48:14 -04:00
josephschorr
5a9a231754 Merge pull request #2529 from coreos-inc/search-ui
Implement new search UI
2017-05-02 15:56:59 -04:00
Evan Cordell
b2569ffbb2 Support SNI in python requests, and only delete tuf metadata if it
exists
2017-05-02 09:32:12 -04:00
EvB
c4d15f1456 feat(suepr-user): add custom icon for data consistency settings 2017-05-01 16:21:06 -04:00
EvB
27b3c40015 feat(config-setup): add auditlog failover option 2017-05-01 16:20:30 -04:00
Joseph Schorr
a852c5839c Don't make signing call unless trust is explicitly enabled
It is causing a 500 for some reason
2017-05-01 11:42:18 -04:00
Joseph Schorr
e9ffe0e27b Implement new search UI
We now have both autocomplete-based searching for quick results, as well as a full search page for a full listing of results
2017-04-28 13:57:28 -04:00
alecmerdler
fa1075482f disable 'Create New...' tooltip on click 2017-04-25 13:51:41 -07:00
Kyle Brown
1c2a8d5911 updates to gitlabsetup 2017-04-21 16:48:29 -07:00
Alec Merdler
81d3ac71df Merge pull request #2566 from alecmerdler/cor-table-improvement
Allow All Item Properties in CorTableComponent Columns
2017-04-21 13:31:16 -07:00
alecmerdler
33cecb042c do not remove properties from item in cor-table-column 2017-04-21 13:26:51 -07:00
Joseph Schorr
c00feede4d Use CSS animation to fade in the JS-cannot-load error so it doesn't flash on screen 2017-04-21 14:08:18 -04:00
Joseph Schorr
3dcbe3c631 If enabled, allow users and orgs to set their time machine expiration
Fixes https://www.pivotaltracker.com/story/show/142881203
2017-04-21 11:32:45 -04:00
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
Jake Moshenko
f3e925fb85 Remove duplicate slash from base image error message 2017-04-17 11:36:44 -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
Alec Merdler
f5ab03070c fixed fileReaderFactory (#2537) 2017-04-12 19:06:40 -07:00
Alec Merdler
32843e4f22 Remove Link to Blog in QE + Refactor quayRequire Directive (#2523)
* refactoring quayRequire directive

* added tests, show element if input changes

* use ngIfDirective in QuayRequireDirective
2017-04-10 11:57:09 -07:00
Joseph Schorr
c880b830cc Fix ability to invite team members by email address
The boolean logic was inverted

Fixes https://www.pivotaltracker.com/story/show/143336925
2017-04-07 15:13:32 -04:00
josephschorr
2ba51b2910 Merge pull request #2520 from coreos-inc/oidc-config-fix
OIDC configuration and debugging fixes
2017-04-07 13:43:49 -04:00
Joseph Schorr
6c7b6101cc Add missing client ID and client secret from OIDC config in setup tool
Stupidly forget to add these
2017-04-07 11:30:31 -04: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
josephschorr
3dd6e6919d Merge pull request #2510 from coreos-inc/upgrade-shoutout
Better UX for indicating upgrade is necessary to users
2017-04-04 17:26:16 -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
Joseph Schorr
30d5f2a138 Better UX for indicating upgrade is necessary to users 2017-04-04 16:15:33 -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
0b6c062e32 Add superuser panel config for team syncing 2017-04-03 11:31:30 -04:00
Joseph Schorr
d7825c6720 Add group iteration and syncing support to Keystone auth 2017-04-03 11:31:30 -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
Joseph Schorr
94b07e6de9 Allow nulls in last_updated field to accurately report the last updated time to users for newly sync teams 2017-04-03 11:31:29 -04:00
Joseph Schorr
8ea3977140 Add ability to enable, disable and view team syncing in UI and API
Also extracts out some common testing infrastructure to make testing APIs easier now using pytest
2017-04-03 11:31:29 -04:00
alecmerdler
57beee6c69 handle undefined case in BuildService#getBuildMessage 2017-03-31 13:53:42 -07:00
Joseph Schorr
147b812edb Remove out dated Enterprise landing page
We now just redirect to the QE plans page

Fixes https://www.pivotaltracker.com/story/show/142166263
2017-03-30 15:25:56 -04:00
Alec Merdler
52eab1766a Merge pull request #2492 from alecmerdler/fix-build-service
Null Case for Frontend Retrieving Build Message
2017-03-29 13:48:49 -07:00
alecmerdler
068ac0f19e added null case for retrieving build message 2017-03-29 13:44:50 -07:00
josephschorr
468604086f Merge pull request #2491 from coreos-inc/qss-error-blocker
Have sec scan retries actually work
2017-03-29 16:36:40 -04:00
Joseph Schorr
45179216af Have sec scan retries actually work
Until this change, if `ping` raised an exception, we wouldn't retry properly
2017-03-29 16:19:46 -04:00
Joseph Schorr
835acfc58e Make custom cert upload not hang and handle errors properly 2017-03-29 16:06:15 -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
Jimmy Zelinskie
1e041fcad2 Merge pull request #2454 from coreos-inc/fix-take-ownership
Fix take ownership of organizations
2017-03-27 14:30:22 -04:00
Joseph Schorr
de07dc1a78 Clarify that a custom SSL cert might be needed for QSS 2017-03-24 17:18:27 -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
alecmerdler
5805b80f1c use flexbox to fix safari alignment issue 2017-03-23 12:21:38 -07: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
Jimmy Zelinskie
ce7a9d550d Merge pull request #2429 from jzelinskie/licenses
document our deps and licenses in one place
2017-03-15 17:35:20 -04:00
josephschorr
b61291aeab Merge pull request #2431 from coreos-inc/sec-scan-col
Small UI fixes
2017-03-15 17:35:12 -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
a60440eb88 Further fixes to the filter box positioning 2017-03-15 15:07:17 -04:00
Jimmy Zelinskie
05d1b4df61 document our deps and licenses in one place 2017-03-15 13:40:57 -04:00
Joseph Schorr
0f9a79f274 Fix CSS class name on tags input 2017-03-14 17:10:17 -04:00
Joseph Schorr
f56f94b9e2 Fix font size on sec scan column 2017-03-14 11:39:07 -04:00
Joseph Schorr
129986c0f1 Change to single directional binding on new directives 2017-03-14 11:38:17 -04:00
Joseph Schorr
11a636021c Better tag history view on mobile 2017-03-14 11:34:43 -04:00
Joseph Schorr
92f858016d Fix yarn packages for new UI 2017-03-14 11:34:43 -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
f206b4b95e Move tag actions into a menu and fix view history action 2017-03-14 11:34:42 -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
57f78361b5 Remove history column from tags table 2017-03-14 11:34:42 -04:00
Joseph Schorr
91c7396057 Move tag history to its own top-level tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
4f567c0654 Remove tag history view from tags tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
49d980f685 Remove unused (and broken) visualize tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
fc700ef3f7 Add date time tooltip to last modified col 2017-03-14 11:34:41 -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
Joseph Schorr
814bbb4a96 Remove tag icon from tags table 2017-03-14 11:34:41 -04:00
alecmerdler
2e33c47573 removed datafile-service.js 2017-03-12 00:34:55 -08:00
alecmerdler
1142519139 tests for DataFileServiceImpl 2017-03-12 00:29:39 -08:00
alecmerdler
527e108d2e tests for DataFileServiceImpl 2017-03-12 00:21:59 -08:00
alecmerdler
7416534ab8 better mocking of FileReader and events 2017-03-11 17:45:36 -08:00
alecmerdler
ade4216642 build single test bunding using Webpack context 2017-03-11 16:48:05 -08:00
alecmerdler
b72cf7c04b refactoring DatafileService 2017-03-11 15:47:44 -08:00
alecmerdler
40e6540074 easier mocking/spying using ts-mocks 2017-03-11 15:27:23 -08:00
alecmerdler
4303f658e8 dockerfile-build-form component working with promise-based method 2017-03-10 16:01:41 -08:00
Joseph Schorr
8737ac09a8 Fix CSS around display of page controls in repo view 2017-03-10 14:33:44 -05: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
josephschorr
6d6be63ca6 Merge pull request #2393 from coreos-inc/oidc-ui
OIDC configuration support in superuser config panel
2017-03-10 12:13:48 -05:00
Jimmy Zelinskie
850c32ebfb Merge pull request #2298 from jzelinskie/maintainers
MAINTAINERS: init owners to subpkgs
2017-03-09 17:30:38 -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
alecmerdler
390e389027 all tests for DockerfileServiceImpl 2017-03-07 21:46:12 -08:00
Joseph Schorr
19bc023ce0 Make sure ref field in manual trigger dialog is cleared 2017-03-07 20:39:57 -05:00
alecmerdler
32827d7ba4 more tests for DockerfileService 2017-03-07 17:34:43 -08:00
alecmerdler
f7258c85e4 fix styling for deselected organizations in build trigger setup 2017-03-07 11:27:52 -08:00
alecmerdler
80b3666eb7 refactoring DockerfileService 2017-03-07 11:25:18 -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
Charlton Austin
e30cd931d1 feat(buildtrigger): allow use to specify dockerfile
users can only specify the folder and the
  dockerfile must be names "Dockerfile" this allows
  users to specify the file and it can be called
  "Dockerfile" or <some name>.Dockerfile
2017-03-06 21:20:17 -05:00
alecmerdler
ff6673fb07 refactored AvatarService 2017-03-06 00:02:57 -08:00
alecmerdler
7b35c0c0d5 refactored BuildService 2017-03-05 20:47:23 -08:00
Joseph Schorr
0851c72e30 Add support for OIDC binding field to the setup tool 2017-03-01 14:58:21 -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
a83a7fe47a moved run block to seperate module 2017-02-28 16:51:43 -05:00