Commit graph

1745 commits

Author SHA1 Message Date
Namekuji
03da4eb57a
insert post to scylladb 2023-07-24 05:35:44 -04:00
Namekuji
271d75c35c
fix: case sensitive 2023-07-24 03:53:13 -04:00
Namekuji
e715b918d5
add queries 2023-07-23 22:29:38 -04:00
ThatOneCalculator
c0eac56355
fix: 🐛 antenna notes pagination repeat 2023-07-23 14:13:46 -07:00
yumeko
19311e683c
Dump to console the error data associated with logger error calls. 2023-07-22 22:12:52 +03:00
yumeko
4e23b77aff Replace URL generation code in the drive file uploader with something more robust.
Closes #10404, hopefully.
2023-07-22 14:03:40 +03:00
Namekuji
40938f5f97
fix: add cassandra-driver to dependencies 2023-07-22 02:58:26 -04:00
Namekuji
587bffae33
Merge branch 'develop' into feat/scylladb 2023-07-22 02:52:34 -04:00
Vyr Cossont
0394f22c4f
fix: convert quoted status and reaction accounts in Mastodon API layer 2023-07-21 16:23:15 -07:00
Kainoa Kanter
a2d81850e4 Merge branch 'fix/10332-internal-error-on-nonexisting-emoji' into 'develop'
Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.

Closes #10332

See merge request firefish/firefish!10523
2023-07-21 23:14:49 +00:00
yumeko
c9526b9a31 Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.
Closes #10332
2023-07-21 23:15:53 +03:00
yumeko
47f5cb2e76 Don't leak error details (including the stack trace) upon API call failure to client in production 2023-07-21 22:32:39 +03:00
ThatOneCalculator
e35b38302d
refactor: ♻️ new git repo
for real this time
2023-07-21 09:44:29 -07:00
ThatOneCalculator
8de79198a1
fix: 🩹 version manifest assets based on instance version 2023-07-20 23:31:51 -07:00
ThatOneCalculator
03077a157e
refactor: ♻️ create drive file endpoint
Adjusts ratelimit to 250 files every 10 minutes, fixes error text, fixes reused variable name.
2023-07-20 16:13:10 -07:00
ThatOneCalculator
7364ebdca8
fix: 🍱 asset versioning, screenshots 2023-07-19 20:32:04 -07:00
ThatOneCalculator
76ad0a19b3
fix: 🍱 fix old favicon 2023-07-19 19:13:54 -07:00
ThatOneCalculator
b4ed4dec47
v1.0.1 2023-07-19 15:20:22 -07:00
ThatOneCalculator
0a7b4bdb8a
logo 2023-07-19 11:53:03 -07:00
ThatOneCalculator
cac284a79d
fix: 🐛 merge somehow stripped style.css of splash style 2023-07-19 10:24:42 -07:00
ThatOneCalculator
1eea65386e
docs: 📝 codeberg -> gitlab 2023-07-19 10:22:36 -07:00
ThatOneCalculator
e67633298e
docs: 🚚 new website 2023-07-19 10:06:57 -07:00
ThatOneCalculator
5e3bc675ef
add 2023-07-19 09:58:14 -07:00
ThatOneCalculator
ebf7fb1a04
fix: 🐛 gitignore causing wrong file to be pushed 2023-07-19 09:56:16 -07:00
DVD
6e296320e0
fix: skip attachment import if undefined 2023-07-19 09:45:00 -07:00
ThatOneCalculator
aa24a3c172
links 2023-07-19 08:58:59 -07:00
ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
Namekuji
e83578a048
add scylladb config 2023-07-19 10:47:16 -04:00
Namekuji
a047e642f1
Revert "perf: prepare scylladb config and use cache for packing user"
This reverts commit 9c65f0078b.
2023-07-19 10:09:32 -04:00
ThatOneCalculator
73d023930b
error 2023-07-18 23:42:42 -07:00
ThatOneCalculator
7dce4cccae
repo 2023-07-18 21:21:48 -07:00
PrivateGER
457bd6c2e5 Fix broken lists 2023-07-18 16:00:48 +02:00
ThatOneCalculator
b54dfff32f
chore: 🎨 format 2023-07-17 17:38:27 -07:00
PrivateGER
933a4d2aa2 Use MS sorting rather than manual JS 2023-07-18 02:12:33 +02: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
abad503a24
Merge branch 'refactor/antennas-in-cache' into feat/scylladb 2023-07-17 01:52:56 -04: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
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
Mizunashi Mana
b7c72b902d fix: Branch by bind address 2023-07-17 09:52:35 +09: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
Mizunashi Mana
b9db50de08 fix: Add error message on initialization failed 2023-07-16 20:59:41 +09:00
Mizunashi Mana
e5360536f3 feat: Add bind address option 2023-07-16 20:13:24 +09: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
ff08ec77ee
we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
bb22a671b0
Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -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
PrivateGER
c9c183fec0 formattin~ 2023-07-15 02:15:10 +02:00
PrivateGER
f1c18e0b09 Allow relevancy sorting of Meilisearch 2023-07-15 02:10:42 +02: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