ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop
2023-07-19 08:55:26 -07:00
コルセット姫@がんばらない
cb3b7ef5be
Merge branch 'develop' into import-masto-package
2023-07-17 09:47:04 +00:00
Kainoa Kanter
15ffb8cf40
feat: ✨ verify links with rel=me ( #10506 )
...
Adds Mastodon-style `rel=me` link verification, and creates a background job to verify said links
Closes #9341
![image](/attachments/861e01eb-660f-4c62-8d83-d824cb79da48)
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: Namekuji <nmkj@waah.day>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10506
2023-07-17 05:31:34 +00:00
CGsama
4bb6d7105a
support new zip file by mastodon
2023-07-16 06:24:37 -04:00
CGsama
35f09d0067
change wording
2023-07-16 03:24:37 -04:00
CGsama
324d1a932d
handle import mastodon package
2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
cae6ba0edb
feat: ✨ Add media to Mastodon and Calckey post imports ( #10496 )
...
### What does this PR do?
Adding files fields in the export notes option, and corresponding import notes
Current the mastodon import does not import any attachments, this pr will use the "upload from url" feature to include medias if its a valid URL.
There are many way to convert the outbox.json file, can be simple as upload media_attachments to any web hosting and do string replace on the json file.
I also create a tool that upload the tar.gz file with auto convert and host the media as simplify the process at https://tempfile.moegirl.live
Detail example can be found at https://fedi.moegirl.live/notes/9h76gtqnp2gwl5dz
https://r2temp.moegirl.live/2023/7/15/15356683-050f-423a-b331-c9a05561f52a/shana-settings-_-meng-zhai-le-yuan-xyou-yu-ou-xiang-de-luo-ke-ke-wu-yan-moe-otaku-elysian-x-gloomily-idol-s-rococo-luncheon----mozilla-firefox-private-browsing-2023-07-15-18-36-37.mp4
Co-authored-by: CGsama <CGsama@outlook.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10496
Co-authored-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
Co-committed-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
2023-07-15 22:56:09 +00:00
ThatOneCalculator
ff08ec77ee
we be renamin
2023-07-15 14:21:17 -07:00
ThatOneCalculator
bb22a671b0
Merge branch 'develop' into rebrand
2023-07-15 14:15:01 -07:00
DVD
c5eeb5e583
Fix CW Import
2023-07-13 09:07:35 +08:00
ThatOneCalculator
8d9154c8c0
perf: ⚡ use fast-blurhash for blurhash decoding, up deps
2023-07-10 21:09:07 -07:00
PrivateGER
b46d437971
Fix Postgres error loop when indexing notes
2023-07-10 23:44:31 +02:00
ThatOneCalculator
e2ff531172
chore: ⬆️ up prettier, pnpm
2023-07-05 18:28:27 -07:00
Namekuji
bc13416f8e
fix: do not deliver poll result if local-only
2023-07-04 01:59:43 -04:00
ThatOneCalculator
e603745f97
fix: ⚡ immediately fail jobs with invalid signature
2023-07-03 10:29:52 -07:00
ThatOneCalculator
6da5a5b89b
find and replace
2023-07-02 15:18:30 -07:00
ThatOneCalculator
5004da0ea3
adjust timeout for indexing notes
2023-07-02 00:47:55 -07:00
Namekuji
2d4eda2c1d
fix: disable redis tls if undefined in config
2023-06-28 02:44:16 -04: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
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
Ashex
3df3c97deb
fix: 🐛 support for SSL data when loading redis and postgres configs
...
Closes #10366
2023-06-26 14:54:16 -07:00
Namekuji
68cc264f5f
don't broadcast poll updates
2023-06-18 13:23:59 -04:00
Namekuji
aa46f5f1bb
skip if actor is not found or has been already deleted
2023-06-16 04:49:11 -04:00
Namekuji
ab9b9e5bff
fix inbox stall
2023-06-07 10:01:16 -04:00
PrivateGER
7eeac4810a
formatter
2023-06-01 21:38:37 +02:00
PrivateGER
9be58ba0b4
missing inversion + use proper emoji path
2023-06-01 21:30:23 +02:00
PrivateGER
d409c31ad5
me when I lack a brain
2023-06-01 21:12:03 +02:00
PrivateGER
f508a358b1
more logging
2023-06-01 21:01:15 +02:00
PrivateGER
4d2eaa645b
Import emojis without meta.json
2023-06-01 20:53:13 +02:00
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
Johann150
74cf3d887c
backend: fix lint "no-throw-literal"
2022-08-04 13:36:37 -07:00
nullobsi
2bf2eac765
Add Secure Mode and Private Mode
...
- Add instance actor
- Add private mode, which uses an allowlist
- Add Secure Mode, restricts access to blocked instances
2022-07-17 15:25:39 -07:00
yzhe819
9107de63b4
chore: fix lint errors ( #8981 )
2022-07-10 19:47:29 +09:00
syuilo
eccc90c843
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
6f8e3fe366
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
Johann150
c56e45ecef
fix: always remove completed tasks ( #8771 )
2022-05-31 17:54:02 +09:00
Johann150
ebc2566130
fix: add missing import
...
fix #8756
2022-05-29 14:33:42 +02:00
Johann150
9c80403072
use http-signature module that supports hs2019 ( #8635 )
2022-05-26 09:12:17 +09:00
Johann150
e27c6abaea
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00
syuilo
ec3be7e4d3
enhance(webhook): add userId to payload
2022-04-03 22:42:01 +09:00
syuilo
f8e6f3cc73
improve webhook
2022-04-03 22:36:30 +09:00
syuilo
8e5f2690f2
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
1c67c26bd8
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
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
544b5ba838
perf(server): reduce memory usage of redis
2022-03-19 19:34:04 +09:00
syuilo
caadc0978a
feat: introduce bull dashboard
2022-03-19 19:08:55 +09:00
syuilo
2442592ef1
feat: アンケート終了通知
...
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
e68278f93e
feat: 時限ミュート
...
#7677
2022-03-04 20:23:53 +09:00
syuilo
c8070fc544
fix esm
2022-03-01 01:36:50 +09:00