Commit graph

100 commits

Author SHA1 Message Date
PrivateGER
73bf8eddc7 Delete deleted posts from Meilisearch 2023-05-29 18:33:57 +02:00
ThatOneCalculator
2cf1d9f630
chore: formatting 2023-05-28 20:34:18 -07:00
PrivateGER
a9889721ec Default meilisearch data response + linting + prettyfier 2023-05-28 00:27:16 +00:00
PrivateGER
274bfcd898 Lint + formatting 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
5ae89a69bc Add high performance batch imports 2023-05-28 00:27:16 +00:00
April John
3ac0946019 update inbox import timeout 2023-05-24 21:03:37 +02:00
April John
208c7d380a update post import 2023-05-24 20:22:16 +02:00
Namekuji
3ddcffd169
enhance: emoji width and height 2023-05-19 22:26:13 -04:00
Kainoa Kanter
2de535b0b8 fix: dont show cheat sheet when not needed 2023-05-16 20:31:13 -07:00
April John
1161db414e Fix 2023-05-15 13:03:48 +00:00
April John
38a5f4e543 Fix: add done statements 2023-05-15 12:25:54 +00:00
Kainoa Kanter
c6aa87cc9c chore: formatting 2023-05-14 15:20:26 -07:00
April John
657857e8d6 Feat: move post imports to new jobs 2023-05-14 20:20:31 +02:00
April John
e4a821a494 Feat: move post imports to new jobs 2023-05-14 18:46:48 +02:00
April John
9118ca50d3 reintroduce async into post import 2023-05-10 22:26:31 +02:00
Essem
947e8932f2
Switch to adm-zip for emoji pack handling
Unzipper seems to corrupt files in certain cases on Node 18/19.
See https://github.com/ZJONSSON/node-unzipper/issues/271
2023-05-09 19:19:15 -05:00
April John
b10f9beef2 Revert "fix: run post import async"
This reverts commit 3bedd1b347.
2023-05-08 22:48:12 +02:00
ThatOneCalculator
a7c523ee46
chore: formatting 2023-05-08 13:36:53 -07:00
April John
3bedd1b347 fix: run post import async 2023-05-08 22:30:40 +02:00
April John
ecf263bd91 import replies too 2023-05-08 22:09:42 +02:00
April John
ede47e45c8 try fetching replies 2023-05-08 22:09:42 +02:00
April John
3800eb8980 Feat: new internal post visibility "hidden" 2023-05-05 15:16:10 +02:00
ThatOneCalculator
acfc88389a
formatting 2023-03-30 19:10:03 -07:00
cutestnekoaqua
897b5f928d
check for signatures while post import 2023-03-30 17:52:17 +02:00
cutestnekoaqua
09aeb6e2f5
nyaa 2023-03-30 17:31:29 +02:00
Cleo
00dc860574 remove debug msgs 2023-03-30 09:30:38 +00:00
Cleo
0a79b6b9f0 Yeet mentions 2023-03-30 08:40:20 +00:00
cutestnekoaqua
eed9c63247
get post details from object 2023-03-29 21:38:52 +02:00
cutestnekoaqua
4181bee43c
catch text parsing error 2023-03-29 21:25:28 +02:00
cutestnekoaqua
2398aab82b
add info 2023-03-29 21:16:45 +02:00
cutestnekoaqua
66429527ca
catch errors 2023-03-29 21:15:06 +02:00
cutestnekoaqua
21c7f93d7a
handle mastodon style posts 2023-03-29 21:10:01 +02:00
cutestnekoaqua
7650c60cdf
dont ping users 2023-03-29 20:01:56 +02:00
cutestnekoaqua
12698bf1e8
actually increase line num 2023-03-29 19:37:31 +02:00
cutestnekoaqua
82f342cf45
update post job 2023-03-29 19:36:23 +02:00
cutestnekoaqua
220b022461
note import debug logs 2023-03-29 19:23:37 +02:00
cutestnekoaqua
450f798f12
why is this git ignored? 2023-03-29 00:09:31 +02:00
cutestnekoaqua
99b471d43b
why is this git ignored? 2023-03-28 23:48:27 +02:00
cutestnekoaqua
d5c80e74de
feat: experimental post import 2023-03-28 23:33:16 +02: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
naskya
1c0d4546f7 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
Cleo John
111bf8b77d webhook mastodon fixes 2023-03-14 17:18:30 +01:00
ThatOneCalculator
abf47e54f3
clean up w/ rome 2023-01-16 11:19:20 -08:00
ThatOneCalculator
6b00abf05c
refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Francis Dinh
d9b7219404
Block subdomains of blocked hosts 2022-12-24 14:46:09 -05:00
cutestnekoaqua
2f04d5f915 Create move type 2022-11-23 21:49:52 +01:00
Johann150
5a691f7e98 server: avoid adding suspended instances to deliver queue
This should reduce the performance hit when adding large numbers of
instances to the deliver queue by making the check for suspended and
dead instances a bulk operation.

Changelog: Changed
Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/215
2022-11-09 17:19:29 -08:00
ThatOneCalculator
6ed18667b7 feat: Allow importing follows from Pixelfed 2022-10-27 14:17:40 -07:00
ThatOneCalculator
31e9279c70 More Calckey branding 2022-08-05 14:07:40 -07:00