Commit graph

232 commits

Author SHA1 Message Date
Laura Hausmann
9b2e966c19
[backend] Remove external search backends 2023-11-19 01:36:54 +01:00
Laura Hausmann
20410b0543
[backend] Move back to upstream re2 dependency
Upstream accepted my patches for both re2 (fixing build on arm64-musl) and the install-artifact-from-github dependency (cutting down build times for architectures where prebuilts are available from ~2 minutes to ~2 seconds), so there's no reason to stick with our fork.
2023-11-15 15:12:59 +01:00
Laura Hausmann
7cf00d1503
[backend] Move to our own fork of the re2 package
This fixes builds on alpine-arm64 (and presumably also other musl-arm64 distros)
2023-11-05 16:54:00 +01:00
Laura Hausmann
b100b88971
Migrate from rome to biome 2023-10-27 16:46:38 +02:00
Laura Hausmann
c49780bcee
Fix build on NodeJS 21 2023-10-26 18:38:39 +02:00
Laura Hausmann
1f53affd76
Upgrade versions of dependencies with critical vulnerabilities 2023-10-20 23:16:11 +02:00
Laura Hausmann
544b5a1678
[backend] Use a semaphore around populateMentions
This fixes a user-generated DoS payload for giant webring-style trees of mentions in user bios that could cause backend stalls.
2023-10-20 20:16:01 +02:00
Laura Hausmann
9b96b54c3c
[backend] Add start:debug command 2023-10-20 16:47:18 +02:00
Laura Hausmann
5c7a663320
[backend] Remove nsfw detection / tensorflow 2023-10-18 23:18:00 +02:00
Laura Hausmann
b53b7a8654
[backend] Remove check:connect script and js file 2023-10-13 18:46:20 +02:00
Laura Hausmann
bb5d0e319d
[backend] Add missing postgres types 2023-10-13 18:44:25 +02:00
Laura Hausmann
1927151aed
[baackend] Move migrations to typescript 2023-10-13 18:44:25 +02:00
Laura Hausmann
75f6732928
[mastodon-client] Replace koa-multer with koa-body 2023-10-05 18:45:38 +02:00
Laura Hausmann
0611651409
Remove megalodon 2023-10-05 14:36:14 +02:00
Laura Hausmann
e90b679864
[mastodon-client] Cache account/user data per api call 2023-10-04 22:01:06 +02:00
Laura Hausmann
30de454b69
Port SeaORM migrations to TypeORM 2023-09-26 21:38:20 +02:00
Laura Hausmann
76aa8eeefb
Port native-utils code back to typescript 2023-09-26 17:21:44 +02:00
Laura Hausmann
85f396ff49
Make WebFinger respect host-meta 2023-09-06 19:13:57 +02:00
Laura Hausmann
0952a37e86
Use build:debug and custom build environment docker image for CI 2023-08-30 17:59:16 +02:00
Luna
ec7d9e9f26
Fix yarn start 2023-07-27 18:16:56 +02:00
Luna
283e632772 switch to yarn 2023-07-27 07:22:09 +05:30
Laura Hausmann
3ac4e8d9a5
Further rebranding 2023-07-21 19:33:01 +02:00
ThatOneCalculator
73f3303f62 Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
CGsama
62cc362822 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04:00
CGsama
b283b65151 support new zip file by mastodon 2023-07-16 06:24:37 -04:00
Mizunashi Mana
9fbcdb529e feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09:00
CGsama
9339868636 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
ThatOneCalculator
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -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
bdaf5e9000 refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00
ThatOneCalculator
21e4859564 build: ⬆️ up backend deps 2023-07-10 21:29:01 -07:00
Namekuji
1ea8f8b4fe perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Laura Hausmann
8347855a11 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann
adb0f365ba [mastodon-client] Move megalodon to main repo 2023-07-06 02:16:51 +00: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
9b721da06d fix: use redis-semaphore for global mutex and memory leak prevention 2023-07-02 01:47:11 -04:00
Namekuji
1f974c0c13 refactor: use redis-semaphore for mutex across workers 2023-07-01 03:49:43 -04:00
Namekuji
ca3a956ba5 clean unnecessary artifacts 2023-06-22 16:00:28 -04:00
Lily Cohen
a704a5ad45 precompile rust components 2023-06-22 16:00:28 -04:00
ThatOneCalculator
30dea358d5 Revert "refactor: 🦺 replace js-yaml with yaml"
This reverts commit 837a45bd98bd2ef519341eed18be37694c4b05c0.
2023-06-16 14:09:42 -07:00
ThatOneCalculator
fe22cc3600 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
62654341e4 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
ebcc50634b chore: formatting 2023-06-08 11:01:00 -07:00
ThatOneCalculator
6c0c0a63a8 chore: format 2023-06-05 17:27:40 -07:00
Freeplay
9424ea416b Merge branch 'develop' of https://codeberg.org/calckey/calckey into upstream/develop 2023-06-05 20:15:21 -04:00
ThatOneCalculator
115f92c8d0 chore: formatting 2023-06-05 16:40:48 -07:00
ThatOneCalculator
75c0b0853d fix 2023-06-05 15:08:35 -07:00