Commit graph

2196 commits

Author SHA1 Message Date
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
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
cd0aef1166
fix (backend): incorrect database index
ref: d30239b5e7
2024-03-13 13:12:23 +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
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
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
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
4c38d9665e
chore: lint 2024-03-02 14:24:05 +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
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
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
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
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
6a002fd785 fix: unrenote should only delete renotes, not quotes (Catodon #67) 2024-02-26 20:44:14 +08: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
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
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
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
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
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
42dfe1e0c1
fix (backend): undefined reference 2024-02-16 14:17:22 +09:00
naskya
f61f152a2d
chore (backend): increase PostgreSQL default time limit 2024-02-16 04:17:28 +09:00
naskya
b665a5bccf
chore: accept 15 featured posts 2024-02-16 03:59:48 +09:00
naskya
ff35195611
refactor: remove auto NSFW media detection 2024-02-16 01:08:05 +09:00
naskya
20127ff2b6
chore: update dependencies 2024-02-15 23:37:49 +09:00
naskya
248cd96a39
feat: send the actual emoji reaction by the like button 2024-02-15 23:22:30 +09: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
naskya
09396e33a4
refactor: firefish-js & backend-rs imports 2024-02-13 00:40:46 +09:00
naskya
fe0bfe31b3
meta: backend/native-utils -> backend-rs 2024-02-12 23:14:23 +09:00
naskya
4356099fec
refactor: remove database migrations in Rust 2024-02-12 22:45:47 +09:00
naskya
5ff1afc4f2
dev: remove Cypress tests
We'll use mocha and ava
2024-02-12 22:25:55 +09:00
naskya
49fa0975ca
chore: format 2024-02-12 02:50:57 +09:00
naskya
dc66474eef
fix (api): fetch latest version from new repository 2024-02-12 02:49:36 +09:00
naskya
88058287e4
chore: upgrade dependencies (TypeScript)
holding @swc/cli and megalodon
2024-02-11 02:43:22 +09:00
naskya
777a5a6bf7
chore: fetch patrons from local file 2024-02-11 02:33:16 +09:00
naskya
151ec3523c
chore: specify nofollow,noarchive,nocache,noimageindex in addition to noindex 2024-02-11 02:31:53 +09:00
naskya
ff75e292d9
chore: format 2024-02-11 02:30:10 +09:00
MeiMei
cf5b42a160
feat: accept more signature algorithms like ECDSA/Ed25519
cf. 3272b908c6

Co-authored-by: naskya <m@naskya.net>
2024-02-09 04:27:28 +09:00
naskya
99c592f4dd
chore: format 2024-02-09 04:14:28 +09:00
sup39
78c9911788
refactor (backend): change !== null to != null
This actually fixes some errors 🥴

Co-authored-by: naskya <m@naskya.net>
2024-02-09 04:12:47 +09:00
naskya
42fc787731 Merge branch 'develop' into 'develop'
fix feed query params

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

See merge request firefish/firefish!10654
2024-02-07 11:34:38 +00:00
cg sama
16ab8cca36 fix feed query params
Co-authored-by: CGsama <CGsama@outlook.com>
2024-02-07 11:34:38 +00:00
naskya
e5dd94bfc9 Merge branch 'feat/pleroma-chat' into 'develop'
feat: support ChatMessage type

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

See merge request firefish/firefish!10660
2024-02-07 11:33:41 +00:00
naskya
7e4fd0e28e feat: support ChatMessage type
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-02-07 11:33:41 +00:00
naskya
ddde16cfdf Merge branch 'language' into 'develop'
Add language picker to post form

Co-authored-by: sup39 <dev@sup39.dev>
Co-authored-by: Essem <smswessem@gmail.com>

Closes #9692

See merge request firefish/firefish!10616
2024-02-06 04:23:56 +00:00
naskya
57116f7371
fix: undefine unspecified parameters on profile updates 2024-01-11 10:26:30 +09:00
naskya
d240f8f4c3 upgrade dependencies (Rust)
Co-authored-by: Namekuji <nmkj@waah.day>
2024-01-11 01:21:46 +00:00
naskya
f8b45339fd
chore: copy langmap to backend 2023-12-27 05:53:25 +09:00
naskya
486c4a13bc
Revert "chore: symlinc langmap to backend"
This reverts commit 206d3c27f1.
2023-12-27 05:52:55 +09:00
naskya
73802dfc9f
Merge branch 'develop' into language 2023-12-27 05:50:55 +09:00
naskya
206d3c27f1
chore: symlinc langmap to backend 2023-12-27 05:44:50 +09:00
naskya
cea65f58d7
fix: profile updates fail if language isn't specified 2023-12-27 05:41:11 +09:00
mei23
4a659e131a
fix: prohibit Apps to use admin/moderator permission 2023-12-27 03:33:48 +09:00
ThatOneCalculator
9f3d0a2656
refactor: 🔥 remove unused constants 2023-12-07 10:44:23 -08:00
ThatOneCalculator
73cf3b64e5
refactor: 🔥 remove local twemoji in backend assets, replace with @discordapp/twemoji
They ended up publishing svg in dist
2023-12-06 11:11:42 -08:00
ThatOneCalculator
6d602fa80a
chore: 🎨 format 2023-12-05 19:32:39 -08:00
Kainoa Kanter
30a33a7445 Merge branch 'fix/nodeinfo' into 'develop'
fix: nodeinfo 2.0 compliance

Co-authored-by: naskya <m@naskya.net>

Closes #10798

See merge request firefish/firefish!10643
2023-12-05 18:46:39 +00:00
ThatOneCalculator
623cadf981
Revert "chore: lint import order"
This reverts commit 8d3c35c0c6.
2023-12-04 23:12:10 -08:00
ThatOneCalculator
a6f0143017
refactor: ♻️ isNan -> Number.isNan 2023-12-04 22:36:57 -08:00
ThatOneCalculator
34ce779309
chore: 🎨 format 2023-12-04 19:52:37 -08:00
ThatOneCalculator
e958834158
refactor: ♻️ Upgrade Twemoji to Emoji 15.0
Adds a new option to load Twemoji from the JSDelivr CDN (default) or from the server.  For Twemoji stored on the server,  they are grabbed directly from the @twemoji/api Github repo's assets, given they're no longer distributed in the @twemoji/api dist. No longer uses @discordapp/twemoji due to being unmaintained.
2023-12-04 19:50:44 -08:00
ThatOneCalculator
00f8924030
fix: 🐛 service worker notification badges 2023-12-04 19:07:26 -08:00
Kainoa Kanter
373ed7028e Merge branch 'fix/unicode-15' into 'develop'
fix: ⬆️ switch from twemoji-parser to @twemoji/parser


See merge request firefish/firefish!10645
2023-12-04 04:45:42 +00:00
Kainoa Kanter
1d870fa78d fix: ⬆️ switch from twemoji-parser to @twemoji/parser 2023-12-04 04:45:42 +00:00
blueb
e1dcba9aba fix ignoring person._misskey_summary on updating remote profiles 2023-12-04 04:45:33 +00:00
mei23
831b3d4ee2
fix: filter featured collection
Co-authored-by: naskya <m@naskya.net>
2023-12-02 20:25:36 +09:00
naskya
e8b21b593a
chore: remove unneeded files 2023-12-02 06:23:37 +09:00
naskya
7d5bbfa180
Merge branch 'develop' into language 2023-12-01 07:16:58 +09:00
Essem
fe16b6e41d
fix: Don't provide lang when no language is selected 2023-11-29 00:32:23 -06:00
naskya
3570406b05
fix: nodeinfo 2.0 compliance 2023-11-29 04:22:11 +09:00
naskya
7803aa80d0
chore: format 2023-11-29 04:05:57 +09:00
Essem
8555496146
feat: Add "no language" option to language picker 2023-11-28 10:47:48 -06:00
naskya
b87a28622a
Revert "fix: ♻️ add data.localOnly back to dontFederateInitially check"
Closes #10817

This reverts commit 31ccedf177.
2023-11-29 00:48:10 +09:00
ThatOneCalculator
a6aa7d2b74
chore: 🔥 remove unused ID methods 2023-11-26 12:37:35 -08:00
ThatOneCalculator
8d3c35c0c6
chore: lint import order 2023-11-26 12:33:46 -08:00
Kainoa Kanter
c35dbe2645 Merge branch 'more-links' into 'develop'
feat: ability to pin custom pages to the help menu

Co-authored-by: naskya <m@naskya.net>

See merge request firefish/firefish!10640
2023-11-26 20:14:02 +00:00
naskya
e7e6ae69e0 feat: ability to pin custom pages to the help menu 2023-11-26 20:14:02 +00:00
ThatOneCalculator
2f7b3070ee
chore: format 2023-11-26 12:06:21 -08:00
Laura Hausmann
3272b908c6
fix: 🔒 Fix HTTP signature validation
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-26 12:04:17 -08:00
naskya
dadb45f609
fix: syntax error
at least this compiles
2023-11-27 01:11:07 +09:00
ThatOneCalculator
a256f48b74
fix 2023-11-24 18:06:24 -08:00
ThatOneCalculator
a8b33b5415
fix: 🐛 SOMETHING_HAPPENED_IN_PROMISE when LANGS isn't found 2023-11-24 18:04:06 -08:00
naskya
f8e935b120
Merge branch 'develop' into firefish-language 2023-11-22 22:02:27 +09:00
naskya
24deab1743
chore: remove unused dependencies 2023-11-18 19:21:23 +09:00
naskya
2dcc46a9e3
chore: remove language detection from backend 2023-11-17 17:50:20 +09:00
naskya
558867dac5
Merge branch 'develop' into firefish-language 2023-11-17 16:54:48 +09:00
naskya
2d9d6e9fb7
chore: lint 2023-11-17 05:18:19 +09:00
naskya
97bb495636
chore: upgrade dependencies (except for @swc/core and megalodon) 2023-11-17 05:15:02 +09:00
naskya
845f08893f
fix: upgrade AiScript!
There are braking changes in the AiScript syntax, so existing plugins must alse be upgraded
Also, I didn't include the function that can call remote servers' API (which is present in the latest Misskey)

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2023-11-17 05:04:05 +09:00
ThatOneCalculator
31ccedf177
fix: ♻️ add data.localOnly back to dontFederateInitially check
ref: https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10639#note_2651
2023-11-12 10:46:28 -08:00
nakkaa
8ef1130330
fix: add missing entry in manifest.json so that PWA can use it 2023-11-11 02:20:33 +09:00
cg sama
7fa737e8b8 fix import notes federated initially
Co-authored-by: CGsama <CGsama@outlook.com>
2023-11-10 15:32:23 +00:00
naskya
7323f4f8a1 Merge branch 're2-update' into 'develop'
Fix build on node 21

Co-authored-by: Jegler <jegler@heckin.how>

See merge request firefish/firefish!10635
2023-11-07 14:02:26 +00:00
Jegler
fbfa4cd41f Fix build on node 21 2023-11-07 14:02:25 +00:00
naskya
70503d698f
fix: reactions_not_public condition 2023-10-31 14:00:54 +09:00
naskya
adee17b85a
chore: organize backend imports
* remove unused/duplicate imports
* replace paths like "../../../define.js" to be more readable
* add missing @types packages
2023-10-30 18:06:08 +09:00
ThatOneCalculator
b8a85257a0
refactor: 🔥 remove unused reference to MisskeyClient 2023-10-29 14:02:14 -07:00
ThatOneCalculator
981165ae8b
feat: Support for _misskey_summary
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
ref: https://github.com/misskey-dev/misskey/pull/12184
2023-10-29 13:37:28 -07:00
naskya
cb53dab8bd fix: check isIndexable in built-in post search 2023-10-29 10:03:07 +00:00
Kainoa Kanter
abceee2823 Merge branch 'develop' into 'develop'
Fix use of wrong library for CBOR authentication object

Co-authored-by: PrivateGER <privateger@privateger.me>

See merge request firefish/firefish!10629
2023-10-27 17:57:23 +00:00
naskya
9f1a7d90c6 remove integrations from nodeinfo 2023-10-27 15:56:57 +00:00
naskya
27d7e456cd fix: targetLang is xx-yy or xx_yy 2023-10-26 03:03:38 +00:00
naskya
993340bae6
fix: overlooked fix in cdf839bc 2023-10-23 18:32:49 +09:00
PrivateGER
64b83ddb9f
Fix use of wrong library for CBOR authentication object 2023-10-22 21:23:52 +02:00
naskya
e81ed199ae
Revert "chore: upgrade biome + lint & format"
This reverts commit a1cd9f73a1.
2023-10-22 17:33:40 +09:00
ThatOneCalculator
a1cd9f73a1
chore: upgrade biome + lint & format 2023-10-19 17:10:30 -07:00
ThatOneCalculator
53949b668a
docs: 📝 Misskey -> Firefish in documentation/comments/WebAuthn name 2023-10-19 17:01:02 -07:00
naskya
d1bb6e02e9
hotfix: don't use upstream megalodon for now 2023-10-19 04:59:38 +09:00
naskya
f8db9119c6
Merge branch 'develop' into firefish-language 2023-10-17 12:44:55 +09:00
ThatOneCalculator
d09a77cd2a
chore: format 2023-10-16 18:56:15 -07:00
Erin Shepherd
c4ec2d0942 fix: Refetch user keys when HTTP Signature validation fails
Co-authored-by: Erin Shepherd <erin.shepherd@e43.eu>
2023-10-17 01:27:26 +00:00
naskya
bdf3311402
fix: cache muted words 2023-10-17 07:55:07 +09:00
naskya
ae637ec85b
fix: consider hard mutes in antennas 2023-10-17 07:34:19 +09:00
naskya
93769b79b1
chore: minor refactor of check-word-mute 2023-10-17 07:28:58 +09:00
naskya
3b9f161251
chore: minor refactor of check-hit-antenna 2023-10-17 07:14:01 +09:00
naskya
2efb22de40
fix typo 2023-10-17 04:56:29 +09:00
naskya
cdf839bcc8 Remove integrations 2023-10-16 17:05:32 +00:00
Essem
6312935a54
fix: 🌐 Change Simplified/Traditional Chinese names 2023-10-15 12:55:51 -05:00
Essem
be163498c0
feat: 🌐 Add language picker to post form
This also refactors the langmap and makes many other small language-related changes to get it working.

Fixes #9692
2023-10-05 22:28:12 -05:00
naskya
92758a29f1
partially fix Mastodon API 2023-10-05 00:56:56 +09:00
Kainoa Kanter
92c45ff02f Merge branch 'refactor/upstream-megalodon' into 'develop'
refactor: ♻️ use upstream megalodon


See merge request firefish/firefish!10605
2023-10-03 07:54:13 +00:00
Kainoa Kanter
a9167c0265 refactor: ♻️ use upstream megalodon 2023-10-03 07:54:13 +00:00
ThatOneCalculator
af730e75b6
fix: 🐛 strange heart reaction behavior 2023-10-02 22:31:04 -07:00
naskya
b121e4bc9d
fix format/lint command 2023-10-03 01:32:36 +09:00
naskya
c3ffb4c52d
chore: add a description of an API parameter 2023-09-30 19:02:28 +09:00
naskya
789d05bed3
fix: this "else" is unneeded 2023-09-30 18:50:45 +09:00
ThatOneCalculator
01dd71c4d3
feat: 💄 Use Atkinson Hyperlegible as default font 2023-09-26 14:23:38 -07:00
ThatOneCalculator
cd7c10b7eb
refactor: 🍱 use webp for error images instead of avif
Ended up having better compression and wider compatibility
2023-09-25 20:57:14 -07:00
naskya
3ba12772d8
bring back Chinese cat mode 2023-09-24 18:12:29 +09:00
naskya
6d899518b3
chore: make language detection a reusable function in frontend as well 2023-09-24 17:58:21 +09:00
naskya
87c54575c1
filter out MFM syntaxes before detecting the post language 2023-09-24 17:50:23 +09:00
ThatOneCalculator
284795fdf5
fix: 🐛 when favorouting/unfavouriting with Mastodon API, send instance default reaction 2023-09-23 22:05:25 -07:00
Kainoa Kanter
081d723cff Merge branch 'refactor/firefishjs-imports' into 'develop'
Refactor: firefishjs imports


See merge request firefish/firefish!10607
2023-09-24 04:27:16 +00:00
Kainoa Kanter
9ea046c011 Refactor: firefishjs imports 2023-09-24 04:27:16 +00:00
naskya
0928a3d93a
chore: remove unused import 2023-09-24 12:38:17 +09:00
ThatOneCalculator
3ee3413006
feat: 🍱 new error images
ref: https://minazukey.uk/notes/9jzr3jsrwvcmlcjp
2023-09-23 08:42:33 -07:00
naskya
17d94c5ff7 fix: non-Firefish cats not being nyanified 2023-09-23 05:08:20 +00:00
Essem
22ef74d92c feat: Implement module player 2023-09-22 03:48:54 +00:00
ThatOneCalculator
260f444fb8
chore: 🎨 format 2023-09-21 20:21:15 -07:00
Essem
4aceb2e119
fix: 🐛 normalize post language strings
ref: !10603
NOTE: if you upgraded to 4a7bad11c6 but before this commit, manually download and run this migration: 0f5e09d3ae/packages/backend/migration/1695348946091-normalize-locales.js
2023-09-21 19:42:10 -07:00
Kainoa Kanter
012fe2c920 Revert "Merge branch 'fix/normalize-lang-locales' into 'develop'" 2023-09-22 02:36:57 +00:00
Essem
0efa3e170c Normalize post language strings 2023-09-22 02:33:56 +00:00
Essem
4a7bad11c6 feat: Add post language data to backend and API 2023-09-22 01:29:33 +00:00
Essem
bac39db74b Add contentMap to outgoing posts via language detection 2023-09-21 21:13:09 +00:00
ThatOneCalculator
6e8aa76f2d
chore: 🎨 format 2023-09-20 23:30:19 -07:00
ThatOneCalculator
d9274de0a7
refactor: ♻️ unessicary function 2023-09-20 22:53:00 -07:00
ThatOneCalculator
bbb2396d89
refactor: 💥 properly deprecate legacy reactions 2023-09-20 22:48:50 -07:00
ThatOneCalculator
ecb0956d20
refactor: 🔥 remove old tests 2023-09-20 22:43:55 -07:00
ThatOneCalculator
b13e0b0a54
Revert "refactor: 🔥 remove legacy reactions"
This reverts commit c119abc36c.
2023-09-20 22:42:37 -07:00
ThatOneCalculator
05b7fd0fc5
Merge branch 'develop' of git.joinfirefish.org:firefish/firefish into develop 2023-09-20 22:35:14 -07:00
ThatOneCalculator
baba9b068b
fix: 🐛 properly decode reaction 2023-09-20 22:35:10 -07:00
naskya
e31f86aa19 chore: change function name
I used `detectLanguage_` in client just because I wanted to use the name `detectLanguage` for another function (and the name `detect` sounds ambiguous)
2023-09-21 05:30:13 +00:00
ThatOneCalculator
238f80ae02
add back _misskey_quote & _misskey_vote extensions 2023-09-20 22:25:46 -07:00
ThatOneCalculator
f06aebca98
Revert "refactor: 🔥 remove _misskey_reaction and _misskey_votes"
This reverts commit b0be07fb0a.
2023-09-20 22:25:18 -07:00
ThatOneCalculator
06f7c8eb20
fix: 🐛 Add missing references to speakAsCat 2023-09-20 21:55:51 -07:00
ThatOneCalculator
b838331129
fix: 🐛 speakLikeCat -> speakAsCat 2023-09-20 21:29:08 -07:00
ThatOneCalculator
f81baa373c
chore: 🎨 format 2023-09-20 21:20:22 -07:00
ThatOneCalculator
7bb8473fc7
refactor: Make speakAsCat an ActivityPub extension
https://joinfirefish.org/ns/#speakascat
Closes #10744
2023-09-20 21:19:39 -07:00
ThatOneCalculator
b0be07fb0a
refactor: 🔥 remove _misskey_reaction and _misskey_votes
BREAKING: breaks poll federation with very old Misskey versions
2023-09-20 21:16:03 -07:00
ThatOneCalculator
a67fb5dc7a
refactor: 🔥 Remove _misskey_content and _misskey_quote
Should improve federation performance by removing duplicate content

BREAKING: Breaks MFM content and quote compatibility with Misskey before v12/v11(?)
2023-09-20 20:51:05 -07:00
ThatOneCalculator
c119abc36c
refactor: 🔥 remove legacy reactions
BREAKING: Breaks emoji reaction compatibility with Misskey versions before custom reactions were added (v9?)
2023-09-20 20:48:13 -07:00
ThatOneCalculator
70ad42c49c
fix: 🚑 downgrade swc to 1.3.78
Closes #10751
2023-09-20 10:17:00 -07:00
ThatOneCalculator
71ea5c4f93
rm langdetect 2023-09-19 17:18:00 -07:00
ThatOneCalculator
2a1f119944
rm src/@types/cld.d.ts 2023-09-19 17:16:56 -07:00
ThatOneCalculator
414f6df104
simplify 2023-09-19 17:15:13 -07:00
ThatOneCalculator
5964a10571
cld -> tinyld 2023-09-19 17:11:37 -07:00
cg sama
90f01edddc Adding language filter feature
Co-authored-by: CGsama <CGsama@outlook.com>
2023-09-20 00:07:41 +00:00
ThatOneCalculator
bf6b480f49
pin swc 2023-09-19 16:14:53 -07:00
Kainoa Kanter
e07c9e9e50 Merge branch 'fix/timeline-query' into 'develop'
fix: ⚗️ Fix variables?


See merge request firefish/firefish!10594
2023-09-19 22:36:05 +00:00
Kainoa Kanter
bb7f743127 fix: ⚗️ Fix variables? 2023-09-19 22:36:05 +00:00
ThatOneCalculator
1914e568bb
perf: use existing response 2023-09-17 21:08:28 -07:00
naskya
d004df52be
fix: "show replies in timeline" refactoring was not backward compatible 2023-09-16 12:20:23 +09:00
naskya
b4bb455c09
fix?: speakAsCat not being federated 2023-09-13 10:07:16 +09:00
naskya
b84a10a6ec
make word mutes case insensitive (close #10724) 2023-09-10 05:00:06 +09:00
Kainoa Kanter
4565867b8b perf: Replace JSDOM with Happy DOM 2023-09-08 03:24:01 +00:00
Kainoa Kanter
6d1965ce94 feat: indexable User property 2023-09-04 02:34:04 +00:00
ThatOneCalculator
5acb6c449d
chore: 🎨 format 2023-09-03 14:06:30 -07:00
naskya
f1451c659d
fix: require credentials in the notes/translate endpoint 2023-09-03 11:18:48 +09:00
ThatOneCalculator
7e0c9ddc11
artifacting 2023-09-02 12:23:58 -07:00
Namekuji
fc97614782 fix: release redis locks 2023-09-02 19:22:13 +00:00
ThatOneCalculator
7cdd6af262
fix: 🐛 smaller maskable icon 2023-09-02 12:15:15 -07:00
ThatOneCalculator
d1a4bbf597
maskable icon 2023-09-02 11:55:53 -07:00
ThatOneCalculator
86cad1056c
docs: 🔒 robots.txt asset
Closes #10640, #10608
2023-09-02 11:44:31 -07:00
ThatOneCalculator
f72c9b818c
fix: 💡 biome still uses rome-ignore 2023-09-02 11:44:31 -07:00
Kainoa Kanter
684d4344ba
perf: seperate web and queue workers
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2023-09-02 11:42:47 -07:00
ThatOneCalculator
ea954bdf4c
fix: 🐛 natural PWA orientation
fixes chrome mobile rotating screen even when device rotation is off
2023-09-02 09:01:02 -07:00
ThatOneCalculator
1deeb78878
build: ♻️ Rome -> Biome
Rome is now discontinued, and Biome has taken its place
2023-09-01 21:16:14 -07:00
ThatOneCalculator
68dea6f0c3
fix: 🐛 more strange unlock calls 2023-09-01 19:26:53 -07:00
ThatOneCalculator
805230341e
fix: 🐛 unlock undefined 2023-09-01 19:19:42 -07:00
ThatOneCalculator
4ed0b60621
refactor: 🥚 ansi art for master.ts 2023-09-01 19:12:25 -07:00
ThatOneCalculator
4ea3cbd7a9
refactor: 🥚 new ansi art 2023-09-01 19:12:17 -07:00
Kainoa Kanter
bbfc9bc832
Merge branch 'feature/manifest-scope' into 'develop'
feat: add `"scope": "/"` to the web app manifest

See merge request firefish/firefish!10564
2023-09-01 19:11:49 -07:00
ThatOneCalculator
9ea5cc3f5f
fix: ♻️ Manifest (icons, name, orientation)
Closes #10694
2023-09-01 19:11:42 -07:00
ThatOneCalculator
2fb65cdd86
chore: ⬆️ up deps (properly) 2023-09-01 19:11:27 -07:00
ThatOneCalculator
a75a19cd17
chore: 🚨 lint megalodon 2023-09-01 16:36:33 -07:00
ThatOneCalculator
34e2f7ada6
chore: 🔧 linting config 2023-09-01 16:32:41 -07:00
ThatOneCalculator
2442a7535d
Revert "perf: delete transformedOptions key -> assign undefined with key literal"
This reverts commit 652ecd2d16.
2023-09-01 09:42:38 -07:00
Kainoa Kanter
9ea14ceed6 Merge branch 'traditional-chinese-post-translation' into 'develop'
feat: post translation in Traditional Chinese

Closes #9827

See merge request firefish/firefish!10580
2023-08-30 21:01:23 +00:00
Namekuji
d0e92c69cd fix: remove native-utils from migration's dependencies 2023-08-30 20:59:40 +00:00
naskya
82e5114576
feat: post translation in Traditional Chinese 2023-08-30 19:39:14 +09:00