Commit graph

7566 commits

Author SHA1 Message Date
josephschorr
2363737055 Merge pull request #2535 from coreos-inc/api-error-tempfix
Temporary fix for additional exception classes handled in Flask
2017-04-12 11:50:01 -04:00
Joseph Schorr
b465a34e8f Temporary fix for additional exception classes handled in Flask
The recent change to Flask-restful broke the other registered exception handlers, so this temporarily handles the decorated cases as well, until we put in place a proper registration model for Flask and Flask-restful handled exceptions
2017-04-11 23:02:26 -04:00
josephschorr
a0c82d03a0 Merge pull request #2533 from coreos-inc/fix-rac-bug
Fix NPE bug in RAC worker
2017-04-11 15:42:40 -04:00
Joseph Schorr
80693d6b8c Fix NPE bug in RAC worker
We need to return `None`, not `0` if there are no additional repositories to measure
2017-04-11 15:42:11 -04:00
josephschorr
e47ac22012 Merge pull request #2532 from coreos-inc/fix-gitlab-avatar-url
Fix avatar URLs for non-owner namespaces in Gitlab
2017-04-11 15:03:31 -04:00
Joseph Schorr
c8950f34b1 Fix avatar URLs for non-owner namespaces in Gitlab 2017-04-11 15:00:20 -04:00
Joseph Schorr
e5a009a777 Switch to using RepositorySearchScore table for search ranking
Should make search queries much, much faster as it contains the denormalized RAC data
2017-04-11 14:55:20 -04:00
josephschorr
9d781b25e5 Merge pull request #2527 from coreos-inc/missing-teamsync-conf
Add missing team sync worker service
2017-04-11 11:33:41 -04:00
Antoine Legrand
11c3d1d5c8 Merge pull request #2335 from coreos-inc/FEAT-yapf-autoformat-py
feat(yapf): add autoformatting with yapf
2017-04-11 15:39:38 +02:00
Antoine Legrand
9536cc4377 Add ci task to fail on code-style (yapf) 2017-04-11 10:32:13 +02:00
Joseph Schorr
c22dc5ebae Add missing team sync worker service 2017-04-10 20:11:57 -04:00
josephschorr
928b9915ed Merge pull request #2441 from coreos-inc/repo-score-denormalization
Add a RepositorySearchScore table and calculation to the RAC worker
2017-04-10 16:31:09 -04:00
Alec Merdler
32843e4f22 Remove Link to Blog in QE + Refactor quayRequire Directive (#2523)
* refactoring quayRequire directive

* added tests, show element if input changes

* use ngIfDirective in QuayRequireDirective
2017-04-10 11:57:09 -07:00
Joseph Schorr
df3f47c79a Add a RepositorySearchScore table and calculation to the RAC worker
This will be used in a followup PR to order search results instead of the RAC join. Currently, the join with the RAC table in search results in a lookup of ~600K rows, which causes searching to take ~6s. This PR denormalizes the data we need, as well as allowing us to score based on a wider band (6 months vs the current 1 week).
2017-04-10 14:29:02 -04:00
Jimmy Zelinskie
f0b3308131 Merge pull request #2525 from jzelinskie/bom
*: convert csv into  bill of materials JSON
2017-04-10 11:45:57 -04:00
Jimmy Zelinskie
2b4eb8f084 *: convert csv into bill of materials JSON 2017-04-08 16:42:56 -04:00
Antoine Legrand
7b164fa5ae Update yapf 2017-04-08 09:25:09 +02:00
josephschorr
2bc619137a Merge pull request #2512 from ecordell/tufmetadata
Add tufmetadata endpoint
2017-04-07 17:16:11 -04:00
Evan Cordell
c2d7fc2288 Fix comment 2017-04-07 16:14:25 -04:00
Evan Cordell
217b4a5ab2 Return hashes and expiration when fetching signed tags 2017-04-07 16:12:28 -04:00
josephschorr
9a15c6cbd0 Merge pull request #2522 from coreos-inc/fix-entity-bug
Fix ability to invite team members by email address
2017-04-07 15:17:12 -04:00
Joseph Schorr
c880b830cc Fix ability to invite team members by email address
The boolean logic was inverted

Fixes https://www.pivotaltracker.com/story/show/143336925
2017-04-07 15:13:32 -04:00
josephschorr
2ba51b2910 Merge pull request #2520 from coreos-inc/oidc-config-fix
OIDC configuration and debugging fixes
2017-04-07 13:43:49 -04:00
Erica
3f79422a52 Merge pull request #2306 from coreos-inc/QUAY-2842-audit-log-strict-config-option
feat(config.py): add setting for audit log strictness
2017-04-07 13:43:11 -04:00
Jake Moshenko
98da5d6a25 Merge pull request #2518 from jakedt/fixflaskrestful
Fix for flask-restful >0.3 error handling
2017-04-07 13:35:26 -04:00
Joseph Schorr
0c7bac26b7 Add additional debug logs to OIDC auth to make debugging easier 2017-04-07 11:48:53 -04:00
EvB
20c4d971c4 refactor(model/log): pull allowed action types into constant 2017-04-07 11:39:54 -04:00
Joseph Schorr
002972fc2f Read OIDC issuer from the OIDC discovery document, if present 2017-04-07 11:39:34 -04:00
Joseph Schorr
ed3da4697f Add client ID and client secret to OIDC config validator 2017-04-07 11:33:02 -04:00
Joseph Schorr
6c7b6101cc Add missing client ID and client secret from OIDC config in setup tool
Stupidly forget to add these
2017-04-07 11:30:31 -04:00
Jake Moshenko
e371ed69bb Fix for flask-restful >0.3 error handling 2017-04-07 10:22:50 -04:00
Alec Merdler
7ce92aa1f3 Merge pull request #2517 from alecmerdler/fix-triggers
Fix Build Trigger UI
2017-04-06 17:07:43 -07:00
Alec Merdler
d6ad2a0f84 Merge pull request #2519 from alecmerdler/fix-grunt
Fix Grunt Build Hanging
2017-04-06 17:07:21 -07:00
alecmerdler
be59a910d4 update grunt-angular-templates version to fix HTML minification hanging in Grunt build 2017-04-06 16:11:27 -07:00
alecmerdler
49c04eb7af initialize path and context component members to avoid null exception 2017-04-06 15:25:52 -07:00
Jake Moshenko
a8ec7865a7 Merge pull request #2511 from jakedt/fixwarnings
Fixwarnings
2017-04-06 16:12:19 -04:00
Jake Moshenko
c7241911a5 Fix old-style flask imports to silence deprecation warnings. 2017-04-06 13:15:48 -04:00
Jake Moshenko
a0817bfd59 Refresh dependencies and fix tests. 2017-04-06 13:15:48 -04:00
EvB
e6eea3a3a5 feat(ci): add style task 2017-04-06 14:34:19 +02:00
EvB
8be4e48bae feat(yapf): add autoformatting with yapf 2017-04-06 14:34:19 +02: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
josephschorr
6352b3cac5 Merge pull request #2515 from coreos-inc/app-redirect
Properly redirect to app repository URLs
2017-04-05 14:34:37 -04:00
Joseph Schorr
45e1319067 Properly redirect to app repository URLs 2017-04-05 14:29:46 -04:00
josephschorr
48c40cbe3a Merge pull request #2514 from coreos-inc/small-app-fixes
Small fixes for the apps view
2017-04-05 14:24:27 -04:00
Joseph Schorr
c8ee889272 Watch for changes in table data in corTable control
Prevents stale data from appearing in the table
2017-04-05 14:22:46 -04:00
Joseph Schorr
288ef0f5b5 Add "(None)" into release channels column 2017-04-05 14:11:41 -04:00
Joseph Schorr
c6b45298ad Make app repos private by default 2017-04-05 14:11:06 -04:00
Evan Cordell
1a78722521 Update tests 2017-04-05 13:57:16 -04:00
josephschorr
a6954f246c Merge pull request #2489 from coreos-inc/apps-ui
Add basic user interface for application repos
2017-04-05 12:58:38 -04:00
Joseph Schorr
f9e6110f73 Add basic user interface for application repos
Adds support for creating app repos, viewing app repos and seeing the list of app repos in the Quay UI.
2017-04-05 11:30:09 -04:00