Commit graph

27547 commits

Author SHA1 Message Date
naskya
6f3c9d7300
fix: commit auto-generated index.js to workaround build issue (close #10864) 2024-03-23 02:01:37 +09:00
naskya
f4edc055a6
dev: make to run pnpm run format && make entities, make build to run debug build 2024-03-23 01:48:29 +09:00
naskya
39c19742d0
chore: regenerate entities 2024-03-23 01:40:28 +09:00
naskya
996610aa2e
dev: port some scripts in package.json to Makefile 2024-03-23 01:39:12 +09:00
naskya
6e9d3387e0
refactor (backend): use Promise.all to await multiple async processes 2024-03-23 00:54:54 +09:00
Lhcfl
17a42f015a chore: format 2024-03-21 18:00:32 +08:00
Lhcfl
5dc313d6d1 dev: change filterLangmapByPrefix to filterSubclassLanguages 2024-03-21 17:52:48 +08: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
Lhcfl
c3a57a3dad fix: check if two languages are close enough 2024-03-20 02:07:55 +08:00
Hosted Weblate
76c1caa523
Merge branch 'origin/develop' into Weblate 2024-03-19 18:43:35 +01:00
老周部落
60e2d1bd55
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-19 18:43:29 +01:00
Lhcfl
b733948a53 modify description of autocorrectNoteLanguage 2024-03-20 01:25:21 +08:00
Lhcfl
872ea8adb0 feat: Automatically detect and warn to correct the language of post 2024-03-20 01:08:14 +08:00
naskya
605e97181b
docs: fix comments about upgrading 2024-03-19 23:08:38 +09:00
naskya
c4fadc8bf1
docs (minor): fix missing newline 2024-03-19 23:06:52 +09:00
naskya
293bbe5449
dev: do not gitignore compose file for development environments 2024-03-19 22:54:32 +09:00
Hosted Weblate
1130c1a1e2
Merge branch 'origin/develop' into Weblate 2024-03-18 19:02:01 +01:00
老周部落
128bada4dd
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-18 19:01:53 +01:00
jolupa
f00c59f387
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-18 19:01:51 +01:00
naskya
2a93e94dff
v20240319 2024-03-19 02:13:38 +09:00
naskya
7220cce8bc
docs: update SECURITY.md 2024-03-19 02:11:11 +09:00
naskya
975598c91d
fix: remove incorrect license field 2024-03-19 02:00:53 +09:00
naskya
4ce20c52bd
docs: remove outdated documents 2024-03-19 01:58:07 +09:00
naskya
7359cf2fa9
docs: add PGroonga install procedure for Fedora 2024-03-19 01:25:48 +09:00
naskya
09d51cf838
container: use fixed PGroonga version 2024-03-19 01:21:01 +09:00
naskya
a5c4b8b56d
locale (minor): update en-US.yml 2024-03-19 00:53:32 +09:00
naskya
43b247ccd3
docs: fix link to the container registry in install-container.md 2024-03-19 00:51:12 +09:00
naskya
bab5baba2a
docs: add links to other docs in changelog 2024-03-19 00:49:37 +09:00
naskya
d967bc087b Merge branch 'feat/add_auth_interation' into 'develop'
feat: add authorize_interaction page

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

See merge request firefish/firefish!10702
2024-03-18 15:45:24 +00:00
Linca
59f9a1620f feat: add authorize_interaction page
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-18 15:45:24 +00:00
naskya
3ec9867692 Merge branch 'docs/develop' into 'develop'
feat(dev): add new docker-based dev env to replace broken nix dev env.

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

Closes #10081, #10715, #10727, and #10811

See merge request firefish/firefish!10690
2024-03-18 15:24:45 +00:00
naskya
dff0cb799c
docs: update documents and config files
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-19 00:21:02 +09:00
naskya
e6ba786b59
fix (client): missing import 2024-03-18 19:54:42 +09:00
老周部落
2af7f48870
feat: proxy media fallback and url preview fallback 2024-03-18 18:30:42 +08:00
naskya
ff2221f951
Merge branch 'develop' into firefish-docs/develop 2024-03-18 16:05:08 +09:00
naskya
af800833b4
fix: reflect revert to downgrade.sql 2024-03-18 03:47:57 +09: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
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