Commit graph

2126 commits

Author SHA1 Message Date
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
Joseph Schorr
5f9efa2fe9 Fix spelling mistake and display mistake in 404 view 2016-11-28 15:28:57 -05:00
Joseph Schorr
03cf6d1499 Fix link in set password notification
Fixes #2164
2016-11-28 15:25:13 -05:00
Joseph Schorr
9f695bc17f Fix version typo
Fixes #2158
2016-11-28 15:22:45 -05:00
josephschorr
1529ed2086 Merge pull request #2154 from coreos-inc/receipt-filename
Make receipt filenames include date information
2016-11-23 12:25:53 -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
Joseph Schorr
964b1013d9 Make receipt filenames include date information
Fixes #1997
2016-11-21 15:35:56 -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
1a61ef4e04 Report the user's name and company to Marketo
Also fixes the API to report the other changes (username and email) as well
2016-11-14 17:34:50 -05:00
josephschorr
cd3907b281 Merge pull request #2110 from coreos-inc/org-delete-bug
Fix bugs due to conflicting operation names in the API
2016-11-14 11:59:23 -05:00
josephschorr
74e54bdbbb Merge pull request #1872 from coreos-inc/qe-torrent
Add QE setup tool support for BitTorrent downloads
2016-11-11 13:56:22 -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
aa2704acc7 Add a test for operation name collisions and fix the one additional collision found 2016-11-10 15:38:27 -05:00
Joseph Schorr
932fa56227 Fix name collision between the two organization delete calls
Fixes #2104

The collision was causing the frontend to try to call the *superuser* method (in local, where superuser is enabled), but on prod (where it isn't), it was calling the normal method, which takes a different parameter name
2016-11-10 15:28:20 -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
37fbcedea8 Fix display of QE plan info under hosted tab
This fixes the plans page to not display the Quay Enterprise information underneath the hosted tab
2016-11-09 16:31:23 -05:00
josephschorr
45b1148118 Merge pull request #2086 from coreos-inc/user-info
Add collection of user metadata: name and company
2016-11-09 13:15:07 -05:00
Joseph Schorr
24780eef58 Make sure to check for user before redirecting in update user
Otherwise, the page redirects before the user is loaded
2016-11-08 19:15:11 -05:00
Joseph Schorr
0f2eb61f4a Add collection of user metadata: name and company 2016-11-08 16:15:02 -05:00
Ian Minoso
d39fc288aa Add relative path mapping 2016-11-07 17:31:11 -05:00