Commit graph

2450 commits

Author SHA1 Message Date
Joseph Schorr
8c56a86280 Add messaging if viewing a repo via the wrong path 2017-05-25 16:04:38 -04:00
alecmerdler
3068e874b7 avoid filtering by sorting fields 2017-05-25 12:47:02 -07:00
Alec Merdler
f759784262 Merge pull request #2667 from alecmerdler/no-flash-clipboard
Copy-to-Clipboard Without Flash
2017-05-25 11:57:38 -07:00
alecmerdler
062c1a1626 added copy-to-clipboard directive that does not require Flash 2017-05-25 11:48:43 -07:00
Alec Merdler
abebeef9dc Merge pull request #2666 from alecmerdler/fix-cor-table-pagination
Fix CorTableComponent Pagination Error
2017-05-25 11:26:36 -07:00
alecmerdler
e53ade6bd4 added default maxDisplayCount for cor-table to fix pagination NaN error 2017-05-24 21:43:25 -07:00
Alec Merdler
c61e212ecd Merge pull request #2665 from alecmerdler/fix-trigger-build-source
Fixed Build Source in Custom Git Trigger
2017-05-24 15:18:47 -07:00
alecmerdler
3fb4d0750b fixed build_source validation in custom git trigger 2017-05-24 15:12:17 -07:00
josephschorr
2ec43483a8 Merge pull request #2662 from coreos-inc/direct-login
Enable toggling of the direct login feature in the superuser panel
2017-05-24 16:51:43 -04:00
alecmerdler
cdcb944543 replace reference to global classes with ES6 modules 2017-05-24 13:37:30 -07:00
Joseph Schorr
9518f1d045 Disable debug logs in superuser panel when under multiple instances
They don't work anyway (since logs will be loaded from random instances), so we just disable them
2017-05-24 14:34:29 -04:00
Joseph Schorr
2b9873483a Enable toggling of the direct login feature in the superuser panel
Allows superusers to disable login to the UI via credentials if at least one OIDC provider is configured
2017-05-24 12:57:55 -04:00
josephschorr
8e8470890a Merge pull request #2653 from coreos-inc/new-signing-ui
Implement updated UI for displaying the signing status of a tag, now …
2017-05-24 11:31:52 -04:00
alecmerdler
13439e0ca7 add header to clarify optional robot selection during build trigger setup 2017-05-23 14:50:34 -07:00
Joseph Schorr
51485a5006 Review fixes: rename type names and add better coloring 2017-05-23 15:31:42 -04:00
Charlton Austin
e52041fc87 Merge pull request #2630 from charltonaustin/refresh_the_user_management_page_and_not_have_weird_errors_145041479
fix(entity-search.js): fix reload namespace
2017-05-23 13:12:39 -04:00
Charlton Austin
9729ac3cbb fix(entity-search.js): fix reload namespace
before if you reloaded the say the team owners tab you would get
an error this now watches the namespace and updates it

[TESTING -> tested against prod like data with local docker build]

