Commit Graph

4172 Commits

Author SHA1 Message Date
ThatOneCalculator
e5d501ff95 dev19 2023-04-01 11:29:01 -07:00
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
eb60a30048 beta 31 2023-03-23 17:50:30 -07:00
ThatOneCalculator
3daeeb45a4 beta3 2023-03-23 14:46:37 -07:00
ThatOneCalculator
99ad96bc7a dev 14 2023-03-23 14:45:57 -07:00
ThatOneCalculator
a57530160a Merge branch 'develop' into beta 2023-03-20 20:54:01 -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
Kainoa Kanter
4858545e7b Update 'package.json' 2023-03-15 04:20:29 +00:00
ThatOneCalculator
104d50e431 Merge branch 'develop' into beta 2023-03-14 16:28:43 -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
0b0db20af3 rc2 2023-02-23 20:09:41 -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
Freeplay
5e07df2ed0 FOCUS TRAPPING!!!! 2023-02-12 21:56:01 -05: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
cutestnekoaqua
669fd9fed6 feat: introduce devBuild 2023-01-12 20:40:15 +01:00
ThatOneCalculator
80febfe73a Revert "refactor: 🔧 vite config"
This reverts commit 83fe5ca70170c96b306bfb971b100b11076176d2.
2023-01-11 10:48:17 -08:00
ThatOneCalculator
50d9c8f07c refactor: 🔧 vite config
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
2023-01-10 08:49:15 -08:00
ThatOneCalculator
44a3e55b39 fix: 🐛 Poll choice length 256
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
Closes #9433
2023-01-10 08:48:10 -08:00
ThatOneCalculator
a1aff324b5 tag: 13.0.6-rc 2023-01-04 08:26:16 -08:00
ThatOneCalculator
f052bd4e73 shadows 2023-01-03 18:51:40 -08:00
ThatOneCalculator
df02e06c37 fix 2023-01-03 18:31:27 -08:00
ThatOneCalculator
e099a3346c oops... 2023-01-03 18:12:02 -08:00
ThatOneCalculator
bbf7123604 console log 2023-01-03 18:08:36 -08:00
ThatOneCalculator
773abc1ba3 fix? 2023-01-03 18:03:45 -08:00
ThatOneCalculator
379972e18c fix shadows 2023-01-03 17:59:22 -08:00
ThatOneCalculator
58c4a30a14 fix 2023-01-03 17:56:26 -08:00
ThatOneCalculator
168d475121 debugging 2023-01-03 17:52:04 -08:00
ThatOneCalculator
0db6550efc release version system 2023-01-03 17:38:07 -08:00
ThatOneCalculator
819db1c0aa fix 2023-01-03 17:01:14 -08:00
ThatOneCalculator
8ba813d30e .7 2023-01-03 16:37:51 -08:00
ThatOneCalculator
3455fbf7f9 final new post layout fix 2023-01-03 16:17:21 -08:00
ThatOneCalculator
3cc2cb6ce2 ???? 2023-01-03 16:09:57 -08:00
ThatOneCalculator
ed6c6d164d fix???? 2023-01-03 16:00:14 -08:00
ThatOneCalculator
20405eda18 Revert "chore: upgrade packages"
This reverts commit 245d3815c61a2b644094df15bf2a37567ff47ce4.
2023-01-03 15:42:57 -08:00
ThatOneCalculator
6b4809b7c0 mobile button to mkbutton 2023-01-03 15:32:47 -08:00
ThatOneCalculator
36f880a07e fix bot tag 2023-01-03 15:31:07 -08:00
ThatOneCalculator
57c9007bdd actually fix 2023-01-03 15:24:17 -08:00
ThatOneCalculator
c7e54f3b59 chore: upgrade packages 2023-01-03 15:12:38 -08:00
ThatOneCalculator
2f75f4ecbe ? 2023-01-03 15:09:20 -08:00
ThatOneCalculator
a78c691f94 fixes 2023-01-03 11:16:43 -08:00
ThatOneCalculator
e4fdf57f89 . 2023-01-03 11:02:02 -08:00
ThatOneCalculator
96543a7e40 h 2023-01-03 10:48:51 -08:00
ThatOneCalculator
378597306c bump v num 2023-01-03 10:44:14 -08:00
ThatOneCalculator
8585586b40 more post style fixes 2023-01-03 10:36:14 -08:00
ThatOneCalculator
5c076f1c0e fix 2023-01-03 10:30:42 -08:00
ThatOneCalculator
7a35a05f27 fix 2023-01-03 10:16:02 -08:00
ThatOneCalculator
1fdb262f0b fix 2023-01-03 10:09:59 -08:00
ThatOneCalculator
f54db402c5 integrate some of Freeplay's Ck userstyles 2023-01-03 09:35:30 -08:00
ThatOneCalculator
a6324564e2 fixes 2023-01-03 09:12:26 -08:00
ThatOneCalculator
14192876cd chore: bump version number 2023-01-03 08:55:02 -08:00
cutestnekoaqua
e7e34fb61c update yarn 2022-12-27 00:37:57 +01:00
cutestnekoaqua
b16f320607 Reproducible Builds 2022-12-27 00:24:19 +01:00
ThatOneCalculator
2c8a66ed9d feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
ThatOneCalculator
bbebb2fb2d tag: 🔖 13.0.5 2022-12-18 10:56:01 -08:00
ThatOneCalculator
1a9e55b0f3 refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator
92954275a3 fix: 🥴 2022-12-17 18:48:21 -08:00
ThatOneCalculator
8beceed4c3 fix: 🥴 2022-12-17 18:42:16 -08:00
ThatOneCalculator
d1a7e83ed3 fix: 🥴 2022-12-17 18:36:18 -08:00
ThatOneCalculator
15dc3e7729 fix: 🥴 2022-12-17 18:31:11 -08:00
ThatOneCalculator
7862d093f7 fix: 🥴 2022-12-17 18:25:25 -08:00
ThatOneCalculator
c3c6ab52b4 fix: 🥴 2022-12-17 18:17:24 -08:00
ThatOneCalculator
8146f8922e fix: 🥴 2022-12-17 18:09:41 -08:00
ThatOneCalculator
16d724ee7a fix: 🥴 2022-12-17 18:02:19 -08:00
ThatOneCalculator
ce131b1231 test: 🥴 2022-12-17 17:55:08 -08:00
ThatOneCalculator
fae5e3659d fix: 🥴 2022-12-17 17:51:47 -08:00
ThatOneCalculator
5b1b0569cc fix: 🥴 2022-12-17 17:47:38 -08:00
ThatOneCalculator
ec36655a83 fix: 🥴 2022-12-17 17:42:08 -08:00
ThatOneCalculator
7988d5a299 fix: 🥴 2022-12-17 17:22:18 -08:00
ThatOneCalculator
fa5a893270 fix: 🥴 2022-12-17 17:17:24 -08:00
ThatOneCalculator
32e28d4def fix: 🥴 2022-12-17 17:15:15 -08:00
ThatOneCalculator
ccd55c5251 chore: fix rebuild 2022-12-17 16:59:03 -08:00
ThatOneCalculator
5829e92fdb feat: weblate! 2022-12-17 10:17:39 -08:00
ThatOneCalculator
11bf1a98d0 Fix logo icons 2022-12-16 10:50:26 -08:00
ThatOneCalculator
71f9378d35 fix: insert into correct textarea 2022-12-16 10:40:08 -08:00
ThatOneCalculator
b395874945 fix: css class match 2022-12-16 10:36:53 -08:00
ThatOneCalculator
2be8bf2078 feat: Insert text at cursor for caption 2022-12-16 10:25:05 -08:00
cutestnekoaqua
c060af47b0 v13🔖🚀 2022-12-16 16:36:13 +01:00
cutestnekoaqua
d353077aee Release Candidate 1. If no furter changes
this will be v13
2022-12-16 02:09:22 +01:00
cutestnekoaqua
a93990bbab revert url to uri 2022-12-15 16:33:08 +01:00
cutestnekoaqua
e84ced28ec Beta 8! 2022-12-15 13:39:42 +01:00
cutestnekoaqua
5b622ce273 Add Rebuild Option [CI Skip] 2022-12-14 18:09:58 +01:00
ThatOneCalculator
fa2e17dc93 open page in window if deck 2022-12-12 14:39:21 -08:00
ThatOneCalculator
d30464ee45 beta5 2022-12-12 11:27:39 -08:00
ThatOneCalculator
fa21a9e489 Only show admin settings to admins 2022-12-12 10:54:24 -08:00
ThatOneCalculator
7a8ab8b381 fix calckeyjs 2022-12-12 10:19:18 -08:00
ThatOneCalculator
5a4c74b6ad fix ckjs 2022-12-12 10:04:57 -08:00
ThatOneCalculator
804224f92c Bug fixes, use calckey.js 2022-12-11 19:24:12 -08:00
ThatOneCalculator
4f9dfbc3c6 Fix UI, beta versioning 2022-12-11 18:32:19 -08:00
ThatOneCalculator
367e19727e Fix move endpoint 2022-12-11 18:18:07 -08:00
ThatOneCalculator
e9f36ffb8f fix: label 2022-12-11 18:00:39 -08:00
ThatOneCalculator
1516e24365 final cleanup 2022-12-11 17:49:14 -08:00
ThatOneCalculator
70a953a7d8 fix: migration labels 2022-12-11 17:40:10 -08:00
ThatOneCalculator
49b41cd412 Pop-up to confirm migration 2022-12-11 17:28:11 -08:00
cutestnekoaqua
745a6124a8 Change Version to release candidate 1 2022-12-12 02:00:28 +01:00
cutestnekoaqua
0219ed2c1d integrate migration ui and api backend 2022-12-12 01:54:44 +01:00
ThatOneCalculator
9499737cd8 fix path 2022-12-12 01:54:43 +01:00
ThatOneCalculator
f4da4b7ebb Initial migration UI
b6

Style improvements to moved
2022-12-12 01:54:43 +01:00
ThatOneCalculator
fea278fbf4 Fix icons + formatting
fix more icons
2022-12-12 01:54:23 +01:00
ThatOneCalculator
7fd4dd1260 b4 2022-12-06 17:14:36 -08:00
cutestnekoaqua
8594f0e216 add ui back 2022-12-07 01:26:24 +01:00
ThatOneCalculator
49ee6765c4 cleanup 2022-12-06 15:46:34 -08:00
ThatOneCalculator
ce35de8a13 13 👀 2022-12-04 17:26:11 -08:00
ThatOneCalculator
0e3b9323a2 release: 🔖 .18 2022-12-03 21:32:32 -08:00
thatonecalculator
e448e11082 Consistent styling 2022-12-01 23:28:16 -08:00
thatonecalculator
88e839bf00 fix 2022-12-01 23:22:43 -08:00
thatonecalculator
e70d5a775c fix 2022-12-01 23:19:37 -08:00