Commit graph

62 commits

Author SHA1 Message Date
naskya
e10a188751
refactor (backend): port publishNotesStream to backend-rs 2024-06-12 00:04:01 +09:00
naskya
679749a2cc
chore (backend-rs): rename modules to more comfortable names 2024-06-09 21:12:41 +09:00
naskya
0839fe27b2
refactor (backend-rs): save nodeinfo cache directly 2024-06-07 22:21:53 +09:00
naskya
4390dfcbfb
perf (backend): store antenna cache in memory 2024-06-06 17:10:39 +09:00
naskya
7e2493b257
refactor (backend): drop support for MK- environment variables 2024-06-06 17:10:39 +09:00
naskya
97765209a2
chore (backend-rs): organize imports 2024-06-06 17:10:39 +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
27de1ddb70
chore (backend-rs): add comments 2024-05-28 19:42:52 +09:00
naskya
55ed733df8
chore (backend): remove '_enum' suffix from enum types 2024-05-23 20:49:49 +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
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
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
5b01d3574f
refactor (backend): port isValidUrl to backend-rs 2024-05-07 00:56:37 +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
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
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
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
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
3b89a8bfa6
refactor (backend): port config loader to backend-rs completely 2024-04-20 02:46:37 +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