Commit graph

5370 commits

Author SHA1 Message Date
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
naskya
78bdec3af4
chore (backend): add prelude/unsafe-cast for unsafe type casting 2024-03-02 13:26:44 +09:00
naskya
9705ceda5d
chore: update dependencies 2024-03-02 13:18:17 +09:00
sup39
b6e55173e2
refactor (backend): rename meta columns 2024-03-02 13:13:03 +09:00
naskya
d61462b892 Merge branch 'fix/stats_api' into 'develop'
fix(backend): mastodon stats conflate all indexed users and statuses

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

Closes #10759

See merge request firefish/firefish!10684
2024-03-01 16:54:25 +00:00
老周部落
64bfb8f329
fix(backend): mastodon stats conflate all indexed users and statuses 2024-03-02 00:51:37 +08:00
naskya
2414cf3ec7
refactor (backend): separate translate function into another file, use post language info for translations, use deepl-node package 2024-03-02 00:28:30 +09:00
naskya
ec18c532ca
feat: ability to publish timelines on signed out page 2024-03-02 00:19:05 +09:00
naskya
9ce6a23266
chore: remove unused dependencies 2024-03-01 23:42:02 +09:00
naskya
412cdad209
feat: show unlisted posts from following users in antennas 2024-03-01 23:42:02 +09:00
naskya
d70d0f4232
refactor (backend): separate muted words and muted patterns
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:52:21 +09:00
naskya
b30e68c98c
feat: post search filters
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:17:02 +09:00
naskya
48e5d9de71
refactor: use PGroonga for full-text search and remove support of other engines
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 21:39:13 +09:00
naskya
7051e445d3
chore: format 2024-03-01 10:44:16 +09:00
laozhoubuluo
e7689fb302 feat(backend): configurable log levels for troubleshooting 2024-03-01 00:50:53 +00:00
laozhoubuluo
d709030580 feat: sent follow request list api and user interface
Co-authored-by: naskya <m@naskya.net>
2024-03-01 00:40:20 +00:00
naskya
d2ed7fcb70
chore: tweak user/server default configs 2024-03-01 09:13:00 +09:00
naskya
511e6c8317
style: tweak default client settings 2024-03-01 08:51:19 +09:00
naskya
30c22a2431
fix (client): squareCatAvatars config being not reflected in some places
This was overlooked in 6b2bad1fb6
2024-03-01 08:19:37 +09:00
naskya
1ce0a068c8
feat (client): show software versions in instance ticker tooltip 2024-03-01 08:10:40 +09:00
naskya
a96e754496
style: tweak settings UI 2024-03-01 08:04:22 +09:00
naskya
391328f128
chore: remove nyaification of 'nA' 2024-03-01 07:56:05 +09:00
sup39
85c034b1a2
fix: make readFile in api/patrons async 2024-03-01 07:51:26 +09:00
naskya
1d6b1d052d
feat: allow admins to migrate accounts 2024-03-01 07:47:40 +09:00
naskya
945cc87dc7
chore (backend): remove horrible API endpoints 2024-03-01 07:39:22 +09:00
naskya
20ca238b59
chore: stop requiring misskeyVersion in preference backups 2024-03-01 07:33:59 +09:00
sup39
020c421c9b
fix (backend): apply word mutes in notifications
Co-authored-by: naskya <m@naskya.net>
2024-03-01 07:29:58 +09:00
naskya
1bf513dedd
feat: per-user reply mutes (close #9150) 2024-03-01 07:24:43 +09:00
naskya
f3fd8829ba
chore (client): move pull-down-to-refresh settings to the mobile section 2024-02-29 22:37:07 +09:00
Fairy-Phy
4f72ade656
feat (client): pull-to-refresh timelines
based on https://github.com/misskey-dev/misskey/pull/12113

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: Nanaka Hiira <hiira@hiira.dev>
2024-02-29 22:24:50 +09:00
naskya
f8bc26bd6b Merge branch 'security-key-without-2fa' into 'develop'
Make security key independent of 2FA

Co-authored-by: TrojanerHD <github@trojaner.dev>

Closes #8610

See merge request firefish/firefish!10670
2024-02-29 12:19:26 +00:00
Trojaner
4f738246fd Make security key independent of 2FA
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-29 12:19:26 +00:00
naskya
0cb26730fc Merge branch 'fix/backport_resolver_parse_follow_request' into 'develop'
fix(backend): backport fix about resolver cannot parse some follows and notes request

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

See merge request firefish/firefish!10680
2024-02-29 11:50:33 +00:00
naskya
af80fd92dc
chore: upgrade dependencies
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-28 23:40:40 +09:00
naskya
d30239b5e7
fix (backend): incorrect database index
Sorry for my silly mistake (cf. 9d56db0fbf 4356099fec)
2024-02-28 23:28:09 +09:00
naskya
ab9602d426
style/fix (client): remove contributor info from about-firefish 2024-02-28 02:40:43 +09:00
naskya
0583f68565 Merge branch 'develop' into 'develop'
Change About Firefish page to reflect more accurate information

Co-authored-by: Jose Luis Pavón <jolupameister@protonmail.com>
Co-authored-by: jolupa <jolupameister@gmail.com>

See merge request firefish/firefish!10673
2024-02-27 17:35:11 +00:00
Jose Luis Pavón
6c83b9e69c Change About Firefish page to reflect more accurate information
Co-authored-by: jolupa <jolupameister@gmail.com>
2024-02-27 17:35:11 +00:00
naskya
6b19579d1e Merge branch 'fix/MkChatPreview' into 'develop'
fix: #10859 Chat history disappeared

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

Closes #10859

See merge request firefish/firefish!10678
2024-02-27 17:31:53 +00:00
Calorie Zero
27e47eb176 fix: #10859 Chat history disappeared
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-02-27 17:31:53 +00:00
naskya
8f0cccac7d
fix (client): MkActiveUsersHeatmap does not take props 2024-02-28 02:16:01 +09:00
naskya
e0447ba4a9 Merge branch 'fix/error_popup_signup' into 'develop'
fix(client): error popup does not appear on signup

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

Closes #10708

See merge request firefish/firefish!10675
2024-02-27 17:10:07 +00:00
naskya
ddfe20083d Merge branch 'catodon-pickup' into 'develop'
Catodon bug fixes pickup

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

See merge request firefish/firefish!10676
2024-02-27 17:07:42 +00:00
naskya
a4603525aa
perf: remove charts (close #10611)
note:
- ActiveUsersChart is kept
- backend can be further refactored
2024-02-28 02:02:59 +09:00
老周部落
76738f6968
fix(backend): backport fix about resolver cannot parse some follows and notes request 2024-02-27 01:38:02 +08:00
老周部落
c6960710a6
fix(backend): UserFromURI failure shouldn't causes exception 2024-02-27 00:49:47 +08:00
Lhcfl
b6bbd23e8a chore: format 2024-02-26 21:08:48 +08:00
Lhcfl
7306e435c1 fix autosize 2024-02-26 21:03:43 +08:00
Lhcfl
1c125a0079 fix: (Catodon #32) The posting form in the timeline doesn't show button names on hover 2024-02-26 20:59:08 +08:00
Lhcfl
7b999eb9fd fix (Catodon #77) The title of the chat is undefined 2024-02-26 20:57:13 +08:00
Lhcfl
6a239bff21 fix: (Catodon #73) Weird dark background on inline code in chat view 2024-02-26 20:55:21 +08:00
Lhcfl
853a511f36 fix autosize 2024-02-26 20:51:27 +08:00
Lhcfl
6a002fd785 fix: unrenote should only delete renotes, not quotes (Catodon #67) 2024-02-26 20:44:14 +08:00
老周部落
ab057a98f5
fix(client): error popup does not appear on signup 2024-02-26 00:42:47 +08:00
sup39
ca67ca7bbe
feat: use syntax highlight assets on server
Co-authored-by: naskya <m@naskya.net>
2024-02-25 20:50:33 +09:00
naskya
61b09eaf9a
chore: don't use CDN if useEmojiCdn is disabled 2024-02-25 20:49:10 +09:00
sup39
6eab8fde16
feat: auto load MkCode syntax highlight 2024-02-25 20:44:10 +09:00
naskya
f468fe988d
fix (backend): check url properly
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-25 20:37:41 +09:00
naskya
8a1bc7c085
style: show online status indicator only when available 2024-02-22 17:24:20 +09:00
naskya
78f3def837
chore: format 2024-02-22 03:26:37 +09:00
naskya
f2faba970f Merge branch 'feat/add_import_renote_mastodon' into 'develop'
feat: add import renote from Mastodon to firefish

Co-authored-by: Buluo Laozhou <laozhoubuluo@gmail.com>

Closes #10833

See merge request firefish/firefish!10652
2024-02-21 18:25:47 +00:00
laozhoubuluo
19558eb775 feat: add import renote from Mastodon to firefish 2024-02-21 18:25:47 +00:00
naskya
44aa70ca55
fix (client): update version comparison algorithm 2024-02-22 03:18:26 +09:00
naskya
ea5312148f
fix (backend): imports 2024-02-22 03:18:17 +09:00
naskya
c79248d07c
refactor (backend): make error logs more verbose 2024-02-22 03:18:05 +09:00
naskya
803d6c2978
fix (client): undefined locale 2024-02-21 18:02:13 +09:00
naskya
fb74a5eeda
feat: ability to make existing public posts private
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-21 08:42:50 +09:00
naskya
fa0e65cc1b
feat (client): add private visibility 2024-02-21 07:24:52 +09:00
naskya
f04bf9f78e
chore: regenerate entities 2024-02-21 05:57:15 +09:00
naskya
9fbca3fd95
refactor: drop lang from user_profile 2024-02-21 03:27:33 +09:00
naskya
5574c8e482
chore: update dependencies 2024-02-20 17:45:48 +09:00
naskya
52ebc2d8dc
feat: emoji moderators 2024-02-20 17:41:45 +09:00
mei23
e38ee08ef9
fix (backend): validate ActivityPub Content-Type
Co-authored-by: naskya <m@naskya.net>
2024-02-17 18:42:38 +09:00
naskya
37127af55b
chore (client): add search engines 2024-02-17 02:25:04 +09:00
naskya
c0358daa83
chore (client): remove text art in HTML comments 2024-02-16 17:37:06 +09:00
Nanaka Hiira
b9c89aecca
feat (api): add /api/emojis endpoint 2024-02-16 17:30:16 +09:00
naskya
002b8683b7 Merge branch 'module' into 'develop'
refactor: make `client` and `sw` ES modules

Co-authored-by: Ryan Cao <615-ry@users.noreply.git.joinfirefish.org>

See merge request firefish/firefish!10669
2024-02-16 05:32:47 +00:00
naskya
42dfe1e0c1
fix (backend): undefined reference 2024-02-16 14:17:22 +09:00
Ryan Cao
772f4f0868
refactor: make client and sw ES modules 2024-02-16 09:31:32 +08:00
naskya
eca0d47951
chore (client): open the changelog instead of release page 2024-02-16 04:30:09 +09:00
naskya
f61f152a2d
chore (backend): increase PostgreSQL default time limit 2024-02-16 04:17:28 +09:00
naskya
c511dd774b
feat (client): big post button 2024-02-16 04:14:19 +09:00
naskya
794443c859
feat (client): turn unread notification tab into reactions tab 2024-02-16 04:06:30 +09:00
naskya
b665a5bccf
chore: accept 15 featured posts 2024-02-16 03:59:48 +09:00
naskya
47a170cf47
chore: make nsfw setting deviceAccount 2024-02-16 03:55:31 +09:00
naskya
ff35195611
refactor: remove auto NSFW media detection 2024-02-16 01:08:05 +09:00
naskya
3d2ecadbc6
feat (client): ability to specify search engine in search bar MFM 2024-02-16 00:35:19 +09:00
naskya
fd523abdf7
style: emphasize "Follows you" sign on user pages as well
Should have done in 4eefd534d8
2024-02-16 00:19:35 +09:00
naskya
20127ff2b6
chore: update dependencies 2024-02-15 23:37:49 +09:00
naskya
4eefd534d8
style: emphasize "Follows you" sign 2024-02-15 23:33:12 +09:00
naskya
ab39ff5954
style: change back some colors in notifications 2024-02-15 23:25:50 +09:00
naskya
248cd96a39
feat: send the actual emoji reaction by the like button 2024-02-15 23:22:30 +09:00
naskya
a770ef4314
style: simplify notifications display 2024-02-15 23:15:59 +09:00
naskya
37a9a6e155
docs: 📑 fewer emojis and badges 2024-02-15 15:15:55 +09:00
naskya
a3c0713eb1
feat (client): ability to replace widgets button with reload button on mobile 2024-02-15 13:43:23 +09:00
naskya
f186e3ad7e
feat (client): ability to replace chat button with account menu on mobile 2024-02-15 13:35:26 +09:00
naskya
6b2bad1fb6
feat (client): separate settings for displaying rounded avatars for cat and non-cat accounts 2024-02-15 13:10:24 +09:00
naskya
e731457a24
chore: format 2024-02-14 22:59:02 +09:00
naskya
2f2ea4140a Merge branch 'button-align-items-fix' into 'develop'
fix: minor alignment issues in menus

Co-authored-by: Ryan Cao <615-ry@users.noreply.git.joinfirefish.org>

See merge request firefish/firefish!10668
2024-02-14 13:52:29 +00:00
Trojaner
a46d79d5da fix: replace urls to git.joinfirefish.org with firefish.dev
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-14 13:44:11 +00:00
Ryan Cao
efeea5b2d4
fix: minor alignment issues in menus 2024-02-14 15:45:57 +08:00