Commit graph

7204 commits

Author SHA1 Message Date
Jake Moshenko
e97ef09bd3 Make the nooper impl even smaller! 2017-04-20 13:42:49 -04:00
Jake Moshenko
b1abc98c15 Merge pull request #2557 from jakedt/twothreezero
Add the changelog for v2.3.0
2017-04-20 13:35:03 -04:00
Jake Moshenko
7781e70390 Add the changelog for v2.3.0 2017-04-20 10:37:25 -04:00
josephschorr
b03771669b Merge pull request #2554 from coreos-inc/no-secscan-delete
Fix deleting repos when sec scan or signing is disabled
2017-04-19 17:09:59 -04:00
Joseph Schorr
c5bb9abf11 Fix deleting repos when sec scan or signing is disabled
Make sure we don't invoke the APIs to non-existent endpoints
2017-04-19 16:57:36 -04:00
josephschorr
25b9cd4421 Merge pull request #2555 from coreos-inc/fix-backfill-script
Fill backfill script for recent changes
2017-04-19 16:52:29 -04:00
Joseph Schorr
08b9c4b0d4 Fill backfill script for recent changes
We forgot that we need to lookup by user *object* and we need to lookup locations on their own
2017-04-19 16:50:51 -04:00
Jake Moshenko
624d8e1851 Merge pull request #2553 from jakedt/silencesentrynoise
Turn off in-app sentry logging, only log 500s at the WSGI layer
2017-04-18 17:11:22 -04:00
Jake Moshenko
ba07270bb2 Turn off in-app sentry logging, only log 500s at the WSGI layer 2017-04-18 16:38:22 -04:00
Charlton Austin
38d4af0d8b Merge pull request #2479 from charltonaustin/phase_three_config
feat(data): remove writing of old config
2017-04-18 10:25:50 -04:00
Alec Merdler
b822a25a17 Hide non-Gravatar Avatar Search Results (#2549) 2017-04-17 15:54:27 -07:00
josephschorr
e79555ef95 Merge pull request #2547 from coreos-inc/disable-for-trust
Disable certain APIs and build triggers when trust is enabled
2017-04-17 13:05:16 -04:00
Joseph Schorr
6f722e4585 Disable certain APIs and build triggers when trust is enabled
Since trust will break if Quay makes changes, disable all Quay tag-change APIs and build APIs+webhooks when trust is enabled on a repository. Once we get Quay signing things itself, we can revisit this.
2017-04-17 13:04:51 -04:00
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