Commit graph

607 commits

Author SHA1 Message Date
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
Ian Minoso
0d915eccc4 Repo-view page with header, sidebar and body 2016-11-28 16:41:46 -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
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
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
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
Ian Minoso
d39fc288aa Add relative path mapping 2016-11-07 17:31:11 -05:00
josephschorr
233b2be5c2 Merge pull request #2066 from coreos-inc/select-username
Add support for temp usernames and an interstitial to confirm username
2016-11-03 16:22:16 -04: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
Ian Minoso
74b6944b0d Merge pull request #2050 from iminoso/layout
Create all components for new repo page
2016-11-02 11:37:33 -04:00
Ian Minoso
71dc3ff633 Fix import names 2016-11-01 14:42:50 -04:00
Ian Minoso
8d233ca493 Organize directories and path 2016-11-01 14:28:27 -04:00
Ian Minoso
f92551a9d1 Named imports 2016-11-01 02:51:18 -04:00
Ian Minoso
9653cad53c Namespace page directories 2016-10-31 16:35:11 -04:00
Ian Minoso
2383609c15 Create individual directory for each page 2016-10-31 15:56:39 -04:00
Ian Minoso
8fae92267e create all components for new repo page 2016-10-31 13:18:18 -04:00
Joseph Schorr
604c67948a Fix NPE in activate trigger
Fixes #2042
2016-10-31 12:19:43 -04:00
Joseph Schorr
ccb5bc8f1b Add external auth emails to entity search
Fixes #1791
2016-10-27 16:08:07 -04:00
josephschorr
934cdecbd6 Merge pull request #1905 from coreos-inc/external-auth-search
Add support for entity search against external auth users not yet linked
2016-10-27 16:06:42 -04:00
Joseph Schorr
d145222812 Add support for linking to external users in entity search 2016-10-27 15:42:03 -04:00
Ian Minoso
f306177f01 Merge pull request #1883 from iminoso/webpack
Installing skeleton Webpack build tool on front end
2016-10-26 12:02:05 -04:00
Joseph Schorr
e85a1bce0a Redo the UI for the run trigger dialog to be much cleaner
Fixes #774
2016-10-21 16:56:13 -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
3a68740ff7 Better handling of namespace validation to fix a number of issues
- Fixes a bug which allows for underscores at the beginning of namespaces: Fixes #1849
- Allows dots and dashes for newer Docker clients: Fixes #1188
- Has the UI display better messaging associated with namespace entry
2016-10-20 13:32:22 -04:00
Ian Minoso
5a45f140c2 compile a typescript react component with webpack 2016-10-18 17:16:01 -04:00
Charlton Austin
8e5dc8d3db Moving the messages endpoint to something more generic, and making the get visible all the time. 2016-10-17 16:23:48 -04:00
Ian Minoso
36b1ee2be9 two examples of implementing react components 2016-10-14 14:23:43 -04:00
Ian Minoso
67e466ee11 Create seperate directive 2016-10-14 12:03:28 -04:00
Charlton Austin
c8e5809cc7 Refactoring manage users to it's own directive. 2016-10-13 16:57:19 -04:00
Charlton Austin
97d644d95d Adding in the delete api and the delete and create UI. 2016-10-13 10:40:52 -04:00
charltonaustin
48ba98fff4 Fixing the build. 2016-10-10 14:42:33 -04:00
charltonaustin
4ae6e6efa9 Fixing some database integration errors 2016-10-10 10:51:30 -04:00
charltonaustin
1e733ddffb Adding in a new message data model and the corresponding methods to in the API. 2016-10-07 15:56:58 -04:00
charltonaustin
980e79d612 Removing commented out code for merging into master. 2016-10-06 16:54:04 -04:00
charltonaustin
1dbd27934f Adding in an outline of a front-end for retrieving messages from the backend api. 2016-10-06 15:58:47 -04:00
Joseph Schorr
3476829139 Add missing $scope.$apply in the build logs view
Without this, the logs appear to never load, until such time as any other digest cycle comes along

Fixes #1886
2016-09-29 16:23:11 +02:00
josephschorr
ad4efba802 Merge pull request #1830 from coreos-inc/superuser-dashboard
Add prometheus stats to enable better dashboarding
2016-09-26 17:19:22 +02:00
Joseph Schorr
0a435fa1dc Fix Angular bug on plans page when using back button
Angular apparently tries to read the DOM that is being manipulated simultaneously by bootstrap, which results it a state inconsistency (since the DOM is changing) and an Angular failure. This change ensure that the modal call happens outside of the initial digest loop and therefore, appears to solve the problem (translation: who the heck knows why it works, but it does).

Fixes #1869
2016-09-23 15:35:19 -04:00
Joseph Schorr
e4ad25ea81 Add repository list pagination
Also changes our binds to be bind-once, which should significantly reduce memory and increase performance for large lists

