Marie
53d17b21f3
upd: add required boolean, hide timelines on required ID
...
Blocks guest timeline on sidebar and on welcome page if ID Verification is required
Blocks guests from going to timeline view, channels, antennas and lists
2024-09-12 00:41:56 +02:00
Marie
c3e2ca9314
upd: remove additional check and comment
2024-09-11 22:05:00 +02:00
Marie
74e720c294
upd: move the prompting of the id verification from page into router
2024-09-11 22:04:36 +02:00
Marie
2eaff3388f
upd: make sure system users get the values properly set
2024-09-08 12:55:12 +02:00
Marie
ed95e8168c
chore: apply suggestions
2024-09-07 12:40:02 +02:00
Marie
58c8c00376
upd: create verification dialog
2024-08-29 22:16:10 +02:00
Marie
1caf3636d1
upd: add typing for misskey-js
2024-08-29 21:52:18 +02:00
Marie
b60dd15568
chore: make stripeAgeCheck not type undefined
2024-08-29 18:41:32 +02:00
Marie
b3b5872e3e
upd(config): change the way stripeAgeCheck is handled in config file
2024-08-23 20:09:15 +02:00
Marie
dbded3b68d
upd: remove idSession since Stripe tends to return NULL
2024-08-23 20:00:26 +02:00
Marie
0627f84e30
upd: move stripe webhook into its own service
2024-08-23 14:11:39 +02:00
Marie
03039d110a
upd: import config properly
2024-08-23 13:21:19 +02:00
Marie
da4f0c75fc
add: webhook
2024-08-23 13:19:34 +02:00
Marie
a56066ce53
add(migration): add two new columns to user for ID Check
2024-08-19 07:19:25 +02:00
Marie
531e4a43ad
upd(configs): add new StripeVerify boolean
2024-08-19 07:08:57 +02:00
Marie
e7a08244d4
add(packages): stripe
2024-08-19 07:02:33 +02:00
dakkar
f5560783ea
merge: misskey 2024.7 ( !583 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/583
Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 18:32:27 +00:00
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
a58df8ac7c
Merge branch 'develop' into feature/misskey-2024.07
2024-08-18 13:13:23 +01: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
Marie
27935a6061
upd: apply suggestions on en-US locales
...
Suggestions made by @Leah
2024-08-16 15:52:40 +00:00
Marie
5358c4f1d0
chore: fix typo in icon name
2024-08-16 13:50:02 +00: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
かっこかり
b9097d968c
fix(backend): getApTypeでエラーを投げないように (misskey #14361 )
2024-08-16 12:38:18 +01:00
dakkar
4b77419c7a
Merge branch 'feature/add-translation-key' into feature/misskey-2024.07
2024-08-16 12:32:12 +01:00
dakkar
eb3abf5023
add `warnForMissingAltText` key to translation index
2024-08-16 12:29:09 +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
dakkar
c2b825b300
a few more fixes to `os.popup` calls
2024-08-14 12:28:57 +01:00
dakkar
99a0765eaf
Merge branch 'develop' into feature/misskey-2024.07
2024-08-14 11:53:57 +01:00
dakkar
5b808a97b2
update all our uses of `os.popup`
2024-08-14 11:50:39 +01:00
dakkar
917eb821e5
fix indent
2024-08-14 11:31:21 +01:00
dakkar
ee2bc0d370
move lines to same place as upstream
2024-08-14 11:30:43 +01:00
piuvas
1e3e823bf0
update pt_PT
2024-08-10 18:57:52 -03:00