naskya
6cd5dc2fcb
chore: update dependencies
...
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
400f227237
refactor (client): move detectLanguage to scripts/language-utils.ts
2024-03-26 20:34:20 +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
naskya
9ee7804990
fix (backend-rs): update package.json
2024-03-26 13:11:06 +09:00
naskya
4e2c7e14bf
chore: add --frozen to cargo flags
2024-03-26 13:02:46 +09:00
Lhcfl
d64d133d7f
backend: added /note/history endpoint
2024-03-26 10:07:00 +08:00
naskya
02e6aebd33
Merge branch 'chore/change-firefish-type-source' into 'develop'
...
chore: Change type declaration source of firefish-js
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10711
2024-03-25 20:25:19 +00:00
naskya
3fb388f9b8
chore: remove build:types from firefish-js for now
2024-03-26 05:23:30 +09: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
Lhcfl
9e61a6bbe0
chore: Change type declaration source of firefish-js
2024-03-25 23:28:56 +08: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
naskya
7e3cae09a0
fix (client): remove invalid non-null assertion
2024-03-25 23:42:06 +09:00
naskya
506714d8af
chore: use camelCase
2024-03-25 23:32:20 +09:00
老周部落
05e5e92ef3
feat: admin ability to force drive content to always be nsfw
2024-03-25 21:15:53 +08:00
Lhcfl
cc41f255fd
enhance: add tooltip for better expressiveness
2024-03-25 12:43:08 +08:00
Lhcfl
69d214accc
feat: add alt indicator in post form attachments
2024-03-25 12:29:06 +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
naskya
771789f491
Merge branch 'feat/warn-detected-language' into 'develop'
...
feat: Automatically detect and warn to correct the language of post
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10704
2024-03-24 11:56:15 +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
Lhcfl
95da62680a
add isSupportedLanguage
2024-03-24 11:00:49 +08: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
d954a818cc
chore: remove unused dependency
2024-03-24 01:14:55 +09:00
naskya
f6ee3b0550
Merge branch 'develop' into container/alpine-based-image
2024-03-23 21:55:17 +09:00
naskya
83944dd49f
chore: update dependencies
2024-03-23 21:41:51 +09:00
naskya
df8078d9a4
Merge branch 'fix/local-user-notes-count' into 'develop'
...
fix: recalculate notesCount of local user when notes are deleted.
Co-authored-by: Linca <lhcfllinca@gmail.com>
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10701
2024-03-23 08:01:39 +00:00
naskya
6f3c9d7300
fix: commit auto-generated index.js to workaround build issue ( close #10864 )
2024-03-23 02:01:37 +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
Lhcfl
872ea8adb0
feat: Automatically detect and warn to correct the language of post
2024-03-20 01:08:14 +08:00
naskya
975598c91d
fix: remove incorrect license field
2024-03-19 02:00:53 +09: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
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
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
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
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
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
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
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
laozhoubuluo
3c75a93a49
fix(client): some key not using translate
...
Co-authored-by: naskya <m@naskya.net>
2024-03-11 09:31:14 +00:00
Eana Hufwe
d6e0389810
fix: Vue i18n template rendering extra {
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-08 15:05:33 +00:00
naskya
95bab740c4
refactor (container): remove config file that doesn't work properly
2024-03-07 21:23:06 +09:00
naskya
ced76bf978
chore (client): remove global $t, $ts
2024-03-07 11:24:48 +09:00
naskya
47bc534b1f
chore (client, locale): log in/out -> sign in/out
2024-03-07 11:13:21 +09:00
naskya
5fb3253069
refactor (client): $i -> me
2024-03-07 11:06:45 +09:00
naskya
ce406f9861
refactor (client): $instance -> instance
2024-03-07 10:52:32 +09:00
naskya
031e272052
chore (client): add kmyblue to commonNames
2024-03-07 09:59:30 +09:00
naskya
67dad81e99
chore: bump Node requirement from v18.16.0 to v18.17.0
...
to be compatible with Node-API version 9: https://nodejs.org/api/n-api.html#node-api-version-matrix
2024-03-07 04:07:33 +09:00
Linca
43f1034d03
feat: add unencrypted messaging warning in chat
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-06 18:27:34 +00:00
naskya
68fa43d97c
feat (client): add a toggleable setting to show no alt warning
2024-03-06 14:34:29 +09:00
naskya
40293a73c0
locale: separate nouns and verbs ( close #10862 )
2024-03-06 12:51:30 +09:00
naskya
9b6a061022
chore: update dependencies
2024-03-06 09:55:32 +09:00
naskya
ddc8f62a16
meta: remove *.joinfirefish.org URLs
2024-03-06 09:02:09 +09:00
naskya
5b77777439
style: hide scrollbars in simple text windows
2024-03-06 08:10:38 +09:00
naskya
7609d78269
style: minor change in search box margin
2024-03-06 07:54:40 +09:00
naskya
fb923fa4d8
style: fix FormSwitch text-align
2024-03-06 07:49:22 +09:00
atsu1125
aaa0b7edde
fix (backend): movedToUri should be either User or null
...
Co-authored-by: naskya <m@naskya.net>
2024-03-06 07:25:22 +09:00
老周部落
0d7f923738
fix: "explore" not using translate at entrance page
2024-03-05 21:39:41 +08:00
naskya
6eb04d9d82
chore: format
2024-03-05 09:26:53 +09:00
nexryai
8b3574d84c
fix (backend): stop sending stack traces on API errors
...
Co-authored-by: naskya <m@naskya.net>
2024-03-05 09:26:53 +09:00
naskya
0f1323b79d
chore (backend): add script to create new database migrations
2024-03-03 13:38:47 +09:00
naskya
bf99167406
refactor (backend): move migrations inside backend/src
2024-03-03 13:21:11 +09:00
naskya
330b02d87d
Merge branch 'feature/langTagsUi' into 'develop'
...
feat: apply language annotation to note contents
Co-authored-by: Eana Hufwe <eana@1a23.com>
Closes #10854
See merge request firefish/firefish!10687
2024-03-02 11:03:01 +00:00
Eana Hufwe
175b5250f7
feat: apply language annotation to note contents
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-02 11:03:01 +00:00
Eana Hufwe
4abe42f1b7
fix: missing import in user list status bar
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-02 10:55:02 +00:00
naskya
4c38d9665e
chore: lint
2024-03-02 14:24:05 +09:00
Nanaka Hiira
860bda8921
fix (client): unable to open about-firefish if reaction store is empty
2024-03-02 14:02:16 +09:00
naskya
df13c84b53
fix (client): missing import
2024-03-02 13:58:24 +09:00
naskya
ec8a9096da
chore (client): add scripts/compare-versions to compare Firefish versions
2024-03-02 13:48:25 +09:00