Commit Graph

4064 Commits

Author SHA1 Message Date
ThatOneCalculator
5ce2e4f408
dev 18 2023-03-30 18:59:03 -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
a6317cb171
chore: up pnpm 2023-03-30 15:10:32 -07:00
ThatOneCalculator
48e0333e71
fix: 🐛 formlink -> button
fixes notifications and drive in settings
2023-03-29 12:53:07 -07:00
ThatOneCalculator
181ab5a007
pnpm 8 2023-03-29 12:40:50 -07:00
ThatOneCalculator
4eb3b6055a
dev16 2023-03-29 12:39:48 -07:00
ThatOneCalculator
094637a4d5
pnpm 8! 2023-03-26 00:37:11 -07:00
ThatOneCalculator
a751050dd0
chore: bump pnpm 2023-03-24 12:46:09 -07:00
ThatOneCalculator
35bf174273
dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
f560f2516e
dev 14 2023-03-23 14:45:57 -07:00
ThatOneCalculator
5afa8c6e9e
dev13 2023-03-19 18:44:17 -07:00
ThatOneCalculator
3f58232a39
chore: bump pnpm version 2023-03-19 00:27:31 -07:00
ThatOneCalculator
2ea458e2db
fix: mobile button alignment 2023-03-19 00:12:24 -07: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
Masaya Suzuki
ea5725b986
Check redis connection
---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-23 22:04:47 -08:00
ThatOneCalculator
2d59e363c0
feat: Show time for users 2023-02-18 11:33:25 -08:00
ThatOneCalculator
81cc4b3f49
fix: 💄 admin overview style 2023-02-13 20:21:42 -08:00
ThatOneCalculator
21e7529725
feat: new admin panel data from Mk v13 2023-02-13 19:40:31 -08:00
ThatOneCalculator
a7045cecfb
dev7 2023-02-12 20:25:45 -08:00
ThatOneCalculator
95fcac3e55
dev6 2023-02-12 20:15:33 -08:00
ThatOneCalculator
7cba70eb70
dev4 2023-02-12 15:42:19 -08:00
ThatOneCalculator
9046b76536
dev3 2023-02-12 12:49:16 -08:00
ThatOneCalculator
69da6fa295
chore: formatting 2023-02-11 17:22:05 -08:00
ThatOneCalculator
ace8350043
chore: tag dev1 2023-02-11 17:16:55 -08:00
ThatOneCalculator
4ddb65410b
chore: up calckey.js 2023-02-11 13:04:22 -08:00
ThatOneCalculator
004d8f18fa
up ver 2023-02-10 15:19:02 -08:00
cutestnekoaqua
b197464638
Merge branch 'feature/masto-api' into develop 2023-02-10 00:13:20 +01:00
ThatOneCalculator
36972a64ae
docs: 📝 changelog 2023-02-09 14:51:47 -08: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
c68c01a09e
wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
Kainoa Kanter
f7c4d1a4b4 tag: 🔖 v13.1.3-beta 2023-02-07 04:02:43 +00:00
Asrael
21a59dc497
Merge remote-tracking branch 'upstream/develop' into Dockerfile-optimization 2023-02-06 01:08:40 -08:00
ThatOneCalculator
8ec6cef20b
bump version number 2023-02-05 21:03:56 -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
Kainoa Kanter
d9e56592f3 tag: 🔖 13.1.1 2023-02-04 04:23:44 +00:00
ThatOneCalculator
00c757a450
chore: up pnpm 2023-02-01 10:28:53 -08:00
ThatOneCalculator
069a775b0a
tag: 🔖 13.1.0 2023-02-01 10:27:11 -08:00
ThatOneCalculator
970b4907f3
chore: 🔧 remove eslint from service worker, up pnpm 2023-01-24 15:11:15 -08:00
ThatOneCalculator
b759ec4539
TWA/assetlinks support 2023-01-21 12:55:38 -08:00
ThatOneCalculator
81cd7600f7
lavaforge --> codeberg until lavaforge is ready 2023-01-19 16:18:17 -08:00
ThatOneCalculator
df331269bf
fix: avatars in grid, not seperate grids 2023-01-16 11:46:09 -08:00
ThatOneCalculator
4cb29beeaa
display MkAvatars nicer 2023-01-16 11:40:06 -08:00
ThatOneCalculator
2aba31312f
use MkAvatar for user-list widget 2023-01-16 11:31:21 -08:00
ThatOneCalculator
cc52292985
port user list widget from mk 2023-01-16 11:19:19 -08:00
ThatOneCalculator
cd1679934a
chore: lavaforge links 2023-01-15 13:18:10 -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
cutestnekoaqua
81e1fc67c1
Revert "feat: introduce devBuild"
This reverts commit f752037a3a.
2023-01-12 21:08:17 +01:00