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
Lhcfl
bab704992f
feat: add post history page
2024-03-26 16:59:42 +08:00
Lhcfl
d64d133d7f
backend: added /note/history endpoint
2024-03-26 10:07:00 +08:00
naskya
8b01433f2b
Revert "Merge branch 'feat/proxy_media_fallback' into 'develop'"
...
This reverts commit a7d6e8eb1a
, reversing
changes made to 1871dacd8d
.
2024-03-26 04:09:01 +09:00
Linca
72d5e4cdb8
fix : #10868 incorrect text inserted to note_edit
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-25 17:02:02 +00: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
a7d6e8eb1a
Merge branch 'feat/proxy_media_fallback' into 'develop'
...
feat: proxy media fallback and url preview fallback
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
See merge request firefish/firefish!10693
2024-03-24 17:37:59 +00:00
Linca
ed72aab48e
fix (backend): downgrade adm-zip to v0.5.10
...
To workaround this problem: https://github.com/cthackers/adm-zip/issues/475
Co-authored-by: naskya <m@naskya.net>
2024-03-24 20:45:02 +09:00
naskya
ad08d071bf
Merge branch 'change-from-html' into 'develop'
...
refactor: Rewrite from-html parser using recursion
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10694
2024-03-23 16:34:44 +00:00
Linca
7c761f8c3d
refactor: Rewrite from-html parser using recursion
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-23 16:34:44 +00:00
naskya
83944dd49f
chore: update dependencies
2024-03-23 21:41:51 +09:00
naskya
6e9d3387e0
refactor (backend): use Promise.all to await multiple async processes
2024-03-23 00:54:54 +09:00
naskya
26e35d1d82
refactor: make function name clearer, let the ORM build queries
2024-03-20 19:17:46 +09:00
naskya
dc2039b45a
refactor (backend): change variable name, await asyncronous processes
2024-03-20 18:45:50 +09:00
naskya
7e2559c5ee
Merge branch 'develop' into catofish-fix/local-user-notes-count
2024-03-20 18:34:33 +09:00
老周部落
2af7f48870
feat: proxy media fallback and url preview fallback
2024-03-18 18:30:42 +08:00
naskya
f7a8a58cb2
Revert "refactor: remove note.mentionedRemoteUsers column"
...
This reverts commit 65797a934a
.
2024-03-18 03:29:19 +09:00
naskya
e4a72bbfe5
Revert "backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )"
...
This reverts commit 3473442875
.
2024-03-18 03:29:17 +09:00
Linca
d002741ecc
Merge branch 'develop' into 'fix/local-user-notes-count'
...
# Conflicts:
# packages/backend/src/services/note/delete.ts
2024-03-17 16:24:50 +00:00
sup39
9fd9eb0100
fix (backend): incorrect database queries
2024-03-18 01:01:54 +09:00
naskya
c61e6cd255
fix (backend): incorrect database indices (renote_mute & reply_mute)
2024-03-18 01:01:54 +09:00
Norm
3473442875
backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )
...
This is an optimized version made by Volpeon that should run faster if
the instance has a lot of notes.
See <https://is-a.wyvern.rip/notes/9habqldl6j > for a comparison of the
EXPLAIN ANALYZE of the old and new queries.
Co-authored-by: Volpeon <git@volpeon.ink>
Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/403
2024-03-18 00:20:02 +09:00