nyaa/nyaa
queue 4fcef92b94
elasticsearch 7.x compatability (#576)
* es_mapping: update turning off dynamic mappings

they changed it in 6.x

https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html
https://github.com/elastic/elasticsearch/pull/25734

* es_mapping: remove _all field

deprecated in 6.0 anyway

* es_mapping.yml: fix deprecated mapping type

https://www.elastic.co/guide/en/elasticsearch/reference/6.7/removal-of-types.html#_schedule_for_removal_of_mapping_types

it gives a really unhelpful error otherwise, oof.

* es: fix remaining 7.xisms

the enabled: false apparently only applies to
"object" fields now, need index: false

and the _type got removed everywhere. Seems to work now.

* Fix weird offset error with word_delimiter_graph

yet another es7-ism i guess

* Fix warning and some app stuff for ES 7.x

Co-authored-by: Arylide <Arylide@users.noreply.github.com>
2020-07-12 00:10:47 -07:00
..
static Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
templates elasticsearch 7.x compatability (#576) 2020-07-12 00:10:47 -07:00
views elasticsearch 7.x compatability (#576) 2020-07-12 00:10:47 -07:00
__init__.py ratelimit: add app config examples 2020-06-23 00:49:26 +02:00
api_handler.py Move bencoded info dicts from mysql torrent_info table to info_dict directory. DB change! 2018-02-02 20:39:02 +01:00
backend.py backend: count IP uploads in the user ratelimit (#583) 2019-08-22 14:22:12 +02:00
bencode.py Move to Python 3.7 and update dependencies (#551) 2019-08-10 18:39:53 -07:00
email.py [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
extensions.py Add login endpoint rate limiting 2020-06-23 00:49:26 +02:00
forms.py nuke comments (#577) 2019-08-13 13:15:16 -07:00
models.py nuke comments (#577) 2019-08-13 13:15:16 -07:00
search.py search: allow admins to ignore the max page limit (#589) 2019-10-29 19:16:14 -07:00
template_utils.py nuke comments (#577) 2019-08-13 13:15:16 -07:00
torrents.py torrents: clean up & optimize magnets further 2018-07-21 22:06:58 +03:00
utils.py Redo nuke functionality (#459) 2018-03-25 16:24:44 -07:00