Commit Graph

69 Commits

Author SHA1 Message Date
ThatOneCalculator
1548250360
feat: cache server 2023-07-06 11:50:34 -07:00
Namekuji
2d4eda2c1d
fix: disable redis tls if undefined in config 2023-06-28 02:44:16 -04:00
sparrow
022d478fa8 format 2023-06-28 03:55:29 +01:00
sparrow
f0256b08ff expose redis tls settings directly to config 2023-06-28 03:09:22 +01:00
sparrow
2f1e9696a8 empty object instead of undefined 2023-06-28 02:11:02 +01:00
sparrow
cc32d09913 Remove static postgres tls settings
They can be configured through `extra` in config.
2023-06-28 01:48:55 +01:00
sparrow
1b77d101ee Make redis and postgres tls optional and opt-in 2023-06-28 00:41:44 +01:00
ThatOneCalculator
e53d1f6bdc
fix: 🩹 use redis user for bull and postgres cache interface
Follow up #10366, d96877033b
2023-06-26 15:06:32 -07:00
ThatOneCalculator
d96877033b
refactor: 🔧 allow redis user to be configured
Follow up #10366, 3df3c97deb
2023-06-26 15:02:54 -07:00
Ashex
3df3c97deb
fix: 🐛 support for SSL data when loading redis and postgres configs
Closes #10366
2023-06-26 14:54:16 -07:00
ThatOneCalculator
1dbe44b211
fix: 🐛 sonic logged connection despite not existing 2023-06-15 16:21:51 -07:00
PrivateGER
40f7756176 use actually correct webfinger check 2023-06-12 16:46:30 +02:00
PrivateGER
cb47c585f9 Add webfinger support to from: and allow UNIX timestamps in date filters 2023-06-12 16:35:04 +02:00
Kainoa Kanter
a60cb874c1 Merge pull request '[PR]: Meilisearch Stop-Words' (#10261) from PrivateGER/calckey:feat/meilisearch-stop-words into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10261
2023-06-05 21:39:31 +00:00
Namekuji
cf3f566e06
escape database password as it may contain special characters 2023-06-05 11:59:45 -04:00
Namekuji
ba578c8701
initialize native database on boot 2023-06-02 23:48:25 -04:00
PrivateGER
23f551884f Less logging of every single WS message + use logger in Meilisearch 2023-05-31 12:08:21 +02:00
PrivateGER
b10337c858 Add english and japanese stop words to Meili database 2023-05-30 23:11:10 +02:00
PrivateGER
33ef39cd4a formatter 2023-05-29 20:09:52 +02:00
PrivateGER
0524789185 Make Meilisearch optional and don't connect if unconfigured 2023-05-29 19:46:38 +02:00
ThatOneCalculator
41c80b693d
fixes 2023-05-29 10:18:12 -07:00
ThatOneCalculator
7476ebc7a2
chore: format 2023-05-29 10:01:34 -07:00
ThatOneCalculator
b15f001b31
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-29 10:00:25 -07:00
ThatOneCalculator
316a09409c
revert #10222 2023-05-29 10:00:16 -07:00
Kainoa Kanter
8d81e4f5ee Merge pull request 'Delete deleted posts from Meilisearch' (#10223) from PrivateGER/calckey:feat/delete-posts-from-meili into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10223
2023-05-29 16:42:57 +00:00
PrivateGER
73bf8eddc7 Delete deleted posts from Meilisearch 2023-05-29 18:33:57 +02:00
PrivateGER
e52b1330d3 Only connect to Meili with valid config 2023-05-29 17:36:03 +02:00
ThatOneCalculator
2cf1d9f630
chore: formatting 2023-05-28 20:34:18 -07:00
PrivateGER
0d41422423 Implement follower and following searches 2023-05-28 00:27:16 +00:00
PrivateGER
8549b66a39 Add ssl option to MeiliSearch config 2023-05-28 00:27:16 +00:00
PrivateGER
274bfcd898 Lint + formatting 2023-05-28 00:27:16 +00:00
PrivateGER
43813d12b5 Remove indexing logger 2023-05-28 00:27:16 +00:00
PrivateGER
308d0a62a6 Correct logging statement + add missing returns 2023-05-28 00:27:16 +00:00
PrivateGER
d0bd8b7d4c .filter isn't in-place, now reassigning correctly 2023-05-28 00:27:16 +00:00
PrivateGER
1036ac4e8b Actually assign user object to note 2023-05-28 00:27:16 +00:00
PrivateGER
d9ccf4310f Load relationships to populate user fields 2023-05-28 00:27:16 +00:00
PrivateGER
62eef2fa67 Add parsing of host, fix usernames 2023-05-28 00:27:16 +00:00
PrivateGER
dae4f58e4c Specify primary key 2023-05-28 00:27:16 +00:00
PrivateGER
856b05303b Fix import 2023-05-28 00:27:16 +00:00
PrivateGER
5ae89a69bc Add high performance batch imports 2023-05-28 00:27:16 +00:00
PrivateGER
e6371e4665 Adjust search term logging + use filtered search query 2023-05-28 00:27:16 +00:00
PrivateGER
9859060c59 Add createdAt column, fix username filtering, filter advanced search terms correctly 2023-05-28 00:27:16 +00:00
PrivateGER
03cd2de8ec Add basic advanced search + attachment metadata hints 2023-05-28 00:27:16 +00:00
PrivateGER
a33b548555 Add Meilisearch widget 2023-05-28 00:27:16 +00:00
PrivateGER
4f07c88abb Fix wrong parameter ordering 2023-05-28 00:27:16 +00:00
PrivateGER
340be8e35a Implement Meilisearch Indexing 2023-05-28 00:27:16 +00:00
Kaity A
627a71701f
Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
naskya
a624aeebe3 feat: per-user boost muting (#9825)
Cherry-picked from FoundKey/c414f24a2c ([commit](c414f24a2c))

This allows us to hide specified users' boosts from the timelines (the boosts will still be visible on their user page).

Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9825
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-08 05:44:36 +00:00
ThatOneCalculator
acfc88389a
formatting 2023-03-30 19:10:03 -07:00
Kaity A
706b4ae602 Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00