Commit Graph

80 Commits

Author SHA1 Message Date
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