Commit Graph

4064 Commits

Author SHA1 Message Date
ThatOneCalculator
c4e681339e dev 18 2023-03-30 18:59:03 -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
0f9f6ee619 chore: up pnpm 2023-03-30 15:10:32 -07:00
ThatOneCalculator
806f2bb8cf fix: 🐛 formlink -> button
fixes notifications and drive in settings
2023-03-29 12:53:07 -07:00
ThatOneCalculator
34157eba5d pnpm 8 2023-03-29 12:40:50 -07:00
ThatOneCalculator
e4602d1e20 dev16 2023-03-29 12:39:48 -07:00
ThatOneCalculator
f708786bbf pnpm 8! 2023-03-26 00:37:11 -07:00
ThatOneCalculator
00fffc1068 chore: bump pnpm 2023-03-24 12:46:09 -07:00
ThatOneCalculator
bf358a2fb3 dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
99ad96bc7a dev 14 2023-03-23 14:45:57 -07:00
ThatOneCalculator
b29b181533 dev13 2023-03-19 18:44:17 -07:00
ThatOneCalculator
e3fb0cbb3b chore: bump pnpm version 2023-03-19 00:27:31 -07:00
ThatOneCalculator
e08ec0dfaf fix: mobile button alignment 2023-03-19 00:12:24 -07: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
Masaya Suzuki
00e42db681 Check redis connection
---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-23 22:04:47 -08:00
ThatOneCalculator
c28e5fcad5 feat: Show time for users 2023-02-18 11:33:25 -08:00
ThatOneCalculator
fc285bb645 fix: 💄 admin overview style 2023-02-13 20:21:42 -08:00
ThatOneCalculator
1355b95589 feat: new admin panel data from Mk v13 2023-02-13 19:40:31 -08:00
ThatOneCalculator
c32128c2da dev7 2023-02-12 20:25:45 -08:00
ThatOneCalculator
72319e8f1f dev6 2023-02-12 20:15:33 -08:00
ThatOneCalculator
b306df0901 dev4 2023-02-12 15:42:19 -08:00
ThatOneCalculator
ce930e28e8 dev3 2023-02-12 12:49:16 -08:00
ThatOneCalculator
57aed1fed9 chore: formatting 2023-02-11 17:22:05 -08:00
ThatOneCalculator
8c45c5fc5b chore: tag dev1 2023-02-11 17:16:55 -08:00
ThatOneCalculator
1e7f8c3ab8 chore: up calckey.js 2023-02-11 13:04:22 -08:00
ThatOneCalculator
5664405c3a up ver 2023-02-10 15:19:02 -08:00
cutestnekoaqua
1c0b13a965 Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01:00
ThatOneCalculator
9a7dfef7bd docs: 📝 changelog 2023-02-09 14:51:47 -08: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
0756e980d1 wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
Kainoa Kanter
5bec97f93e tag: 🔖 v13.1.3-beta 2023-02-07 04:02:43 +00:00
Asrael
742b9a639f Merge remote-tracking branch 'upstream/develop' into Dockerfile-optimization 2023-02-06 01:08:40 -08:00
ThatOneCalculator
3eeaf19ba1 bump version number 2023-02-05 21:03:56 -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
Kainoa Kanter
408e94d612 tag: 🔖 13.1.1 2023-02-04 04:23:44 +00:00
ThatOneCalculator
de79e71ddd chore: up pnpm 2023-02-01 10:28:53 -08:00
ThatOneCalculator
4cf636a0e7 tag: 🔖 13.1.0 2023-02-01 10:27:11 -08:00
ThatOneCalculator
291899a763 chore: 🔧 remove eslint from service worker, up pnpm 2023-01-24 15:11:15 -08:00
ThatOneCalculator
4b2f9bd631 TWA/assetlinks support 2023-01-21 12:55:38 -08:00
ThatOneCalculator
c742617a35 lavaforge --> codeberg until lavaforge is ready 2023-01-19 16:18:17 -08:00
ThatOneCalculator
243eed8e73 fix: avatars in grid, not seperate grids 2023-01-16 11:46:09 -08:00
ThatOneCalculator
1c67da13c7 display MkAvatars nicer 2023-01-16 11:40:06 -08:00
ThatOneCalculator
6f6cedbb10 use MkAvatar for user-list widget 2023-01-16 11:31:21 -08:00
ThatOneCalculator
35e4adfdd2 port user list widget from mk 2023-01-16 11:19:19 -08:00
ThatOneCalculator
cb9dafdcdc chore: lavaforge links 2023-01-15 13:18:10 -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
cutestnekoaqua
c21dd35759 Revert "feat: introduce devBuild"
This reverts commit f752037a3ae33ecabd1c12b27edd6f6cac0e3f08.
2023-01-12 21:08:17 +01:00