Commit graph

253 commits

Author SHA1 Message Date
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
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
1e3b354201 Add support for temp usernames and an interstitial to confirm username
When a user now logs in for the first time for any external auth (LDAP, JWT, Keystone, Github, Google, Dex), they will be presented with a confirmation screen that affords them the opportunity to change their Quay-assigned username.

Addresses most of the user issues around #74
2016-11-03 15:59:14 -04:00
Joseph Schorr
a85126ea97 Prevent NPE in delete namespace
Fixes #2039
2016-10-31 12:17:50 -04:00
josephschorr
edc2bc8b93 Merge pull request #1698 from coreos-inc/delete-namespace
Add support for deleting namespaces (users, organizations)
2016-10-21 16:54:52 -04:00
Joseph Schorr
73eb66eac5 Add support for deleting namespaces (users, organizations)
Fixes #102
Fixes #105
2016-10-21 15:41:09 -04:00
Joseph Schorr
d2bc8722c9 Fix container service status check
It appears Chrome changed the status code returned when it cannot connect
2016-10-21 13:31:02 -04:00
Jake Moshenko
f04b018805 Write our users to Marketo as leads. 2016-10-14 16:29:11 -04:00
josephschorr
e313d59138 Merge pull request #1894 from coreos-inc/dockerfile-upload-bugs
Fix bugs around reading in datafiles and Dockerfiles
2016-09-29 22:47:06 +02:00
Joseph Schorr
7380cf0ce0 Show a throbber when the Angular view array still has hidden entries
This provides slightly better UI feedback to the user that more logs are incoming

Fixes #1881
2016-09-29 16:34:26 +02:00
Joseph Schorr
ba0ecf03dd Fix bugs around reading in datafiles and Dockerfiles
We now properly try to read archives in all three formats. If none are valid, the dataFileService.readDataArrayAsPossibleArchive fails (as it should), and then the Dockerfile service will try to read the file directly as a Dockerfile.

Fixes #1889
Fixes #1891
2016-09-29 11:36:57 +02:00
Lucas Serven
10a44a9224 frontend: fix gitlab icon spacing
fixes: #1888
2016-09-28 14:06:10 -07:00
Joseph Schorr
949dcb9d35 Add regex validating field 2016-09-15 13:25:57 -04:00
Joseph Schorr
9140b0e41d Add placeholder for regex field in create event control 2016-09-14 17:07:14 -04:00
Joseph Schorr
03d4445a02 Add notification filtering for builds based on ref regex
Fixes #1835
2016-09-14 16:48:17 -04:00
Joseph Schorr
0dce935c40 Move repo notification create to its own page
Also fixes a bug around Slack setup

Fixes #1834
2016-09-14 16:06:52 -04:00
Joseph Schorr
5e94f97a42 Fix tar-gz reading of Dockerfiles
- Fixes TAR to actually use data
- Fixes buffers for Gunzip to be a proper ArrayBufferView

Fixes #1832
2016-09-13 11:34:35 -04:00
josephschorr
cd8b45e25b Merge pull request #1754 from coreos-inc/team-add-perms
Better UI and permissions handling for robots and teams
2016-09-06 17:21:19 -04:00
josephschorr
3f459523c4 Merge pull request #1763 from coreos-inc/quay-title-seo
Change default title to include Container Registry and fix title usage
2016-08-29 11:29:26 -04:00
Joseph Schorr
608ffd9663 Basic labels support
Adds basic labels support to the registry code (V2), and the API. Note that this does not yet add any UI related support.
2016-08-26 15:24:26 -04:00
Joseph Schorr
4950776628 Change default title to include Container Registry and fix title usage
Goes towards fixing #1762
2016-08-25 14:57:48 -04:00
Joseph Schorr
391d70d9ec Add repo permissions dialog for existing teams and robots
Fixes #1686
2016-08-22 14:43:12 -04:00
Joseph Schorr
82753931f5 Remove old Olark code
Fixes #1696
2016-08-10 15:11:05 -04:00
Joseph Schorr
b7bde27b3c Fix display for builds which have fully expired
Fixes #1663
2016-08-04 11:13:32 -04:00
Joseph Schorr
c60f441d87 Fix enter key in password dialogs in Firefox
Fixes #1655
2016-07-27 13:12:37 -07:00
Joseph Schorr
dcebd61dde Add support for custom commit links in the build UI
Fixes #1251
2016-07-26 16:06:41 -07:00
Joseph Schorr
7ac37a3813 We cannot use customGET for resources, as it builds an invalid URL 2016-07-26 11:46:58 -07:00
Joseph Schorr
6432f28df7 Fix AsResource method loading 2016-07-26 11:21:02 -07:00
Joseph Schorr
1655e79a74 Fixes for fresh login check in API
- Fixes enter key causing two requests
- Makes sure fresh login is handled for resources as well

