naskya
|
3190f66740
|
chore (backend): convert TypeORM's simple-array into normal array
|
2024-04-26 12:03:12 +09:00 |
|
naskya
|
b58d940e71
|
fix (backend-rs): add openssl as a dependency
|
2024-04-26 07:13:09 +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 |
|
naskya
|
1347c6ff04
|
Merge branch 'develop' into redis
|
2024-04-22 06:23:17 +09:00 |
|
naskya
|
c4658801aa
|
chore: regenerate entities
|
2024-04-22 05:54:32 +09:00 |
|
naskya
|
4c91e8e37f
|
Merge branch 'develop' into feat/antenna_limit
|
2024-04-22 05:51:22 +09:00 |
|
naskya
|
0c9dc92f07
|
fix (backend-rs): use hostname for Redis key prefix and host for Redis streams
I suspect this is a bug, but I keep this behavior for compatibility for now
|
2024-04-22 05:16:14 +09:00 |
|
naskya
|
b4ae877462
|
chore: format
|
2024-04-22 01:54:44 +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
|
3039458c4c
|
chore (backend-rs): config::server::CONFIG -> config::CONFIG
|
2024-04-22 00:36:06 +09:00 |
|
naskya
|
574d3b3fe5
|
chore (backend-rs): in the current implementation we need to call to_string() anyway
There's room for refactoring
|
2024-04-22 00:30:59 +09:00 |
|
naskya
|
137d0fe3e5
|
chore (backend-rs): make variable names clearer
|
2024-04-22 00:29:37 +09:00 |
|
naskya
|
5c6f1c818a
|
chore (backend-rs): clean redundant match expression
|
2024-04-22 00:21:10 +09:00 |
|
naskya
|
2d8f4b945f
|
chore (backend-rs): remove unneeded serialize derivation for now
|
2024-04-22 00:17:33 +09:00 |
|
naskya
|
77e6479a67
|
chore (backend-rs): separate one-to-one/group chat stream types
|
2024-04-22 00:14:19 +09:00 |
|
naskya
|
ec940bb068
|
chore (backend-rs): publish -> publish_to_stream
|
2024-04-21 22:43:09 +09:00 |
|
naskya
|
9b91035a79
|
chore (backend-rs): remove unneeded reference
|
2024-04-21 22:40:58 +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
|
4d34e14dd8
|
Merge branch 'develop' into feat/drive-file-usage-hints
|
2024-04-21 10:42:25 +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
|
6349705fb2
|
test (backend-rs): add db connection tests
|
2024-04-21 00:48:03 +09:00 |
|
naskya
|
2b0668dacd
|
fix (backend-rs): Redis streaming
|
2024-04-20 09:54:02 +09:00 |
|
naskya
|
f13df7e202
|
chore (backend-rs): make entities deserializable
|
2024-04-20 09:27:58 +09:00 |
|
naskya
|
f33c7c6c94
|
fix (backend): host and hostname was messed up
|
2024-04-20 08:48:48 +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
|
b017f9ce94
|
fix (backend-rs): use cache server if present
|
2024-04-20 06:53:34 +09:00 |
|
naskya
|
b157cbe79a
|
chore (backend-rs): make entities serializable
|
2024-04-20 04:41:47 +09:00 |
|
naskya
|
e82a07c03d
|
dev (backend-rs): make backend-rs accessible to Redis
|
2024-04-20 02:47:32 +09:00 |
|
naskya
|
e60898b4b0
|
refactor (backend-rs): separate postgresql connector from database/mod.rs
|
2024-04-20 02:46:44 +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 |
|
yumeko
|
4aeb0d95cc
|
Add DriveFile usageHint field to rust model as well
|
2024-04-19 07:03:09 +03:00 |
|
naskya
|
4b7724ed1f
|
Merge branch 'cw-text' into 'develop'
Increase CW character limit
Closes #10876
See merge request firefish/firefish!10746
|
2024-04-17 20:47:40 +00: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
|
07384a4f0f
|
feat (backend): increase CW character limit (close #10876)
|
2024-04-16 09:14:44 +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 |
|
naskya
|
799ad1f3f8
|
dev (minor, backend-rs): format Makefile
|
2024-04-13 19:49:36 +09:00 |
|
老周部落
|
5eff4da27b
|
feat: antenna limit
|
2024-04-13 10:02:32 +08:00 |
|
naskya
|
64581d2088
|
chore (backend-rs): add serde attribute
This is redundant though
|
2024-04-13 00:02:07 +09:00 |
|
sup39
|
99b8a40566
|
fix (backend-rs): selected texts may be None in check_word_mute
Co-authored-by: naskya <m@naskya.net>
|
2024-04-12 22:32:42 +09: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
|
35ca75bfe5
|
chore (backend-rs): use pretty_assertions in unit tests
|
2024-04-12 17:18:39 +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 |
|
sup39
|
0cfa85197d
|
refactor (backend-rs): rewrite the function to get db connection
Co-authored-by: naskya <m@naskya.net>
|
2024-04-12 14:38:44 +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 |
|
sup39
|
3e32fc7b04
|
feat (macro-rs): add macro_rs::export macro
Co-authored-by: naskya <m@naskya.net>
|
2024-04-12 12:28: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 |
|
naskya
|
8926d86ab8
|
chore (backend-rs): remove impl_into_napi_error macro
Co-authored-by: sup39 <dev@sup39.dev>
|
2024-04-12 11:54:20 +09:00 |
|
naskya
|
6b812fb30b
|
chore: lint
|
2024-04-12 11:54:20 +09:00 |
|
naskya
|
0335a353e8
|
dev: update format/lint scripts
|
2024-04-12 11:54:14 +09:00 |
|
naskya
|
452e0b921c
|
refactor (backend): port acct to backend-rs
|
2024-04-12 11:10:52 +09:00 |
|
naskya
|
beb16ab9cf
|
refactor (backend): port nyaify to backend-rs
|
2024-04-12 11:10:42 +09:00 |
|
naskya
|
0b90a7daaf
|
refactor (backend-rs): use macro_rs::napi
Co-authored-by: sup39 <dev@sup39.dev>
|
2024-04-12 05:20:55 +09:00 |
|
naskya
|
f60ff2eaf4
|
refactor (backend-rs): rewrite id generator
Co-authored-by: sup39 <dev@sup39.dev>
|
2024-04-12 05:20:45 +09:00 |
|
sup39
|
8b6e300d4e
|
feat (macro-rs): create macro_rs::napi macro
|
2024-04-12 05:17:02 +09:00 |
|
naskya
|
0491e11a9e
|
refactor: create virtual rust workspace in the repository root
Co-authored-by: sup39 <dev@sup39.dev>
|
2024-04-12 03:24:13 +09:00 |
|
naskya
|
3fe8ace571
|
chore: update dependencies
|
2024-04-12 02:55:27 +09:00 |
|
naskya
|
24f79d4796
|
fix (backend): prevent chat messages from being deleted when attached file is deleted
|
2024-04-12 02:26:00 +09:00 |
|
naskya
|
26c3b25a40
|
chore: update dependencies
|
2024-04-07 16:42:25 +09:00 |
|
naskya
|
6a7d8c0b13
|
dev: specify the source of backend-rs/index.js in Makefile
|
2024-04-07 12:25:33 +09:00 |
|
naskya
|
e4c9a91a16
|
dev: format the code on entity regeneration
|
2024-04-07 12:20:46 +09:00 |
|
naskya
|
18f4114f18
|
chore: format
|
2024-04-07 12:17:02 +09:00 |
|
naskya
|
d6a88419a4
|
chore: update backend-rs/index.js
|
2024-04-07 05:07:00 +09:00 |
|
naskya
|
e9030a6b82
|
chore: regenerate entities
|
2024-04-07 05:06:59 +09:00 |
|
naskya
|
aa11eeb1c8
|
refactor (backend-rs): expose SeaORM entities to Node API
Co-authored-by: sup39 <dev@sup39.dev>
|
2024-04-07 05:06:44 +09:00 |
|
naskya
|
3c469ccf43
|
chore: regenerate entities
|
2024-04-07 04:43:09 +09:00 |
|
naskya
|
0001ffa356
|
chore: update SeaORM entity
|
2024-04-01 13:28:12 +09:00 |
|
老周部落
|
5019a2b4b8
|
chore: remove prettier
|
2024-03-30 08:20:13 +08:00 |
|
naskya
|
e9193dc1f5
|
chore: remove cargo flags
|
2024-03-27 08:50:08 +09:00 |
|