Fixes #1856
2016-09-21 14:23:32 -04:00
josephschorr
349bd1e0fa Merge pull request #1839 from coreos-inc/better-notifications
Better notifications UI and features
2016-09-16 21:07:14 -04:00
Joseph Schorr
949dcb9d35 Add regex validating field 2016-09-15 13:25:57 -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
josephschorr
949ceae4eb Merge pull request #1822 from coreos-inc/run-build-admin
Allow repository admins to invoke build triggers manually
2016-09-14 14:43:53 -04:00
Joseph Schorr
13bcba4206 Fix timeline's delete-then-tag display bug
Currently, if a tag is deleted and then assigned later, it shows up as a move, rather than a delete+create. This is due to the threshold check being backwards.

Fixes #1824
2016-09-12 15:46:23 -04:00
Joseph Schorr
3f2447d831 Make the frontend agnostic to why a trigger can be run manually 2016-09-09 16:54:46 -04:00
Joseph Schorr
5d6876eb81 Remove old metrics dashboard
It only applies to a single instance, making it fairly useless
2016-09-09 14:46:33 -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
Joseph Schorr
de212d8594 Fix grammar in entity search
Fixes #1794
2016-08-31 14:19:28 -04:00
josephschorr
040886b781 Merge pull request #1769 from coreos-inc/fix-plans-tabs
Fix handling of tabs in the plans page
2016-08-29 13:37:42 -04:00
josephschorr
b3c592c09a Merge pull request #1631 from coreos-inc/labels
Basic labels support
2016-08-26 15:24:35 -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
b1e0620c1d Fix handling of tabs in the plans page
Fixes #1768
2016-08-26 13:09:05 -04:00
Joseph Schorr
e3ed2c8a92 Hide repo star control when not logged in
Fixes #1756
2016-08-23 13:02:55 -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
6ebb417923 Redesign the teams page to use a table
Allows for faster loading and easier viewing of important information about teams
2016-08-22 14:42:54 -04:00
Joseph Schorr
98206310bd Extract the add repo permissions UI into its own directive 2016-08-22 14:42:54 -04:00
josephschorr
aa2066e3f5 Merge pull request #1722 from coreos-inc/logentry-index
Add an index for lookup by account to log entries
2016-08-12 18:40:24 -04:00
Joseph Schorr
0f46230493 Add an index for lookup by account to log entries
Also fixes the query to require one less join
2016-08-12 17:39:31 -04:00
Joseph Schorr
2af938c241 Fix use of bootstrap glyph icons in QE
Fixes #1717
2016-08-12 15:41:01 -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
06d52f2c83 Fix handling of multi-part branches in the build triggers
Fixes #1360
2016-07-26 13:41:13 -07:00
Joseph Schorr
38744c81c5 Change future entries in heat map to be empty 2016-06-23 17:08:11 -04:00
Joseph Schorr
fcd7c7e5e9 Have heat map adjust its color range based on linear scale 2016-06-23 13:28:46 -04:00
Joseph Schorr
760d63bfdc Small fixes for heat map views 2016-06-22 15:56:11 -04:00
Joseph Schorr
61573604ef Fix stats NPE 2016-06-22 15:43:15 -04:00
Joseph Schorr
853cca35f3 Change repo stats to use the RAC table and a nice UI 2016-06-22 15:06:53 -04:00
Joseph Schorr
ed727ad424 Globally replace illegal chars in escaped username
Fixes #1564
2016-06-21 13:29:35 -04:00
Joseph Schorr
41ae47c995 Toggle for add permissions dialog
Fixes #1553
2016-06-20 14:33:40 -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
josephschorr
58bef472d9 Merge pull request #1526 from coreos-inc/superuser-grant
Add ability for super users to take ownership of namespaces
2016-06-13 16:23:10 -04:00
Joseph Schorr
20816804e5 Add ability for super users to take ownership of namespaces
Fixes #1395
2016-06-13 16:22:52 -04:00
Joseph Schorr
56abefe58e Remove description from the log for change desc
Fixes #1524
2016-06-09 14:06:51 -04:00
Joseph Schorr
b06b5b420a Fix teams list in entity search
The new version of Angular 1 no longer allows us to loop over an object, so we construct an array instead.

Fixes #1519
2016-06-06 11:47:53 -04:00
Joseph Schorr
23322bc572 Fix login form for password managers
Fixes #1476
2016-06-01 16:09:16 -04:00
Joseph Schorr
04df2410ec Add better errors if Redis is down
Fixes #1497
2016-05-31 15:24:36 -04:00
Joseph Schorr
303db01ec5 Better error display for build logs view
Fixes #1492
2016-05-31 14:41:45 -04:00
Joseph Schorr
ad12df0f93 Fix logs UI around date time handling
Makes the UI nicer looking and removes the 2 week limit; instead we have a 1 month limit, which is the max days we keep the logs in the database before being rotated.

