Commit graph

27513 commits

Author SHA1 Message Date
老周部落
f44a2937d4
fix: download-url should use proxy bypass hosts 2024-04-13 09:00:08 +08:00
naskya
64581d2088
chore (backend-rs): add serde attribute
This is redundant though
2024-04-13 00:02:07 +09:00
naskya
0517a83dc5
container: fix cargo fetch 2024-04-12 23:03:40 +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
3d6031dca3
chore: get rid of re2 from dependencies 2024-04-12 15:47:04 +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
sup39
9592b88e52
feat (macro-rs): set use_nullable = true for object and constructor by default 2024-04-12 11:54: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
50b2d1c22b
fix: old target directory must be removed 2024-04-12 11:10:53 +09:00
naskya
ad30d16f23
chore (backend): remove unused file 2024-04-12 11:10:52 +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
186919aac3
feat (macro-rs): handle macro attr 2024-04-12 05:20:41 +09:00
sup39
2ba60a3b40
feat (macro-rs): convert &[T] to Vec<T> 2024-04-12 05:20:02 +09:00
sup39
b6b07d562c
feat (macro-rs): handle async fn 2024-04-12 05:19:39 +09:00
sup39
c231bf43cb
feat (macro-rs): convert Result<T, E> return type to napi::Result<T> 2024-04-12 05:19:26 +09:00
sup39
5d2238a266
fix (macro-rs): use cfg instead of cfg_attr 2024-04-12 05:18:14 +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
afc57d834c
fix (backend): add missing Relation wrapper
should have done in aedf873248
2024-04-12 02:42:17 +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
6eee5c651c
meta (minor): update issue templates 2024-04-12 01:59:20 +09:00
naskya
88aaa47220
meta: update issue/merge request templates (close #10896) 2024-04-12 00:42:40 +09:00
naskya
69b93554e8 Merge branch 'use-sync-visibility-picker' into 'develop'
chore: don't import MkVisibilityPicker dynamically

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10736
2024-04-11 13:20:09 +00:00
naskya
5f2697f304
fix (client): import path 2024-04-11 22:17:49 +09:00
naskya
9bbdb1638f
docs: update COPYING 2024-04-11 22:09:07 +09:00
naskya
aedf873248
refactor (backend): distinguish between database columns and relations, set correct nullability 2024-04-11 21:58:06 +09:00
Lhcfl
da6f07952b rename client-types.ts -> note.ts; fix type importing 2024-04-11 16:55:39 +08:00
Hosted Weblate
8287874cd6
Merge branch 'origin/develop' into Weblate 2024-04-10 10:01:59 +02:00
老周部落
4f50156931
locale: update translations (Chinese (Simplified))
Currently translated at 100.0% (1920 of 1920 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/zh_Hans/
2024-04-10 10:01:53 +02:00
Linerly
80f8afbb26
locale: update translations (Indonesian)
Currently translated at 100.0% (1920 of 1920 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/id/
2024-04-10 10:01:51 +02:00
jolupa
cbaa577e58
locale: update translations (Catalan)
Currently translated at 100.0% (1920 of 1920 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/ca/
2024-04-10 10:01:49 +02:00
naskya
12f04a19b4
docs (minor): update notice-for-admins.md 2024-04-10 14:45:25 +09:00
Lhcfl
75899aeb51 move consts.ts from @/types to @/script 2024-04-10 01:22:48 +08:00
Lhcfl
6ee1049731 use client-only noteVisibilities type 2024-04-10 01:18:08 +08:00
naskya
3bde79e6a9
docs: update notice-for-admins.md 2024-04-10 00:50:25 +09:00
naskya
8dd0a8b752
docs: update notice-for-admins.md
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-09 22:59:02 +09:00
Lhcfl
e486715e9a chore: use sync MkVisibiliityPicker 2024-04-09 19:29:27 +08:00