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
711618b42c
test (backend-rs): add tests for nodeinfo (de)serialization
2024-05-06 05:20:13 +09:00
naskya
510207b101
refactor (backend-rs): separate nodeinfo generator and schema
2024-05-06 04:23:38 +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
d114b8ec1d
chore: format
2024-05-05 14:58:56 +09:00
naskya
d2471b6db7
refactor (backend-rs): replace reqwest with isahc
...
reqwest is feature-rich, but we will need isahc http client for push notifications (!10760 )
isahc http client is also good btw :)
2024-05-05 14:53:45 +09:00
naskya
4992999bb7
test (backend-rs): add tests
2024-05-04 22:59:49 +09:00
naskya
38c0de39b9
chore (backend-rs): add docs for functions in database/cache
2024-05-04 22:50:46 +09:00
naskya
722d090f8d
chore (backend-rs): remove unneeded 'static
2024-05-04 22:49:11 +09:00
naskya
b185c0c87e
feat (backend-rs): add cache::delete_all
2024-05-04 21:24:20 +09:00
naskya
8c22b0d07f
test (backend-rs): fix version format
2024-05-04 16:17:33 +09:00
naskya
0f4c05a64f
ci: add 'ci' feature flag to backend-rs
2024-05-04 16:14:23 +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
e6ba0a002f
refactor (backend-rs): add cache::{get_one, set_one, delete_one}
2024-05-04 13:22:20 +09:00
naskya
37e03007f0
refactor (backend-rs): misc/redis_cache -> database/cache
2024-05-04 13:22:20 +09:00
naskya
38cd4bafde
refactor (backend): port publishGroupMessagingStream to backend-rs
2024-04-27 08:36:12 +09:00
naskya
37cf4f8361
chore (backend-rs): tweak logger config
2024-04-26 13:51:28 +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
3190f66740
chore (backend): convert TypeORM's simple-array into normal array
2024-04-26 12:03:12 +09:00
naskya
42f704b515
chore (backend-rs): remove whitespaces
2024-04-26 06:51:52 +09:00
naskya
8534154792
chore (backend-rs): add comment
2024-04-26 06:30:30 +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
3b172a7762
chore (backend-rs): fix typo
2024-04-26 01:30:16 +09:00
naskya
13b648f6bf
fix (backend-rs): use proxy and proxyBypassHosts config
2024-04-26 01:27:23 +09:00
naskya
214e999c8c
test (backend-rs): add test against animated gif
2024-04-25 19:14:16 +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
92b1f5cb5f
refactor (minor, backend-rs): rearrange conditions
2024-04-25 10:00:58 +09:00
naskya
bf9ab9c1ca
chore (backend-rs): add logs
2024-04-25 07:03:48 +09:00
naskya
339cbac191
chore (backend-rs): remove unneeded conversion
2024-04-25 03:10:51 +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
cc37177bb5
fix (backend-rs): use server's local time
2024-04-24 13:43:18 +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
ee04e30f25
chore (backend-rs): remove unused stuff
...
it should be reworked
2024-04-24 03:01:47 +09:00
naskya
9eccdba075
chore (backend-rs): move add_note_to_antenna to misc
2024-04-24 00:23:13 +09:00
naskya
08926ceb8c
dev (backend-rs): add basic Redis cache setter/getter
2024-04-22 21:56:38 +09:00
naskya
0c1e7cdd72
refactor (backend): port should-block-instance to backend-rs
2024-04-22 08:31:28 +09:00