Commit graph

5466 commits

Author SHA1 Message Date
Lhcfl
241c824ab5 fix: use better ]]> replacer 2024-04-14 16:44:12 +08:00
Lhcfl
54d9916fec fix: rss feed no HTML 2024-04-14 16:34:33 +08:00
naskya
ad58ae8f30
refactor: remove /api/patrons endpoint 2024-04-13 20:03:02 +09:00
naskya
799ad1f3f8
dev (minor, backend-rs): format Makefile 2024-04-13 19:49:36 +09:00
naskya
d57c9dc289
fix (client): set displayMode to true for block math expressions 2024-04-13 19:48:35 +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
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
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
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
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
Lhcfl
e486715e9a chore: use sync MkVisibiliityPicker 2024-04-09 19:29:27 +08:00
naskya
8b14e57ba6
style: remove MkLoading from MkPullToRefresh 2024-04-08 21:19:20 +09:00
naskya
c707221dfb
chore (minor): use type import 2024-04-08 21:15:18 +09:00
naskya
e1345e4e29
fix (backend): make sure that instance info fit in the database (close #10891)
I guess there is a better way to do this...
2024-04-08 20:52:14 +09:00
naskya
3f918f9dcc
fix (client): MkLoading doesn't show up at some places 2024-04-08 18:24:08 +09:00
naskya
273f1a8568
chore (minor, client): accept linter suggestions in MkModal 2024-04-08 17:42:29 +09:00
naskya
2beeeddca2
chore (client): replace pageXOffset (pageYOffset) with scrollX (scrollY)
b4b47d85cf

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-04-08 17:31:33 +09:00
naskya
7adef666d1
chore (client): rename iconClass to iconify 2024-04-08 17:27:06 +09:00