Commit graph

307 commits

Author SHA1 Message Date
Kainoa Kanter 78d8767124 feat: allow users to choose icon set
Co-authored-by: naskya <m@naskya.net>
2023-10-17 01:57:20 +00:00
naskya 36a4f30377
chore: update lockfile 2023-10-17 06:24:24 +09:00
naskya cdf839bcc8 Remove integrations 2023-10-16 17:05:32 +00:00
Kainoa Kanter 92c45ff02f Merge branch 'refactor/upstream-megalodon' into 'develop'
refactor: ♻️ use upstream megalodon


See merge request firefish/firefish!10605
2023-10-03 07:54:13 +00:00
Kainoa Kanter a9167c0265 refactor: ♻️ use upstream megalodon 2023-10-03 07:54:13 +00:00
Kainoa Kanter 3af141c371 build: build service worker with Vite instead of Webpack 2023-10-03 07:53:53 +00:00
ThatOneCalculator 01f2f3e810
chore: ⬆️ up deps 2023-10-02 22:39:04 -07:00
ThatOneCalculator 9ec77027e4
chore: ⬆️ up pnpm 2023-09-26 16:11:19 -07:00
Essem 22ef74d92c feat: Implement module player 2023-09-22 03:48:54 +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
ThatOneCalculator bf6b480f49
pin swc 2023-09-19 16:14:53 -07:00
ThatOneCalculator 7ddc685bc3
dev13 2023-09-17 15:25:51 -07:00
Kainoa Kanter 4565867b8b perf: Replace JSDOM with Happy DOM 2023-09-08 03:24:01 +00:00
Namekuji d69bc740ea
chore: add biome binaries to dev dependencies 2023-09-05 06:28:15 -04:00
naskya ba3bf35167 language for post translation & translate button 2023-09-03 20:50:15 +00:00
ThatOneCalculator 26b4c6404a
chore: ⬆️ up photoswipe 2023-09-02 14:05:03 -07: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 5d06aa5f13
chore: 🚨 lint 2023-09-01 16:27:33 -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
naskya ffdadec61e upgrade frontend deps 2023-08-19 16:33:24 +00:00
ThatOneCalculator 06fcef60a1
chore: ⬆️ up deps 2023-08-08 17:38:03 -07:00
ThatOneCalculator 5aeb9556e9
chore: up pnpm to 8.6.11 2023-08-08 17:22:50 -07:00
ThatOneCalculator ee591012c1
chore: ⬆️ up deps 2023-07-28 11:39:31 -07:00
ThatOneCalculator 4ef22c0abf
pnpm 8.6.9 2023-07-19 09:33:02 -07:00
ThatOneCalculator 8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
CGsama 32faf81637 fix lock 2023-07-16 20:40:40 -04: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
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 ffb7fb5309 Update pnpm-lock.yaml 2023-07-16 04:07:55 -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 7b4acb76b3
dev73 2023-07-12 23:32:28 -07:00
ThatOneCalculator cacee0228b
fix: 🐛 fix draggable
Use vue-draggable-plus instead of vuedraggable: https://github.com/SortableJS/vue.draggable.next/issues/216

Closes #10467
2023-07-11 18:26:53 -07:00
ThatOneCalculator 36ef3600c3
build: ⬆️ up backend deps 2023-07-10 21:29:01 -07:00
ThatOneCalculator 8d9154c8c0
perf: use fast-blurhash for blurhash decoding, up deps 2023-07-10 21:09:07 -07:00
Kainoa Kanter c8ae0cfb95 revert 679d89fa59
revert build:  build megalodon with swc

