naskya
370aad5982
chore: make the code a bit more readable
2024-06-06 08:01:02 +09:00
naskya
9d34117124
Merge branch 'develop' into iceshrimp_mastodon
2024-06-06 07:35:35 +09:00
naskya
95b860e820
chore (backend-rs): fetch_meta -> local_server_info
2024-06-06 07:30:13 +09:00
Eana Hufwe
7cf612f9f8
fix(backend-rs): update padding logic to accomodate non-ASCII payload
2024-06-05 20:30:41 +00:00
naskya
be894399a5
Merge branch 'develop' into iceshrimp_mastodon
2024-06-05 12:33:48 +09:00
naskya
28cfaad330
perf (backend): always use cache in fetch_meta
2024-06-05 12:30:05 +09:00
naskya
219131ef6f
chore (backend-rs): return None if the cached value is invalid
2024-06-05 08:36:39 +09:00
naskya
6207e4c014
chore: make subscription types enum
2024-06-05 07:14:13 +09:00
naskya
fedc51832a
Merge branch 'develop' into iceshrimp_mastodon
2024-06-05 05:25:08 +09:00
naskya
fe685c36b9
chore: format
2024-06-04 10:52:26 +09:00
naskya
6f6cf0cc88
chore (backend): show less unhelpful slow query warnings
2024-06-04 10:50:41 +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
4e8f0c2e85
chore: update auto-generated file
2024-06-02 03:53:58 +09:00
naskya
c7e1ea48a4
Merge branch 'develop' into iceshrimp_mastodon
2024-06-01 23:00:43 +09:00
naskya
8293ed8e87
chore (backend-rs): more documents on NodeInfo
2024-06-01 11:25:20 +09:00
naskya
ecefb20ba7
Merge branch 'develop' into iceshrimp_mastodon
2024-06-01 08:35:44 +09:00
naskya
23c8636129
chore (backend-rs, macro-rs): fix comment style
2024-06-01 02:23:58 +09:00
naskya
3407e4b395
chore (backend-rs): address cargo doc warning
2024-06-01 02:04:02 +09:00
naskya
7c95c65a7c
Merge branch 'develop' into iceshrimp_mastodon
2024-05-31 21:48:03 +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
3b42d25ee8
chore: DatabaseConnection -> DbConn
2024-05-31 06:19:14 +09:00
naskya
af2b19709e
chore: handle a bit more errors
2024-05-31 06:17:13 +09:00
naskya
76a0e5fa28
Merge branch 'develop' into iceshrimp_mastodon
2024-05-30 23:07:40 +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
6209fdd242
Merge branch 'develop' into iceshrimp_mastodon
2024-05-30 07:11:44 +09:00
naskya
890ca846d0
chore (backend-rs): documents, organize exports, typo fixes
2024-05-30 07:07:01 +09:00
naskya
8741bda5df
chore (backend-rs): don't use unsafe unwrap() in examples
2024-05-29 18:30:10 +00:00
naskya
682bea134e
chore (backend-rs): add comments
2024-05-29 18:29:39 +00:00
naskya
20607acc1b
dev: update editorconfig
2024-05-29 18:29:29 +00:00
naskya
4624911df8
chore: regenerate auto-generated files
2024-05-29 18:29:29 +00:00
naskya
a0c31ddd47
chore (backend-rs): address cargo doc warning
2024-05-29 18:29:29 +00:00
naskya
575ccd0e29
test (backend-rs): add timestamp check
2024-05-29 18:29:29 +00:00
naskya
4ad09b5ae2
fix: Maser push notifications
2024-05-29 18:29:26 +00:00
naskya
cad3610d2e
fix: feather push notifications
2024-05-29 18:29:26 +00:00
naskya
8fca35ca06
fix: Ice Cubes push notifications
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-05-29 18:29:26 +00:00
naskya
3a62097ec3
chore: concat two statements
2024-05-29 18:29:26 +00:00
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