Commit Graph

68 Commits

Author SHA1 Message Date
Namekuji
8a28592fbd fix: disable redis tls if undefined in config 2023-06-28 02:44:16 -04:00
sparrow
5fd27545c8 format 2023-06-28 03:55:29 +01:00
sparrow
6a033513ea expose redis tls settings directly to config 2023-06-28 03:09:22 +01:00
sparrow
0f164cea4e empty object instead of undefined 2023-06-28 02:11:02 +01:00
sparrow
11a80d1b15 Remove static postgres tls settings
They can be configured through `extra` in config.
2023-06-28 01:48:55 +01:00
sparrow
4609fbe888 Make redis and postgres tls optional and opt-in 2023-06-28 00:41:44 +01:00
ThatOneCalculator
ff9cba565f fix: 🩹 use redis user for bull and postgres cache interface
Follow up #10366, d96877033be9790d11b0212ab8825f93202d22a2
2023-06-26 15:06:32 -07:00
ThatOneCalculator
83089e49d8 refactor: 🔧 allow redis user to be configured
Follow up #10366, 3df3c97deb284ecbf3363b90a45c6501957d1e98
2023-06-26 15:02:54 -07:00
Ashex
a639be23b6 fix: 🐛 support for SSL data when loading redis and postgres configs
Closes #10366
2023-06-26 14:54:16 -07:00
ThatOneCalculator
9c643fb2a3 fix: 🐛 sonic logged connection despite not existing 2023-06-15 16:21:51 -07:00
PrivateGER
066f8550b6 use actually correct webfinger check 2023-06-12 16:46:30 +02:00
PrivateGER
25be3bbe2d Add webfinger support to from: and allow UNIX timestamps in date filters 2023-06-12 16:35:04 +02:00
Kainoa Kanter
18b5c3f902 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
e2d4aaa002 escape database password as it may contain special characters 2023-06-05 11:59:45 -04:00
Namekuji
77fd2ab0ad initialize native database on boot 2023-06-02 23:48:25 -04:00
PrivateGER
badbecfe60 Less logging of every single WS message + use logger in Meilisearch 2023-05-31 12:08:21 +02:00
PrivateGER
5ebd4ff4be Add english and japanese stop words to Meili database 2023-05-30 23:11:10 +02:00
PrivateGER
91970a2fc6 formatter 2023-05-29 20:09:52 +02:00
PrivateGER
7ef78fcd12 Make Meilisearch optional and don't connect if unconfigured 2023-05-29 19:46:38 +02:00
ThatOneCalculator
e761bd6b23 fixes 2023-05-29 10:18:12 -07:00
ThatOneCalculator
0c9e12c340 chore: format 2023-05-29 10:01:34 -07:00
ThatOneCalculator
68b8b5b4ab Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-29 10:00:25 -07:00
ThatOneCalculator
8d363898d4 revert #10222 2023-05-29 10:00:16 -07:00
Kainoa Kanter
21583291bf 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
51160a6a77 Delete deleted posts from Meilisearch 2023-05-29 18:33:57 +02:00
PrivateGER
b8bd07e3c4 Only connect to Meili with valid config 2023-05-29 17:36:03 +02:00
ThatOneCalculator
62835aa4a3 chore: formatting 2023-05-28 20:34:18 -07:00
PrivateGER
282fdf347a Implement follower and following searches 2023-05-28 00:27:16 +00:00
PrivateGER
591639e570 Add ssl option to MeiliSearch config 2023-05-28 00:27:16 +00:00
PrivateGER
2f20cf476b Lint + formatting 2023-05-28 00:27:16 +00:00
PrivateGER
a8a88af73b Remove indexing logger 2023-05-28 00:27:16 +00:00
PrivateGER
35b9245dc4 Correct logging statement + add missing returns 2023-05-28 00:27:16 +00:00
PrivateGER
de3089937d .filter isn't in-place, now reassigning correctly 2023-05-28 00:27:16 +00:00
PrivateGER
85403efe4e Actually assign user object to note 2023-05-28 00:27:16 +00:00
PrivateGER
f5aa0c86cf Load relationships to populate user fields 2023-05-28 00:27:16 +00:00
PrivateGER
e23ca84925 Add parsing of host, fix usernames 2023-05-28 00:27:16 +00:00
PrivateGER
6c7cf90c5b Specify primary key 2023-05-28 00:27:16 +00:00
PrivateGER
755ab39ba0 Fix import 2023-05-28 00:27:16 +00:00
PrivateGER
206f7bfc09 Add high performance batch imports 2023-05-28 00:27:16 +00:00
PrivateGER
243b4fb60b Adjust search term logging + use filtered search query 2023-05-28 00:27:16 +00:00
PrivateGER
44478db3e6 Add createdAt column, fix username filtering, filter advanced search terms correctly 2023-05-28 00:27:16 +00:00
PrivateGER
8edac3c654 Add basic advanced search + attachment metadata hints 2023-05-28 00:27:16 +00:00
PrivateGER
55ce94b951 Add Meilisearch widget 2023-05-28 00:27:16 +00:00
PrivateGER
090b5724b4 Fix wrong parameter ordering 2023-05-28 00:27:16 +00:00
PrivateGER
99b4e5e13c Implement Meilisearch Indexing 2023-05-28 00:27:16 +00:00
Kaity A
6a509637d5 Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
naskya
0ef179e35f 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
19c4a59513 formatting 2023-03-30 19:10:03 -07:00
Kaity A
77c12cba8d 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
ThatOneCalculator
2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00