naskya
19673c6220
chore (backend-rs): update napi-derive
2024-07-05 16:21:16 +09:00
naskya
98d14512c1
chore (backend-rs): move same process outside of a loop
2024-06-16 19:48:27 +09:00
naskya
9502289d89
chore (backend-rs): remove crate-level use
s
2024-06-12 03:38:31 +09:00
naskya
4e36d22164
refactor (backend): port publishDriveStream to backend-rs
2024-06-12 00:04:01 +09:00
naskya
e10a188751
refactor (backend): port publishNotesStream to backend-rs
2024-06-12 00:04:01 +09:00
naskya
9e6e7733a3
chore (backend-rs): improve error messages
...
refs:
https://rust-lang.github.io/api-guidelines/interoperability.html
https://github.com/rust-lang/project-error-handling/issues/27
2024-06-11 20:16:40 +09:00
naskya
bc7fdc5c0b
chore (backend-rs): change test names
2024-06-10 18:09:26 +09:00
naskya
679749a2cc
chore (backend-rs): rename modules to more comfortable names
2024-06-09 21:12:41 +09:00
sup39
132af64a6e
refactor (backend-rs): create all_texts macro
2024-06-09 16:34:58 +08:00
naskya
839d4c4d14
chore (backend-rs): PartialNoteToElaborate -> PartialNoteToCheckWordMute
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-09 01:42:37 +09:00
naskya
9f16c00f0c
chore (backend-rs): use Arc for antenna cache
2024-06-09 01:13:05 +09:00
naskya
00e9f0ad48
chore (backend-rs, minor): fix code style
2024-06-07 22:46:46 +09:00
naskya
4390dfcbfb
perf (backend): store antenna cache in memory
2024-06-06 17:10:39 +09:00
naskya
97765209a2
chore (backend-rs): organize imports
2024-06-06 17:10:39 +09:00
naskya
642c4cb2c7
refactor (backend-rs): remove strum derives
2024-06-06 17:10:39 +09:00
naskya
e9d31687f9
chore (backend-rs): remove unused derive
2024-06-06 17:10:38 +09:00
naskya
b111e63953
chore (backend-rs): prefer unwrap_or_else
2024-06-06 17:10:35 +09:00
naskya
95b860e820
chore (backend-rs): fetch_meta -> local_server_info
2024-06-06 07:30:13 +09:00
naskya
28cfaad330
perf (backend): always use cache in fetch_meta
2024-06-05 12:30:05 +09:00
naskya
e87dae896b
fix (backend-rs): use the exact same time for id and created_at
2024-06-03 08:23:58 +09:00
naskya
98d7eac51b
chore (backend-rs): use sea_orm::prelude
2024-06-03 08:20:39 +09:00
naskya
9ad284bd67
chore (backend-rs): rename partial note structs
2024-05-31 21:42:59 +09:00
naskya
2e44357665
chore (backend-rs): remove unneeded serde derives
2024-05-31 21:28:53 +09:00
naskya
890ca846d0
chore (backend-rs): documents, organize exports, typo fixes
2024-05-30 07:07:01 +09:00
naskya
27de1ddb70
chore (backend-rs): add comments
2024-05-28 19:42:52 +09:00
naskya
35f30d9895
chore (backend-rs): make internal functions/modules private
2024-05-24 22:18:32 +09:00
naskya
9c60e8ff8b
chore (backend-rs): address cargo doc
warnings
2024-05-24 01:19:17 +09:00
naskya
81e633eec3
chore (backend-rs): antenna::add_new_note -> antenna::process_new_note
2024-05-23 20:49:49 +09:00
naskya
85d44aaa2d
chore (backend-rs): remove 'Err' suffix from error variants
...
https://rust-lang.github.io/rust-clippy/master/index.html#/enum_variant_names
2024-05-23 20:49:49 +09:00
naskya
55ed733df8
chore (backend): remove '_enum' suffix from enum types
2024-05-23 20:49:49 +09:00
naskya
0c0e6a26fa
test (backend-rs): add parse_nodeinfo_2_1 testcase
2024-05-21 23:18:59 +09:00
naskya
b24530065e
fix (backend-rs): wrong unwrap_or usage
2024-05-21 22:57:33 +09:00
naskya
da9fe83986
perf (backend-rs): reduce note copy operations
2024-05-21 16:12:11 +09:00
naskya
1f082bfb56
chore (macro-rs): ts_only_warn -> ts_export
2024-05-21 16:12:11 +09:00
naskya
4bb6f6e0e3
chore (backend-rs): cleanup
2024-05-21 16:12:11 +09:00
naskya
f1e3395783
fix (backend-rs): active users count in nodeinfo ( close #10935 )
2024-05-21 16:12:07 +09:00
naskya
84c374da20
chore (backend-rs): cleanup
2024-05-20 19:23:54 +09:00
naskya
8174d646f9
fix (backend): add back timezone
2024-05-19 19:15:58 +09:00
naskya
c73ce2ff39
chore (backend-rs): don't iterate the same process
2024-05-19 12:49:45 +09:00
naskya
797c768f24
feat (backend-rs): add Mastodon push notification type
2024-05-19 12:19:58 +09:00
naskya
abc9d58f7c
refactor (backend-rs): use bb8 connection pool for Redis
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
2fdd165144
chore (backend-rs): add TODO comment
2024-05-17 18:12:27 +09:00
naskya
ffa08748d0
refactor (backend): don't check word mute twice
2024-05-17 17:59:45 +09:00
naskya
5e53f9a8cf
refactor (backend): port check-hit-antenna to backend-rs
2024-05-17 17:59:45 +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
cda31d3dc7
Revert "refactor (backend): port publishNotesStream to backend-rs"
...
This reverts commit 5382dc5da8
.
It turns out this sends an inccorect time info to the stream
since JavaScript's Date object doesn't have timezone info
I'll revisit this in the future
2024-05-08 06:08:26 +09:00
naskya
5382dc5da8
refactor (backend): port publishNotesStream to backend-rs
2024-05-08 02:15:07 +09:00
naskya
dd74eabae1
refactor (backend): port nodeinfo fetcher to backend-rs
2024-05-06 08:12:21 +09:00