Jake Moshenko
2f757faa40
Merge pull request #2545 from jakedt/fixerrors
...
Unify app and api exception handling
2017-04-14 13:59:00 -04:00
Jake Moshenko
8d279c8cc4
Unify app and api exception handling
...
Move some confi to an immutable section
Make ApiExceptions real werkzeug exceptions
2017-04-14 11:18:01 -04:00
josephschorr
218acaffbf
Merge pull request #2544 from coreos-inc/hidden
...
Make sure to filter hidden tags from the active tags query
2017-04-13 19:31:59 -04:00
Joseph Schorr
4a1fad7520
Make sure to filter hidden tags from the active tags query
2017-04-13 19:29:38 -04:00
josephschorr
197e10cf65
Merge pull request #2542 from coreos-inc/better-tag-query
...
Switch get repo API to use a single list tags query
2017-04-13 18:07:07 -04:00
Joseph Schorr
ab2f044331
Switch get repo API to use a single list tags query
...
Should make things faster since the join occurs on the database side
2017-04-13 18:06:58 -04:00
Jimmy Zelinskie
d86b0254b3
Merge pull request #2540 from jzelinskie/fix-unknown-identifier
...
endpoints.web: fix unknown identifier
2017-04-13 13:55:58 -04:00
Jimmy Zelinskie
93d1439e04
endpoints.web: fix unknown identifier
2017-04-13 13:54:20 -04:00
josephschorr
cfff194fb2
Merge pull request #2539 from coreos-inc/backfill-rss
...
Add backfill for repository search score table
2017-04-13 13:25:40 -04:00
Charlton Austin
40906afdd8
feat(data): remove writing of old config
...
### Description of Changes
Phase three of config data model change.
2017-04-13 13:25:36 -04:00
Joseph Schorr
68331859b0
Add backfill for repository search score table
2017-04-13 12:30:44 -04:00
josephschorr
c78ec89305
Merge pull request #2531 from coreos-inc/repo-score
...
Switch to using RepositorySearchScore table for search ranking
2017-04-13 11:51:59 -04:00
Alec Merdler
f5ab03070c
fixed fileReaderFactory ( #2537 )
2017-04-12 19:06:40 -07:00
Evan Cordell
ec63e495fc
Add repo purge callbacks and register TUF metadata deletion as one
2017-04-12 17:33:51 -04:00
Evan Cordell
883692345b
Add unit tests for gun calculation
2017-04-12 17:33:51 -04:00
Evan Cordell
70ae34357f
urljoin GUN together instead of manually concatenating
2017-04-12 17:33:51 -04:00
Evan Cordell
68128b938b
Add tests for tuf metadata delete
2017-04-12 17:33:51 -04:00
Evan Cordell
abe6f40bc5
Add support for deleting TUF metadata when repo is deleted
2017-04-12 17:33:51 -04:00
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