Do it right this time
2023-07-08 16:56:54 +00:00
ThatOneCalculator 679d89fa59
build: build megalodon with swc
Do it right this time
2023-07-07 20:44:41 -07:00
Kainoa Kanter 63da6ac437 Merge pull request '[PR]: Cache server' (#10419) from refactor/cache-server into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10419
2023-07-06 21:55:44 +00:00
Namekuji f5edaaf130
perf: use msgpackr to encode and decode 2023-07-06 17:22:15 -04:00
Kainoa Kanter 815917c3d1 revert 6355bb6042
revert build:  build megalodon with swc
2023-07-06 21:04:39 +00:00
ThatOneCalculator 6355bb6042
build: build megalodon with swc 2023-07-05 23:28:47 -07: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
ThatOneCalculator e2ff531172
chore: ⬆️ up prettier, pnpm 2023-07-05 18:28:27 -07: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
ThatOneCalculator 7df442b48e
fix: 🐛 standard input for 2FA token
Closes #10361, removes client dependency
2023-06-29 19:12:42 -07:00
ThatOneCalculator 0015afaca8
chore: 🎨 format 2023-06-27 23:37:24 -07:00
ThatOneCalculator d110099e1c
chore: ⬆️ up emojilib 2023-06-23 22:21:37 -07:00
ThatOneCalculator 0e4a4b09c9
docs: 📝 API documentation generation 2023-06-23 21:13:03 -07:00
ThatOneCalculator 0d6256113d
Revert "build: use vite 4.4 beta with lightningcss"
This reverts commit 25aab24861.
2023-06-23 18:04:02 -07:00
ThatOneCalculator 089abadc31
fix: ⬇️ downgrade chalk 2023-06-23 17:59:27 -07:00
ThatOneCalculator 3ea701afdc
build: build greeting 2023-06-23 17:54:58 -07:00
ThatOneCalculator 25aab24861
build: use vite 4.4 beta with lightningcss 2023-06-23 17:35:52 -07:00
ThatOneCalculator f101317f3c
refactor: 📌 use own emoji descriptions 2023-06-23 00:27:26 -07:00
ThatOneCalculator d296fee10a
perf: update emojis, cache in IndexedDb
Closes #9959
May fix #9724
2023-06-22 19:34:52 -07:00
ThatOneCalculator 54bdfd6e1d
Revert "refactor: ⬆️ use custom version of vue3-otp-input"
This reverts commit f50f8830a8.
2023-06-16 14:11:33 -07:00
ThatOneCalculator 35445f8591
Revert "refactor: 🦺 replace js-yaml with yaml"
This reverts commit 837a45bd98.
2023-06-16 14:09:42 -07:00
Hosted Weblate da6f611185
chore: Merge branch 'origin/develop' into Weblate. 2023-06-16 09:14:12 +02: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 f50f8830a8
refactor: ⬆️ use custom version of vue3-otp-input
This enables the use of number inputs without the slider
2023-06-15 22:15:16 -07:00
ThatOneCalculator 7220fede8c
feat: 2FA input dialog 2023-06-15 19:32:27 -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 f3aad508d6
chore: ⬆️ up pnpm 2023-06-13 17:48:29 -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 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
ThatOneCalculator 02658fee0b
chore: ⬆️ up various deps 2023-06-03 00:41:30 -07:00
Namekuji 80e5d25698
pnpm install 2023-06-02 23:48:26 -04:00
ThatOneCalculator 0291579e2f
chore: ⬆️ up bull 2023-05-31 12:06:26 -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
ThatOneCalculator 7f81268f07
fix 2023-05-28 20:47:22 -07:00
Namekuji 98f9e3e5c4
use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
PrivateGER 340be8e35a Implement Meilisearch Indexing 2023-05-28 00:27:16 +00:00
ThatOneCalculator 9e94668911
chore: upgrade swiper 2023-05-22 08:22:21 -07: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
Kainoa Kanter dcd9f0a9c2 Revert "add (back) pwa install button to help menu"
This reverts commit 298960f4dd.
2023-05-12 20:05:18 -07:00
Kainoa Kanter 298960f4dd add (back) pwa install button to help menu 2023-05-11 18:59:42 -07: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 9e17f1b525
refactor: remove internal apps page 2023-05-07 18:49:56 -07:00
ThatOneCalculator 3533f6b481
chore: up browser-image-resizer 2023-04-30 13:13:43 -07:00
Freeplay 842b38aff6 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-30 12:31:41 -04:00
ThatOneCalculator d1c1d75388
Revert "keyboard accessibility (#9725)"
This reverts commit c1d5922acb.
2023-04-29 19:14:36 -07:00
Free c1d5922acb keyboard accessibility (#9725)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9725
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-29 22:30:14 +00:00
ThatOneCalculator 11b93d2d9a
chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
Freeplay 56b6b450c0 forgot to add this 2023-04-28 19:06:29 -04:00
Kainoa Kanter e4d995406c revert faulty commits 2023-04-27 16:32:44 -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
ThatOneCalculator 1ed5ff7caf
Revert "formatting"
This reverts commit b32e1b56fa.
2023-04-17 01:22:25 -07:00
ThatOneCalculator b32e1b56fa
formatting 2023-04-17 01:03:56 -07:00
ThatOneCalculator 1824b27e16
chore: formatting 2023-04-14 15:35:18 -07:00
ThatOneCalculator 4694e30573
chore: up swc 2023-04-13 09:43:13 -07:00
ThatOneCalculator 7f9d3f9d54
chore: formatting 2023-04-12 17:19:14 -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
Kainoa Kanter 6bf1cbc0ef fix: format script; chore: format 2023-04-07 17:01:42 -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 094637a4d5
pnpm 8! 2023-03-26 00:37:11 -07: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
ThatOneCalculator 76935a91e1
feat: compile time compression 2023-03-19 00:26:26 -07:00
cutestnekoaqua c5fda342e1
chore: update package locks 2023-03-18 11:53:17 +01:00
ThatOneCalculator c2c0e5b76c
chore: up icons 2023-03-12 13:43:37 -07:00
ThatOneCalculator 11e1977a21
chore: phosphor 2.0.2
adds woff2 as of 2.0.2 (my pr)
2023-03-11 13:44:57 -08:00
ThatOneCalculator 8721fbe8b5
fix? 2023-03-11 13:07:51 -08:00
ThatOneCalculator 90969b7512
refactor: ⬆️ phosphor 2, sorta
thank you sammy
2023-03-11 13:00:52 -08: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
ThatOneCalculator 2d59e363c0
feat: Show time for users 2023-02-18 11:33:25 -08:00
ThatOneCalculator b5a03e40f1
MkNumber 2023-02-13 20:02:41 -08:00
ThatOneCalculator 21e7529725
feat: new admin panel data from Mk v13 2023-02-13 19:40:31 -08:00
Kaity A 93a72f31a5 add webpack config to compile sw.js for browser 2023-02-12 09:59:34 +00: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 6cfdc31e94
use multer instead 2023-02-10 23:29:29 +01:00
cutestnekoaqua 3c641b4461
update pnpm locks 2023-02-10 00:15:26 +01:00
cutestnekoaqua b197464638
Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01:00
Kainoa Kanter 7571e96bd0 feature/help_menu (#9587)
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9587
2023-02-09 22:48:25 +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 c68c01a09e
wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
ThatOneCalculator f2dc07522b
chore: up vite 2023-02-06 20:06:50 -08:00
ThatOneCalculator d4c7db67ce
Merge remote-tracking branch 'asreal/Dockerfile-optimization' into develop 2023-02-05 21:15:01 -08: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
ThatOneCalculator 0efbe418c6
fix lock 2023-02-01 13:04:23 -08:00
ThatOneCalculator d06ed1b477
fix: actually add swc to sw package 2023-01-24 15:42:37 -08:00
ThatOneCalculator 970b4907f3
chore: 🔧 remove eslint from service worker, up pnpm 2023-01-24 15:11:15 -08:00
CyberRex0 6282ccc614 Add android-arm64 binary for swc 2023-01-13 18:26:22 +00:00
ThatOneCalculator 67a9a36c27
close #9463 2023-01-12 20:58:43 -08:00
ThatOneCalculator 7c2dabd047
no more eslint 2023-01-12 20:54:33 -08:00
ThatOneCalculator 6b00abf05c
refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Kainoa Kanter f47832b1b4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00