thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
134 stars 27 forks source link

Add filter_by_community_approval_rule for PackageListing QuerySet #912

Closed anttimaki closed 11 months ago

anttimaki commented 11 months ago

Add filter_by_community_approval_rule for PackageListing QuerySet

Filter the QuerySet by approval status, taking into account whether the Community has approval process activated.

Refs TS-1980

anttimaki commented 11 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (283e3f4) 92.51% compared to head (cf299b0) 92.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## fix-package-listing-tests #912 +/- ## ========================================================== Coverage 92.51% 92.51% ========================================================== Files 275 275 Lines 8131 8132 +1 Branches 771 771 ========================================================== + Hits 7522 7523 +1 Misses 504 504 Partials 105 105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.