Commit graph

482 commits

Author SHA1 Message Date
CI
fcb4017700 fix(deps): update dependency aws-sdk to v2.1623.0 2024-05-17 20:20:15 +00:00
CI
e9287357f7 fix(deps): update dependency bull to v4.12.5 2024-05-17 12:05:08 +00:00
naskya
20cd64281a Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1622.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10858
2024-05-16 20:35:23 +00:00
CI
12be7266db fix(deps): update dependency aws-sdk to v2.1622.0 2024-05-16 20:05:57 +00:00
CI
7ad4ffecf3 fix(deps): update dependency sharp to v0.33.4 2024-05-16 20:05:36 +00:00
naskya
0ee3db7788
chore (backend): sort dependencies in package.json 2024-05-16 17:00:33 +09:00
naskya
9298a6252d
Merge branch 'develop' into refactor/types 2024-05-16 16:45:03 +09:00
naskya
41b32c5535 refactor (backend): port push notification sender to backend-rs 2024-05-15 22:19:58 +00:00
CI
7d1947792d fix(deps): update dependency aws-sdk to v2.1621.0 2024-05-15 21:05:33 +00:00
naskya
eb967564f9 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1620.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10849
2024-05-15 18:13:47 +00:00
naskya
0085105e72 Merge branch 'renovate/websocket-1.x' into 'develop'
fix(deps): update dependency websocket to v1.0.35

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10847
2024-05-15 18:09:16 +00:00
naskya
217b3ecf80 Merge branch 'renovate/is-svg-5.x' into 'develop'
fix(deps): update dependency is-svg to v5.0.1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10846
2024-05-15 18:07:52 +00:00
naskya
ffeeb3b444 Merge branch 'renovate/bull-4.x' into 'develop'
fix(deps): update dependency bull to v4.12.4

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10845
2024-05-15 18:06:29 +00:00
CI
65a1fa870b fix(deps): update dependency aws-sdk to v2.1620.0 2024-05-15 17:29:54 +00:00
CI
6067eaef04 fix(deps): update dependency websocket to v1.0.35 2024-05-15 17:29:14 +00:00
CI
92299423a3 fix(deps): update dependency is-svg to v5.0.1 2024-05-15 17:28:54 +00:00
CI
65a8984c09 fix(deps): update dependency bull to v4.12.4 2024-05-15 17:28:34 +00:00
CI
99eb364778 chore(deps): update swc monorepo 2024-05-15 17:28:11 +00:00
CI
edc2a7d890 chore(deps): update dependency @types/node to v20.12.12 2024-05-15 10:04:53 +00:00
naskya
d8e1ab63c0
refactor: port system information checker to backend-rs
network stat is removed because it might be inaccurate and/or
it should be monitored by other system tools, but it may be added back
later if it is wanted
2024-05-15 16:26:46 +09:00
naskya
457bd22b7b
chore (deps): pin versions 2024-05-12 01:29:19 +09:00
naskya
1942d772db Merge branch 'renovate/node-20.x' into 'develop'
chore(deps): update node.js to v20

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10833
2024-05-11 15:59:23 +00:00
naskya
cfa3263c46
Merge branch 'develop' into renovate/semver-7.x 2024-05-12 00:49:18 +09:00
CI
e5a5d715b6 chore(deps): update node.js to v20 2024-05-11 15:41:52 +00:00
CI
d6983e92aa fix(deps): update dependency semver to v7.6.2 2024-05-11 15:40:50 +00:00
CI
07e2571c79 fix(deps): update dependency msgpackr to ^1.10.2 2024-05-11 15:40:29 +00:00
naskya
9dda7f955a Merge branch 'renovate/type-fest-4.x' into 'develop'
chore(deps): update dependency type-fest to v4.18.2

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10831
2024-05-11 14:38:51 +00:00
naskya
a14a4a5f9c Merge branch 'renovate/redocly-openapi-core-1.x' into 'develop'
fix(deps): update dependency @redocly/openapi-core to v1.12.2

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10826
2024-05-11 14:34:39 +00:00
naskya
6cd511d473 Merge branch 'renovate/bull-4.x' into 'develop'
fix(deps): update dependency bull to v4.12.3

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10828
2024-05-11 14:30:51 +00:00
CI
1cd58ce05d chore(deps): update dependency type-fest to v4.18.2 2024-05-11 14:08:58 +00:00
CI
ef95673d50 fix(deps): update dependency bull to v4.12.3 2024-05-11 14:07:10 +00:00
CI
eb443c8494 fix(deps): update dependency @redocly/openapi-core to v1.12.2 2024-05-11 14:06:30 +00:00
CI
d3b899ccc3 chore(deps): update dependency @types/pg to ^8.11.6 2024-05-11 14:05:27 +00:00
naskya
cd836daa9b Merge branch 'renovate/otpauth-9.x' into 'develop'
fix(deps): update dependency otpauth to ^9.2.4

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10809
2024-05-11 13:09:51 +00:00
naskya
bf5a2c6ebb Merge branch 'renovate/eslint-monorepo' into 'develop'
chore(deps): update dependency eslint to ^9.2.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10812
2024-05-11 13:09:13 +00:00
naskya
59862f16b0
chore (deps): update bull-board 2024-05-11 21:21:50 +09:00
naskya
1eb26263c1 Merge branch 'renovate/ajv-8.x' into 'develop'
fix(deps): update dependency ajv to v8.13.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10819
2024-05-11 12:14:56 +00:00
naskya
639a838736 Merge branch 'renovate/systeminformation-5.x' into 'develop'
fix(deps): update dependency systeminformation to v5.22.8

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10810
2024-05-11 12:14:00 +00:00
naskya
811be1022a Merge branch 'renovate/tesseract.js-5.x' into 'develop'
fix(deps): update dependency tesseract.js to ^5.1.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10821
2024-05-11 12:12:27 +00:00
naskya
7f277878a6 Merge branch 'renovate/ws-8.x' into 'develop'
chore(deps): update dependency ws to v8.17.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10815
2024-05-11 12:11:49 +00:00
naskya
119cbe3e4f Merge branch 'renovate/bull-board-ui-5.x' into 'develop'
fix(deps): update dependency @bull-board/ui to v5.17.1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10818
2024-05-11 12:10:23 +00:00
naskya
1b526c651e Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1618.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10820
2024-05-11 11:57:14 +00:00
naskya
daade3865b Merge branch 'renovate/nodemailer-6.x' into 'develop'
chore(deps): update dependency @types/nodemailer to v6.4.15

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10804
2024-05-11 09:48:00 +00:00
CI
84528680df fix(deps): update dependency tesseract.js to ^5.1.0 2024-05-11 00:12:21 +00:00
CI
11b5f5cc17 fix(deps): update dependency aws-sdk to v2.1618.0 2024-05-11 00:11:48 +00:00
CI
da752a158c fix(deps): update dependency ajv to v8.13.0 2024-05-11 00:11:28 +00:00
CI
693c9edb10 fix(deps): update dependency @bull-board/ui to v5.17.1 2024-05-11 00:11:09 +00:00
CI
4110842357 chore(deps): update dependency ws to v8.17.0 2024-05-11 00:10:10 +00:00
CI
af4426653e chore(deps): update dependency eslint to ^9.2.0 2024-05-11 00:09:02 +00:00
CI
3750ca426b fix(deps): update dependency systeminformation to v5.22.8 2024-05-11 00:08:21 +00:00
CI
3a8ca2a2d7 fix(deps): update dependency otpauth to ^9.2.4 2024-05-11 00:08:02 +00:00
CI
d5493f8e5d chore(deps): update dependency @types/nodemailer to v6.4.15 2024-05-11 00:06:17 +00:00
CI
1cb64b7fa8 chore(deps): update dependency @types/jsrsasign to v10.5.14 2024-05-11 00:05:58 +00:00
CI
291990d320 chore(deps): update dependency @swc/core to v1.5.5 2024-05-10 12:09:21 +00:00
naskya
989e93f2a0
fix: migrate back from happy-dom to JSDOM (closes #10924 #10914 #10842)
this reverts commit 4565867b8b.
2024-05-08 01:52:15 +09:00
naskya
1b143ebfaa
Merge branch 'develop' into refactor/types 2024-04-27 09:09:17 +09:00
naskya
f80ee9f36d
chore: update TypeScript dependencies
except for pnpm, gulp, adm-zip, @syuilo/aiscript, and Megalodon
2024-04-27 05:42:37 +09:00
Lhcfl
267670af96 move schema & langmap from backend to firefish-js 2024-04-24 02:00:34 +08:00
naskya
2a30b4a536
Revert "refactor (backend): it turns out that sending the entire note object was redundant"
This reverts commit 3b65ebcb3e.
2024-04-22 01:47:56 +09:00
naskya
3b65ebcb3e
refactor (backend): it turns out that sending the entire note object was redundant 2024-04-21 05:55:45 +09:00
naskya
ccbd6178e4
refactor (backend): port add-note-to-antenna to backend-rs
I hit this bug: https://github.com/napi-rs/napi-rs/issues/2060
2024-04-20 07:18:39 +09:00
naskya
2731003bc9
refactor (backend): port emoji-regex to backend-rs 2024-04-15 05:37:09 +09:00
naskya
21225f7137
chore: update dependencies 2024-04-15 04:09:33 +09:00
sup39
70aa3704ef
refactor (backend): port password hashing/verification to backend-rs
Co-authored-by: naskya <m@naskya.net>
2024-04-14 14:41:01 +09:00
naskya
3d6031dca3
chore: get rid of re2 from dependencies 2024-04-12 15:47:04 +09:00
naskya
e2cd25ea4f
refactor (backend): port config loader to backend-rs
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 14:25:27 +09:00
naskya
3fe8ace571
chore: update dependencies 2024-04-12 02:55:27 +09:00
naskya
fce0e5a218
feat (backend): federate math expressions using MathML
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2024-04-08 12:15:54 +09:00
naskya
26c3b25a40
chore: update dependencies 2024-04-07 16:42:25 +09:00
naskya
6cd5dc2fcb
chore: update dependencies
except for adm-zip
2024-03-26 20:46:44 +09:00
Linca
ed72aab48e
fix (backend): downgrade adm-zip to v0.5.10
To workaround this problem: https://github.com/cthackers/adm-zip/issues/475

Co-authored-by: naskya <m@naskya.net>
2024-03-24 20:45:02 +09:00
naskya
83944dd49f
chore: update dependencies 2024-03-23 21:41:51 +09:00
naskya
a6e759aeba
chore: update dependencies 2024-03-16 01:21:20 +09:00
naskya
9b6a061022
chore: update dependencies 2024-03-06 09:55:32 +09:00
naskya
0f1323b79d
chore (backend): add script to create new database migrations 2024-03-03 13:38:47 +09:00
naskya
bf99167406
refactor (backend): move migrations inside backend/src 2024-03-03 13:21:11 +09:00
naskya
9705ceda5d
chore: update dependencies 2024-03-02 13:18:17 +09:00
naskya
2414cf3ec7
refactor (backend): separate translate function into another file, use post language info for translations, use deepl-node package 2024-03-02 00:28:30 +09:00
naskya
9ce6a23266
chore: remove unused dependencies 2024-03-01 23:42:02 +09:00
naskya
48e5d9de71
refactor: use PGroonga for full-text search and remove support of other engines
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 21:39:13 +09:00
naskya
af80fd92dc
chore: upgrade dependencies
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-28 23:40:40 +09:00
naskya
5574c8e482
chore: update dependencies 2024-02-20 17:45:48 +09:00
naskya
ff35195611
refactor: remove auto NSFW media detection 2024-02-16 01:08:05 +09:00
naskya
20127ff2b6
chore: update dependencies 2024-02-15 23:37:49 +09:00
naskya
fe0bfe31b3
meta: backend/native-utils -> backend-rs 2024-02-12 23:14:23 +09:00
naskya
4356099fec
refactor: remove database migrations in Rust 2024-02-12 22:45:47 +09:00
naskya
5ff1afc4f2
dev: remove Cypress tests
We'll use mocha and ava
2024-02-12 22:25:55 +09:00
naskya
88058287e4
chore: upgrade dependencies (TypeScript)
holding @swc/cli and megalodon
2024-02-11 02:43:22 +09:00
naskya
73802dfc9f
Merge branch 'develop' into language 2023-12-27 05:50:55 +09:00
ThatOneCalculator
73cf3b64e5
refactor: 🔥 remove local twemoji in backend assets, replace with @discordapp/twemoji
They ended up publishing svg in dist
2023-12-06 11:11:42 -08:00
ThatOneCalculator
e958834158
refactor: ♻️ Upgrade Twemoji to Emoji 15.0
Adds a new option to load Twemoji from the JSDelivr CDN (default) or from the server.  For Twemoji stored on the server,  they are grabbed directly from the @twemoji/api Github repo's assets, given they're no longer distributed in the @twemoji/api dist. No longer uses @discordapp/twemoji due to being unmaintained.
2023-12-04 19:50:44 -08:00
Kainoa Kanter
1d870fa78d fix: ⬆️ switch from twemoji-parser to @twemoji/parser 2023-12-04 04:45:42 +00:00
naskya
f8e935b120
Merge branch 'develop' into firefish-language 2023-11-22 22:02:27 +09:00
naskya
24deab1743
chore: remove unused dependencies 2023-11-18 19:21:23 +09:00
naskya
2dcc46a9e3
chore: remove language detection from backend 2023-11-17 17:50:20 +09:00
naskya
97bb495636
chore: upgrade dependencies (except for @swc/core and megalodon) 2023-11-17 05:15:02 +09:00
naskya
845f08893f
fix: upgrade AiScript!
There are braking changes in the AiScript syntax, so existing plugins must alse be upgraded
Also, I didn't include the function that can call remote servers' API (which is present in the latest Misskey)

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2023-11-17 05:04:05 +09:00
naskya
7323f4f8a1 Merge branch 're2-update' into 'develop'
Fix build on node 21

Co-authored-by: Jegler <jegler@heckin.how>

See merge request firefish/firefish!10635
2023-11-07 14:02:26 +00:00
Jegler
fbfa4cd41f Fix build on node 21 2023-11-07 14:02:25 +00:00
naskya
adee17b85a
chore: organize backend imports
* remove unused/duplicate imports
* replace paths like "../../../define.js" to be more readable
* add missing @types packages
2023-10-30 18:06:08 +09:00
PrivateGER
64b83ddb9f
Fix use of wrong library for CBOR authentication object 2023-10-22 21:23:52 +02:00
naskya
e81ed199ae
Revert "chore: upgrade biome + lint & format"
This reverts commit a1cd9f73a1.
2023-10-22 17:33:40 +09:00
ThatOneCalculator
a1cd9f73a1
chore: upgrade biome + lint & format 2023-10-19 17:10:30 -07:00
naskya
d1bb6e02e9
hotfix: don't use upstream megalodon for now 2023-10-19 04:59:38 +09:00
naskya
cdf839bcc8 Remove integrations 2023-10-16 17:05:32 +00:00
Kainoa Kanter
a9167c0265 refactor: ♻️ use upstream megalodon 2023-10-03 07:54:13 +00:00
ThatOneCalculator
70ad42c49c
fix: 🚑 downgrade swc to 1.3.78
Closes #10751
2023-09-20 10:17:00 -07:00
ThatOneCalculator
71ea5c4f93
rm langdetect 2023-09-19 17:18:00 -07:00
ThatOneCalculator
5964a10571
cld -> tinyld 2023-09-19 17:11:37 -07:00
cg sama
90f01edddc Adding language filter feature
Co-authored-by: CGsama <CGsama@outlook.com>
2023-09-20 00:07:41 +00:00
ThatOneCalculator
bf6b480f49
pin swc 2023-09-19 16:14:53 -07:00
Kainoa Kanter
4565867b8b perf: Replace JSDOM with Happy DOM 2023-09-08 03:24:01 +00:00
ThatOneCalculator
1deeb78878
build: ♻️ Rome -> Biome
Rome is now discontinued, and Biome has taken its place
2023-09-01 21:16:14 -07:00
ThatOneCalculator
2fb65cdd86
chore: ⬆️ up deps (properly) 2023-09-01 19:11:27 -07:00
ThatOneCalculator
a75a19cd17
chore: 🚨 lint megalodon 2023-09-01 16:36:33 -07:00
ThatOneCalculator
34e2f7ada6
chore: 🔧 linting config 2023-09-01 16:32:41 -07:00
naskya
82e5114576
feat: post translation in Traditional Chinese 2023-08-30 19:39:14 +09:00
Essem
32fdddb20a
fix: 🐛 caching wrong DNS entry when federating with an instance that cannot properly handle inbound IPv6 requests 2023-08-26 16:33:21 -07:00
ThatOneCalculator
f309d17667
Revert "fix: 🐛 fix DNS lookup issue"
This reverts commit bd61468f2f.
2023-08-23 22:31:50 -07:00
ThatOneCalculator
bd61468f2f
fix: 🐛 fix DNS lookup issue
https://github.com/szmarczak/cacheable-lookup/pull/62
2023-08-23 22:21:44 -07:00
ThatOneCalculator
06fcef60a1
chore: ⬆️ up deps 2023-08-08 17:38:03 -07:00
Namekuji
32fac53e8d
feat: backend debug in vscode 2023-07-30 16:27:13 -04:00
ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
CGsama
f5adccecb8 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04: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
809d418018 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
ThatOneCalculator
bb22a671b0
Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -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
cd5c4ff191
refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00
ThatOneCalculator
36ef3600c3
build: ⬆️ up backend deps 2023-07-10 21:29:01 -07:00
Namekuji
f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Laura Hausmann
a8f58fa912 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann
ab18c22fa9 [mastodon-client] Move megalodon to main repo 2023-07-06 02:16:51 +00: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
ac2b057f85
fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
Namekuji
38d4d34713
refactor: use redis-semaphore for mutex across workers 2023-07-01 03:49:43 -04:00
Namekuji
3780be57c0
clean unnecessary artifacts 2023-06-22 16:00:28 -04:00
Lily Cohen
48f58feae6
precompile rust components 2023-06-22 16:00:28 -04:00
ThatOneCalculator
35445f8591
Revert "refactor: 🦺 replace js-yaml with yaml"
This reverts commit 837a45bd98.
2023-06-16 14:09:42 -07:00
ThatOneCalculator
837a45bd98
refactor: 🦺 replace js-yaml with yaml
Technically mitigates CVE-2023-2251, but users never input YAML to Calckey. Still, this does no harm, and it's a good idea to keep dependencies like these up-to-date, as js-yaml was last updated 2 years ago.
2023-06-16 00:13:41 -07:00
ThatOneCalculator
46af585cf7
feat: 🔒 Improve 2FA/keypass experience
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-06-15 16:12:32 -07:00
ThatOneCalculator
5769bdcc69
chore: formatting 2023-06-08 11:01:00 -07:00
ThatOneCalculator
ed674f2dac
chore: format 2023-06-05 17:27:40 -07:00
Freeplay
96b6c433c8 Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream/develop 2023-06-05 20:15:21 -04:00
ThatOneCalculator
36283b9a35
chore: formatting 2023-06-05 16:40:48 -07:00
ThatOneCalculator
c664d7da08
fix 2023-06-05 15:08:35 -07:00
ThatOneCalculator
a018bfca9a
dep: down typeorm 2023-06-05 15:02:59 -07:00
ThatOneCalculator
4f16bdea78
chore: ⬆️ up deps 2023-06-05 14:54:43 -07:00
Namekuji
9a9c3d4c62
add rust to the runtime container for migrations 2023-06-04 16:29:24 -04:00
ThatOneCalculator
02658fee0b
chore: ⬆️ up various deps 2023-06-03 00:41:30 -07:00
Namekuji
d7f80edbea
call seaorm migrations after typeorm 2023-06-03 00:27:00 -04:00
Namekuji
10072d6e4d
remove node cuid2 2023-06-02 23:48:26 -04:00
Namekuji
e932d6effa
use schema in native-utils 2023-06-02 23:48:24 -04:00
ThatOneCalculator
0291579e2f
chore: ⬆️ up bull 2023-05-31 12:06:26 -07:00
ThatOneCalculator
15d311c513
fix 2023-05-29 19:34:32 -07:00
ThatOneCalculator
2c42707551
up redis deps 2023-05-29 19:32:33 -07:00
ThatOneCalculator
da8ed09932
chore: up bull-board deps 2023-05-29 19:30:20 -07:00
Kainoa Kanter
fca3c6f85e Merge pull request 'fix: deprecate AID and enforce Cuid2' (#10216) from nmkj/calckey:deprecate-aid into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10216
2023-05-29 04:12:15 +00:00
Namekuji
98f9e3e5c4
use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
PrivateGER
7e1e42bc47 Pin meilisearch library 2023-05-28 00:27:16 +00:00
PrivateGER
340be8e35a Implement Meilisearch Indexing 2023-05-28 00:27:16 +00:00
ThatOneCalculator
892414f303
chore: up mfm-js in backend 2023-05-21 21:39:20 -07:00
Namekuji
3ddcffd169
enhance: emoji width and height 2023-05-19 22:26:13 -04:00
Essem
947e8932f2
Switch to adm-zip for emoji pack handling
Unzipper seems to corrupt files in certain cases on Node 18/19.
See https://github.com/ZJONSSON/node-unzipper/issues/271
2023-05-09 19:19:15 -05:00
ThatOneCalculator
11b93d2d9a
chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
Kainoa Kanter
1865a9c204 Revert "[Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)"
This reverts commit 2cdaad588c.
2023-04-27 16:32:37 -07:00
Kainoa Kanter
431a08d06e Revert "Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop"
This reverts commit 4f6cae7643, reversing
changes made to 64a737d001.
2023-04-27 16:25:13 -07:00
ThatOneCalculator
fca37cd86e
Revert "chore: update summaly"
This reverts commit b60a3b509e.
2023-04-26 14:19:55 -07:00
ThatOneCalculator
64a1c24686
chore: up pakcages 2023-04-23 15:34:50 -07:00
ThatOneCalculator
b60a3b509e
chore: update summaly 2023-04-19 21:28:43 -07:00
daikei
2cdaad588c [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)
This follows up #9869, with an awaited ``next()``, fixing the script.

> I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of koa-remove-trailing-slashes into a 206 byte script that gets the job done well.

(just to show the code does work)
![](https://s3.kitsunes.club/storage/41c7854d-d01e-4f4c-94dd-8b651e2d7367.gif)

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9870
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 22:36:22 +00:00
ThatOneCalculator
c0fe351bed
Revert "[Fix] remove-trailing-slashes with inhouse script (#9869)"
This reverts commit 07db141fc0.
2023-04-17 01:22:31 -07:00
daikei
07db141fc0 [Fix] remove-trailing-slashes with inhouse script (#9869)
I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of `koa-remove-trailing-slashes` into a 206 byte script that gets the job done well.

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9869
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 08:02:29 +00:00
daikei
c959d4185c remove koa-favicon 2023-04-14 16:20:27 +00:00
ThatOneCalculator
4694e30573
chore: up swc 2023-04-13 09:43:13 -07:00
Kainoa Kanter
621be91cdb Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
8033492c7c Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6.
2023-04-07 17:35:10 -07:00
Kaity A
37c0423da6 Incorporate calckey-js into calckey repository (#9820)
Closes #9712.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Ken Allan <ken@norganna.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9820
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-07 14:25:22 +00:00
ThatOneCalculator
7b2a34a364
add argon 2023-03-30 19:19:09 -07:00
s1idewhist1e
c58ce6c53b Refactor: use rust for native mastodon id conversion (#9786)
This uses [napi-rs](https://napi.rs/) to allow for automatic generation of node bindings for the native code.

I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.

Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.

Some benchmarks for 1 million conversions:

```
	node, x1_000_000: 2.847s
	rust, x1_000_000: 1.265s
```

There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00
ThatOneCalculator
35bf174273
dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
765d90b789
chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
Kaity A
706b4ae602 Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
cutestnekoaqua
7a500ed836
chore: update megalodon 2023-03-18 11:52:18 +01:00
cutestnekoaqua
548381734a
some quick fixes 2023-03-01 15:04:01 +01:00
Cleo John
05acb51da2 more mastodon work 2023-02-28 17:23:04 +01:00
Masaya Suzuki
ea5725b986
Check redis connection
---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-23 22:04:47 -08:00
ThatOneCalculator
3e1048d3b1
chore: calckey megalodon 2023-02-11 16:20:57 -08:00
ThatOneCalculator
4ddb65410b
chore: up calckey.js 2023-02-11 13:04:22 -08:00
cutestnekoaqua
450c92f3e7
Revert "use formidable instead"
This reverts commit b8406ecaa4.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
b8406ecaa4
use formidable instead 2023-02-10 23:50:27 +01:00
cutestnekoaqua
b197464638
Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01: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
c68c01a09e
wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
Asrael
44f593945c
build: reduce container size by removing dev dependencies from final image
This change moves many of the dependencies into devDependencies, by analyzing what is used in the runtime files. Additionally, NPM and apk cache are eliminated with multi-stage builds
2023-02-03 21:38:40 -08:00
CyberRex0
6282ccc614 Add android-arm64 binary for swc 2023-01-13 18:26:22 +00:00