Issue: https://www.pivotaltracker.com/story/show/145041479

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-23 12:48:11 -04:00
Alec Merdler
bfe4a050c4 Merge pull request #2658 from alecmerdler/webpack-overhaul
Replace Grunt with Webpack as Front-End Build Tool
2017-05-22 14:31:37 -07:00
Alec Merdler
97256841bd Refactor Manage Trigger to Single Workflow (#2577)
* Refactor Manage Trigger to Single Workflow
2017-05-22 13:59:12 -07:00
alecmerdler
2e133d2b9c replaced Grunt with Webpack as front-end build tool 2017-05-22 12:00:51 -07:00
Joseph Schorr
c33ed8f597 Implement updated UI for displaying the signing status of a tag, now that we support multiple delegations
The icon now represents the status of the multiple delegations, and we show each delegation in the "Expanded" view.
2017-05-22 11:18:32 -04:00
Charlton Austin
a71f60a9c1 Merge pull request #2652 from charltonaustin/failing_repository_notifications_to_be_disabled_after_n_failures_in_a_row_144646649
Failing repository notifications to be disabled after n failures in a row 144646649
2017-05-22 09:30:53 -04:00
Charlton Austin
993f2a174c feat(full-stack): disable notifications after 3 failures
This stops notifications from firing over and over again if they are repeatedly failing.

[TESTING -> locally with docker compose, DATABASE MIGRATION -> there is a single migration]

Issue: https://www.pivotaltracker.com/story/show/b144646649n

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-19 16:58:46 -04:00
Alec Merdler
86bcbd1225 Merge pull request #2650 from alecmerdler/fix-external-notification
Fix External Notification Modal UI
2017-05-18 23:12:19 -07:00
alecmerdler
0103b65ed1 hide existing Markdown content while editing 2017-05-17 18:00:31 -07:00
alecmerdler
5a963873cf fixed external notification email modal 2017-05-17 16:43:56 -07:00
Kenny Lee Sin Cheong
afc13140c4 Show build logs timestamps by default
Show timestanps in build logs when quay.showBuildLogTimestamps is not set
2017-05-16 23:59:14 -04:00
Jimmy Zelinskie
702cdf59ff Merge pull request #2637 from jzelinskie/audit-apps
Audit Logs for Apps
2017-05-16 17:06:25 -04:00
Alec Merdler
2cc77b00bc Merge pull request #2645 from alecmerdler/fix-markdown-view
Fixed Markdown Issues
2017-05-16 13:31:25 -07:00
alecmerdler
a7aa87d490 fixed overflow in markdown-view component and old usage of Markdown global 2017-05-16 13:12:03 -07:00
Jimmy Zelinskie
d7564fd627 add app metadata fields to usage logs component 2017-05-16 15:54:02 -04:00
Jimmy Zelinskie
f4f67c8c62 app-public-view: add Audit Logs tab 2017-05-16 15:54:02 -04:00
Evan Cordell
61b7bfa90f Rename Quay Content Trust to Quay Trust 2017-05-16 07:40:20 -04:00
Evan Cordell
50141c735b Merge pull request #2640 from ecordell/fix-k8s-secret
Fix kubernetes secret generation
2017-05-15 17:22:16 -04:00
Charlton Austin
faa6b0c3a6 fix(custom git trigger): fixed init
correctly added in default parameters for config

[TESTING -> locally with docker]

Issue: https://www.pivotaltracker.com/story/show/145071887

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-15 13:37:00 -05:00
Evan Cordell
c413e349ef Fix kubernetes secret generation 2017-05-15 11:10:21 -04:00
Alec Merdler
6b54279bb7 Markdown Overhaul (#2624)
Rebuilt Markdown editor/views into new components
2017-05-10 14:18:37 -07:00
alecmerdler
d048542288 ixed race condition for retrieving image security scan on vulnerability view 2017-05-10 10:36:27 -07:00
Alec Merdler
977ae7a809 Merge pull request #2633 from alecmerdler/fix-typeahead-template
Fix jQuery Typeahead Template Bug
2017-05-09 13:14:10 -07:00
alecmerdler
481daff85d jQuery typeahead suggestion template needs to be valid HTML markup 2017-05-09 12:25:21 -07:00
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
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
Joseph Schorr
1146b62c13 Add superuser config panel support for OIDC login 2017-02-28 16:18:34 -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
7f1980bff1 Fix DockerfileService to properly parse repo names and tags
Before this change, the tag name would be included in the image, which breaks the API
2017-02-22 16:26:47 -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
Joseph Schorr
f569cea4b3 Fix logs graphs tooltips for months < 10
Fixes #2342
2017-02-08 18:30:53 -08:00
alecmerdler
75d203c478 update Webpack to 2.2 2017-02-06 14:05:19 -08: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
Erica
0150abc488 Merge pull request #2319 from coreos-inc/FIX-escapehtmlstring-type-error
fix(js/util-service): ensure text is a string
2017-02-02 13:18:26 -05:00
alecmerdler
537c07ad4d fixes based on requested changes 2017-02-01 00:29:56 -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
048f932094 Merge pull request #2320 from coreos-inc/FIX-inprog-error
fix(angular-poll-channel): wrap scope change in $timeout
2017-01-30 17:00:35 -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
01434decc4 fix(angular-poll-channel): wrap scope change in 2017-01-30 16:32:43 -05:00
EvB
30214a794b fix(js/util-service): ensure text is a string 2017-01-30 14:30:53 -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
alecmerdler
43f95c52a0 retrieve if needed 2017-01-25 16:11:19 -08:00
alecmerdler
c9fa22b093 moved Webpack bundle directory out of /static/js because it contains more than just JS files 2017-01-24 14:05:06 -08:00
EvB
f049ddefde fix(update-user.js): add another existence check 2017-01-24 12:16:03 -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
Jimmy Zelinskie
64421db0a3 MAINTAINERS: init owners to subpkgs 2017-01-23 17:46:34 -05:00
alecmerdler
6b2222a3ec renamed properties placed on the window object to INJECTED_<property> 2017-01-23 12:34:22 -08:00
alecmerdler
64a4b68216 removed unnecessary factory classes, simplified existing services 2017-01-23 01:57:00 -08:00
alecmerdler
2a59014f0b refactoring RouteBuilderFactory into service 2017-01-21 22:09:22 -08:00
alecmerdler
edd7314624 @Inject decorator for easily annotating dependency-injected class constructors 2017-01-21 02:56:29 -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
8dc9cf21d7 fixed karma-webpack, also added jasmine-ts to run tests in pure NodeJS 2017-01-19 20:02:57 -08: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
37129687e3 created interface for RouteBuilder service 2017-01-19 03:02:37 -08:00
alecmerdler
bee504d0ba switched to running tests using karma-typescript 2017-01-19 02:10:00 -08:00
alecmerdler
8a9a2972ec moved naming patterns to seperate module and Angular constant 2017-01-19 01:48:15 -08:00
alecmerdler
c55e9f2d12 moved modules to typescript. Tell Webpack to use global window.angular object in order to migrate components gradually into bundle 2017-01-19 00:53:38 -08:00
alecmerdler
d5a74af024 typescript tests working 2017-01-18 22:10:43 -08:00
alecmerdler
b24d3b952b getting error: a dependency to an entry point is not allowed 2017-01-18 17:14:57 -08:00
alecmerdler
4f96ab5353 refactoring to TypeScript and ES6 modules 2017-01-18 15:46:37 -08:00
josephschorr
e2748fccd9 Merge pull request #2282 from coreos-inc/motd-updates
Severity and Markdown support in MOTD
2017-01-18 17:41:27 -05:00
Joseph Schorr
3106504f39 Severity and Markdown support in MOTD
[Delivers #133555165]
2017-01-18 16:55:32 -05:00
Joseph Schorr
462f47924e More detailed namespace validation
Fixes namespace validation to use the proper regex for checking length, as well as showing the proper messaging if the entered namespace is invalid

[Delivers #137830461]
2017-01-17 17:31:59 -05:00
josephschorr
9b65b37011 Merge pull request #2245 from coreos-inc/recaptcha
Add support for recaptcha during the create account flow
2017-01-17 11:34:23 -05:00
josephschorr
ac8cddc5a9 Merge pull request #2274 from coreos-inc/custom-cert-management
Custom SSL certificates config panel
2017-01-13 16:24:47 -05:00
Joseph Schorr
efdedba2ae Superuser config tool warnings
Adds warnings displayed in the superuser config tool that the changes made will only be applied to the local instance (in non-k8s case) or that a deployment is required (in the k8s case)

[Delivers #137537413]
2017-01-13 15:50:50 -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
aba4187d81 fix(dockerfile-build-dialog): disable button until ready
Ensure the callback function in the dockerfileBuildDialog
directive is set, and therefore that it's ready to start a build,
before enabling the button to trigger start build.

Fixes: [Issue #203931642/](https://sentry.io/coreos/frontend-production/issues/203931642/)
2017-01-12 11:22:59 -05:00
Alec Merdler
081424ed82 Merge pull request #2268 from coreos-inc/frontend-testing-framework
Front-end testing framework
2017-01-11 16:20:40 -08: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
Joseph Schorr
3eb17b7caa Add support for recaptcha during the create account flow
If the feature is enabled and recaptcha keys are given in config, then a recaptcha box is displayed in the UI when creating a user and a recaptcha response code *must* be sent with the create API call for it to succeed.
2017-01-09 11:08:21 -05:00
alecmerdler
9248e4e8aa tests and refactoring for AngularRouteBuilder 2017-01-07 04:24:26 -08:00
alecmerdler
659417f7ef tests for AngularViewArray service 2017-01-07 00:28:02 -08:00
alecmerdler
b44665e75d installed and configured karma test runner 2017-01-06 21:27:54 -08:00
Erica
72191bbd37 Merge pull request #2253 from coreos-inc/BUG-angular-apply-error
fix(js/onresize): make sync call async in angular
2016-12-28 10:51:00 -05:00
Erica
4c7445db81 Merge pull request #2250 from coreos-inc/STORY-133211327-SSU-pagination
feat(super-users): paginate user tab
2016-12-28 10:50:45 -05:00
Ian Minoso
451334a502 Check for null data on builds table 2016-12-22 15:48:46 -05:00
EvB
05a92f4389 fix(js/onresize): make sync call async in angular
Wrap sync callback for the resize event in a `$timeout` so that it
gets called asyncronously. Fixes error where `$apply` was geting
called before previous `$apply` call finished. Angular allows only
one `$apply` call at a time.

See Angular.js reference.
> [Error: $rootScope:inprog](https://docs.angularjs.org/error/$rootScope/inprog)

Fixes:

> *Error* ldn/angular in O/<
> error[$rootScope:inprog] http://errors.angularjs.org/1.5.3/$rootScope/inprog?p0=%24digest

Likely fixes other errors we're seeing related to resize events
such as

> *ReferenceError<unknown module>* in onresize
> Can't find variable: tree
2016-12-21 16:39:35 -05:00
EvB
b9a75496c3 fix(angular-tour): correct typo 2016-12-21 15:34:07 -05:00
EvB
577db4abc3 feat(super-user): paginate orgs 2016-12-20 18:30:59 -05:00
EvB
d25051a953 feat(super-users): paginate user tab 2016-12-20 18:03:32 -05:00
josephschorr
f72185f527 Merge pull request #2240 from coreos-inc/wrong-email-invite-accept
Fix attempts to confirm team invite for mismatched email address
2016-12-16 14:30:37 -05:00
Joseph Schorr
785c74de52 Fix attempts to confirm team invite for mismatched email address
Currently, if a user tries to confirm an invite sent to them on an account with a mismatching email address, we simply redirect to the org (where they get a 403). This change ensures they get the proper error response message, and restyles the error page to be nicer.

Fixes #2227
Fixes https://www.pivotaltracker.com/story/show/136088507
2016-12-15 17:15:11 -05:00
Ian Minoso
149dd46076 Add throbber while waiting for builds to load 2016-12-15 13:01:33 -08:00
Ian Minoso
77215b7de4 Merge pull request #2232 from iminoso/services
Basic builds table for new repo view
2016-12-14 15:52:39 -08:00
Ian Minoso
f0be3013ac clear setinterval after unmounting component 2016-12-14 15:04:56 -08: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
Ian Minoso
1ed3c1444d Basic builds table for new repo view 2016-12-13 16:46:35 -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
josephschorr
543d86ae10 Merge pull request #2221 from coreos-inc/fix-error-pages
Have all error pages be rendered by Angular
2016-12-07 17:53:14 -05:00
Joseph Schorr
c06bba38de Have all error pages be rendered by Angular
Fixes #2198

Fixes https://www.pivotaltracker.com/story/show/135724483
2016-12-07 17:49:02 -05:00
Ian Minoso
548bae0384 Merge pull request #2215 from iminoso/services
Inject ApiService to be accessible in the body react component
2016-12-07 12:01:32 -05:00
Ian Minoso
a7594d6e57 Inject ApiService to be accessible in the body react component 2016-12-07 03:29:29 -05:00
Ben Spoon
1d0aff9906 Merge pull request #2205 from spoonben/update-landing-css
landing: remove gray background
2016-12-06 14:03:03 -08:00
Ian Minoso
a2cbcf837d Merge pull request #2210 from iminoso/tabbing
Fix repo view tabbing styles and prevent auto scroll on tab click
2016-12-05 21:50:16 -05:00
Ian Minoso
c7d02c3506 Fix repo view tabbing styles and prevent auto scroll on tab click 2016-12-05 20:29:40 -05:00
josephschorr
80bb0c7449 Revert "static: change login input type to email" 2016-12-05 19:07:10 -05:00
Ben Spoon
1cadc39729 landing: remove gray background
per rob, remove gray alternating gray background
on the home page. This was done in the quay-pages
repo, but this is still being loaded in on production
2016-12-05 13:17:22 -08:00
Ian Minoso
b2c535e3cc Single border line seperating the main and sidebar sections 2016-12-05 13:53:37 -05:00
Ian Minoso
1220b85687 Create individual styles for each component, add no tags messsage 2016-12-05 13:18:50 -05:00
Ian Minoso
92db3e542c Slice Tags 2016-12-05 12:50:28 -05:00
Ian Minoso
4dea516a40 Sort Tags By most recent, show only top 5 2016-12-05 11:59:10 -05:00
Lucas Serven
2ba1dcb4dc static: change login input type to email
This commit modifies the type of the login username input field from
`text` to `email`. This is an important usability feature for mobile
devices. You can still input a username instead of an email; it just
makes the `@` key easier to get to.
2016-12-02 10:55:03 -08:00
Joseph Schorr
f4bcf68928 Add support for custom ports on RADOS and S3 storage engines 2016-12-01 14:23:18 -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
josephschorr
fc2e597490 Merge pull request #2177 from coreos-inc/cors-marketing-site
Switch landing page to read template from S3 bucket
2016-11-30 14:33:24 -05:00
Charlton Austin
4a69dbe1bf Fixing the z index for multiline message of the day. 2016-11-30 14:24:13 -05:00
josephschorr
244bf2a070 Merge pull request #2165 from coreos-inc/typo-and-link-fixes
Typo and link fixes
2016-11-30 14:00:16 -05:00
Joseph Schorr
66e09b2a95 Switch landing page to read template from S3 bucket
This change uses CORS to make the Angular template request to a defined S3 bucket, falling back to the compiled login template if the bucket is not available.

Fixes #1313
2016-11-30 14:00:07 -05:00
Ian Minoso
2101ae2dec Merge pull request #2115 from iminoso/layout
New repo-view page
2016-11-29 19:15:34 -05:00
Ian Minoso
daa759a066 Refactor and add doc level comments 2016-11-29 15:57:53 -05:00
Joseph Schorr
2a24bbfb50 Display the password change dialog immediately after account recovery
Fixes #1697
2016-11-28 18:59:01 -05:00
Ian Minoso
0d915eccc4 Repo-view page with header, sidebar and body 2016-11-28 16:41:46 -05:00