Commit Graph

171 Commits

Author SHA1 Message Date
DVD
13265e6652 fix: skip attachment import if undefined 2023-07-19 09:45:00 -07:00
ThatOneCalculator
73f3303f62 Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
ThatOneCalculator
9b2cc17d3e chore: 🎨 format 2023-07-17 17:38:27 -07:00
Kainoa Kanter
69e7629843 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
0f7795977e Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
CGsama
62cc362822 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04:00
ThatOneCalculator
d425c29347 refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator
8fc56cae94 Merge branch 'fix/ssrf' into develop 2023-07-16 13:57:27 -07:00
CGsama
b283b65151 support new zip file by mastodon 2023-07-16 06:24:37 -04:00
CGsama
48133e4646 fix format 2023-07-16 01:47:06 -04:00
CGsama
9339868636 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
CGsama
28b92d8c16 handle import mastodon package 2023-07-15 23:02:00 -04:00
ThatOneCalculator
3ee2dc787b docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
5324d1298f 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
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator
b8fcd0dc33 fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
ThatOneCalculator
4be5f3b58c refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
12a974de13 Revert "refactor: use blurhash-as for encoding and decoding"
This reverts commit ae059881fbc28eb3dc2c90fea3694720b8dda505.
2023-07-13 19:06:57 -07:00
ThatOneCalculator
242f564115 refactor: use blurhash-as for encoding and decoding 2023-07-13 19:00:26 -07:00
ThatOneCalculator
bfa2f045d2 refactor: ♻️ substr -> slice 2023-07-12 23:56:22 -07:00
Namekuji
2edb9ab8bd copy existing posts in antenna to redis at migration 2023-07-10 01:59:14 -04:00
naskya
e586331859 revert Chinese cat mode for now
https://codeberg.org/calckey/calckey/issues/9746#issuecomment-978014
2023-07-10 03:05:27 +00:00
naskya
f7185169ed Nya-ify capital Greek alphabets 2023-07-09 21:19:09 +00:00
Kainoa Kanter
278181d63e 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
0d36fb9ea3 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
1ea8f8b4fe perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Namekuji
6f5e07de5d rename arg 2023-07-02 23:14:43 -04:00
Namekuji
284c0db1fd no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji
9d26e08032 add cache prefix 2023-07-02 20:55:20 -04:00
Namekuji
ef724a49fe store cache values to redis 2023-07-02 20:37:46 -04:00
ThatOneCalculator
6c7f0521aa find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
466ef220da 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 224b1d585bb1cb95531a9213cf4a69fc2f049e7d, reversing
changes made to b5907fb86db2b9eacea633bb5d69547982326afa.
2023-07-02 10:10:25 -07:00
Namekuji
7aa05c26e9 set log level to debug 2023-07-02 02:03:14 -04:00
Namekuji
9b721da06d fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
ThatOneCalculator
6a5e9ab9d4 feat: display remaining time on ratelimits 2023-06-22 17:14:27 -07:00
naskya
b8b0abb453 fix: 🐛 proper isDuplicateKeyValueError handling
Closes #10340
Co-authored-by: Kainoa Kanter <kainoa@t1c.dev>
2023-06-22 16:25:27 -07:00
ThatOneCalculator
ebcc50634b chore: formatting 2023-06-08 11:01:00 -07:00
Konni (im Schloss)
1e54de1cba fixes #10284, fixes #10208; passing in all pugVariables needed in base.pug, fixes csp 2023-06-07 20:35:24 +02:00
Freeplay
37156d236f Prevent newly-made unlisted posts from showing in antennas 2023-06-04 17:52:44 -04:00
ThatOneCalculator
04d4d21f74 fix: summary if 1 attachment 2023-06-02 23:55:31 -07:00
ThatOneCalculator
decdb6490c chore: formatting 2023-06-02 23:21:06 -07:00
Kainoa Kanter
bc8c1dc2fe 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
117f95799b refactor: ♻️ sync note summaries 2023-06-02 22:11:34 -07:00
Namekuji
3bfb1a0cf0 add format script 2023-06-02 23:48:27 -04:00
Namekuji
b0a7970ac7 fix native import 2023-06-02 23:48:26 -04:00
Namekuji
bd5fbb1e3a use native generators 2023-06-02 23:48:25 -04:00
Namekuji
399b0e96dc use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
ThatOneCalculator
5f27c462bb chore: formatting 2023-05-22 17:00:50 -07:00
Kainoa Kanter
d2041db91f Nyanize non[consonant]
🟨🟪

https://calckey.social/notes/9f2l6x5u8e
2023-05-22 15:57:56 +00:00
naskya
4d87266d13 files may be undefined 2023-05-21 05:34:39 +09:00