Commit graph

9 commits

Author SHA1 Message Date
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
DVD c5eeb5e583
Fix CW Import 2023-07-13 09:07:35 +08:00
April John 208c7d380a update post import 2023-05-24 20:22:16 +02: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