alecmerdler
41e7e559a6
added TSLint for TypeScript code style checking, fixed associated errors
2017-06-27 11:37:13 -07:00
alecmerdler
f5c1ae0719
fixed AngularJS escaping '?' character in URL
2017-06-23 11:27:07 -07:00
EvB
20284f57f3
fix(user-service): make sync calls to update user async
2017-05-26 17:18:05 -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
alecmerdler
a7aa87d490
fixed overflow in markdown-view component and old usage of Markdown global
2017-05-16 13:12:03 -07: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
alecmerdler
4715560e55
return no-op status service if billing is not enabled
2017-05-04 11:56:46 -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
alecmerdler
57beee6c69
handle undefined case in BuildService#getBuildMessage
2017-03-31 13:53:42 -07:00
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