Commit Graph

25655 Commits

Author SHA1 Message Date
CGsama 4bb6d7105a support new zip file by mastodon 2023-07-16 06:24:37 -04:00
CGsama ffb7fb5309 Update pnpm-lock.yaml 2023-07-16 04:07:55 -04:00
CGsama 35f09d0067 change wording 2023-07-16 03:24:37 -04:00
CGsama 0c9ab9fdfa fix format 2023-07-16 01:47:06 -04:00
CGsama 809d418018 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -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 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 247c5ec760
dev78 2023-07-15 14:28:44 -07:00
ThatOneCalculator e1b8532cd8
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-15 14:22:36 -07:00
freeplay 05477ee6b4 Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream 2023-07-15 15:26:31 -04:00
freeplay e74af25d16 fix: move nowrap to proper place 2023-07-15 15:26:15 -04:00
Hosted Weblate dd8a6235b0
chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 21:22:15 +02:00
Xalis Ratt ba66c3bcd7
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 14f319e9d6
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 1bb7dd55d5
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 83294c6c3d fix: note detailed tabs using wrong styling 2023-07-15 15:21:33 -04:00
Rauf 2d95142ca4
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 0b6369acdd
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 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 4dc3d090dd
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 23:13:42 -07:00
ThatOneCalculator c467db2ea2
refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
Hosted Weblate 4f5238a2d8
chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 08:03:25 +02:00
Rauf 7170890c35
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 c99480529f
feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator ab700600d1
chore: 👥 patrons 2023-07-14 20:26:07 -07:00
ThatOneCalculator da994d87f0
chore: 👥 patrons 2023-07-14 18:39:51 -07:00
ThatOneCalculator d588c812dd
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 18:39:04 -07:00
ThatOneCalculator 7be2b16215
remove trailing slash 2023-07-14 18:38:53 -07:00
Hosted Weblate 69d7018b35
chore: Merge branch 'origin/develop' into Weblate. 2023-07-15 01:52:17 +02:00
Xalis Ratt 445af78d83
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 b2ae2f23ce
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 11cd4cad4d
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 d25fc603f4
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 f3aa965c38
chore: 🎨 format 2023-07-14 16:51:49 -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
naskya 6072ec92ab nowrap tab texts in MkNoteDetailed 2023-07-14 21:48:13 +00:00
freeplay 79aaf392e8 refactor: remove tinycolor from MkFolder + a11y 2023-07-14 15:31:31 -04:00
freeplay 038a180891 Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream 2023-07-14 00:26:13 -04:00
freeplay 4fde8ba470 fix: error in user card if no user desc 2023-07-14 00:25:01 -04:00
Hosted Weblate dad2379a96
chore: Merge branch 'origin/develop' into Weblate. 2023-07-14 06:18:21 +02:00
josé m 8b4df60ebc
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 eecffea8b9
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 0180636250
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 0eb943334f
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