Commit graph

112 commits

Author SHA1 Message Date
Kainoa Kanter
14fb2ffa8b Revert "add (back) pwa install button to help menu"
This reverts commit 298960f4dd5c54815e8e999d1e41ce4219904cb9.
2023-05-12 20:05:18 -07:00
Kainoa Kanter
d477a8904b add (back) pwa install button to help menu 2023-05-11 18:59:42 -07:00
Essem
5b37235a29 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
07ff19008a refactor: remove internal apps page 2023-05-07 18:49:56 -07:00
ThatOneCalculator
3191853c32 chore: up browser-image-resizer 2023-04-30 13:13:43 -07:00
Freeplay
7e2d5c45d2 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-30 12:31:41 -04:00
ThatOneCalculator
1051da8fbf Revert "keyboard accessibility (#9725)"
This reverts commit c1d5922acbe7060c0ea779ccf314e9f0e6b91bb3.
2023-04-29 19:14:36 -07:00
Free
08686da50e 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
1dbcbe9dbb chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
Freeplay
d61a314f40 forgot to add this 2023-04-28 19:06:29 -04:00
Kainoa Kanter
6713c5b2d0 revert faulty commits 2023-04-27 16:32:44 -07:00
ThatOneCalculator
5d182895f0 Revert "chore: update summaly"
This reverts commit b60a3b509e6131ce8d29d7304dfa200c4b493e35.
2023-04-26 14:19:55 -07:00
ThatOneCalculator
49e0399881 chore: up pakcages 2023-04-23 15:34:50 -07:00
ThatOneCalculator
f1fa00f962 chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator
4a7a79c3d5 Revert "formatting"
This reverts commit b32e1b56fa0acda38a91f2851aea398204d02417.
2023-04-17 01:22:25 -07:00
ThatOneCalculator
e006d96aac formatting 2023-04-17 01:03:56 -07:00
ThatOneCalculator
24c23c6474 chore: formatting 2023-04-14 15:35:18 -07:00
ThatOneCalculator
224fdf4dc5 chore: up swc 2023-04-13 09:43:13 -07:00
ThatOneCalculator
b62549cf69 chore: formatting 2023-04-12 17:19:14 -07:00
Kainoa Kanter
799ac84ee3 Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c4827fbff05782d08ae65bc3440c080.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
a5c4d0a7bd Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6bce9b86b8f4f9a5b78f640166dd3d5.
2023-04-07 17:35:10 -07:00
Kainoa Kanter
8f35b66bbb fix: format script; chore: format 2023-04-07 17:01:42 -07:00
Kaity A
21905514d4 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
df83d4c211 add argon 2023-03-30 19:19:09 -07:00
s1idewhist1e
981d3ee725 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
f708786bbf pnpm 8! 2023-03-26 00:37:11 -07:00
ThatOneCalculator
bf358a2fb3 dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
9fa73242a0 chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
Kaity A
77c12cba8d 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
923eeaa4cc feat: compile time compression 2023-03-19 00:26:26 -07:00
cutestnekoaqua
8593dbed95 chore: update package locks 2023-03-18 11:53:17 +01:00
ThatOneCalculator
036c699da9 chore: up icons 2023-03-12 13:43:37 -07:00
ThatOneCalculator
fae58085dd chore: phosphor 2.0.2
adds woff2 as of 2.0.2 (my pr)
2023-03-11 13:44:57 -08:00
ThatOneCalculator
8cb2efa186 fix? 2023-03-11 13:07:51 -08:00
ThatOneCalculator
7157d54fbd refactor: ⬆️ phosphor 2, sorta
thank you sammy
2023-03-11 13:00:52 -08:00
cutestnekoaqua
1c674fcf01 some quick fixes 2023-03-01 15:04:01 +01:00
Cleo John
83494b707d more mastodon work 2023-02-28 17:23:04 +01:00
ThatOneCalculator
c28e5fcad5 feat: Show time for users 2023-02-18 11:33:25 -08:00
ThatOneCalculator
ae39d2295b MkNumber 2023-02-13 20:02:41 -08:00
ThatOneCalculator
1355b95589 feat: new admin panel data from Mk v13 2023-02-13 19:40:31 -08:00
Kaity A
c3cbb5f5b5 add webpack config to compile sw.js for browser 2023-02-12 09:59:34 +00:00
ThatOneCalculator
6333016077 chore: calckey megalodon 2023-02-11 16:20:57 -08:00
ThatOneCalculator
1e7f8c3ab8 chore: up calckey.js 2023-02-11 13:04:22 -08:00
cutestnekoaqua
1b3308bd4b Revert "use formidable instead"
This reverts commit b8406ecaa40c08576d2644b797e05363533b0cfb.
2023-02-11 00:19:52 +01:00
cutestnekoaqua
1d3e01ee8e use formidable instead 2023-02-10 23:50:27 +01:00
cutestnekoaqua
465cb5a570 use multer instead 2023-02-10 23:29:29 +01:00
cutestnekoaqua
d4c486e590 update pnpm locks 2023-02-10 00:15:26 +01:00
cutestnekoaqua
1c0b13a965 Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01:00
Kainoa Kanter
a928c05d8e 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
b1e3c2e1c7 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
0756e980d1 wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
ThatOneCalculator
c1ca955d57 chore: up vite 2023-02-06 20:06:50 -08:00
ThatOneCalculator
af6994dedf Merge remote-tracking branch 'asreal/Dockerfile-optimization' into develop 2023-02-05 21:15:01 -08:00
Asrael
eeee91dcb4 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
eff7936a7a fix lock 2023-02-01 13:04:23 -08:00
ThatOneCalculator
9a6a9b97fb fix: actually add swc to sw package 2023-01-24 15:42:37 -08:00
ThatOneCalculator
291899a763 chore: 🔧 remove eslint from service worker, up pnpm 2023-01-24 15:11:15 -08:00
CyberRex0
dc8a6b96d8 Add android-arm64 binary for swc 2023-01-13 18:26:22 +00:00
ThatOneCalculator
ef06bdceda close #9463 2023-01-12 20:58:43 -08:00
ThatOneCalculator
ac64087a1e no more eslint 2023-01-12 20:54:33 -08:00
ThatOneCalculator
2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Kainoa Kanter
19596a91e4 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