This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Dan Ungureanu 823c3f09d4
FIX: Reduce input of to_tsvector to follow limits (#13806)
Long posts may have `cooked` fields that produce tsvectors longer than
the maximum size of 1MiB (1,048,576 bytes). This commit uses just the
first million characters of the scrubbed cooked text for indexing.

Reducing the size to exactly 1MB (1_048_576) is not sufficient because
sometimes the output tsvector may be longer than the input and this
gives us some breathing room.
2021-07-28 18:25:14 +03:00
..
assets DEV: resets user search cache between tests (#13873) 2021-07-28 15:32:49 +02:00
controllers DEV: remove calls to guardian from GroupActionLogger (#13835) 2021-07-28 15:04:04 +04:00
helpers FIX: Assets for the theme tests page are not compressed (#13736) 2021-07-14 22:52:35 +03:00
jobs FEATURE: Initial implementation of direct S3 uploads with uppy and stubs (#13787) 2021-07-28 08:42:25 +10:00
mailers UX: suspend forever time period messages (#13776) 2021-07-20 14:42:08 +04:00
models FEATURE: Initial implementation of direct S3 uploads with uppy and stubs (#13787) 2021-07-28 08:42:25 +10:00
serializers FEATURE: Show draft count in user menu and activity (#13812) 2021-07-27 14:05:33 +03:00
services FIX: Reduce input of to_tsvector to follow limits (#13806) 2021-07-28 18:25:14 +03:00
views FIX: use correct URL in schema markup for post images. (#13847) 2021-07-26 21:39:51 +05:30