Commit Graph

43 Commits

Author SHA1 Message Date
PrivateGER
51160a6a77 Delete deleted posts from Meilisearch 2023-05-29 18:33:57 +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
Johann150
d6faae48f2 fix spelling error 2022-08-04 13:34:18 -07:00
syuilo
e23e7de453 feat: Log user ips (#8872)
* wip

* store ip and headers

* Update admin-file.vue

* require admin for view ip/headers

* IP (recent) 消した

* admin必須

* opt in

* clean ips periodically

* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
MeiMei
aef9cb41f3 enhance: Redisをioredisに統一してIPv6サポート (#8869)
* Use ioredis, Supports IPv6 host

https://github.com/misskey-dev/misskey/issues/8862

* Fix import

* order

* a

* i

* fix

* flushdb

* family

* CHANGELOG

* redis_version

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
syuilo
6ba668f934 fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
syuilo
dbab6abde4 fix(test): reset redis in e2e test
#7986
2022-06-03 23:08:15 +09:00
syuilo
6adc5a33fe refactor 2022-05-21 22:07:11 +09:00
syuilo
7bf6cfa9e2 fix e2e test 2022-04-03 15:14:26 +09:00
syuilo
8b2a0a5773 feat: Webhook (#8457)
* feat: introduce webhook

* wip

* wip

* wip

* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
523ee14a73 refactor: migrate to typeorm 3.0 (#8443)
* wip

* wip

* wip

* Update following.ts

* wip

* wip

* wip

* Update resolve-user.ts

* maxQueryExecutionTime

* wip

* wip
2022-03-26 15:34:00 +09:00
syuilo
fab2d179c8 tweak log 2022-03-21 05:45:09 +09:00
syuilo
9eca617066 set timeout for db query
Resolve #8150
2022-03-04 18:04:39 +09:00
syuilo
94228778c9 refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00
tamaina
3b1c365e81 enhance: e2eテストをできるだけ改良してみた (#8159)
* update docker image?

* 続

* serial run delete from "${table}" cascade

* use cypress official github action

* refuse install by cypress action

* clean up

* use wait?

* use more wait?

* Revert "use more wait?"

This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c.

* Revert "use wait?"

This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0.

* fix

* test

* test

* log?

* 握りつぶしてみる

* clean up

* env?

* clean up?

* disable video

* add comment

* remove test

* 成功?

* test browser

* nodeインストール無効化

* node16.13.0-chrome95-ff94

* node.js復活

* ?

* ちょっと戻してみる

* chrome?

* cross browser test2

* --shm-size=2g

* artifact?

* misskey.local?

* firefoxはあきらめる

* not headless?

* oops

* fix

* ??

* test1

* if?

* fail-fast: false

* headless: false

* easy error ignoreing describe

* エラーの解消
とちょっとリファクター

* add browser name to artifact

* Install mplayer for FireFox

* no wait?

* タイムアウトを甘くしてみる

* firefoxをあきらめる(n回目)

* remove timeout setting

* wait復活

* Update basic.js

* Update index.js

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 16:43:56 +09:00
syuilo
9117fd7a06 bye reversi 2022-01-12 17:34:53 +09:00
syuilo
89bbcf1807 enhance(backend): improve chart engine 2021-12-14 18:12:37 +09:00
syuilo
9b8d526ed0 fix lint 2021-12-09 23:58:30 +09:00
syuilo
c36b7014a7 fix bug 2021-11-12 13:39:57 +09:00
syuilo
14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00