Commit graph

2069 commits

Author SHA1 Message Date
Lhcfl
f95e2d1c51 Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-13 15:39:44 +08: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
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
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
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
f60ff2eaf4
refactor (backend-rs): rewrite id generator
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 05:20:45 +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
Lhcfl
8e28f0e97c Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-12 00:23:21 +08:00
Lhcfl
d8b4eb6f5e fix: gallery posts not show & fix types 2024-04-12 00:22:49 +08:00
naskya
aedf873248
refactor (backend): distinguish between database columns and relations, set correct nullability 2024-04-11 21:58:06 +09:00
Lhcfl
6982843716 fix: channel editor cannot remove channel banner 2024-04-10 22:25:45 +08:00
Lhcfl
23145c61af refactor: fix type of MkAbuseReport 2024-04-10 17:55:52 +08: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
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
9df08ea16a
refactor (minor): replace substr with substring 2024-04-07 19:10:26 +09:00
naskya
26c3b25a40
chore: update dependencies 2024-04-07 16:42:25 +09:00
naskya
110e092262
chore (backend): use type import for MigrationInterface and QueryRunner 2024-04-07 12:38:52 +09:00
naskya
5c0d771dff
chore: await migration queries 2024-04-07 12:16:53 +09:00
naskya
383b2b874d
chore: format 2024-04-07 05:06:42 +09:00
naskya
91ccce4307
refactor (backend): drop timezone data (which is not used at all)
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-07 05:06:27 +09:00
naskya
54c5192a06
chore (backend): add some more comments on the translate function 2024-04-06 07:42:32 +09:00
Lhcfl
e8f178458f Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/note-edit-history 2024-04-01 11:32:14 +08:00
Lhcfl
0b226f7013 store emojis for note_edit 2024-04-01 11:01:59 +08:00
Lhcfl
a562d9bb39 chore: format 2024-04-01 03:24:30 +08:00
Laura Hausmann
88ca0e1621
fix (backend): set X-Content-Type-Options to nosniff on the drive files endpoint 2024-04-01 03:22:06 +09:00
Lhcfl
cbe88c56ef feat: show files of noteEdit 2024-04-01 01:53:21 +08:00
Lhcfl
6d4cb5b4aa fix: note.updatedAt might be null 2024-04-01 00:40:58 +08:00
naskya
b3668f67a0
fix (backend): check redirect url 2024-03-30 19:01:28 +09:00
Laura Hausmann
e753b313da
fix (backend): reject anonymous objects 2024-03-30 19:01:28 +09:00
Laura Hausmann
2e51a33ae5
fix (backend): stricter hostname checking when fetching remote objects
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
ada0137a35
fix (backend): verify object id host matches final URL when fetching remote activities
5f6096c1b7

Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
850c52ef63
feat (backend): permit redirects for AP object lookups
8d7d95fd23

Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
naskya
00b15bb17c
refactor (backend): mark resolveLocal as async
There are many type errors that need to be fixed :(
2024-03-30 19:01:16 +09:00
mei23
ce69001243
fix (backend): improve URL check
13ea67bee4
da12d5b079

Co-authored-by: naskya <m@naskya.net>
2024-03-30 18:10:52 +09:00
naskya
293afc7fe4
Merge branch 'develop' into feat/note-edit-history 2024-03-28 14:27:29 +09:00
naskya
611a2f02b9
chore: format 2024-03-28 14:26:09 +09:00
naskya
284f077dba Merge branch 'ft/run-linter' into 'develop'
chore: format

Co-authored-by: deathg.rip <josh@deathg.rip>

See merge request firefish/firefish!10707
2024-03-28 05:25:33 +00:00
Nyan Helsing
a98a26e901 chore: format
Co-authored-by: deathg.rip <josh@deathg.rip>
2024-03-28 05:25:33 +00:00
naskya
6cd5dc2fcb
chore: update dependencies
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
5e2b8d3be0
chore: add a function to compare two arrays 2024-03-26 19:43:11 +09:00
naskya
d1d0328f8b
fix (backend): update note_file on note edits
TODO: move these processes to services/note/edit.ts
2024-03-26 19:42:19 +09:00
naskya
bd5e95a1f0
chore: remove unused import 2024-03-26 19:13:38 +09:00