philomena/lib/philomena_web
SomewhatDamaged 8e39c06940 Fix for distance (#16)
* Fix for distance

Fixes the `distance` to search not being passed through to `ImageReverse.images()`

`set_scraper_cache` passes the `distance` through into `params`
`create` normalizes and inserts the result into the params passed to `ImageReverse.images()`
`normalize_dist` checks if there is a `distance` set, adds a leading 0 to it (to account for values like `.5`, which would crash `Float.parse()`), and turns it back into a well-formatted string for `ImageReverse.images()`

* Fixed space
2020-01-03 10:37:20 -05:00
..
channels initial 2019-08-14 20:32:32 -04:00
controllers Fix for distance (#16) 2020-01-03 10:37:20 -05:00
plugs ensure the authenticated user is never persisted as a further safeguard against API CSRF 2019-12-24 12:15:30 -05:00
templates Don't put UTF-8 in search URL (#15) 2020-01-01 22:09:53 -05:00
views discard old parser 2019-12-31 14:56:38 -05:00
comment_json.ex Adding /api/v1/json/comment/:id endpoint (#13) 2019-12-31 18:25:11 -05:00
comment_loader.ex Revert "more aggressive preloading" 2019-12-22 22:13:36 -05:00
endpoint.ex samesite session 2019-12-23 19:20:24 -05:00
forum_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
gallery_json.ex api search controllers 2019-12-24 03:26:06 -05:00
gettext.ex initial 2019-08-14 20:32:32 -04:00
image_json.ex add deletion/duplicate handling to api 2019-12-31 00:10:50 -05:00
image_loader.ex show hidden links on tag page, hidden status on profile page 2019-12-30 18:56:29 -05:00
image_reverse.ex include intensity data in image api response 2019-12-30 09:18:38 -05:00
mailer.ex add mailer, password resets, lockouts 2019-11-14 21:40:35 -05:00
post_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
pow_mailer.ex add mailer, password resets, lockouts 2019-11-14 21:40:35 -05:00
router.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
tag_json.ex api search controllers 2019-12-24 03:26:06 -05:00
topic_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00