Commit graph

5445 commits

Author SHA1 Message Date
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
naskya
fcfbee4c1d
chore (client): searchByGoogle -> search 2024-04-08 17:17:08 +09:00
naskya
30619301d3
chore: replace new Date().getTime() with Date.now()
959cc8ff37

Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-04-08 17:00:41 +09:00
naskya
fce0e5a218
feat (backend): federate math expressions using MathML
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2024-04-08 12:15:54 +09:00
naskya
3edeb7a270
fix: custom emojis on user overview not being rendered 2024-04-07 19:19:19 +09:00
naskya
9df08ea16a
refactor (minor): replace substr with substring 2024-04-07 19:10:26 +09:00
naskya
65e7d9d157
fix (client): Unicode emoji rendering 2024-04-07 18:54:14 +09:00
naskya
26c3b25a40
chore: update dependencies 2024-04-07 16:42:25 +09:00
tmorio
ea357b71a0
feat (client): add "Media" tab to user page
https://maniakey.com/notes/9rsfrmqm1a
66a2d2fa5c

Co-authored-by: naskya <m@naskya.net>
2024-04-07 16:29:51 +09:00
naskya
d0901d77ab
fix (client): antenna layout on mobile 2024-04-07 13:41:03 +09:00
naskya
a64e42208e
fix (client): EndpointsOf import 2024-04-07 13:03:10 +09:00
naskya
cb7e9ab449 Merge branch 'refactor/lists' into 'develop'
refactor: Fix types of components

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

See merge request firefish/firefish!10730
2024-04-07 03:57:10 +00:00
naskya
110e092262
chore (backend): use type import for MigrationInterface and QueryRunner 2024-04-07 12:38:52 +09:00
naskya
9ea5fcd1bf Merge branch 'refactor/sea-orm-entities' into 'develop'
Make it possible to manipulate the database in backend-rs


See merge request firefish/firefish!10735
2024-04-07 03:34:41 +00:00
naskya
5e2376a6dc Merge branch 'feat/spin-when-posting' into 'develop'
feat: show a MkLoading when posting

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

See merge request firefish/firefish!10734
2024-04-07 03:33:25 +00: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
5c0d771dff
chore: await migration queries 2024-04-07 12:16:53 +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