Commit graph

29235 commits

Author SHA1 Message Date
dakkar
18e6b733ab add missing English translations
misskey still doesn't have these… I'm putting them here because these
are not Sharkey-specific strings

and yes, this *will* cause conflicts on the next merge
2024-12-16 20:40:23 +00:00
dakkar
e2352839e4 merge: upstream changes for 2024.11 (!742)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/742

Closes #645 and #646

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 17:27:12 +00:00
Hazelnoot
fd0ecb22cf merge: Fix rate limits under multi-node environments (!809)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/809

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 16:53:48 +00:00
Hazelnoot
dfcba23e0b merge: Add locales and new navbar entry (!815)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/815

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:46:23 +00:00
Hazelnoot
47a7b0a286 merge: Fix notifications breaking due to deleted role being assigned (!816)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/816

Closes #630

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:45:24 +00:00
dakkar
3efa8ac986 merge: Update Leah's profile picture in about-sharkey (!818)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/818

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:40:04 +00:00
CenTdemeern1
696a5d852c Update Leah's profile picture in about-sharkey 2024-12-15 17:08:52 +01:00
JeDaYoshi
535e0c69ce
Fix notifications breaking due to deleted role being assigned 2024-12-13 16:49:19 -04:00
dakkar
9dc03858bd merge: on 429, retry fetchAccount instead of failing (!817)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/817

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-13 18:33:36 +00:00
dakkar
9b1fc96908 fix passing rate limiting info via ApiError 2024-12-13 16:18:10 +00:00
dakkar
0c1dd73341 on 429, retry fetchAccount instead of failing
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.

treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.

this code makes the frontend retry, after waiting the appropriate
amount of time.

seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
Marie
b2facb2ee8 revert forced editor eslint formatting 2024-12-12 20:48:50 +00:00
Marie
dddfdf8a13
Add locales and new navbar entry 2024-12-12 21:45:54 +01:00
dakkar
96aa5f3ad5 upstream merge checklist: remember to check federated profile fields 2024-12-12 17:42:19 +00:00
dakkar
e9f68ab2b0 actually publish profile updates with changes to new mk fields
I had forgotten to check these
2024-12-12 17:40:22 +00:00
dakkar
b266a5f9f6 Merge branch 'develop' into feature/2024.10 2024-12-12 17:38:29 +00:00
Hazelnoot
d18317a7c8 merge: Add "enable RSS" user privacy toggle (resolves #826) (!806)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/806

Closes #826

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-12 17:34:29 +00:00
Hazelnoot
9d76cc08cb merge: Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs (resolves #829) (!814)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/814

Closes #829

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 13:50:31 +00:00
Leah
d1fe3da4b8 remove old unused imports 2024-12-12 14:38:28 +01:00
Hazelnoot
34c5a3a3b6 fix WebhookTestService.ts 2024-12-12 08:13:47 -05:00
Hazelnoot
d95ec3de5f fix declaration of User.enableRss property 2024-12-12 08:13:47 -05:00
Hazelnoot
1c65f23445 safer typings for userNeedsPublishing and profileNeedsPublishing 2024-12-12 08:13:44 -05:00
Hazelnoot
02b600c9da federate profile when changing enableRss value 2024-12-12 08:12:44 -05:00
Hazelnoot
fe37aa2ce8 Add "enable RSS" user privacy toggle 2024-12-12 08:11:55 -05:00
dakkar
943c6414d8 merge: Enable by default and federate "hide online status" (resolves #823) (!807)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/807

Closes #823

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-12-12 13:08:19 +00:00
dakkar
bdb00fcaf2 update css variable references 2024-12-12 13:07:06 +00:00
dakkar
6d4ae93592 Merge branch 'develop' into feature/2024.10 2024-12-12 13:04:51 +00:00
Leah
b2387cbfef Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs 2024-12-12 14:00:43 +01:00
Marie
8eb9c20df7 merge: Schedule Notes (!804)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/804

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 12:50:11 +00:00
Hazelnoot
00c4637b11 federate profile when hideOnlineStatus changes 2024-12-12 07:34:14 -05:00
dakkar
324449786d merge: fix icons in dev mode (!813)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/813

Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-12 10:50:50 +00:00
おさむのひと
9a44b37d03 fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する (#15033)
* fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する

* fix CHANGELOG.md
2024-12-12 10:47:02 +00:00
dakkar
cf8d212d16 fix a name 2024-12-12 10:29:04 +00:00
dakkar
33fd4648ae fix icons in dev mode
running `pnpm dev` would not show any of our icons

this fixes it well enough
2024-12-12 10:27:46 +00:00
dakkar
0ebdf91b28 fix pleaseLogin on *NoteSub
we really need to factor these things out
2024-12-12 10:04:54 +00:00
Hazelnoot
755ff8783b clarify naming of legacy rate limit methods 2024-12-11 14:07:25 -05:00
Hazelnoot
72d18602d8 fix SkRateLimiterService tests 2024-12-11 14:07:14 -05:00
Hazelnoot
1377873b1d fix typos and wording in SkRateLimiterService.md 2024-12-11 11:16:30 -05:00
Hazelnoot
0f5c78a69b increase chart rate limits (fixes 429s in control panel / info pages) 2024-12-11 09:10:56 -05:00
Hazelnoot
0ea9d6ec5d use atomic variant of Leaky Bucket for safe concurrent rate limits 2024-12-11 09:10:11 -05:00
Hazelnoot
407b2423af fix redis transaction implementation 2024-12-10 19:01:35 -05:00
Marie
d6297f2035 merge: Fix: scrolling alt text using a mouse (!810)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/810

Closes #654

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-10 15:44:39 +00:00
CenTdemeern1
5cc77b64bf Fix scrolling alt text using a mouse
Co-authored-by: BlankEclair <blankeclair@disroot.org>
2024-12-10 15:12:56 +01:00
dakkar
98b6323076 merge: Make collapsed notes subscribe to stream (!805)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/805

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-12-10 12:03:23 +00:00
Hazelnoot
ead781900d enable rate limits for dev environment 2024-12-09 19:04:59 -05:00
Hazelnoot
9daafca155 fix rate limits under multi-node environments 2024-12-09 19:04:06 -05:00
Marie
ee01d5fbdf merge: user profile: only default to "pinned notes" if they exist (!808)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/808

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-09 18:36:00 +00:00
Marie
bf01dcd8fb
Apply suggestions 2024-12-09 18:58:57 +01:00
dakkar
0d9d952d2c user profile: only default to "pinned notes" if they exist
it's sensible to show the pinned notes first *if they exist*

if there's nothing pinned, we're just showing an empty list

let's show the "notes" tab in that case
2024-12-09 15:40:54 +00:00
Hazelnoot
5af8432725 federate hideOnlineStatus 2024-12-09 09:36:23 -05:00