Commit graph

1623 commits

Author SHA1 Message Date
Namekuji
3ef71543c9
perf: remove joins of avatar and banner 2023-07-16 23:16:50 -04:00
Namekuji
18ba9183e4
fix: typo 2023-07-16 22:32:52 -04:00
Namekuji
aca0c47012
clear cache at migration 2023-07-16 22:31:24 -04:00
Namekuji
f1f84f9a9a
refactor: use copy_limit if greater than 0 2023-07-16 22:31:24 -04:00
Namekuji
2e9617ef55
fix: add db to redis uri 2023-07-16 22:31:24 -04:00
Namekuji
bc18115108
make unused dependencies optional 2023-07-16 22:31:24 -04:00
Namekuji
0c1a23864f
remove unnecessary migration file 2023-07-16 22:31:23 -04:00
Namekuji
1e41436e89
fix config parser 2023-07-16 22:31:23 -04:00
Namekuji
faa12fa897
add environment variable of read size 2023-07-16 22:31:23 -04:00
Namekuji
04ac723a5f
add environment variable to skip copying antenna 2023-07-16 22:31:23 -04:00
Namekuji
94014e029d
fix: renew entity models 2023-07-16 22:31:23 -04:00
Namekuji
ef00b4034b
copy existing posts in antenna to redis at migration 2023-07-16 22:31:23 -04:00
ThatOneCalculator
6885f9ff95
fix: 🐛 server stats setting, meta fetching 2023-07-16 22:31:21 -04:00
ThatOneCalculator
a4dd142cf9
typo 2023-07-16 22:30:35 -04:00
ThatOneCalculator
3029990b5d
fix 2023-07-16 22:30:35 -04:00
Syuilo
67b38d4a61
refactor: antenna notes in cache
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-07-16 22:30:35 -04:00
Namekuji
c47e125413
perf: add new user to cache 2023-07-16 22:30:35 -04:00
Namekuji
9c65f0078b
perf: prepare scylladb config and use cache for packing user 2023-07-16 22:30:34 -04:00
Namekuji
6025b0ef30
revert when query failed 2023-07-16 22:30:34 -04:00
Namekuji
9ec9746233
feat: scylladb schema migrator 2023-07-16 22:30:30 -04:00
Kainoa Kanter
fa02334ddb Merge branch 'develop' into move-json5-to-prod-dependencies 2023-07-16 22:34:49 +00:00
ThatOneCalculator
bdc35a343e
refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator
a88133c4bc
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-16 13:57:46 -07:00
ThatOneCalculator
04c0993f23
Merge branch 'fix/ssrf' into develop 2023-07-16 13:57:27 -07:00
Mizunashi Mana
1f441507f7 feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09: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
bd57b95a97
docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
49b0a52f9f
fix: 🔧 max post length 100000
Pleroma doesn't accept >100K (ref: https://blob.cat/objects/82f33d96-534f-45ee-902a-f77c2723db8b)
2023-07-15 14:50:23 -07:00
ThatOneCalculator
d64389543c
fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
ThatOneCalculator
9c2264fb8e
fix: 🐛 allow up to 1024 chars for SMTP login
Closes #10472
2023-07-15 00:19:09 -07:00
ThatOneCalculator
63b3666b71
chore: 🎨 format 2023-07-15 00:06:53 -07:00
ThatOneCalculator
9f38f8bbca
refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
e3b8c05e47
docs: 📝 descriptions for notes/children+conversation endpoints 2023-07-14 23:16:50 -07:00
ThatOneCalculator
c467db2ea2
refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
ThatOneCalculator
c99480529f
feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator
7be2b16215
remove trailing slash 2023-07-14 18:38:53 -07:00
ThatOneCalculator
102b57424e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 16:51:31 -07:00
ThatOneCalculator
8f650e6e3a
refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
freeplay
f67ea7a609 fix: Follow Request labeling
resolves #10368
2023-07-14 00:17:20 -04:00
ThatOneCalculator
133c9f775c
Revert "refactor: use blurhash-as for encoding and decoding"
This reverts commit ae059881fb.
2023-07-13 19:06:57 -07:00
ThatOneCalculator
ae059881fb
refactor: use blurhash-as for encoding and decoding 2023-07-13 19:00:26 -07:00
ThatOneCalculator
cd5c4ff191
refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00
ThatOneCalculator
cb561ddef8
fix: 💄 different default font if cjk 2023-07-13 17:11:59 -07:00
naskya
22102d6c38
fix 2023-07-13 16:10:13 +00:00
naskya
8ad603cba8 Merge branch 'develop' into chore/findOneBy-exist 2023-07-13 15:44:42 +00:00
naskya
ae70f02bb0
More replacements which aren't covered by f4870d6e 2023-07-13 15:31:40 +00:00
naskya
65dcff4a66
Stop using the name 'exist' if it's not for existence check 2023-07-13 15:28:44 +00:00
okayurisotto
f4870d6e4a
refactor(backend): Use exist to check existence
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え

* cleanup
2023-07-13 15:08:36 +00:00
naskya
c9448bb281 fix #10483 (2) 2023-07-13 13:25:45 +00:00
naskya
f451e97505 fix #10483 2023-07-13 13:22:50 +00:00