Commit Graph

24 Commits (0300eab6dfe880d9745835510deab1a044854c21)

Author SHA1 Message Date
Ben Busby 0300eab6df Updated formatting and setup instructions
Switched encoding from utf-8 to unicode-escape in an effort to support multiple
languages besides English.

Updated image results page formatting to fix bad image links (added TODO
for adding full res image link for each image result).

Updated README to include libcurl and libssl install instructions for
manual setup.
4 years ago
Ben Busby 0c0ebb8917 Added POST search, encrypted query strings, refactoring
The implementation of POST search support comes with a few benefits. The
most apparent is the avoidance of search queries appearing in web server
logs -- instead of the prior GET approach (i.e.
/search?q=my+search+query), using POST requests with the query stored in
the request body creates logs that simply appear as "/search".

Since a lot of relative links are generated in the results page, I came
up with a way to generate a unique key at run time that is used to
encrypt any query strings before sending to the user. This benefits both
regular text queries as well as fetching of image links and means that
web logs will only show an encrypted string where a link or query
string might slip through.

Unfortunately, GET search requests still need to be supported, as it
doesn't seem that Firefox (on iOS) supports loading search engines by
their opensearch.xml file, but instead relies on manual entry of a
search query string. Once this is updated, I'll probably remove GET
request search support.
4 years ago
Ben Busby 5d6256662f
Update README.md
Fixed typo in location based searching
4 years ago
Ben Busby 36ce44ae6a
Update README.md 4 years ago
Ben Busby fe0f17588a
Update README.md
Updated "Setup" section to clarify that docker setup is unnecessary if using Heroku quick deploy, and restructured to include local setup instructions as well.
4 years ago
Ben Busby 1f6bfa092e Complete refactoring of opensearch
Refactored opensearch.xml to only exist as a template that is
served by a flask route, which is then populated with the
necessary url root.
4 years ago
Ben Busby 79f5c607eb
Update README.md
Added clarification for prerequisites if using the Heroku single-click deploy option
4 years ago
Ben Busby ae94650aee
Updated README
Added single click deploy option for heroku
4 years ago
Ben Busby e21341d6f4 Deployment related refactoring, fixes to Dockerfile
- Updated Dockerfile to include chmod of run script
- Added app.json for Heroku quick deploy
- Removed unused function var in js controller
- Moved requirements back to root of repo
- Added Codebeat report to readme
4 years ago
Ben Busby 6f80c35fd2
Fixed missing releases link in readme 4 years ago
Ben Busby 1713bcbf23
Update README.md 4 years ago
Ben Busby 31b9e19af7 Fixed main banner in readme 4 years ago
Ben Busby 67e3c788c7 Updated readme, added screenshots 4 years ago
Ben Busby 2631335dbf Updated README 4 years ago
Ben Busby b5351c8502
Update README.md 4 years ago
Ben Busby b5b6e64177 Added testing and ci build, refactored filter class, refactored project structure 4 years ago
Ben Busby 56417787ab
Fixed typo 4 years ago
Ben Busby 3412e3cd59
Added instructions for preventing heroku downtime 4 years ago
Ben Busby 58bd93dbd0
Update README.md 4 years ago
Ben Busby 48b9f66490 Fixed incorrect opensearch template, updated readme 4 years ago
Ben Busby 20fce34db3 Added opensearch setup 4 years ago
Ben Busby 137f92d432
Added heroku setup instructions to README 4 years ago
Ben Busby c3f29a3993
Updated readme (WIP) 4 years ago
Ben Busby 6e7eef165e Initial commit 4 years ago