Commit graph

211 commits

Author SHA1 Message Date
alecmerdler
068ac0f19e added null case for retrieving build message 2017-03-29 13:44:50 -07: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
4b51fa5e5b Update security scan col in repo view to use donut chart and better language 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
alecmerdler
4e913f106d refactored DockerfileServiceImpl to return promise instead of callbacks 2017-03-09 01:26:19 -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
alecmerdler
32827d7ba4 more tests for DockerfileService 2017-03-07 17:34:43 -08:00
alecmerdler
80b3666eb7 refactoring DockerfileService 2017-03-07 11:25:18 -08: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
alecmerdler
c60ce4a696 using decorators to write AngularJS in nearly identical syntax to Angular 2 2017-02-28 16:51:42 -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
fcff867bfd Display avatars in entity search autocomplete
Fixes https://github.com/coreos/bugs/issues/1819
2017-02-21 16:29:13 -05:00
Alec Merdler
7c904f2e21 Merge pull request #2292 from coreos-inc/frontend-typescript
Upgrading Front-end Client to TypeScript
2017-02-02 14:24:35 -08:00
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
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
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
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
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
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
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
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
alecmerdler
659417f7ef tests for AngularViewArray service 2017-01-07 00:28:02 -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
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
Joseph Schorr
03cf6d1499 Fix link in set password notification
Fixes #2164
2016-11-28 15:25:13 -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
Charlton Austin
2fe74e4057 Adding in UI for cancel anytime. 2016-11-21 10:58:32 -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