Commit graph

61 commits

Author SHA1 Message Date
KMY
9310c1c81b Merge remote-tracking branch 'parent/stable-4.2' into upstream-4.2.2-lts 2023-12-05 09:05:29 +09:00
Claire
e11100d782 Clamp dates when serializing to Elasticsearch API (#28081) 2023-12-04 15:28:15 +01:00
KMY
6aaef5c34e Fix N+1 problem on statuses/public_statuses indices 2023-09-16 13:42:55 +09:00
KMY
5fb6bce744 Add my reacted statuses search 2023-09-15 18:50:45 +09:00
KMY
f638163eca Fix search test 2023-09-10 18:43:02 +09:00
KMY
741d031444 Fix search tests 2023-09-10 17:56:46 +09:00
KMY
2ca446d995 Fix indexing error 2023-09-06 09:52:34 +09:00
KMY
93faae7b63 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-04 21:21:04 +09:00
Eugen Rochko
68b4e36c82
Fix #hashtag matching non-hashtagged posts in search (#26781) 2023-09-04 10:18:45 +02:00
KMY
621a41b670 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-01 18:05:03 +09:00
Claire
6b58cfd8dd
Fix searching by username by reverting account verbatim tokenizer to standard (#26739) 2023-08-31 15:35:58 +02:00
KMY
ff06b04e91 Fix misstake 2023-08-30 10:59:35 +09:00
KMY
59217c521e Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-30 08:39:20 +09:00
Claire
9e77ab7db2
Change private statuses index to index without crutches (#26713) 2023-08-29 17:51:13 +02:00
KMY
05a022448b Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-29 13:25:48 +09:00
Eugen Rochko
7bd5ebb0c5
Fix multiple issues with status index mappings (#26686) 2023-08-28 11:36:17 +02:00
KMY
22427c4669 Improve sudachi settings 2023-08-28 10:23:11 +09:00
KMY
eba4feddf8 Improve elasticsearch sudachi setting 2023-08-28 09:37:24 +09:00
KMY
3457a0a511 Fix elasticsearcha index default settings 2023-08-27 17:51:02 +09:00
KMY
7c2abfbd10 Add domain attribute to other chewy indices 2023-08-26 19:00:57 +09:00
KMY
020e50d0c5 Fix status_reference indexing 2023-08-25 18:04:22 +09:00
KMY
3a5b8819d6 Add status_references to full-text search target 2023-08-25 17:51:49 +09:00
KMY
fbb82b740b Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-25 12:19:55 +09:00
jsgoldstein
30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
KMY
e656ab15a1 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-22 13:03:50 +09:00
Claire
ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard (#26448) 2023-08-21 16:50:22 +02:00
KMY
61e4be24e1 Merge commit '3a8370e1f4' into kb_migration 2023-08-15 17:58:03 +09:00
Claire
f5778caa3a
Add ES_PRESET option to customize numbers of shards and replicas (#26483)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 17:46:16 +02:00
KMY
1fb5269501 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-09 08:53:40 +09:00
Eugen Rochko
72423bc8f6
Change account search tokenizer and queries (#26378) 2023-08-08 09:09:14 +02:00
KMY
287eacf5f3 Merge commit 'fd284311e7' into kb_migration 2023-08-01 17:59:16 +09:00
Claire
b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
KMY
850c4dfb3c Merge commit '6268188543' into kb_migration 2023-07-04 17:44:40 +09:00
jsgoldstein
4581a528f7
Change account search to match by text when opted-in (#25599)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-06-29 13:05:21 +02:00
KMY
2a9fcced3b Fix count to zero as hiding account's counts 2023-05-20 21:29:44 +09:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
af20b1d2aa Add searchability support 2023-04-06 04:27:52 +09:00
KMY
a2e674af51 Update sudachi settings 2023-04-05 18:22:00 +09:00
KMY
08e5d96a4a Expand search range 2023-04-05 13:55:37 +09:00
Eugen Rochko
a9b64b24d6
Change algorithm of tootctl search deploy to improve performance (#18463) 2022-05-22 22:16:43 +02:00
Eugen Rochko
679b7158e3
Change search indexing to use batches to minimize resource usage (#18451) 2022-05-18 23:29:14 +02:00
Jeong Arm
ea38327816
Let votes statuses are also searchable (#18070) 2022-04-23 21:47:27 +02:00
Claire
ef196c913c
Fix error MethodError in Chewy::Strategy::Sidekiq::Worker (#17912)
Also refactor a bit to reduce code duplication.
2022-03-31 00:49:24 +02:00
Claire
2c45859ca9
Refactor account and status formatting (#17877)
* Refactor status formatting

* Add account formatting helpers

* Remove StatusFormatter

* Fixup

* Fix copied typo
2022-03-28 01:17:17 +02:00
Eugen Rochko
cefa526c6d
Refactor formatter (#17828)
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
2022-03-26 02:53:34 +01:00
Eugen Rochko
d17fb70131
Change how changes to media attachments are stored for edits (#17696)
* Change how changes to media attachments are stored for edits

Fix not being able to re-order media attachments

* Fix not broadcasting updates when polls/media is changed through ActivityPub

* Various fixes and improvements

* Update app/models/report.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Add tracking of media attachment description changes

* Change poll in status edit to have a structure closer to the real one

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-03-09 09:06:17 +01:00
Eugen Rochko
6e50134a42
Add trending links (#16917)
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
2021-11-25 13:07:38 +01:00
Takeshi Umeda
3419d3ec84
Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915)
* Bump chewy from 5.2.0 to 7.2.2

* fix style (codeclimate)

* fix style

* fix style

* Bump chewy from 7.2.2 to 7.2.3
2021-11-18 22:02:08 +01:00
Eugen Rochko
4abe3be321
Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
Takeshi Umeda
e6706d171a
Fix searchable status without explicitly mentioning it (#13829) 2020-05-23 05:47:25 +02:00