Commit Graph

1631 Commits

Author SHA1 Message Date
ThatOneCalculator b54dfff32f
chore: 🎨 format 2023-07-17 17:38:27 -07:00
Kainoa Kanter 2c1df97c15 Merge pull request '[PR]: Import mastodon note package' (#10499) from cgsama/calckey:import-masto-package into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10499
2023-07-17 16:54:45 +00:00
Kainoa Kanter 19934043c5 Merge pull request '[PR]: Store antennas in cache instead of postgres' (#10442) from refactor/antennas-in-cache into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10442
2023-07-17 16:51:33 +00:00
コルセット姫@がんばらない cb3b7ef5be Merge branch 'develop' into import-masto-package 2023-07-17 09:47:04 +00:00
Namekuji 0775ad96f9
fix: use hostname as prefix instead of host 2023-07-17 01:48:53 -04: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
Syuilo 5d4af6b69e
refactor: improve performance of contextmenu 2023-07-16 22:12:42 -07:00
naskya 04c43ed3ef Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
CGsama f5adccecb8 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -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
CGsama 4bb6d7105a support new zip file by mastodon 2023-07-16 06:24:37 -04:00
Mizunashi Mana 1f441507f7 feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09: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 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
Namekuji 3fc381c050
refactor: use copy_limit if greater than 0 2023-07-13 18:19:08 -04: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
ThatOneCalculator 64322721b6
refactor: ♻️ substr -> slice 2023-07-12 23:56:22 -07:00
ThatOneCalculator 9a68e77f92
refactor: add aria labels to buttons 2023-07-12 23:22:58 -07:00
DVD c5eeb5e583
Fix CW Import 2023-07-13 09:07:35 +08:00
naskya 6129d6eddb chore: forgot to remove a debug print stmt? 2023-07-13 00:45:26 +00:00
ThatOneCalculator 6b5d9f7454
fix: 🐛 give donation link in non-admin meta 2023-07-12 00:54:28 -07:00