Commit graph

225 commits

Author SHA1 Message Date
Namekuji
ad93bc80f8
refactor: remove regex 2023-08-18 05:51:41 -04:00
Essem
7d49af822a Add address bind config option 2023-08-15 03:44:06 +00:00
Namekuji
738b4933ae
fix: generate stream id with timestamp 2023-08-06 02:34:44 -04:00
CGsama
109ed0aa80 import all misskey self note thread and allow import multiple times to restore missing parts 2023-07-31 15:42:31 -04:00
DVD
6e296320e0
fix: skip attachment import if undefined 2023-07-19 09:45:00 -07:00
ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
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
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
ThatOneCalculator
bdc35a343e
refactor: 🚨 linting fix 2023-07-16 15:32:32 -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
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
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
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
9f38f8bbca
refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07: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
64322721b6
refactor: ♻️ substr -> slice 2023-07-12 23:56:22 -07:00
Namekuji
61f0f52d42
copy existing posts in antenna to redis at migration 2023-07-10 01:59:14 -04:00
naskya
6e6c3c5845 revert Chinese cat mode for now
https://codeberg.org/calckey/calckey/issues/9746#issuecomment-978014
2023-07-10 03:05:27 +00:00
naskya
3237a0c27c Nya-ify capital Greek alphabets 2023-07-09 21:19:09 +00:00
Kainoa Kanter
0cab9d1825 Merge pull request '[PR]: enhance: Implement speak-as-cat for Chinese and Greek' (#10449) from sinofp/calckey:miao into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10449
2023-07-09 21:09:51 +00:00
sinofp
d850381376 Implement speak-as-cat for Chinese and Greek
The Chinese meow character is 喵, whose pinyin is miāo.
妙, 庙, 描, 渺, 瞄, 秒, 苗, and 藐 are all the miao characters from *3500 commonly used Chinese characters.xls*

@naskya proposed to include 廟 and να.

Download the spreadsheet from https://faculty.blcu.edu.cn/xinghb/zh_CN/article/167473/content/1045.htm

See the discussion at https://codeberg.org/calckey/calckey/issues/9746#issuecomment-974699
2023-07-09 18:54:12 +01:00
Namekuji
f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Namekuji
722ccf04f9
rename arg 2023-07-02 23:14:43 -04:00
Namekuji
355b1e0063
no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji
76c9422d53
add cache prefix 2023-07-02 20:55:20 -04:00
Namekuji
947163fde2
store cache values to redis 2023-07-02 20:37:46 -04:00
ThatOneCalculator
6da5a5b89b
find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
63c193f9fc
Revert "Merge pull request '[PR]: fix: use redis-based mutex to prevent memory leak' (#10389) from nmkj/calckey:fix-cache-leak into develop"
This reverts commit 224b1d585b, reversing
changes made to b5907fb86d.
2023-07-02 10:10:25 -07:00
Namekuji
eee80b3ff6
set log level to debug 2023-07-02 02:03:14 -04:00
Namekuji
ac2b057f85
fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
ThatOneCalculator
7ca519560f
feat: display remaining time on ratelimits 2023-06-22 17:14:27 -07:00
naskya
d5854c2324
fix: 🐛 proper isDuplicateKeyValueError handling
Closes #10340
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-06-22 16:25:27 -07:00
ThatOneCalculator
5769bdcc69
chore: formatting 2023-06-08 11:01:00 -07:00
Konni (im Schloss)
2d8ad9389c fixes #10284, fixes #10208; passing in all pugVariables needed in base.pug, fixes csp 2023-06-07 20:35:24 +02:00
Freeplay
7c436d0a41 Prevent newly-made unlisted posts from showing in antennas 2023-06-04 17:52:44 -04:00
ThatOneCalculator
99df1dcbd7
fix: summary if 1 attachment 2023-06-02 23:55:31 -07:00
ThatOneCalculator
c1f699789b
chore: formatting 2023-06-02 23:21:06 -07:00
Kainoa Kanter
d81af5e991 Merge pull request '[PR]: feat: rust backend model and utilities' (#10250) from nmkj/calckey:native-model into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10250
2023-06-03 06:00:46 +00:00
ThatOneCalculator
f3bd82b074
refactor: ♻️ sync note summaries 2023-06-02 22:11:34 -07:00
Namekuji
c443a5601c
add format script 2023-06-02 23:48:27 -04:00
Namekuji
0224824a36
fix native import 2023-06-02 23:48:26 -04:00
Namekuji
8bb87f9ea4
use native generators 2023-06-02 23:48:25 -04:00
Namekuji
98f9e3e5c4
use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
ThatOneCalculator
79fe1dcd61
chore: formatting 2023-05-22 17:00:50 -07:00
Kainoa Kanter
161557d559 Nyanize non[consonant]
🟨🟪

https://calckey.social/notes/9f2l6x5u8e
2023-05-22 15:57:56 +00:00
naskya
813fb25d72
files may be undefined 2023-05-21 05:34:39 +09:00
ThatOneCalculator
b4983ef56f
Revert "fix api doc?"
This reverts commit 9e366dc563.
2023-05-19 23:21:00 -07:00
ThatOneCalculator
9e366dc563
fix api doc? 2023-05-19 23:14:59 -07:00
Namekuji
3ddcffd169
enhance: emoji width and height 2023-05-19 22:26:13 -04:00
naskya
80d4f06962
format 2023-05-18 20:50:24 +09:00
naskya
079d757009
Check alt text on mutes 2023-05-18 20:38:33 +09:00
naskya
324ec9e095
format 2023-05-07 09:46:07 +09:00
MeiMei
9a3eb859bc
(partially) cherry-picked from misskey/10e526b
fix: Escape SQL LIKE

* SQL LIKE escape

* CHANGELOG
2023-05-07 09:16:46 +09:00
naskya
86dc71b201
oops 2023-05-05 12:49:34 +09:00
naskya
95f04a1c3c
Fix regex hard mutes 2023-05-05 12:36:17 +09:00
naskya
edf47d390b
Fix channel bug 2023-05-05 07:47:03 +09:00
naskya
3b3da42763
clean up 2023-05-05 06:16:23 +09:00
naskya
7113735212
Use original (Misskey's) implementation for hard mutes as muted reason isn't needed 2023-05-05 05:48:31 +09:00
naskya
ffea68ad8d
I was confused 2023-05-05 05:26:59 +09:00
naskya
e46cac02e3
Fix missing return, typo 2023-05-05 05:22:32 +09:00
naskya
fc3296d64f
Fix missing arguments 2023-05-05 05:17:16 +09:00
naskya
ebfd07628e
format 2023-05-04 14:41:18 +09:00
naskya
137cef81b6 Merge branch 'develop' into fix/word-mutes 2023-05-04 05:36:29 +00:00
naskya
d9553e73af
Differentiate soft mutes and hard mutes 2023-05-04 14:20:06 +09:00
naskya
075e5a1c7a
Refactor hard word mutes 2023-05-04 13:17:37 +09:00
Kaity A
a7c9400a42
Merge remote-tracking branch 'origin/develop' into hk/edit-federation 2023-05-02 18:24:54 +10:00
Kaity A
627a71701f
Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
Namekuji
9bc872dc00
format 2023-04-30 08:08:45 -04:00
Namekuji
151b30c53d
rename and comment 2023-04-30 07:58:03 -04:00
Namekuji
ba734a9f3c
instance silence 2023-04-30 07:27:55 -04:00
naskya
a624aeebe3 feat: per-user boost muting (#9825)
Cherry-picked from FoundKey/c414f24a2c ([commit](c414f24a2c))

This allows us to hide specified users' boosts from the timelines (the boosts will still be visible on their user page).

Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9825
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-08 05:44:36 +00:00
amy bones
15b1109947
feat: give reason for soft mutes
Bad UX when a post is muted and it just says "Some chick said something". Now
provide some context too to help people decide if they want to view something
potentially triggering.
2023-04-05 21:28:26 -07:00
ThatOneCalculator
acfc88389a
formatting 2023-03-30 19:10:03 -07:00
ThatOneCalculator
12769bd1ab
feat: 🔒 add argon2 support
Passwords will be automatically re-hashed on sign-in. All new password hashes will be argon2 by default.  This uses argon2id and is not configurable. In the very unlikely case someone has more specific needs, a fork is recommended.  ChangeLog: Added  Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>

Breaks Calckey -> Misskey migration, but fixes Foundkey -> Calckey migration
2023-03-30 19:09:44 -07:00
cutestnekoaqua
d5c80e74de
feat: experimental post import 2023-03-28 23:33:16 +02:00
ThatOneCalculator
d5cafde7d1
Revert "refactor: nyaize on the frontend"
This reverts commit aff90b3ef2.
2023-03-23 09:06:32 -07:00
ThatOneCalculator
aff90b3ef2
refactor: nyaize on the frontend 2023-03-19 19:59:00 -07:00
Kaity A
a432661e3c Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
ThatOneCalculator
7a88a0dedd
chore: formatting 2023-02-17 13:01:14 -08:00
ThatOneCalculator
d5508535b9
chore: remove hard-to-see gradient 2023-02-17 00:16:35 -08:00
ThatOneCalculator
9469e4d399
perf: emoji lib performance fix 2023-02-17 00:01:22 -08:00
ThatOneCalculator
81cc4b3f49
fix: 💄 admin overview style 2023-02-13 20:21:42 -08:00
ThatOneCalculator
69da6fa295
chore: formatting 2023-02-11 17:22:05 -08:00
Kaity A
4ca445b587 Implementation of an instances wide antenna source. (#9604)
This PR contains new source for antenna posts, which is a list of instance hostnames to process all posts from.

Using this mode, a user can filter for keywords on an instance wide basis.

This change includes a new antenna source called `instances` and a new database column in the `antenna` table called `instances` to store the instance names.

On the antenna editor, there's also an "Add an instance" finder dialog to allow users to search through the known instance hostnames.

Co-authored-by: Kaity A <supakaity@blahaj.zone>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9604
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-02-12 01:20:17 +00:00
cutestnekoaqua
717aa899b1
feat: v1 Mastodon API
This commit adds (maybe unstable) support for Mastodons v1 api
also some v2 endpoints, maybe I miss stuff, I dont know.
We will need to test this but it should be kinda stable
and work like (old) butter.

Co-authored-by: Natty <natty.sh.git@gmail.com>
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-09 23:21:50 +01:00
cutestnekoaqua
9ca850be06
fix: reactions using unicode weren't processed 2023-02-05 12:37:01 +01:00
ThatOneCalculator
4bd399f321
chore: formatting 2023-02-04 12:41:25 -08:00
cutestnekoaqua
48d4b5a726
fix: Use ❤️ instead of ♥️ 2023-02-04 02:30:43 +01:00
ThatOneCalculator
95595dafcb
fix: 🐛 signin with ipv6
co-authored-by: Syuilo
2023-01-24 15:13:25 -08:00
ThatOneCalculator
c8fc470e4e
Revert "hopefully this fixed chat updates"
This reverts commit bbbfbc1061.
2023-01-19 16:33:14 -08:00
ThatOneCalculator
9a2c05ef83
fix: heart reaction 2023-01-19 16:17:20 -08:00
ThatOneCalculator
abf47e54f3
clean up w/ rome 2023-01-16 11:19:20 -08:00