Commit graph

61 commits

Author SHA1 Message Date
naskya
799ad1f3f8
dev (minor, backend-rs): format Makefile 2024-04-13 19:49:36 +09: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
naskya
6cd5dc2fcb
chore: update dependencies
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
9ee7804990
fix (backend-rs): update package.json 2024-03-26 13:11:06 +09:00
naskya
4e2c7e14bf
chore: add --frozen to cargo flags 2024-03-26 13:02:46 +09:00
naskya
17cd5ecfc2 Merge branch 'feat/server_nsfw' into 'develop'
feat: admin ability to force drive content to always be nsfw

Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>

Closes #10713

See merge request firefish/firefish!10685
2024-03-25 15:03:16 +00:00
老周部落
05e5e92ef3
feat: admin ability to force drive content to always be nsfw 2024-03-25 21:15:53 +08:00
naskya
f6ee3b0550
Merge branch 'develop' into container/alpine-based-image 2024-03-23 21:55:17 +09:00
naskya
83944dd49f
chore: update dependencies 2024-03-23 21:41:51 +09:00
naskya
6f3c9d7300
fix: commit auto-generated index.js to workaround build issue (close #10864) 2024-03-23 02:01:37 +09:00
naskya
39c19742d0
chore: regenerate entities 2024-03-23 01:40:28 +09:00
naskya
996610aa2e
dev: port some scripts in package.json to Makefile 2024-03-23 01:39:12 +09:00
naskya
975598c91d
fix: remove incorrect license field 2024-03-19 02:00:53 +09:00
naskya
387bfd5af8
chore: regenerate entities, update downgrade.sql 2024-03-18 00:32:48 +09:00
naskya
2220d5c56e
refactor (backend): add note_file table to store (noteId, fileId) pairs
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-17 22:40:35 +09:00
naskya
a6e759aeba
chore: update dependencies 2024-03-16 01:21:20 +09:00
naskya
95bab740c4
refactor (container): remove config file that doesn't work properly 2024-03-07 21:23:06 +09:00
naskya
67dad81e99
chore: bump Node requirement from v18.16.0 to v18.17.0
to be compatible with Node-API version 9: https://nodejs.org/api/n-api.html#node-api-version-matrix
2024-03-07 04:07:33 +09:00
naskya
9b6a061022
chore: update dependencies 2024-03-06 09:55:32 +09:00