naskya
64088819be
chore (backend-rs): update build script
2024-06-06 17:10:41 +09:00
naskya
642c4cb2c7
refactor (backend-rs): remove strum derives
2024-06-06 17:10:39 +09:00
naskya
a2555fc65d
chore: minimize Rust dependencies
...
It is unclear if this is worth the effort to manage
(so this may be reverted later) but at least it seems
we could remove a bunch of lines from the lockfile
by removing unused feature flags.
2024-05-30 19:27:05 +09:00
naskya
985532b2aa
chore (backend-rs): remove unused feature flag
2024-05-24 02:43:20 +09:00
sup39
2a8193fa6c
meta: macro_rs -> macro-rs
2024-05-18 17:39:45 +08:00
Daniel Smith
ab3ca2a20b
feat (backend-rs): impl bb8::ManageConnection for RedisConnectionManager
...
62597aa45a/redis/src/lib.rs
Co-authored-by: Kyle Huey <khuey@kylehuey.com>
2024-05-18 13:20:47 +09:00
naskya
61562a0943
refactor (backend-rs): use async redis commands
2024-05-18 13:20:43 +09:00
naskya
41b32c5535
refactor (backend): port push notification sender to backend-rs
2024-05-15 22:19:58 +00:00
naskya
d8e1ab63c0
refactor: port system information checker to backend-rs
...
network stat is removed because it might be inaccurate and/or
it should be monitored by other system tools, but it may be added back
later if it is wanted
2024-05-15 16:26:46 +09:00
naskya
d2471b6db7
refactor (backend-rs): replace reqwest with isahc
...
reqwest is feature-rich, but we will need isahc http client for push notifications (!10760 )
isahc http client is also good btw :)
2024-05-05 14:53:45 +09:00
naskya
b185c0c87e
feat (backend-rs): add cache::delete_all
2024-05-04 21:24:20 +09:00
naskya
0f4c05a64f
ci: add 'ci' feature flag to backend-rs
2024-05-04 16:14:23 +09:00
naskya
b58d940e71
fix (backend-rs): add openssl as a dependency
2024-04-26 07:13:09 +09:00
naskya
b12d7e4c63
refactor (backend): port emoji-meta to backend-rs
2024-04-25 19:06:16 +09:00
naskya
eac0c1c47c
refactor (backend): revise log levels
...
* Add logging in backend-rs
* Change log levels to 'error', 'warning', 'info', 'debug', 'trace'
* Add `maxLogLevel` config and deprecate `logLevels`
* Move SQL queries to 'trace' level
2024-04-25 02:22:49 +09:00
naskya
9db729d734
refactor (backend-rs): separate gen_id and gen_id_at
2024-04-24 07:02:06 +09:00
naskya
ee04e30f25
chore (backend-rs): remove unused stuff
...
it should be reworked
2024-04-24 03:01:47 +09:00
naskya
08926ceb8c
dev (backend-rs): add basic Redis cache setter/getter
2024-04-22 21:56:38 +09:00
naskya
ccbd6178e4
refactor (backend): port add-note-to-antenna to backend-rs
...
I hit this bug: https://github.com/napi-rs/napi-rs/issues/2060
2024-04-20 07:18:39 +09:00
naskya
e82a07c03d
dev (backend-rs): make backend-rs accessible to Redis
2024-04-20 02:47:32 +09:00
naskya
2731003bc9
refactor (backend): port emoji-regex to backend-rs
2024-04-15 05:37:09 +09:00
sup39
70aa3704ef
refactor (backend): port password hashing/verification to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 14:41:01 +09:00
naskya
148c3736ce
refactor (backend): port convert-host to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 17:13:57 +09:00
sup39
0cfa85197d
refactor (backend-rs): rewrite the function to get db connection
...
Co-authored-by: naskya <m@naskya.net>
2024-04-12 14:38:44 +09:00
naskya
e2cd25ea4f
refactor (backend): port config loader to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 14:25:27 +09:00
naskya
beb16ab9cf
refactor (backend): port nyaify to backend-rs
2024-04-12 11:10:42 +09:00
sup39
8b6e300d4e
feat (macro-rs): create macro_rs::napi macro
2024-04-12 05:17:02 +09:00
naskya
0491e11a9e
refactor: create virtual rust workspace in the repository root
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 03:24:13 +09:00
naskya
3fe8ace571
chore: update dependencies
2024-04-12 02:55:27 +09:00
naskya
26c3b25a40
chore: update dependencies
2024-04-07 16:42:25 +09:00
naskya
aa11eeb1c8
refactor (backend-rs): expose SeaORM entities to Node API
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-07 05:06:44 +09:00
naskya
6cd5dc2fcb
chore: update dependencies
...
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
83944dd49f
chore: update dependencies
2024-03-23 21:41:51 +09:00
naskya
a6e759aeba
chore: update dependencies
2024-03-16 01:21:20 +09:00
naskya
67dad81e99
chore: bump Node requirement from v18.16.0 to v18.17.0
...
to be compatible with Node-API version 9: https://nodejs.org/api/n-api.html#node-api-version-matrix
2024-03-07 04:07:33 +09:00
naskya
9ce6a23266
chore: remove unused dependencies
2024-03-01 23:42:02 +09:00
naskya
527246cf21
dev: bump Rust version requirement & use Cargo.lock
2024-02-13 22:23:43 +09:00
naskya
fe0bfe31b3
meta: backend/native-utils -> backend-rs
2024-02-12 23:14:23 +09:00