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
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
naskya
27de1ddb70
chore (backend-rs): add comments
2024-05-28 19:42:52 +09:00
naskya
abbbfa9a0a
chore: update auto-generated files
2024-05-27 21:01:42 +09:00
naskya
ef2d19660c
chore: regenerate auto-generated files
2024-05-27 20:59:23 +09:00
naskya
589324cd6d
chore (backend-rs): update comment
2024-05-24 22:20:52 +09:00
naskya
55ed733df8
chore (backend): remove '_enum' suffix from enum types
2024-05-23 20:49:49 +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
797c768f24
feat (backend-rs): add Mastodon push notification type
2024-05-19 12:19:58 +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
ada5ff7e75
refactor (backend-rs): read version from package.json at compile time
2024-05-18 17:39:17 +08:00
naskya
61562a0943
refactor (backend-rs): use async redis commands
2024-05-18 13:20:43 +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
41b32c5535
refactor (backend): port push notification sender to backend-rs
2024-05-15 22:19:58 +00:00
naskya
dddd2779c0
chore: update auto-generated files
2024-05-16 04:57:48 +09: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
4a81106cf5
chore (backend): remove generate-native-user-token
2024-05-09 21:49:56 +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
14b285f882
Merge branch 'refactor/is-safe-url' into 'develop'
...
refactor (backend): port isValidUrl to backend-rs
See merge request firefish/firefish!10795
2024-05-06 17:11:51 +00:00
naskya
5b01d3574f
refactor (backend): port isValidUrl to backend-rs
2024-05-07 00:56:37 +09:00
naskya
e3a98ebc72
Merge branch 'userLang' into 'develop'
...
Add server-side per-user UI language
Co-authored-by: eana <coder@apps.1a23.com>
See merge request firefish/firefish!10793
2024-05-06 15:31:18 +00:00
naskya
8ed942e00f
chore: update auto-generated files
2024-05-06 23:13:31 +09:00
naskya
dd74eabae1
refactor (backend): port nodeinfo fetcher to backend-rs
2024-05-06 08:12:21 +09:00
naskya
49825853c1
refactor (backend): port nodeinfo generator to backend-rs
2024-05-06 03:01:55 +09:00
naskya
359fef0a42
chore: replace old comments
2024-05-05 21:22:57 +09:00
naskya
369b1d72df
fix/perf (backend): port latest version check to backend-rs, address excessive requests to firefish.dev
2024-05-04 14:44:20 +09:00
naskya
38cd4bafde
refactor (backend): port publishGroupMessagingStream to backend-rs
2024-04-27 08:36:12 +09:00
naskya
d40db1ee7e
refactor (backend): port publishBroadcastStream to backend-rs
2024-04-26 13:30:13 +09:00
naskya
0caba566e6
refactor (backend): port publishMessagingIndexStream to backend-rs
2024-04-26 13:11:11 +09:00
naskya
883645a581
chore (backend-rs): regenerate index.d.ts
2024-04-26 12:14:34 +09:00
naskya
1cfe3bfb73
refactor (backend): port publishChannelStream to backend-rs
2024-04-26 06:16:51 +09:00
naskya
79ab7bf787
refactor (backend): port publishAdminStream to backend-rs
2024-04-26 05:44:37 +09:00
naskya
b12d7e4c63
refactor (backend): port emoji-meta to backend-rs
2024-04-25 19:06:16 +09:00
naskya
b9c3dfbd3d
refactor? (backend): move consts to backend-rs
2024-04-25 14:50:04 +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
109884f6d8
refactor (backend): port note watch/unwatch to backend-rs
2024-04-24 13:23:27 +09:00
naskya
879d499486
refactor (backend-rs): never throw an error on ID generation
2024-04-24 07:37:16 +09:00
naskya
9db729d734
refactor (backend-rs): separate gen_id and gen_id_at
2024-04-24 07:02:06 +09:00
naskya
a2958f6da8
refactor (backend): port daemons/janitor.ts to backend-rs
2024-04-24 06:39:40 +09:00
naskya
88280e3bfd
refactor (backend): port publishMessagingStream to backend-rs
2024-04-24 04:13:29 +09:00
naskya
9eccdba075
chore (backend-rs): move add_note_to_antenna to misc
2024-04-24 00:23:13 +09:00
naskya
0c1e7cdd72
refactor (backend): port should-block-instance to backend-rs
2024-04-22 08:31:28 +09:00
naskya
1347c6ff04
Merge branch 'develop' into redis
2024-04-22 06:23:17 +09:00
naskya
4c91e8e37f
Merge branch 'develop' into feat/antenna_limit
2024-04-22 05:51:22 +09:00
naskya
2a30b4a536
Revert "refactor (backend): it turns out that sending the entire note object was redundant"
...
This reverts commit 3b65ebcb3e
.
2024-04-22 01:47:56 +09:00
naskya
2fa0ca355d
Merge branch 'develop' into redis
2024-04-21 22:25:50 +09:00
naskya
c936102a4c
chore (backend-rs): regenerate entities and index.js/d.ts
2024-04-21 10:45:47 +09:00
naskya
3b65ebcb3e
refactor (backend): it turns out that sending the entire note object was redundant
2024-04-21 05:55:45 +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
f486caf244
fix (backend-rs): use correct Redis key prefix
2024-04-20 06:53:45 +09:00
naskya
e82a07c03d
dev (backend-rs): make backend-rs accessible to Redis
2024-04-20 02:47:32 +09:00
naskya
3b89a8bfa6
refactor (backend): port config loader to backend-rs completely
2024-04-20 02:46:37 +09:00
naskya
1be5373dfc
chore (backend-rs): make exported enum compatible w/ TypeScript's string enum
2024-04-19 21:59:35 +09:00
naskya
30969ad817
refactor (backend): port get-note-summary to backend-rs
...
I removed trim() as it wasn't strictly neccessary
2024-04-18 05:02:00 +09:00
naskya
71c158fbd3
refactor (backend): port env.ts to backend-rs
2024-04-15 17:28:20 +09:00
naskya
0f3126196f
refactor (backend): port reaction-lib to backend-rs
2024-04-15 10:02:44 +09:00
naskya
2731003bc9
refactor (backend): port emoji-regex to backend-rs
2024-04-15 05:37:09 +09:00
naskya
fca48b2a81
refactor (backend): port safe-for-sql, sql-like-escape to backend-rs
2024-04-14 20:29:44 +09:00
sup39
b71da18b03
refactor (backend): port fetch-meta to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 20:16:22 +09:00
naskya
ceca260c92
refactor (backend): port convert-milliseconds to backend-rs
2024-04-14 14:54:32 +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
老周部落
5eff4da27b
feat: antenna limit
2024-04-13 10:02:32 +08:00
naskya
603ec70b97
refactor (backend-rs): rewrite Mastodon ID conversion
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 21:48:55 +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
naskya
83c15b1026
refactor (backend): port checkWordMute to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 15:43:17 +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
08bea415c9
chore (backend-rs): track index.d.ts
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 12:28:21 +09:00