glitch-social/app
ThibG d386d89179 Fix invalid votes from the API being accepted (#12601)
* Fix invalid votes from the API being accepted

Fixes #12556

- Ensure `choice` is an integer instead of silently converting to 0
- Ensure `choice` corresponds to an actual choice of the poll

* Please CodeClimate
2020-01-12 14:17:03 +01:00
..
chewy Fix needlessly indexing unsearchable statuses into ElasticSearch (#12041) 2019-10-02 20:04:46 +02:00
controllers Fix base64-encoded file uploads not being possible (#12748) 2020-01-04 01:54:07 +01:00
helpers Fix ruby 2.7 warnings about keyword parameters (#12824) 2020-01-11 21:38:02 +01:00
javascript Avoid using uppercase text-transform (#12684) 2020-01-12 14:16:46 +01:00
lib Add support for linking XMPP URIs in toots (#12709) 2020-01-11 02:15:25 +01:00
mailers Split AccountsHelper from StatusesHelper (#12078) 2019-10-24 22:50:09 +02:00
middleware Fix uncaught query param encoding errors (#12741) 2020-01-02 17:14:58 +01:00
models Remove dependency on OStatus2 gem (#12822) 2020-01-11 21:36:53 +01:00
policies Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
presenters Fix n+1 query for bookmarks on statuses (#12494) 2019-11-28 04:08:00 +01:00
serializers Fix IDN mentions not being processed, IDN domains not being rendered (#12715) 2019-12-30 19:20:43 +01:00
services Fix invalid votes from the API being accepted (#12601) 2020-01-12 14:17:03 +01:00
validators Fix invalid votes from the API being accepted (#12601) 2020-01-12 14:17:03 +01:00
views Use heading actions and placeholders in settings (#12801) 2020-01-11 02:14:45 +01:00
workers Suppress backtrace when delivering toots (#12798) 2020-01-11 02:15:03 +01:00