1
0
Commit Graph

28940 Commits

Author SHA1 Message Date
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
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
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
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
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
Hazelnoot b7a6ccfef9 enable hideOnlineStatus by default for new users 2024-12-09 09:29:42 -05:00
Caramel bb12109bc4 Make collapsed notes subscribe to stream
Previously, when the note was collapsed, it didn't get updates such
as reactions from streaming server. This was a problem, as any change
made to the post before it got uncollapsed would end up being ignored.
2024-12-09 11:41:42 +01:00
Marie 234d14a892 Revert import order update caused by saving 2024-12-09 05:21:53 +00:00
Marie dda922a030 remove splatting 2024-12-09 06:15:30 +01:00
Marie f02d099413 fix deletion of scheduled note 2024-12-09 06:15:29 +01:00
Marie 116a147202 remove comma added by vscode prettifer 2024-12-09 05:00:20 +00:00
Marie 152cc07483 Apply suggestions 2024-12-09 05:58:25 +01:00
Marie 1d0fd4c40b update locales 2024-12-09 05:34:12 +01:00
Marie b10eb7ada9 fix missing imports 2024-12-09 05:33:58 +01:00