Commit Graph

9 Commits (71ba00785f45333d47ce5751cd19168a069d3759)

Author SHA1 Message Date
Ben Busby 09c53b52af
Feature: country and safe search config options (#71)
* Added country and safe search config options

* Updated handling of parser error in results test

* Improved handling of default country

* Added 1px empty gif fallback as a replacement for images that fail to load
4 years ago
Ben Busby b15368ac28 Updated recent results test w/ +5 day tolerance 4 years ago
Ben Busby 1cbe394e6f Updated tests, fixed a few bugs
Added opensearch routes test and individual tests for searching via GET
and POST separately.

Fixed incorrect assignment in gen_query.
4 years ago
Ben Busby dd077954bf Fixed search results test
For datetime spans in time-filtered search results, anything less than 7
characters or more than 15 can be guaranteed to not be properly
formatted dates (either "mm dd yyyy" or "xx days/months/weeks ago")
4 years ago
Ben Busby 9c7b4c1444 Fixed bad test assertion
Was previously checking for non-inclusive max number of days (i.e.
filtering by past month would return a failed test if the result was
from exactly 31 days ago)
4 years ago
Ben Busby 024552f2df Minor refactor of filter class, updated tests, fixed html/css, added ua to config 5 years ago
Ben Busby 0d17cc8ef6 Modified result length test 5 years ago
Ben Busby ab59682cad Small var fix in testing search results 5 years ago
Ben Busby b5b6e64177 Added testing and ci build, refactored filter class, refactored project structure 5 years ago