Marie
3a86a8a3b6
chore: lint
2024-09-14 22:33:30 +02:00
Marie
28ec785c50
upd: add temporary block to certain api endpoints
...
This will be only temporary till a better solution is available
2024-09-14 22:32:36 +02:00
Marie
2726e7e546
chore: lint
2024-09-14 14:40:00 +02:00
Marie
5cd11cacdc
upd: apply suggestions
2024-09-14 14:11:12 +02:00
Marie
43ee1c52b8
upd: use metadata to fetch idRequired value
...
This should speed up the loading as it doesn't need to load all the instance info on initial load then
2024-09-14 01:07:33 +02:00
Marie
fe32d3a4d9
lint
2024-09-14 00:25:29 +02:00
Marie
46f9bcc8dc
chore: make features in meta not optional on detailed
...
Why did Misskey set the optional boolean on features between 2024.6 and 2024.8 considering it will always have values when called via detailed
2024-09-14 00:18:16 +02:00
Marie
737b919c33
upd: handle failed id verifications
2024-09-14 00:04:59 +02:00
Marie
63368deab9
upd: let mod/admin prompt for id verification
2024-09-13 23:36:31 +02:00
Marie
c33f474620
Merge branch 'develop' into add/id
2024-09-13 22:54:32 +02:00
Julia
d4c5322f9c
merge: 2024.8 ( !610 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/610
Approved-by: Julia <julia@insertdomain.name>
2024-09-13 15:57:16 +00:00
Marie
c38afd2a85
upd: set idCheckRequired boolean on signup
2024-09-12 09:18:55 +02:00
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
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
9a7300489c
chore: update donation links in backend and frontend
2024-09-06 21:25:38 +00:00
dakkar
7ff7464896
remove body of `NoteCreateService.import`
...
`create(user,data,true)` does exactly the same thing now
2024-08-30 17:19:51 +01:00
dakkar
b5e0342136
linting
2024-08-30 17:14:57 +01:00
dakkar
3a3098f932
fix filtering of quote uri
...
apparently filtering with `x => x !== null` will let `undefined`
through…
2024-08-30 16:12:02 +01:00
dakkar
26e0412fbb
bump happy-dom, disable all JS&c when parsing
...
version 10 didn't quite support disabling all of that
I have tested that `MfmService` (the other code that uses `happy-dom`)
still works fine: the RSS feed for a user is generated correctly, with
HTML rendered from MFM
2024-08-30 15:35:19 +01:00
dakkar
27f3d76a2b
remove unused function
...
not present upstream, not mentioned anywhere
2024-08-30 13:38:44 +01:00
dakkar
0796d4bd62
align ApNoteService updateNote with createNote
2024-08-30 13:33:42 +01:00
dakkar
8b8ee72a81
align NoteCreateService create & import
2024-08-30 13:23:55 +01:00
dakkar
0bcc739551
remove duplicate line
2024-08-30 12:15:52 +01:00
dakkar
907bf133cd
update NoteCreateService "import" side
2024-08-30 12:09:57 +01:00
dakkar
6151099f5b
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8
2024-08-30 12:08:31 +01:00
Marie
58c8c00376
upd: create verification dialog
2024-08-29 22:16:10 +02:00
Marie
b60dd15568
chore: make stripeAgeCheck not type undefined
2024-08-29 18:41:32 +02:00
dakkar
9cf40ef452
merge: thunk the min/max promises ( !603 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/603
Approved-by: Marie <github@yuugi.dev>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-24 20:53:08 +00:00
dakkar
06da059dbf
log deletion of user files from admin -- fixes #631
2024-08-24 20:53:58 +01: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
dakkar
17b6c1b371
tell the linter to shut up, this time
2024-08-22 13:55:22 +01:00
dakkar
1b5bedc1d0
thunk the min/max promises
...
this prevents generating promises we don't use, which would get logged
by the node vm and spam the logs
2024-08-19 20:38:43 +01:00
dakkar
c4e0bea931
don't return early -- should fix #626
...
I have no clue why I wrote that code 😭
2024-08-19 18:19:38 +01:00
Marie
a56066ce53
add(migration): add two new columns to user for ID Check
2024-08-19 07:19:25 +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
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
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
Hazel K
9ce44b24b8
fix(backend): memory leak in memory caches ( #14363 )
...
* encapsulate `MemoryKVCache<T>`
* remove infinity caches
* encapsulate other caches
* add missing awaits to internally synchronize caches
* implement pull-through caching
* tune cache lifetimes
* optimize cache GC by stopping early
* summarize changes in CHANGELOG.md
* Fix timeout comments
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* add comments about awaiting the redis write
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-18 13:34:01 +09: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