Fixes #1480
2016-05-23 15:51:34 -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
a3612c0e37 Fix reference in credentials dialog 2016-05-16 16:30:56 -04:00
Joseph Schorr
7179f23568 Temporary fix for login screen by always showing the signin (instead of create account) 2016-05-16 14:12:15 -04:00
Joseph Schorr
2274d6ff84 Fix error 2016-05-12 16:54:05 -04:00
Joseph Schorr
580814f712 Move the credentials dialog to always be under the body
Fixes a CSS issue with display:table-cell and nesting
2016-05-12 13:42:11 -04:00
Joseph Schorr
08d7b4babe New Credentials dialog
Fixes #279
2016-05-12 12:14:55 -04:00
josephschorr
f0bf138448 Fix handling of large numbers of image tracks (#1451)
Fixes #1448

Image tracks will now automatically inline when possible. When not possible, we display a maximum of 5 tracks before we change them to a single column with colored dots.
2016-05-10 18:15:34 -07:00
josephschorr
94e9448658 Fix loading of billing panel when the org has a deprecated plan (#1450) 2016-05-10 18:15:05 -07:00
Joseph Schorr
9c22ee3e29 Remove old security scanner UI code 2016-05-04 15:25:30 -04:00
Joseph Schorr
2cbdecb043 Implement setup tool support for Clair
Fixes #1387
2016-05-04 13:40:50 -04:00
Joseph Schorr
a55e92bc95 Add UI support for multiple operations on keys 2016-04-29 14:09:37 -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
08017c5111 Further UI updates 2016-04-29 14:05:16 -04:00
Joseph Schorr
11ff3e9b59 keys ui WIP 2016-04-29 14:05:16 -04:00
Joseph Schorr
6497a5b18b Make sure to hide the billing header when billing is disabled 2016-04-28 15:41:32 -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
34a8090328 Fix handling of Defcon 1
Fixes #1397
2016-04-22 13:21:35 -04:00
Joseph Schorr
03489c22ad Log the pushed tag and add IP address display
Fixes #798
2016-04-20 13:00:21 -04:00
Joseph Schorr
1ce47fd228 Lots of small UI fixes
Fixes #1369
Fixes #1368
2016-04-14 15:12:54 -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
693a11c58e Add RFC citation 2016-04-11 20:08:45 -04:00
Evan Cordell
7c361c07f9 Use ApiService to get error message 2016-04-11 17:31:30 -04:00
Joseph Schorr
f97b8e2304 New login screen UI 2016-04-08 16:23:10 -04:00
Joseph Schorr
87e820c138 Show degraded component in bottom bar, if only one 2016-03-24 14:37:18 -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
4c5c46aa8f Add experiment to hide the new Clair UI 2016-02-25 17:42:09 -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
Quentin Machu
0183c519f7 Merge pull request #1253 from Quentin-M/clair2
Adapt securityworker, secscan API and Quay UI for Clair 1.0
2016-02-19 18:21:25 -05:00
Quentin Machu
6a37f93718 Make the Quay UI work for Clair 1.0 2016-02-19 17:44:23 -05:00
Joseph Schorr
1940fd9939 Add UI to the setup tool for enabling ACI conversion
Fixes #1211
2016-02-17 12:05:48 -05:00
Joseph Schorr
ffc5e4b11e Small NPE fix in JS 2016-02-10 14:36:47 +02:00
Joseph Schorr
bd0a098282 Add ID-based pagination to logs using new decorators and an encrypted token
Fixes #599
2016-01-26 12:50:48 -05:00
Joseph Schorr
8318546447 Add new global nav header
Fixes #1151
2016-01-20 18:31:04 -05:00
Joseph Schorr
8bb3271a1a Fix repo tag revert
Fixes #1146
2016-01-19 13:31:49 -05:00
Joseph Schorr
f2dff3a7e1 Fix small UI issue with repo toggle 2016-01-11 14:05:41 -05:00
josephschorr
4dfeb907c3 Merge pull request #1109 from coreos-inc/commonlistgrid
Create a common repo-list-view control and use it everywhere
2016-01-04 15:42:36 -05:00
Joseph Schorr
3da8814787 Create a common repo-list-view control and use it everywhere
This allows users to choose grid view or table view in all repo lists

Fixes #732
2016-01-04 15:42:25 -05:00
josephschorr
f748d4348d Merge pull request #1106 from coreos-inc/billingemail
Add support for custom billing invoice email address
2016-01-04 14:34:30 -05:00
Joseph Schorr
48eef7859c Further code that we can remove now that image diff is gone
Fixes #1115
2016-01-04 14:31:46 -05:00
Joseph Schorr
31a8a0fba4 Better UX when recovering organization emails
Fixes #291
2015-12-28 15:25:31 -05:00
Joseph Schorr
10efa96009 Add support for custom billing invoice email address
Fixes #782
2015-12-28 13:59:50 -05:00
Joseph Schorr
9cb1366d36 Fix UI for dismissing notifications
Fixes #959
2015-12-22 07:38:57 -05:00
josephschorr
a2896cc39d Merge pull request #948 from coreos-inc/defcon1
Add defcon1 banner
2015-11-20 16:39:04 -05:00
Joseph Schorr
666114dea4 Add defcon1 banner
Fixes #771
2015-11-20 16:13:50 -05:00
Joseph Schorr
37a1b01d77 Fix date display in Firefox
Fixes #934
2015-11-20 11:29:05 -05:00
Joseph Schorr
e574211e8e Fix typo 2015-11-16 06:21:44 +01:00
Joseph Schorr
7816b0c657 Merge master into vulnerability-tool 2015-11-12 21:52:47 -05:00
Joseph Schorr
3b3f101ea6 Vulnerability UI part 2
Fixes #860
Fixes #855
2015-11-12 16:59:36 -05:00
Joseph Schorr
76ce63895f New Quay Sec UI and fix some small bugs
Fixes #855
2015-11-11 18:15:58 -05:00
Joseph Schorr
ca7d736db2 Only send vulnerability events if the minimum priority is gte to that specified
Fixes #770
2015-11-10 16:05:55 -05:00
Matt Jibson
7a503d678b Add page offset to track line tag index
fixes #755
2015-11-09 16:21:43 -05:00
Joseph Schorr
8c144397e9 WIP: UI for QuaySec 2015-11-09 12:50:39 -05:00
Joseph Schorr
0f3db709ea Add a vulnerability_found event for notice when we detect a vuln
Fixes #637

Note: This PR does *not* actually raise the event; it merely adds support for it
2015-11-06 15:22:18 -05:00
Joseph Schorr
4f41f79fa8 Never load the full repo image list
Always make smaller queries per tag to ensure we scale better

Fixes #754
2015-11-04 15:53:00 -05:00
Joseph Schorr
fa97e0c839 Rebrand landing page 2015-11-02 14:34:18 -05:00
Joseph Schorr
f867ac5bfe Change to new logo 2015-11-02 14:34:16 -05:00
josephschorr
601b741c4e Merge pull request #657 from coreos-inc/bettergherror
Better GitHub error messaging
2015-10-16 18:06:27 -04:00
Joseph Schorr
328aacbc60 Fix small UI bugs around uploading dockerfiles
Fixes #606

- Raises an error when a non-200 code is returned
- Resets the dialog when reopened
- Has a nicer error message for 413 errors
2015-10-16 17:53:00 -04:00
Joseph Schorr
d9e001b688 Better GitHub error messaging
Fixes #612
2015-10-16 13:51:50 -04:00
Joseph Schorr
f49375949f Make teams UI more descriptive
Fixes #646
2015-10-15 12:05:55 -04:00
Jimmy Zelinskie
8dbc9db292 fix misreference to $scope.isUserNamespace
Fixes #528.
2015-09-22 18:02:24 -04:00
Joseph Schorr
1f90aa5b59 Fix repo count checker when the user service has not yet loaded
Fixes #521
2015-09-21 16:42:16 -04:00
Joseph Schorr
fee72225cf Add a threshold for considering moves of tags
Fixes #516
2015-09-21 16:14:37 -04:00
Joseph Schorr
4829ec51ca Better UX for build logs when switching focus back to tab
Currently, build logs are not loaded when the tab is in the background. However, when switching back to the tab, there is no indication that logs have not loaded, and it can take up to the poll duration (5s) before we even start loading the logs. This change adds a message displayed for the user before the logs start to load to indicate they are being refreshed and also *immediately* starts the loading of the logs when the tab is made visible.

Fixes #501
2015-09-17 14:24:34 -04:00
Joseph Schorr
2739cf47ba Prevent change visibility of a repo in the UI when disallowed by billing plan
Fixes #486

- Extracts out the check plan logic and UI from the new repo page into its own directive (repo-count-checker)
- Adds the new directive to the repo settings panel
- Some additional UI improvements for the repo settings panel
2015-09-16 14:00:06 -04:00
Joseph Schorr
b25660bc88 Fix auto-open of build error command
Fixes #481
2015-09-14 15:53:34 -04:00
Joseph Schorr
c0286d1ac3 Add support for Dex to Quay
Fixes #306

- Adds support for Dex as an OAuth external login provider
- Adds support for OIDC in general
- Extract out external logins on the JS side into a service
- Add a feature flag for disabling direct login
- Add support for directing to the single external login service
- Does *not* yet support the config in the superuser tool
2015-09-04 17:05:06 -04:00
Joseph Schorr
c0aca54e32 Allow users to choose trigger or manual in the build dialog
Fixes #379
2015-08-21 14:22:48 -04:00
Joseph Schorr
b3fcd3f84e Better build dialog UX
We now automatically validate the chosen Dockerfile/archive, and automatically check to see if a robot is needed
2015-08-20 13:41:08 -04:00
Joseph Schorr
84276ee945 Better notifications UI
Fixes #369
2015-08-17 17:08:58 -04:00
Joseph Schorr
c84d2e750f Fix NPE in plans manager while loading 2015-08-13 12:25:21 -04:00
Joseph Schorr
932a85a8c9 Plan UI lookup was using the *name* of the plan, not its data 2015-08-12 23:44:04 -04:00
Jake Moshenko
ec6bee35b6 Allow a stripe plan to be superseded
If a plan has a direct corrolary, show that one as the selected plan
instead of showing the plan as deprecated even though it has the same
details
2015-08-12 15:01:15 -04:00
Joseph Schorr
02ba1968b9 Add removed user service load call; we need it 2015-08-10 13:35:49 -04:00
Joseph Schorr
4d11ff4ed5 Fix page reload on user to org conversion
Fixes #339
2015-08-10 12:28:19 -04:00
Joseph Schorr
ff6cd92841 Fix NPE 2015-08-07 15:26:45 -04:00
Joseph Schorr
5044a4d58b Add public access to time machine
Fixes #333
2015-08-07 13:32:45 -04:00
Joseph Schorr
8a8955d234 Add documentation search to the main search bar 2015-08-03 17:15:53 -04:00
Jimmy Zelinskie
8e6a0fbbee Merge pull request #294 from coreos-inc/logsload
Switch to using an aggregated logs query and infinite scrolling
2015-08-03 14:52:04 -04:00
Joseph Schorr
3d6c92901c Switch to using an aggregated logs query and infinite scrolling
This should allow users to work with large logs set.

Fixes #294
2015-07-31 16:38:02 -04:00
Joseph Schorr
4160b720f9 UI and API improvements for working with large repositories
- Change the tag check bar to only select the current page (by default), but allow for selecting ALL tags
- Limit the number of tags compared in the visualization view to 10
- Fix the multiselect dropdown to limit itself to 10 items selected
- Remove saving the selected tags in the URL, as it is too slow and overloads the URLs in Chrome when there are 1000+ tags selected
- Change the images API to not return locations: By skipping the extra join and looping, it made the /images API call 10x faster (in hand tests)

Fixes #292
Fixes #293
2015-07-31 16:31:29 -04:00
Jimmy Zelinskie
242c322850 Merge pull request #267 from coreos-inc/deletethrob
Add a throbber and better dialog for deleting repo
2015-07-23 11:28:06 -04:00
Joseph Schorr
b7581a8d3f Add a throbber and better dialog for deleting repo
Fixes #265
2015-07-22 17:03:47 -04:00
Joseph Schorr
ede9936722 Add a proper throbber to the repo list table 2015-07-22 16:59:31 -04:00
Joseph Schorr
93c614ae31 Default sort by popularity instead of starred 2015-07-22 16:54:21 -04:00
Joseph Schorr
2ff1dfc8b7 Switch to log base for the repo popularity 2015-07-22 14:20:46 -04:00
Joseph Schorr
687bab1c05 Support invite codes for verification of email
Also changes the system so we don't apply the invite until it is called explicitly from the frontend

Fixes #241
2015-07-22 13:41:27 -04:00
Jimmy Zelinskie
486ac45783 Merge pull request #226 from coreos-inc/robotadd
Feedback bar for showing response to user actions
2015-07-21 16:47:27 -07:00
Joseph Schorr
634190d1f9 Better messaging when creating a user on the landing page
Fixes #230
2015-07-14 14:00:29 +03:00
Joseph Schorr
ab47089872 Add feedback to prototype manager, application manager and the builds tab 2015-07-14 12:39:49 +03:00
Joseph Schorr
fd354469da Add feedback to the teams manager 2015-07-14 12:28:53 +03:00
Joseph Schorr
d74da9a3db Update styling of feedback bar to use the alert styles and string builder 2015-07-14 12:22:18 +03:00
Joseph Schorr
dcf8922799 Feedback bar for showing response to user actions
Fixes #215
2015-07-14 12:02:57 +03:00
Jimmy Zelinskie
cf4800c06c Merge pull request #213 from coreos-inc/orgmember
Add a secondary tab to Teams for managing org members
2015-07-06 11:48:40 -04:00
Jimmy Zelinskie
3e29420718 Merge pull request #201 from coreos-inc/basepullissue
Record phase information and make better error messages on pull failure
2015-07-02 11:26:40 -04:00
Joseph Schorr
3a59c99b08 Add a secondary tab to Teams for managing org members
Also adds the ability to completely remove a user from an organization (repo permissions and teams), in a single click

Fixes #212
2015-07-02 17:06:36 +03:00
Joseph Schorr
b535e222b8 Have the fetch tag dialog show a warning for robot accounts without access
Before this change, we'd show the squash pulling command with the proper credentials, but it then 403s on the end user.
2015-07-01 19:37:52 +03:00
Jake Moshenko
411ddceee0 Merge pull request #195 from coreos-inc/tidy
Delete all the old UI code and branches for new UI
2015-06-30 14:34:43 -04:00
Joseph Schorr
e06435fee4 Record phase information and make better error messages on pull failure 2015-06-30 18:04:44 +03:00
Joseph Schorr
2b1bbcb579 Add a table view to the repos list page
Fixes #104
2015-06-29 21:12:53 +03:00
Jimmy Zelinskie
7043ddc935 Merge pull request #187 from coreos-inc/adblock
Add messaging when archived build logs loads fail.
2015-06-29 13:34:42 -04:00
Joseph Schorr
dc5af7496c Allow superusers to disable user accounts 2015-06-29 18:40:52 +03:00
Joseph Schorr
3342f2392d Remove long build descriptions (not properly used in the new UI) 2015-06-29 12:36:39 +03:00
Joseph Schorr
ff3d8bb013 Delete the old UI! 2015-06-29 12:33:00 +03:00
Joseph Schorr
094c94c0fb Add messaging when archived build logs loads fail.
This code also checks for an ad blocker, and adjusts the message accordingly.

Fixes #184
2015-06-28 09:14:48 +03:00
Joseph Schorr
f0f864a375 Fix handling of long build commit messages
Fixes #175
2015-06-26 16:09:35 -04:00
Joseph Schorr
672e8a5ba9 Add pagination to the tags view 2015-06-25 16:19:39 -04:00
Joseph Schorr
0d133b0fa4 appLinkTarget needs to be lazy 2015-06-25 16:19:36 -04:00
Joseph Schorr
dde8d32984 Switch CheckStateController to not be O(n) for the isChecked call 2015-06-25 16:19:04 -04:00
Joseph Schorr
43330bcfad Make loading of the tags tab async 2015-06-25 16:19:04 -04:00
Joseph Schorr
143036be9c Allow manual triggering of both branches and tags
Fixes #100
2015-06-19 14:38:26 -04:00
Joseph Schorr
96bcfa84ae Add better messaging around squashed fetching when the user is not a namespace admin
Fixed #147
2015-06-17 16:38:31 -04:00
Jimmy Zelinskie
7315736c1f Merge pull request #134 from coreos-inc/permapprove
Default to the read role in the permissions table
2015-06-16 17:37:46 -04:00
Joseph Schorr
b2d2fbe18f Fix bug in the logs view UI 2015-06-15 17:26:58 -04:00
Joseph Schorr
34ab6e4ccc Default to the read role in the permissions table
Fixes #126
2015-06-15 16:11:39 -04:00
Jimmy Zelinskie
ae779cade2 Merge pull request #130 from coreos-inc/setupbuildnow
Add button for running a newly setup trigger
2015-06-15 15:53:50 -04:00
Joseph Schorr
16a205c108 Add button for running a newly setup trigger
This allows users quick access to test their new trigger they just setup

Fixes #125
2015-06-12 17:02:58 -04:00
Joseph Schorr
e7fa560787 Add support for custom fields in billing invoices
Customers (especially in Europe) need the ability to add Tax IDs, VAT IDs, and other custom fields to their invoices.

Fixes #106
2015-06-12 16:45:01 -04:00
josephschorr
63f289a8cb Merge pull request #59 from jzelinskie/custom-git-fix
triggers: metadata.commit_sha -> metadata.commit
2015-06-02 16:10:26 -04:00
Jimmy Zelinskie
7f4dd7d42f triggers: backwards compatible schema for metadata 2015-06-02 16:05:17 -04:00
Jimmy Zelinskie
e01bdd4ab0 triggers: metadata.commit_sha -> metadata.commit
This resolves an issue where the custom-git trigger's public facing
schema was not the same as the internal metadata schema. Instead of
breaking users, we rework the internal metadata schema to be the same as
the custom-git JSON schema. This commit also updates everything that
used `metadata.commit_sha` including the test database.
2015-06-02 15:32:28 -04:00
Joseph Schorr
c0e995c1d4 Merge branch 'master' into nolurk 2015-06-02 13:55:16 -04:00
Joseph Schorr
d414111fa7 Fix small JS issue if the underlying repository has no branches defined
This allows the user to continue the setup, even if the repo is empty.
2015-06-01 15:45:13 -04:00
Joseph Schorr
cb733ef25a We only add the build to the build list if present, not if missing 2015-05-26 13:49:58 -04:00
Joseph Schorr
54992c23b7 Add a feature flag for disabling unauthenticated access to the registry in its entirety. 2015-05-19 17:52:44 -04:00
Joseph Schorr
628d80895d Make sure to escape error messages and add clarification to the trigger activation dialog 2015-05-11 13:47:40 -04:00
Joseph Schorr
4feb2a2032 Hide unneeded user elements when in LDAP 2015-05-11 13:32:24 -04:00
Joseph Schorr
f858caf6cd Only return the team and repo permissions when listing robots when we absolutely need them. 2015-05-08 16:43:07 -04:00
Joseph Schorr
180e0a67cd Make sure we show the move tag warning 2015-05-08 15:05:31 -04:00
Joseph Schorr
3627de103c Minimize the queries used when retrieve builds. Previously, we'd call out to SQL extra times per build. 2015-05-07 21:11:15 -04:00
Joseph Schorr
2105ad90a0 Show the billing options in the user and org views 2015-05-07 16:43:45 -04:00
Joseph Schorr
7ea02c186a Fix error display on the convert user widget 2015-05-07 16:28:58 -04:00
Joseph Schorr
23fafa6b4a Make images loaded lazily on the repo tags page, as they will not be needed in the read-only (common) case. 2015-05-07 15:51:49 -04:00
Joseph Schorr
d53f2f9fc8 Fix NPE 2015-05-06 18:28:18 -04:00
Joseph Schorr
b63b378088 Fix NPE 2015-05-06 18:27:04 -04:00
Joseph Schorr
3b3102478a Fix NPE 2015-05-06 18:24:09 -04:00
Joseph Schorr
61dcf86d2a Fix NPE 2015-05-06 18:22:42 -04:00
Joseph Schorr
c04cb4e988 Change the repo view page to minimize the number of API calls necessary until such time as the information is needed (lazy load everything). Also increase the build timer to 30s. 2015-05-06 18:16:03 -04:00
Joseph Schorr
df596edaac Fix property access issue 2015-05-05 12:19:56 -07:00
Joseph Schorr
7789e99b99 Fix another bug in user conversion 2015-05-05 11:59:31 -07:00
Joseph Schorr
3818593717 Add missing services 2015-05-05 09:38:35 -07:00
Joseph Schorr
0334d3a31a Fix NPE 2015-05-05 09:37:19 -07:00
Joseph Schorr
251a843d21 Add missing lib 2015-05-05 09:36:23 -07:00
Joseph Schorr
70cc895b95 Fix JS NPEs 2015-05-04 09:17:58 -07:00
Joseph Schorr
2a321ed920 Make sure to copy over the repository url 2015-05-03 17:45:50 -07:00
Joseph Schorr
0b990677a0 More code cleanup and fix bug around can_admin in the trigger_view 2015-05-03 11:02:05 -07:00
Joseph Schorr
c8d3ded95a Fix icons for gitlab and some spacing 2015-05-03 10:43:08 -07:00
Joseph Schorr
b96e35b28c Merge master into bitbucket 2015-04-30 15:52:08 -04:00
Joseph Schorr
b7317f894b UI fixes for all the new trigger stuff 2015-04-30 15:33:19 -04:00
Joseph Schorr
6673d90818 Fix builds tab to reload if a new build comes in 2015-04-30 13:01:40 -04:00
Joseph Schorr
de29a441c8 Work in progress: UI fixes for the new trigger type 2015-04-29 19:50:13 -04:00
Joseph Schorr
6479f8ddc9 Work In Progress!
Get the full activation and deactivation cycle working for bitbucket.
2015-04-28 18:15:12 -04:00
Joseph Schorr
5741656411 Get a nice dropdown of tags working on the visualize tags tab 2015-04-27 17:36:31 -04:00
Joseph Schorr
be9906167a Make repo pull and push counts on the info page be abbreviated 2015-04-27 14:43:55 -04:00
Joseph Schorr
4834dbd7c9 Add confirmation for deleting a robot 2015-04-27 14:19:50 -04:00
Joseph Schorr
5cc91ed202 Work in progress: bitbucket support 2015-04-24 18:36:48 -04:00
Jimmy Zelinskie
2a13eade80 Merge pull request #22 from coreos-inc/git
git's a pretty cool guy
2015-04-23 17:33:36 -04:00
Joseph Schorr
8663bcd1c7 Switch to the new robot icon 2015-04-23 16:41:47 -04:00
Joseph Schorr
864bedf79b Make sure to support capital letters in the commit sha 2015-04-23 15:24:41 -04:00
Joseph Schorr
4dff6557ae Fix create robot and create team in the new layout "new" header button 2015-04-23 14:40:01 -04:00
Joseph Schorr
b02b98def3 Fix bug in robots manager around adding a new robot and make the robots listing using bind once to reduce the number of listeners 2015-04-23 13:56:25 -04:00
Joseph Schorr
518419097f Really sort robots by name. Also sort teams by name and fix team create. 2015-04-23 13:20:03 -04:00
Joseph Schorr
67c70860c5 Add rocket fetch command to the fetch tag dialog 2015-04-23 12:18:54 -04:00
Jimmy Zelinskie
07b730c7ad generic trigger credentials 2015-04-22 17:07:16 -04:00
Joseph Schorr
ee9d6ae66a Have entity reference link to the new user and org pages for showing robots 2015-04-22 15:26:01 -04:00
Joseph Schorr
d6a1493d52 Fix build logs on Safari by having the client JS handle the redirect manually, rather than the browser itself; Safari doesn't support 302 redirects to another domain inside an XHR. 2015-04-22 15:16:59 -04:00
Joseph Schorr
9f3395ada1 Fix docker file build form to read the files from its local uploader, rather than just the first one it finds 2015-04-22 13:22:09 -04:00
Jimmy Zelinskie
9703850e8f enforce short SHAs throughout build pipeline 2015-04-22 13:22:04 -04:00
Jimmy Zelinskie
02498d72ba almost all PR discussion fixes 2015-04-21 18:04:25 -04:00
Joseph Schorr
70d5200858 JS scoping sucks sometimes 2015-04-21 16:21:26 -04:00
Joseph Schorr
afa59da8d6 Make the org and user views more performant by only loading teams and robots when requested, making some loads async, and skipping others entirely on mobile 2015-04-21 16:07:24 -04:00
Joseph Schorr
54097c351e Finish work on the new role group and make sure it only appears when the new layout is enabled 2015-04-21 12:02:59 -04:00
Joseph Schorr
a4cacd7307 Start on mobilification of repo view 2015-04-20 17:42:33 -04:00
Joseph Schorr
f8192a1140 Merge master into ibranch 2015-04-20 13:23:02 -04:00
Joseph Schorr
72abd80f08 Make robot accounts filter rather than display the dialog when "showRobot" is passed to the manager 2015-04-20 13:11:21 -04:00
Joseph Schorr
a500477bbc Fix NPE 2015-04-20 12:00:26 -04:00
Jimmy Zelinskie
93cd459460 Merge branch 'master' into git 2015-04-20 10:58:49 -04:00
Joseph Schorr
32635cc641 - Make robots manager fully responsive
- Add a cor-table which automatically stacks and collapses on mobile views
2015-04-17 16:43:53 -04:00
Jimmy Zelinskie
ba2cb08904 Merge branch 'master' into git 2015-04-16 17:38:35 -04:00
Joseph Schorr
f19d2f684e Add ability to revert tags via time machine 2015-04-16 17:18:00 -04:00
Jimmy Zelinskie
de3fa5f42d directives: ssh-key-dialog -> trigger credentials 2015-04-16 14:58:25 -04:00
Joseph Schorr
2a77bd2c92 - UI improvements in prep for adding undo ability
- Move the tag history into its own directive and clean up the code
2015-04-15 18:39:05 -04:00
Joseph Schorr
20b399318e Fix off by one issue 2015-04-15 16:11:04 -04:00
Joseph Schorr
0533130de3 Fix NPE 2015-04-15 15:23:50 -04:00
Joseph Schorr
f8c80f7d11 Add a history view to the tags page. Next step will add the ability to revert back in time 2015-04-15 15:21:09 -04:00
Jimmy Zelinskie
876d9c53f2 View SSH Key modal 2015-04-14 14:11:02 -04:00
Jimmy Zelinskie
222101482f add post-activation trigger setup dialog 2015-04-13 13:45:34 -04:00
Joseph Schorr
dddab60058 Better empty messages on billing, prototype and application managers. Also properly handles the 404 for the invoices manager. 2015-04-09 16:25:10 -04:00
Joseph Schorr
3a2f271362 Slight UI improvements to the teams page: sort members by whether they are a robot, reduce the number displayed to 20, and make users clickable 2015-04-09 15:12:03 -04:00
Joseph Schorr
c2e4cbe95b Nicer handling of robots: sort the robots by name and add a filtering box 2015-04-09 15:03:07 -04:00
Joseph Schorr
5ae2975134 Properly debounce searching and make sure to only show results matching the current query. 2015-04-08 16:40:22 -04:00
Joseph Schorr
0f49beaaa8 Hide the squashed tag fetch when the user is not an admin on the repository 2015-04-08 15:49:32 -04:00
Joseph Schorr
b1cf180ab0 auto-select the first result in the search 2015-04-08 15:42:19 -04:00
Joseph Schorr
2e3704f7ba Redo header bar to trim options when we can and make the repositories page the default landing page for logged in users 2015-04-08 15:15:21 -04:00
Joseph Schorr
af468a8c6a - UI feedback fixes: text cutoffs, misformatting fixes, etc
- Add hotkey support for searching and creating repositories
- Make search animations significantly faster
2015-04-08 14:39:52 -04:00
Joseph Schorr
7bdd7c5f82 Remove some code duplication by moving the robot and team creation dialogs to the create service 2015-04-08 11:54:04 -04:00
Joseph Schorr
4b64236d8e Get new docker file build action working 2015-04-07 18:38:58 -04:00
Joseph Schorr
d09f2f6e22 Get the new context-sensitive new menu working 2015-04-07 18:33:43 -04:00