Commit Graph

23 Commits

Author SHA1 Message Date
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.
2020-04-28 18:19:34 -06:00
Ben Busby
5d6256662f
Update README.md
Fixed typo in location based searching
2020-04-27 11:12:40 -06:00
Ben Busby
36ce44ae6a
Update README.md 2020-04-26 18:00:29 -06:00
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.
2020-04-25 11:30:44 -06:00
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.
2020-04-24 18:45:57 -06:00
Ben Busby
79f5c607eb
Update README.md
Added clarification for prerequisites if using the Heroku single-click deploy option
2020-04-24 18:06:28 -06:00
Ben Busby
ae94650aee
Updated README
Added single click deploy option for heroku
2020-04-24 18:02:28 -06:00
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
2020-04-24 17:23:08 -06:00
Ben Busby
6f80c35fd2
Fixed missing releases link in readme 2020-04-19 15:47:27 -06:00
Ben Busby
1713bcbf23
Update README.md 2020-04-19 15:43:44 -06:00
Ben Busby
31b9e19af7 Fixed main banner in readme 2020-04-19 15:28:40 -06:00
Ben Busby
67e3c788c7 Updated readme, added screenshots 2020-04-19 15:23:39 -06:00
Ben Busby
2631335dbf Updated README 2020-04-16 18:37:24 -06:00
Ben Busby
b5351c8502
Update README.md 2020-04-15 18:06:59 -06:00
Ben Busby
b5b6e64177 Added testing and ci build, refactored filter class, refactored project structure 2020-04-15 17:41:53 -06:00
Ben Busby
56417787ab
Fixed typo 2020-04-12 13:52:08 -06:00
Ben Busby
3412e3cd59
Added instructions for preventing heroku downtime 2020-04-12 13:51:27 -06:00
Ben Busby
58bd93dbd0
Update README.md 2020-04-11 17:10:11 -06:00
Ben Busby
48b9f66490 Fixed incorrect opensearch template, updated readme 2020-04-11 15:57:06 -06:00
Ben Busby
20fce34db3 Added opensearch setup 2020-04-11 15:24:00 -06:00
Ben Busby
137f92d432
Added heroku setup instructions to README 2020-04-11 14:59:32 -06:00
Ben Busby
c3f29a3993
Updated readme (WIP) 2020-04-03 12:14:41 -06:00
Ben Busby
6e7eef165e Initial commit 2020-01-21 13:26:49 -07:00