Commit graph

51 commits

Author SHA1 Message Date
sup39
0cb4fbf6b4
refactor: macro-rs -> macros + macros_impl
Co-authored-by: naskya <m@naskya.net>
2024-06-12 00:53:51 +08:00
CI
e0733d206b chore(deps): update rust crate url to 2.5.1 2024-06-11 04:06:10 +00:00
CI
4946faa032 chore(deps): update rust crate idna to v1 2024-06-10 20:07:35 +00:00
CI
69be5af48f chore(deps): update rust crate regex to 1.10.5 2024-06-09 12:06:15 +00:00
naskya
642c4cb2c7
refactor (backend-rs): remove strum derives 2024-06-06 17:10:39 +09:00
CI
6071e9156f chore(deps): update rust crate proc-macro2 to 1.0.85 2024-06-02 04:06:29 +00:00
naskya
6113b183d3
fix (backend-rs): use default features for napi and openssl 2024-05-31 20:59:15 +09:00
CI
ee62dc96b2 chore(deps): update rust crate tokio to 1.38.0 2024-05-31 04:07:47 +00: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
CI
53affd2441 chore(deps): update rust crate redis to 0.25.4 2024-05-29 12:05:18 +00:00
CI
8351d9ceb3 Merge branch 'renovate/serde-monorepo' into 'develop'
chore(deps): update rust crate serde to 1.0.203


See merge request firefish/firefish!10913
2024-05-25 20:25:53 +00:00
CI
62dc020a58 chore(deps): update rust crate serde to 1.0.203 2024-05-25 20:05:41 +00:00
CI
8df3096cfa chore(deps): update rust crate proc-macro2 to 1.0.84 2024-05-25 20:05:20 +00:00
CI
327aec6d64 chore(deps): update rust crate syn to 2.0.66 2024-05-24 04:05:09 +00:00
CI
133690e50d chore(deps): update rust crate proc-macro2 to 1.0.83 2024-05-20 04:05:11 +00:00
CI
08efbdfd37 chore(deps): update rust crate syn to 2.0.65 2024-05-19 20:05:38 +00:00
naskya
84596c8313
chore (deps): use unreleased napi crate for now 2024-05-19 19:12:20 +09:00
naskya
2f4c30176d
chore (deps): correct git url 2024-05-19 13:01:24 +09:00
CI
819cb9a824 chore(deps): update rust crate napi-derive to 2.16.5 2024-05-18 20:05:27 +00: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
CI
18eaa915b8 chore(deps): update rust crate thiserror to 1.0.61 2024-05-17 20:19:52 +00:00
CI
4e39a85708 chore(deps): update rust crate syn to 2.0.64 2024-05-16 20:05:04 +00:00
naskya
41b32c5535 refactor (backend): port push notification sender to backend-rs 2024-05-15 22:19:58 +00:00
naskya
56be2f034e Merge branch 'renovate/syn-2.x' into 'develop'
chore(deps): update rust crate syn to 2.0.63

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10851
2024-05-15 21:22:39 +00:00
CI
d28fe77d9f chore(deps): update rust crate syn to 2.0.63 2024-05-15 21:05:04 +00:00
CI
acc13e9b10 chore(deps): update rust crate serde to 1.0.202 2024-05-15 21:04:59 +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
847cc47fc4
chore (deps): update cargo dependencies 2024-05-11 21:27:24 +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
efcadf681f
chore: update Rust dependencies 2024-04-27 05:39:14 +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
naskya
21225f7137
chore: update dependencies 2024-04-15 04:09:33 +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