Commit graph

27408 commits

Author SHA1 Message Date
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
naskya
387bfd5af8
chore: regenerate entities, update downgrade.sql 2024-03-18 00:32:48 +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
Johann150
65797a934a
refactor: remove note.mentionedRemoteUsers column
The column mentionedRemoteUsers on the note table in the database is
firstly in the wrong type since it contains JSON data but is typed as
text. Secondly it seems redundant, since that data can be acquired by
using the note.mentions column to fetch the respective data instead.

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
2024-03-18 00:16:49 +09:00
sup39
9bce737f67
fix (backend): add alias to a migration subquery
Co-authored-by: naskya <m@naskya.net>
2024-03-17 23:13:54 +09:00
naskya
a72999c872
locale: fix typo
I'm tired
2024-03-17 23:04:57 +09:00
sup39
cca63b7286
perf (backend): improved post search with CW/alt text
Co-authored-by: naskya <m@naskya.net>
2024-03-17 22:40:36 +09:00
naskya
2220d5c56e
refactor (backend): add note_file table to store (noteId, fileId) pairs
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-17 22:40:35 +09:00
naskya
0f880b55e3
chore (backend): add FIXME to a questionable database column 2024-03-17 22:40:35 +09:00
老周部落
11b613f752
locale: update translations (Chinese (Simplified))
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/zh_Hans/
2024-03-17 13:40:35 +01:00
naskya
786eb0b1a9
locale: update translations (Japanese)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/ja/
2024-03-17 13:40:34 +01:00
Lhcfl
ac2b42b71b fix a bug 2024-03-17 14:17:54 +08:00
Lhcfl
6e8d1a167f fix: cascading bugs during deletion.
- During cascade deletion, the posts deleted by the cascade are not published to noteStream.
- During cascade deletion, the notes count of instance and user is incorrect.
2024-03-17 14:08:07 +08:00
Hosted Weblate
999dadfcd7
Merge branch 'origin/develop' into Weblate 2024-03-17 05:12:06 +01:00
老周部落
afedb2e8f8
locale: update translations (Chinese (Simplified))
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/zh_Hans/
2024-03-17 05:12:05 +01:00
naskya
80fc73efd5
locale: update search words description 2024-03-17 13:08:54 +09:00
Lhcfl
06985abe08 fix: recalculate notesCount of local user when notes are deleted. 2024-03-17 12:01:07 +08:00
naskya
80e3e0e91d
refactor (client): compare Firefish versions lexicographically 2024-03-17 03:00:37 +09:00
naskya
6e31c1e7ef
Merge branch 'develop' into firefish-docs/develop 2024-03-17 02:53:08 +09:00
naskya
ba48f063a5
docs: add links to compare versions in changelog 2024-03-17 02:51:24 +09:00
naskya
fb881282c8
docs (minor): update changelog 2024-03-17 02:35:36 +09:00
naskya
3eaec9ab3d
docs: update changelog 2024-03-17 02:34:08 +09:00
naskya
05b74e0dc9
Merge branch 'develop' into firefish-docs/develop 2024-03-17 02:32:11 +09:00
Gareth Coles
f7487997f1
container: add memory limits to example compose file 2024-03-17 02:29:41 +09:00
Kyle Gordon
8a5a6dcc45
container: enable docker healthchecks
ref: !10681

Co-authored-by: naskya <m@naskya.net>
2024-03-17 02:24:40 +09:00
naskya
75f277f461
fix (backend): return null (instead of 0) if following/followers count is unavailable 2024-03-17 02:03:27 +09:00
naskya
517022f9b2
fix (backend): hide remote user's reactions and network (following/followers) in case it's set to hidden on their end 2024-03-17 01:51:24 +09:00
naskya
27be8e06cb
fix (backend): conditions for checking local uri's being inaccurate
ref: https://github.com/misskey-dev/misskey/issues/13540

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: atsu1125 <atsuchan@atsuchan.page>
2024-03-17 01:51:24 +09:00
naskya
5e179b7721
chore: lint 2024-03-17 00:49:12 +09:00
naskya
1d0223e653
chore: format 2024-03-17 00:34:57 +09:00
naskya
d65c00f219
chore: I don't care # of stars 2024-03-17 00:32:59 +09:00
naskya
a6e759aeba
chore: update dependencies 2024-03-16 01:21:20 +09:00
Hosted Weblate
1f89beddf9
Merge branch 'origin/develop' into Weblate 2024-03-13 22:01:51 +01:00
サポミク
92fa218f9b
locale: update translations (Chinese (Traditional))
Currently translated at 99.8% (1913 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/zh_Hant/
2024-03-13 22:01:47 +01:00
Gary O'Regan Kelly
ed3a5fd536
locale: update translations (French)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/fr/
2024-03-13 22:01:46 +01:00
naskya
ef15e9d0a3
chore: format 2024-03-13 13:12:23 +09:00
naskya
cd0aef1166
fix (backend): incorrect database index
ref: d30239b5e7
2024-03-13 13:12:23 +09:00
老周部落
f7a459ab97
locale: update translations (Chinese (Simplified))
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/zh_Hans/
2024-03-12 18:01:54 +01:00
Linerly
6a97141d3c
locale: update translations (Indonesian)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/id/
2024-03-12 18:01:53 +01:00
Gary O'Regan Kelly
81f4bae937
locale: update translations (French)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/fr/
2024-03-12 18:01:51 +01:00
jolupa
342ad23169
locale: update translations (Catalan)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/ca/
2024-03-12 18:01:49 +01:00
naskya
c4ff65624b
locale: update translations (Japanese)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/ja/
2024-03-11 17:03:29 +01:00
naskya
6762fafb96
locale: update translations (English)
Currently translated at 100.0% (1915 of 1915 strings)

Translation: Firefish/locales
Translate-URL: https://hosted.weblate.org/projects/firefish/locales/en/
2024-03-11 17:03:28 +01:00
老周部落
308c3ff719
fix: not enough for minimum install 2024-03-11 21:14:44 +08:00
老周部落
bd37b419df
feat: dev container use postgres 16 and ffmpeg 2024-03-11 21:12:50 +08:00
naskya
f8b41843c5 Merge branch 'fix/moderation_note' into 'develop'
fix(client): some key not using translate

Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>

See merge request firefish/firefish!10698
2024-03-11 09:31:14 +00:00
laozhoubuluo
3c75a93a49 fix(client): some key not using translate
Co-authored-by: naskya <m@naskya.net>
2024-03-11 09:31:14 +00:00