Commit graph

391 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
d25051a953 feat(super-users): paginate user tab 2016-12-20 18:03:32 -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
Ian Minoso
a7594d6e57 Inject ApiService to be accessible in the body react component 2016-12-07 03:29:29 -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
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
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
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
daa759a066 Refactor and add doc level comments 2016-11-29 15:57:53 -05:00