Commit Graph

4171 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 6e898249ef
beta 31 2023-03-23 17:50:30 -07:00
ThatOneCalculator 581d1c71b3
beta3 2023-03-23 14:46:37 -07:00
ThatOneCalculator f560f2516e
dev 14 2023-03-23 14:45:57 -07:00
ThatOneCalculator e674ae1c25
Merge branch 'develop' into beta 2023-03-20 20:54:01 -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
Kainoa Kanter 6db3766505 Update 'package.json' 2023-03-15 04:20:29 +00:00
ThatOneCalculator ecf05b1d9e
Merge branch 'develop' into beta 2023-03-14 16:28:43 -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 8f5afbc355
rc2 2023-02-23 20:09:41 -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
Freeplay b3c0c6124e FOCUS TRAPPING!!!! 2023-02-12 21:56:01 -05: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
cutestnekoaqua f752037a3a
feat: introduce devBuild 2023-01-12 20:40:15 +01:00
ThatOneCalculator a0a3b128b6
Revert "refactor: 🔧 vite config"
This reverts commit 83fe5ca701.
2023-01-11 10:48:17 -08:00
ThatOneCalculator 83fe5ca701
refactor: 🔧 vite config
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
2023-01-10 08:49:15 -08:00
ThatOneCalculator 1223aa0a01
fix: 🐛 Poll choice length 256
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
Closes #9433
2023-01-10 08:48:10 -08:00
ThatOneCalculator 555364494a
tag: 13.0.6-rc 2023-01-04 08:26:16 -08:00
ThatOneCalculator c64705592e
shadows 2023-01-03 18:51:40 -08:00
ThatOneCalculator 6144650f9d
fix 2023-01-03 18:31:27 -08:00
ThatOneCalculator 83e9c10646
oops... 2023-01-03 18:12:02 -08:00
ThatOneCalculator 660085171f
console log 2023-01-03 18:08:36 -08:00
ThatOneCalculator aed70a05c8
fix? 2023-01-03 18:03:45 -08:00
ThatOneCalculator 65ee08c048
fix shadows 2023-01-03 17:59:22 -08:00
ThatOneCalculator 51ab2cbc18
fix 2023-01-03 17:56:26 -08:00
ThatOneCalculator 1487d9dce7
debugging 2023-01-03 17:52:04 -08:00
ThatOneCalculator ebc8ac76de
release version system 2023-01-03 17:38:07 -08:00
ThatOneCalculator f4e2e5febf
fix 2023-01-03 17:01:14 -08:00
ThatOneCalculator b83c8f453c
.7 2023-01-03 16:37:51 -08:00
ThatOneCalculator 5da72d604f
final new post layout fix 2023-01-03 16:17:21 -08:00
ThatOneCalculator 6b7375e7c7
???? 2023-01-03 16:09:57 -08:00
ThatOneCalculator 52455734c7
fix???? 2023-01-03 16:00:14 -08:00
ThatOneCalculator 9921a391c0
Revert "chore: upgrade packages"
This reverts commit 245d3815c6.
2023-01-03 15:42:57 -08:00
ThatOneCalculator e71e9d522a
mobile button to mkbutton 2023-01-03 15:32:47 -08:00
ThatOneCalculator 239ad21629
fix bot tag 2023-01-03 15:31:07 -08:00
ThatOneCalculator 8b36927925
actually fix 2023-01-03 15:24:17 -08:00
ThatOneCalculator 245d3815c6
chore: upgrade packages 2023-01-03 15:12:38 -08:00
ThatOneCalculator 231ce51e45
? 2023-01-03 15:09:20 -08:00
ThatOneCalculator 5be509a43d
fixes 2023-01-03 11:16:43 -08:00
ThatOneCalculator 69c059f4f2
. 2023-01-03 11:02:02 -08:00
ThatOneCalculator 504f6a17ca
h 2023-01-03 10:48:51 -08:00
ThatOneCalculator 88996a6e6f
bump v num 2023-01-03 10:44:14 -08:00
ThatOneCalculator d4e6ee6001
more post style fixes 2023-01-03 10:36:14 -08:00
ThatOneCalculator 2fdd015da7
fix 2023-01-03 10:30:42 -08:00
ThatOneCalculator bc3442a75b
fix 2023-01-03 10:16:02 -08:00
ThatOneCalculator 1392083d60
fix 2023-01-03 10:09:59 -08:00
ThatOneCalculator a623948e53
integrate some of Freeplay's Ck userstyles 2023-01-03 09:35:30 -08:00
ThatOneCalculator c0cf1e2bf4
fixes 2023-01-03 09:12:26 -08:00
ThatOneCalculator 5a98a58d03
chore: bump version number 2023-01-03 08:55:02 -08:00
cutestnekoaqua 2c8d317eaf
update yarn 2022-12-27 00:37:57 +01:00
cutestnekoaqua 2025f4d68c
Reproducible Builds 2022-12-27 00:24:19 +01:00
ThatOneCalculator d952912bff
feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
ThatOneCalculator a91cdceb25
tag: 🔖 13.0.5 2022-12-18 10:56:01 -08:00
ThatOneCalculator 944eadca8f
refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator e1182f4db9
fix: 🥴 2022-12-17 18:48:21 -08:00
ThatOneCalculator a4457b8e2a
fix: 🥴 2022-12-17 18:42:16 -08:00
ThatOneCalculator 8ff77012c7
fix: 🥴 2022-12-17 18:36:18 -08:00
ThatOneCalculator 943f1e9b4f
fix: 🥴 2022-12-17 18:31:11 -08:00
ThatOneCalculator af86c98efa
fix: 🥴 2022-12-17 18:25:25 -08:00
ThatOneCalculator df560fa20d
fix: 🥴 2022-12-17 18:17:24 -08:00
ThatOneCalculator acc9d698be
fix: 🥴 2022-12-17 18:09:41 -08:00
ThatOneCalculator 762d0bde64
fix: 🥴 2022-12-17 18:02:19 -08:00
ThatOneCalculator 290045beb2
test: 🥴 2022-12-17 17:55:08 -08:00
ThatOneCalculator ddb9b5a077
fix: 🥴 2022-12-17 17:51:47 -08:00
ThatOneCalculator 74eaf9def4
fix: 🥴 2022-12-17 17:47:38 -08:00
ThatOneCalculator 02cb89801a
fix: 🥴 2022-12-17 17:42:08 -08:00
ThatOneCalculator 14fbddaefb
fix: 🥴 2022-12-17 17:22:18 -08:00
ThatOneCalculator b1fbbbe426
fix: 🥴 2022-12-17 17:17:24 -08:00
ThatOneCalculator 0bc6f27e32
fix: 🥴 2022-12-17 17:15:15 -08:00
ThatOneCalculator 040c1a2ae2
chore: fix rebuild 2022-12-17 16:59:03 -08:00
ThatOneCalculator 8d368ac954
feat: weblate! 2022-12-17 10:17:39 -08:00
ThatOneCalculator 028643a531
Fix logo icons 2022-12-16 10:50:26 -08:00
ThatOneCalculator 1fb3f16f37
fix: insert into correct textarea 2022-12-16 10:40:08 -08:00
ThatOneCalculator eecf0ccce3
fix: css class match 2022-12-16 10:36:53 -08:00
ThatOneCalculator 7e076cff75
feat: Insert text at cursor for caption 2022-12-16 10:25:05 -08:00
cutestnekoaqua 3507138c77
v13🔖🚀 2022-12-16 16:36:13 +01:00
cutestnekoaqua 988bbedbfa
Release Candidate 1. If no furter changes
this will be v13
2022-12-16 02:09:22 +01:00
cutestnekoaqua af61a1243e
revert url to uri 2022-12-15 16:33:08 +01:00
cutestnekoaqua e67afc66f3
Beta 8! 2022-12-15 13:39:42 +01:00
cutestnekoaqua 785ace95a4
Add Rebuild Option [CI Skip] 2022-12-14 18:09:58 +01:00
ThatOneCalculator 08874b97d3
open page in window if deck 2022-12-12 14:39:21 -08:00
ThatOneCalculator 4922aefb49
beta5 2022-12-12 11:27:39 -08:00
ThatOneCalculator 851d2b0f66
Only show admin settings to admins 2022-12-12 10:54:24 -08:00
ThatOneCalculator 3a05623e87
fix calckeyjs 2022-12-12 10:19:18 -08:00
ThatOneCalculator 7509f9c502
fix ckjs 2022-12-12 10:04:57 -08:00
ThatOneCalculator 50cb7c6de1
Bug fixes, use calckey.js 2022-12-11 19:24:12 -08:00
ThatOneCalculator cfb5832e24
Fix UI, beta versioning 2022-12-11 18:32:19 -08:00
ThatOneCalculator bc97bbe360
Fix move endpoint 2022-12-11 18:18:07 -08:00
ThatOneCalculator 7ce7df6947
fix: label 2022-12-11 18:00:39 -08:00
ThatOneCalculator 1ee6a52a8a
final cleanup 2022-12-11 17:49:14 -08:00
ThatOneCalculator 44a457b308
fix: migration labels 2022-12-11 17:40:10 -08:00
ThatOneCalculator 7f677cbc66
Pop-up to confirm migration 2022-12-11 17:28:11 -08:00
cutestnekoaqua 792fcc9f9c Change Version to release candidate 1 2022-12-12 02:00:28 +01:00
cutestnekoaqua 91e39fa829 integrate migration ui and api backend 2022-12-12 01:54:44 +01:00
ThatOneCalculator b2affc4207 fix path 2022-12-12 01:54:43 +01:00
ThatOneCalculator 279a5cac35 Initial migration UI
b6

Style improvements to moved
2022-12-12 01:54:43 +01:00
ThatOneCalculator 8e7c6d3a9b Fix icons + formatting
fix more icons
2022-12-12 01:54:23 +01:00
ThatOneCalculator 70d9b3b45d b4 2022-12-06 17:14:36 -08:00
cutestnekoaqua 21d6c83a5a add ui back 2022-12-07 01:26:24 +01:00
ThatOneCalculator fe2dad30f5 cleanup 2022-12-06 15:46:34 -08:00
ThatOneCalculator 44d44bbccc 13 👀 2022-12-04 17:26:11 -08:00
ThatOneCalculator 19baca72c9 release: 🔖 .18 2022-12-03 21:32:32 -08:00
thatonecalculator 69d828332b Consistent styling 2022-12-01 23:28:16 -08:00
thatonecalculator c965188ea7 fix 2022-12-01 23:22:43 -08:00
thatonecalculator 25fa34d97c fix 2022-12-01 23:19:37 -08:00
thatonecalculator e649a465ed Release candidate 8 2022-12-01 23:13:08 -08:00