Fixes #1625
2016-07-25 15:29:55 -07:00
Jake Moshenko
af37f44c84 Collect billing address on credit card operations. 2016-07-08 13:00:01 -04:00
Joseph Schorr
4b3420eddf Change the encrypted password dialog to use the user's external username, if one exists.
Fixes #1538
2016-06-14 18:09:42 -04:00
Joseph Schorr
40ec2fcfd0 Fix enter key in password dialogs 2016-06-09 14:45:48 -04:00
Joseph Schorr
2ddede7857 Fix deletion of roles
This is currently broken in the UI
2016-05-24 11:44:59 -04:00
Joseph Schorr
35703e220f Fix timestamp 2016-05-17 17:15:11 -04:00
Joseph Schorr
4aab834156 Move to Angular 1.5
This has been reasonably well tested, but further testing should be done on staging.

Also optimizes avatar handling to use a constant size and not 404.

Fixes #1434
2016-05-17 16:32:08 -04:00
josephschorr
ee557c944a Merge pull request #1455 from coreos-inc/better-dialogs
Better dialogs
2016-05-16 18:27:03 -04:00
Joseph Schorr
4a543be7a7 New create entity dialogs (team and robot)
Fixes https://github.com/coreos-inc/design/issues/230
2016-05-16 17:30:00 -04:00
Joseph Schorr
486facedbe Add catches around calls to external services that might break login 2016-05-16 15:54:52 -04:00
Joseph Schorr
08d7b4babe New Credentials dialog
Fixes #279
2016-05-12 12:14:55 -04:00
Joseph Schorr
522cf68c5d Lots of smaller fixes:
- Add the rotation_duration to the keys API
- Have the key service UI use the new rotation_duration field
- Fix notification deletion lookup path
- Add proper support for the new notification in the UI
- Only delete expired keys after 7 days (configurable)
- Fix angular digest loop
- Fix unit tests
- Regenerate initdb
2016-04-29 14:05:16 -04:00
Joseph Schorr
11ff3e9b59 keys ui WIP 2016-04-29 14:05:16 -04:00
Joseph Schorr
fe735b8048 Implement new design for user and org settings
Fixes #1376
2016-04-27 18:17:46 -04:00
Joseph Schorr
da4c658bde Add support for shift key selection in checkable items
Fixes #1389
2016-04-20 15:25:20 -04:00
Joseph Schorr
74cbe2ebb1 Cleanup the convert user UI a bit 2016-04-15 15:13:22 -04:00
Evan Cordell
29eb0304e5 Merge pull request #1361 from ecordell/application-problem-json
Return application/problem+json format errors
2016-04-12 17:25:14 -04:00
Evan Cordell
7c361c07f9 Use ApiService to get error message 2016-04-11 17:31:30 -04:00
Evan Cordell
9c08717173 Return application/problem+json format errors and provide error endpoint
to dereference error codes.
2016-04-11 14:57:24 -04:00
Joseph Schorr
f97b8e2304 New login screen UI 2016-04-08 16:23:10 -04:00
Joseph Schorr
46b4ea8e3e Fix display of images in new sec scan API
Fixes #1297
2016-03-17 16:55:41 -04:00
Jimmy Zelinskie
48e0c44dbb vuln-service: use new clair namespace field name 2016-03-16 16:55:07 -04:00
Joseph Schorr
a941b26a2d Better handling of defcon1 2016-03-14 15:25:56 -04:00
Joseph Schorr
821b09daaf Update Quay Sec UI as per feedback from design team
Fixes #1281
2016-03-10 14:49:36 -05:00
Joseph Schorr
65037ac5e1 Fix handling of non-features from Clair and other small UI fixes 2016-03-04 18:07:44 -05:00
Joseph Schorr
58ccda6590 Small JS fixes 2016-02-25 17:09:29 -05:00
Joseph Schorr
ae9140caae Implement new vulnerabilities and packages tabs.
Fixes https://github.com/coreos-inc/design/issues/268
2016-02-25 17:09:29 -05:00
Joseph Schorr
9cb1366d36 Fix UI for dismissing notifications
Fixes #959
2015-12-22 07:38:57 -05:00
josephschorr
859537c4a1 Merge pull request #952 from coreos-inc/fixpagetitle
Fix page titles
2015-11-20 18:38:03 -05:00
Joseph Schorr
70b72818b7 Fix handling of plain Dockerfiles
Fixes #901
2015-11-20 18:09:25 -05:00
Joseph Schorr
fce37f545a Fix page titles
Fixes #949
2015-11-20 17:50:01 -05:00