Amelia Yukii
2e2dcb6b8d
merge: make the cap of activeRateLimitRequests
match the rate limit ( !602 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/602
Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-18 17:28:09 +00:00
dakkar
77144b058c
make the cap of activeRateLimitRequests
match the rate limit
...
It's trivial to have more than 128 requests in flight: open a busy
timeline, scroll a bit down, wait for many notes to arrive, scroll to
the top. The frontend will send "subscribe to note" messages for each
new note that it accumulated, all at once. We don't want to shut down
the connection in those common cases!
2024-08-18 17:57:51 +01:00
dakkar
d03c9f4b62
merge: fix offsetMode
in MkPagination
- fixes #622 ( !599 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/599
Closes #622
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 16:52:42 +00:00
dakkar
5ae21970d7
merge: relax websocket rate limits ( !601 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/601
Approved-by: Julia Johannesen <julia@insertdomain.name>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-18 15:48:06 +00:00
dakkar
caa0fecdc9
relax websocket rate limits
...
* the frontend opens 2 websockets at startup (I'm not completely clear
why), and that `minInterval:1sec` was breaking the second connection
* as the comment says, "catching up" generates many noteSubscribe
messages
2024-08-18 15:23:45 +01:00
Marie
38430f8ef3
merge: fix lints ( !594 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/594
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 13:11:27 +00:00
dakkar
d92402554b
merge: Rate limiting for websockets ( !598 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/598
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 12:09:25 +00:00
dakkar
38f25ab1b7
merge: fix: prevent error spam from ServerStatsService when running on Windows ( !600 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/600
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
2024-08-17 19:05:36 +00:00
Julia Johannesen
3dd993a76a
Add IP and user ID to connection close message
2024-08-17 14:27:43 -04:00
Julia Johannesen
c5f7dcbb7e
Come up with better limits
2024-08-17 14:17:58 -04:00
Julia Johannesen
aff57333d5
Add @types/proxy-addr
2024-08-17 13:12:16 -04:00
Julia Johannesen
9c1c1e9f09
Fix logging stuff
2024-08-17 13:08:46 -04:00
syuilo
76bbc10aa1
fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正
2024-08-17 17:54:04 +01:00
Hazel K
5e352033c8
fix error spam from ServerStatsService when running on Windows
2024-08-17 10:00:27 -04:00
Julia Johannesen
6d3f9503ed
Limit number of rate limit requests
2024-08-16 17:13:20 -04:00
dakkar
4cd44130e0
use the correct remote address
...
we're doing the same thing that Fastify does in the non-streaming
ServerService
2024-08-16 18:00:50 +01:00
dakkar
90e9480b92
fix offestMode
in MkPagination
- fixes #622
...
3f73251df5
reworked the way `offsetMode`
is handled, to allow reactive `ComputedRef<boolean>` in addition to a
simple `boolean`, so that custom emoji search could easily switch
between the faster `sinceId`/`untilId` pagination and the slower
`offset` as needed.
Or it would have, if I had written the correct expression! I wrote
`props.offsetMode` instead of `props.pagination.offsetMode`, so it was
always `false`
I have *no idea* how I didn't notice, I swear I tested it ☹
Anyway, factoring out the nested ternaries makes the whole thing
clearer and less prone to mistakes. And I have tested it, this time.
2024-08-16 14:41:04 +01:00
dakkar
994b6ef7d1
merge: i18n: add missing Japanese translations, fixes #613 ( !595 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/595
Closes #613
Approved-by: Marie <marie@kaifa.ch>
2024-08-16 11:27:43 +00:00
dakkar
bce9b8325c
merge: Addition of Japanese translation ( warnForMissingAltText ), fixes #614 ( !596 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/596
Closes #614
Approved-by: Marie <marie@kaifa.ch>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-08-16 11:26:55 +00:00
dakkar
8dcc637c41
merge: update pt_PT ( !597 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/597
Approved-by: Marie <marie@kaifa.ch>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-08-16 11:26:02 +00:00
dakkar
311a31da58
rough rate limiting for websockets
2024-08-15 11:35:51 +01:00
piuvas
1e3e823bf0
update pt_PT
2024-08-10 18:57:52 -03:00
kakkokari-gtyih
56c97ac244
add back original translation
...
appearently it's an upstream issue
2024-08-11 01:34:41 +09:00
kakkokari-gtyih
f06afff92e
i18n: add missing japanese translations
2024-08-11 01:21:23 +09:00
kanade
099278bd0c
Addition of Japanese translation ( warnForMissingAltText )
2024-08-10 23:40:03 +09:00
dakkar
01958da57f
merge: fix webfinger for instances without a /host-meta
( !593 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/593
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 20:49:11 +00:00
dakkar
9672f0b48e
fix comparison (thanks linter)
2024-08-06 21:21:38 +01:00
dakkar
03d9288f44
fix spacing (thanks linter)
2024-08-06 21:21:29 +01:00
dakkar
f33aedfc9f
merge: fix env variable type ( !592 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/592
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-08-06 19:41:26 +00:00
dakkar
8d29df64fa
fix webfinger for instances without a /host-meta
...
we were inconsistent with the colons, thanks to usedbunny for
noticing!
2024-08-06 19:07:01 +01:00
dakkar
4e7df7a5f2
merge: Remove infinite caches to prevent memory leak ( !587 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/587
Closes #600 and #601
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 16:51:18 +00:00
dakkar
790c75b1a3
merge: Add icon for moving files/folders - for !583 ( !586 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/586
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 16:33:17 +00:00
Hazel K
9930c64f2d
Fix timeout comments
...
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-06 12:13:17 -04:00
Marie
e82cc99528
chore: remove space
2024-08-06 15:59:24 +00:00
Marie
1033436349
chore: add note about updating css and font files
2024-08-06 15:58:56 +00:00
Marie
d798809875
upd: add back in timestamps on src
2024-08-06 15:54:18 +00:00
Marie
45611e504c
chore: fix positioning in contributing
2024-08-06 15:43:15 +00:00
Marie
6d7cebb61c
chore: add icon font to contributing
2024-08-06 15:39:19 +00:00
Marie
9d4d2a1fad
upd: align font with new repo
2024-08-06 15:35:52 +00:00
dakkar
2f97b5976f
merge: use XMLSerializer
for toMastoApiHtml
- fixes #556 ( !591 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/591
Closes #556
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 14:09:35 +00:00
dakkar
9de422280f
merge: feat: implement attachLdSignatureForRelays
to control signing of Relayed activities ( #599 ) ( !579 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/579
Closes #599
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:40:14 +00:00
dakkar
d899eb30b1
merge: delete old emoji file when replaced - fixes #608 ( !589 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/589
Closes #608
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:39:41 +00:00
dakkar
5c3a4925d6
merge: Improve the check_connect script ( !588 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/588
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:39:27 +00:00
dakkar
5565985f84
appease the linter
2024-08-06 11:35:03 +01:00
dakkar
8afe46122d
fix type for env variable
2024-08-06 11:32:26 +01:00
dakkar
712af44de4
merge: don't send real-time updates of replies to blocked users #457 #573 ( !566 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/566
Approved-by: Tess K <me@thvxl.se>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:26:40 +00:00
dakkar
f936db0599
merge: use correct user for preview/link of collapsed parent - fixes #575 ( !581 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/581
Closes #575
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:23:30 +00:00
dakkar
76a966041f
merge: Fall back to port 3000 if none is specified ( !584 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/584
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:23:08 +00:00
dakkar
b93494d746
merge: make sure that sensitive
is a boolean - fixes #596 ( !590 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/590
Closes #596
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 09:20:53 +00:00
dakkar
61c13241ba
use XMLSerializer
for toMastoApiHtml
- fixes #556
...
the `inline` bit is not pretty, but does the job
2024-08-06 10:13:53 +01:00