Jake Moshenko
be7db63ae6
Merge pull request #2548 from jakedt/extraslash
...
Remove duplicate slash from base image error message
2017-04-17 11:42:08 -04:00
Jake Moshenko
f3e925fb85
Remove duplicate slash from base image error message
2017-04-17 11:36:44 -04:00
Jake Moshenko
75303677f4
Merge pull request #2513 from jakedt/marketo
...
Add error logging to Marketo calls
2017-04-17 10:36:45 -04:00
Jake Moshenko
22f5934f34
Add error logging to Marketo calls
2017-04-17 10:19:52 -04:00
Evan Cordell
2661db7485
Add flag to enable trust per repo ( #2541 )
...
* Add flag to enable trust per repo
* Add api for enabling/disabling trust
* Add new LogEntryKind for changing repo trust settings
Also add tests for repo trust api
* Add `set_trust` method to repository
* Expose new logkind to UI
* Fix registry tests
* Rebase migrations and regen test.db
* Raise downstreamissue if trust metadata can't be removed
* Refactor change_repo_trust
* Add show_if to change_repo_trust endpoint
2017-04-15 08:26:33 -04:00
josephschorr
aa1c8d47dd
Merge pull request #2546 from coreos-inc/hidden-tag-tests
...
Add tests for list_active_tags
2017-04-14 18:25:51 -04:00
Joseph Schorr
626f306283
Add tests for list_active_tags
2017-04-14 17:53:31 -04:00
Alec Merdler
581d7c67a7
Fix Trigger Setup Robot Permissions for Private Base ( #2543 )
2017-04-14 12:10:00 -07:00
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