Commit graph

25873 commits

Author SHA1 Message Date
CGsama
9339868636 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
CGsama
28b92d8c16 handle import mastodon package 2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
17124f3834 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
3ee2dc787b docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
5324d1298f 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
7308d9f90f dev78 2023-07-15 14:28:44 -07:00
ThatOneCalculator
74dbe0c846 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-15 14:22:36 -07:00
ThatOneCalculator
2913eddbce we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator
b8fcd0dc33 fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
freeplay
1048bcbff4 Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream 2023-07-15 15:26:31 -04:00
freeplay
d0cc2d8af5 fix: move nowrap to proper place 2023-07-15 15:26:15 -04:00
Hosted Weblate
ac05a53089 chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 21:22:15 +02:00
Xalis Ratt
21e8f5bf23 chore: Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/uk/
2023-07-15 21:22:15 +02:00
Rauf
0978a210cb chore: Translated using Weblate (Turkish)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/tr/
2023-07-15 21:22:11 +02:00
Cold Ravioli
d64a72c806 chore: Translated using Weblate (Spanish)
Currently translated at 86.9% (1592 of 1831 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/es/
2023-07-15 21:22:09 +02:00
freeplay
9117455832 fix: note detailed tabs using wrong styling 2023-07-15 15:21:33 -04:00
Rauf
c8d3f5571a chore: Translated using Weblate (Turkish)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/tr/
2023-07-15 09:52:18 +02:00
jolupa
85167cf15d chore: Translated using Weblate (Catalan)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ca/
2023-07-15 09:52:12 +02:00
ThatOneCalculator
63d28adeff fix: 🐛 allow up to 1024 chars for SMTP login
Closes #10472
2023-07-15 00:19:09 -07:00
ThatOneCalculator
d33f74adda chore: 🎨 format 2023-07-15 00:06:53 -07:00
ThatOneCalculator
4be5f3b58c refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
49f543cebc docs: 📝 descriptions for notes/children+conversation endpoints 2023-07-14 23:16:50 -07:00
ThatOneCalculator
91a10a0394 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 23:13:42 -07:00
ThatOneCalculator
f4776712a3 refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
Hosted Weblate
233b9204b8 chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 08:03:25 +02:00
Rauf
10e9c2bfd3 chore: Translated using Weblate (Turkish)
Currently translated at 56.5% (1035 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/tr/
2023-07-15 08:03:25 +02:00
ThatOneCalculator
3255066fe4 feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator
59fdc77cae chore: 👥 patrons 2023-07-14 20:26:07 -07:00
ThatOneCalculator
4435c460e6 chore: 👥 patrons 2023-07-14 18:39:51 -07:00
ThatOneCalculator
df9bb4103c Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 18:39:04 -07:00
ThatOneCalculator
7a7de755d1 remove trailing slash 2023-07-14 18:38:53 -07:00
Hosted Weblate
330a138850 chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 01:52:17 +02:00
Xalis Ratt
7eec1a9dab chore: Translated using Weblate (Ukrainian)
Currently translated at 74.9% (1372 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/uk/
2023-07-15 01:52:16 +02:00
Rauf
00052e9562 chore: Translated using Weblate (Turkish)
Currently translated at 54.4% (996 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/tr/
2023-07-15 01:52:14 +02:00
naskya
97f9357c7e chore: Translated using Weblate (Japanese)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ja/
2023-07-15 01:52:08 +02:00
jolupa
12365f15a5 chore: Translated using Weblate (Catalan)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ca/
2023-07-15 01:52:07 +02:00
ThatOneCalculator
d0058174bc chore: 🎨 format 2023-07-14 16:51:49 -07:00
ThatOneCalculator
7096b6b7a6 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 16:51:31 -07:00
ThatOneCalculator
47d13dd542 refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
naskya
c4ad88ca98 nowrap tab texts in MkNoteDetailed 2023-07-14 21:48:13 +00:00
freeplay
8c1feb363f refactor: remove tinycolor from MkFolder + a11y 2023-07-14 15:31:31 -04:00
freeplay
a0ac31742d Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream 2023-07-14 00:26:13 -04:00
freeplay
38b3e0f14c fix: error in user card if no user desc 2023-07-14 00:25:01 -04:00
Hosted Weblate
65e65bfbae chore: Merge branch 'origin/develop' into Weblate. 2023-07-14 06:18:21 +02:00
josé m
4e6b212c2f chore: Translated using Weblate (Galician)
Currently translated at 0.8% (15 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/gl/
2023-07-14 06:18:21 +02:00
Aléxia Cordeiro Oliveira
f37fb9cff1 chore: Translated using Weblate (Portuguese (Brazil))
Currently translated at 5.6% (103 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/pt_BR/
2023-07-14 06:18:21 +02:00
Aléxia
2dfb2d3833 chore: Translated using Weblate (Portuguese (Brazil))
Currently translated at 5.6% (103 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/pt_BR/
2023-07-14 06:18:20 +02:00
Erik Spjelkavik
21ea3f1aad chore: Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.3% (79 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/nb_NO/
2023-07-14 06:18:20 +02:00
jolupa
774a3fafef chore: Translated using Weblate (Catalan)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ca/
2023-07-14 06:18:19 +02:00