mushorg / tanner

He who flays the hide
GNU General Public License v3.0
220 stars 101 forks source link

update filter search #396

Closed mzfr closed 4 years ago

mzfr commented 4 years ago

Now it's possible to search multiple values of the same type.

When I initially made change to the API it only supported filter search in the following way:

<url>?filters=attack_type:index

but failed to support something like:

<url>?filters=owners:tool owners:admin

This PR add that support

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 1385


Changes Missing Coverage Covered Lines Changed/Added Lines %
tanner/api/api.py 31 33 93.94%
<!-- Total: 42 44 95.45% -->
Totals Coverage Status
Change from base Build 1382: 0.1%
Covered Lines: 1576
Relevant Lines: 2023

💛 - Coveralls
mzfr commented 4 years ago

@afeena what should we do about 3.6 tests failing?

afeena commented 4 years ago

@mzfr I think we should remove python 3.6 from travis config, what do you think?