Commit graph

220 commits

Author SHA1 Message Date
naskya
6c449466a5 fix: do not unwrap() Option before checking that it holds a value 2024-05-29 18:29:26 +00:00
naskya
303060fe84 fix: missing imports 2024-05-29 18:29:26 +00:00
Eana Hufwe
a499fb1755 fix: missing var 2024-05-29 18:29:26 +00:00
Eana Hufwe
ba726f9abf fix: compatibility with Ice Cubes and Mammoth 2024-05-29 18:29:25 +00:00
Eana Hufwe
b6414dd104 fix: add space paddings to the end of JSON payload to prevent esm from padding null bytes 2024-05-29 18:29:22 +00:00
naskya
6db8ad14e2
Merge branch 'develop' into iceshrimp_mastodon 2024-05-29 23:44:12 +09:00
naskya
38c5b85220
fix: use only necessary fields 2024-05-29 23:42:05 +09:00
naskya
abaed389f9
chore: remove from/toMastodonId functions 2024-05-29 23:41:55 +09:00
naskya
fbe906fe11
refactor: use ok_or to return errors when Some is expected 2024-05-29 23:41:47 +09:00
naskya
1df3680842
chore: port sql-regex-escape to backend-rs 2024-05-29 23:41:39 +09:00
naskya
199065502b
chore: update auto-generated files 2024-05-29 23:40:56 +09:00
Laura Hausmann
f282549900
refactor: Iceshrimp’s Mastodon API implementation with original extensions
Co-authored-by: Eana Hufwe <eana@1a23.com>
Co-authored-by: AkiraFukushima <h3.poteto@gmail.com>
2024-05-29 23:39:22 +09:00
naskya
293c1c6540
chore (backend-rs): some more comments 2024-05-24 22:36:48 +09:00
naskya
589324cd6d
chore (backend-rs): update comment 2024-05-24 22:20:52 +09:00
naskya
35f30d9895
chore (backend-rs): make internal functions/modules private 2024-05-24 22:18:32 +09:00
naskya
0e9d7f388a
fix (backend-rs): don't check quoted post in antennas 2024-05-24 22:11:56 +09:00
naskya
985532b2aa
chore (backend-rs): remove unused feature flag 2024-05-24 02:43:20 +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
d750af3d79
fix (backend-rs): don't check in-reply-to post in antennas 2024-05-21 16:12:10 +09:00
naskya
f1e3395783
fix (backend-rs): active users count in nodeinfo (close #10935) 2024-05-21 16:12:07 +09:00
naskya
06bed6f230
Merge branch 'develop' into feat/schedule-create 2024-05-20 20:02:43 +09:00
naskya
84c374da20
chore (backend-rs): cleanup 2024-05-20 19:23:54 +09:00
naskya
196f8c13ec
chore: update auto-generated files 2024-05-19 20:01:31 +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
1c0d2e43b4
chore (backend-rs, minor): use crate::export 2024-05-18 19:45:38 +09:00
sup39
c4a7cd6029
refactor (backend): port greet to backend-rs
Co-authored-by: naskya <m@naskya.net>
2024-05-18 17:39:45 +08:00
sup39
2a8193fa6c
meta: macro_rs -> macro-rs 2024-05-18 17:39:45 +08:00
sup39
ada5ff7e75
refactor (backend-rs): read version from package.json at compile time 2024-05-18 17:39:17 +08:00
naskya
abc9d58f7c
refactor (backend-rs): use bb8 connection pool for Redis 2024-05-18 13:20:47 +09: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
fdc77b74ae
chore: lint 2024-05-18 13:20:46 +09:00
naskya
61562a0943
refactor (backend-rs): use async redis commands 2024-05-18 13:20:43 +09:00
naskya
29023d7240
test (backend-rs): add unit test for word mute 2024-05-17 18:59:06 +09:00
naskya
2fdd165144
chore (backend-rs): add TODO comment 2024-05-17 18:12:27 +09:00
naskya
1e313846ca
fix (backend-rs): typo 2024-05-17 18:03:34 +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
a4779f233b
refactor (backend): convert jsonb to array 2024-05-17 17:59:45 +09:00
naskya
3d28acb2c9
chore (backend-rs): rename types and modules 2024-05-17 07:32:08 +09:00
naskya
7d4d1c1fbd
fix merge mistake 2024-05-16 08:45:50 +09:00