Hazelnoot
|
407b2423af
|
fix redis transaction implementation
|
2024-12-10 19:01:35 -05:00 |
|
Hazelnoot
|
2946f85592
|
fix type errors from new rate limit definitions
|
2024-12-08 13:22:07 -05:00 |
|
Hazelnoot
|
2bcac80092
|
use fraction seconds for rate limit headers
|
2024-12-08 11:56:26 -05:00 |
|
Hazelnoot
|
7c002ce56e
|
move all Rate Limit type defs to rate-limit-utils.ts
|
2024-12-08 11:33:57 -05:00 |
|
Hazelnoot
|
f6b256620b
|
separate SkRateLimiterService from RateLimiterService and update all usages
|
2024-12-07 13:13:19 -05:00 |
|
Marie
|
92db359654
|
lint
|
2024-11-27 19:26:56 +00:00 |
|
dakkar
|
2e3eaaddcc
|
use a better random integer generator - fixes #810
|
2024-11-27 09:33:20 +00:00 |
|
Hazelnoot
|
4b503f88e1
|
normalize naming of isPackedPureRenote and PackedPureRenote
|
2024-11-20 22:27:52 -05:00 |
|
Hazelnoot
|
2fb2e52312
|
add isPureRenotePacked
|
2024-11-20 22:27:43 -05:00 |
|
Hazelnoot
|
8a34d8e9d2
|
Merge branch 'develop' into feature/2024.9.0
# Conflicts:
# locales/en-US.yml
# locales/ja-JP.yml
# packages/backend/src/core/NoteCreateService.ts
# packages/backend/src/core/NoteDeleteService.ts
# packages/backend/src/core/NoteEditService.ts
# packages/frontend-shared/js/config.ts
# packages/frontend/src/boot/common.ts
# packages/frontend/src/pages/following-feed.vue
# packages/misskey-js/src/autogen/endpoint.ts
|
2024-10-15 18:09:11 -04:00 |
|
Hazelnoot
|
de9b99c937
|
merge: Add filter options to following feed (resolves #726) (!671)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/671
Closes #726
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
|
2024-10-15 21:50:26 +00:00 |
|
Hazel K
|
463b9ac59d
|
add filters for following feed
|
2024-10-15 14:16:46 -04:00 |
|
Hazelnoot
|
86a693b182
|
factor out tuple logic into from-tuple.ts
|
2024-10-15 14:03:57 -04:00 |
|
dakkar
|
f00576bce6
|
Merge remote-tracking branch 'misskey/master' into feature/2024.9.0
|
2024-10-09 15:17:22 +01:00 |
|
Hazel K
|
39214431f4
|
check for host
|
2024-10-07 11:45:58 -04:00 |
|
Hazel K
|
a790fef261
|
prevent deletion or suspension of system accounts
|
2024-10-07 10:02:55 -04:00 |
|
Hazel K
|
c0583e5d5c
|
don't leak boost / quote / reply contents when CW is in effect
|
2024-10-02 00:54:35 -04:00 |
|
Hazel K
|
cb10fe91bb
|
preserve non-text details in note summaries
|
2024-10-01 18:28:25 -04:00 |
|
Hazel K
|
94ce7272a7
|
avoid TS errors in get-note-summary
|
2024-10-01 14:47:06 -04:00 |
|
Hazel K
|
34aeeb0862
|
respect CWs in note summaries
|
2024-10-01 14:47:06 -04:00 |
|
KOBA789
|
7134d24c1f
|
perf(backend): Defer instance metadata update (#14558)
* Defer instance metadata update
* Fix last new line
* Fix typo
* Add license notice
* Fix syntax
* Perform deferred jobs on shutdown
* Fix missing async/await
* Fix typo :)
* Update collapsed-queue.ts
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
|
2024-09-26 10:25:20 +09:00 |
|
syuilo
|
76408667f3
|
update deps (#14594)
* wip
* Update ClientServerService.ts
* eslint
* Update fetch-resource.ts
* wip
|
2024-09-22 12:32:01 +09:00 |
|
dakkar
|
27f3d76a2b
|
remove unused function
not present upstream, not mentioned anywhere
|
2024-08-30 13:38:44 +01:00 |
|
dakkar
|
6151099f5b
|
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8
|
2024-08-30 12:08:31 +01:00 |
|
zyoshoka
|
7fe3035059
|
fix(backend): use prefixItems in admin/queue/*-delayed endpoint schema (#14468)
* fix(backend): represent tuples with `prefixItems`
* refactor(frontend): fix type errors
* fix(backend): add `prefixItems` in `SchemaType`
* fix(backend): add `unevaluatedItems: false` to disallow extra items
* refactor(frontend): consolidate `'deliver' | 'queue'` type def into `queue.vue`
* fix(backend): add `unevaluatedItems` in `SchemaType`
|
2024-08-30 10:58:59 +09: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 |
|
anatawa12
|
f50941389d
|
fix: readAllNotifications message not working (#14374)
* refactor: add and use isJsonObject
* fix: readNotification message without body is not working
* docs(changelog): WSの`readAllNotifications` メッセージが `body` を持たない場合に動作しない問題
* Update CHANGELOG.md
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
---------
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
|
2024-08-09 16:04:41 +09:00 |
|
dakkar
|
94dceb9e15
|
Merge branch 'develop' into feature/misskey-2024.07
|
2024-08-06 17:51:51 +01:00 |
|
Hazel K
|
ba09338268
|
optimize cache GC by stopping early
|
2024-08-04 09:58:01 -04:00 |
|
Hazel K
|
3688f1dadf
|
implement pull-through caching
|
2024-08-03 14:09:08 -04:00 |
|
Hazel K
|
613706f6b8
|
add missing awaits to internally synchronize caches
|
2024-08-03 14:02:18 -04:00 |
|
Hazel K
|
b1f1e3eb0e
|
encapsulate other caches
|
2024-08-03 13:54:59 -04:00 |
|
Hazel K
|
114b698034
|
encapsulate MemoryKVCache<T>
|
2024-08-03 09:18:44 -04:00 |
|
dakkar
|
cfa9b852df
|
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07
|
2024-08-02 12:25:58 +01:00 |
|
syuilo
|
337b42bcb1
|
revert 5f88d56d96
バグがある(かつすぐに修正できそうにない) & まだレビュー途中で意図せずマージされたため
|
2024-07-20 21:33:20 +09:00 |
|
anatawa12
|
10ce7bf3c4
|
kill any from streaming API Implementation (#14251)
* chore: add JsonValue type
* refactor: kill any from Connection.ts
* refactor: fix StreamEventEmitter contains undefined instead of null
* refactor: kill any from channels
* docs(changelog): Fix: Steaming APIが不正なデータを受けた場合の動作が不安定である問題
* fix license header
* fix lints
|
2024-07-18 20:04:23 +09:00 |
|
tamaina
|
5f88d56d96
|
perf(federation): Ed25519署名に対応する (#13464)
* 1. ed25519キーペアを発行・Personとして公開鍵を送受信
* validate additionalPublicKeys
* getAuthUserFromApIdはmainを選ぶ
* ✌️
* fix
* signatureAlgorithm
* set publicKeyCache lifetime
* refresh
* httpMessageSignatureAcceptable
* ED25519_SIGNED_ALGORITHM
* ED25519_PUBLIC_KEY_SIGNATURE_ALGORITHM
* remove sign additionalPublicKeys signature requirements
* httpMessageSignaturesSupported
* httpMessageSignaturesImplementationLevel
* httpMessageSignaturesImplementationLevel: '01'
* perf(federation): Use hint for getAuthUserFromApId (#13470)
* Hint for getAuthUserFromApId
* とどのつまりこれでいいのか?
* use @misskey-dev/node-http-message-signatures
* fix
* signedPost, signedGet
* ap-request.tsを復活させる
* remove digest prerender
* fix test?
* fix test
* add httpMessageSignaturesImplementationLevel to FederationInstance
* ManyToOne
* fetchPersonWithRenewal
* exactKey
* ✌️
* use const
* use gen-key-pair fn. from '@misskey-dev/node-http-message-signatures'
* update node-http-message-signatures
* fix
* @misskey-dev/node-http-message-signatures@0.0.0-alpha.11
* getAuthUserFromApIdでupdatePersonの頻度を増やす
* cacheRaw.date
* use requiredInputs
https://github.com/misskey-dev/misskey/pull/13464#discussion_r1509964359
* update @misskey-dev/node-http-message-signatures
* clean up
* err msg
* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix httpMessageSignaturesImplementationLevel validation
* fix test
* fix
* comment
* comment
* improve test
* fix
* use Promise.all in genRSAAndEd25519KeyPair
* refreshAndprepareEd25519KeyPair
* refreshAndfindKey
* commetn
* refactor public keys add
* digestプリレンダを復活させる
RFC実装時にどうするか考える
* fix, async
* fix
* !== true
* use save
* Deliver update person when new key generated (not tested)
https://github.com/misskey-dev/misskey/pull/13464#issuecomment-1977049061
* 循環参照で落ちるのを解消?
* fix?
* Revert "fix?"
This reverts commit 0082f6f8e8c5d5febd14933ba9a1ac643f70ca92.
* a
* logger
* log
* change logger
* 秘密鍵の変更は、フラグではなく鍵を引き回すようにする
* addAllKnowingSharedInboxRecipe
* nanka meccha kaeta
* delivre
* キャッシュ有効チェックはロック取得前に行う
* @misskey-dev/node-http-message-signatures@0.0.3
* PrivateKeyPem
* getLocalUserPrivateKey
* fix test
* if
* fix ap-request
* update node-http-message-signatures
* fix type error
* update package
* fix type
* update package
* retry no key
* @misskey-dev/node-http-message-signatures@0.0.8
* fix type error
* log keyid
* logger
* db-resolver
* JSON.stringify
* HTTP Signatureがなかったり使えなかったりしそうな場合にLD Signatureを活用するように
* inbox-delayed use actor if no signature
* ユーザーとキーの同一性チェックはhostの一致にする
* log signature parse err
* save array
* とりあえずtryで囲っておく
* fetchPersonWithRenewalでエラーが起きたら古いデータを返す
* use transactionalEntityManager
* fix spdx
* @misskey-dev/node-http-message-signatures@0.0.10
* add comment
* fix
* publicKeyに配列が入ってもいいようにする
https://github.com/misskey-dev/misskey/pull/13950
* define additionalPublicKeys
* fix
* merge fix
* refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair
* remove gen-key-pair.ts
* defaultMaxListeners = 512
* Revert "defaultMaxListeners = 512"
This reverts commit f2c412c18057a9300540794ccbe4dfbf6d259ed6.
* genRSAAndEd25519KeyPairではキーを直列に生成する?
* maxConcurrency: 8
* maxConcurrency: 16
* maxConcurrency: 8
* Revert "genRSAAndEd25519KeyPairではキーを直列に生成する?"
This reverts commit d0aada55c1ed5aa98f18731ec82f3ac5eb5a6c16.
* maxWorkers: '90%'
* Revert "maxWorkers: '90%'"
This reverts commit 9e0a93f110456320d6485a871f014f7cdab29b33.
* e2e/timelines.tsで個々のテストに対するtimeoutを削除, maxConcurrency: 32
* better error handling of this.userPublickeysRepository.delete
* better comment
* set result to keypairEntityCache
* deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4
* inboxJobPerSec: 64
* delete request.headers['host'];
* fix
* // node-fetch will generate this for us. if we keep 'Host', it won't change with redirects!
* move delete host
* modify comment
* modify comment
* fix correct → collect
* refreshAndfindKey → refreshAndFindKey
* modify comment
* modify attachLdSignature
* getApId, InboxProcessorService
* TODO
* [skip ci] add CHANGELOG
---------
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
|
2024-07-18 01:28:17 +09:00 |
|
Sayamame-beans
|
4b9c60ad21
|
fix(backend): ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 (#14100)
* fix: mute/block was not considered on users/reactions
* docs(changelog): update changelog
* chore: Apply suggestion from code review
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
---------
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
|
2024-07-14 20:24:29 +09:00 |
|
Kisaragi
|
9368eb3038
|
refactor: say bye to the weird groupBy friends (#13975)
* refactor(frontend): say bye to the weird groupBy friends
* refactor(backend): say bye to the weird groupBy friends
|
2024-06-22 19:40:55 +09:00 |
|
syuilo
|
1d6ccd9781
|
remove unused files
|
2024-06-21 13:21:27 +09:00 |
|
syuilo
|
811ffbf3a4
|
remove unused file
|
2024-06-21 13:18:19 +09:00 |
|
syuilo
|
bf33382082
|
refactor(backend): remove unnecessary isNotNull sugar
|
2024-06-21 13:03:51 +09:00 |
|
dakkar
|
5dc8c2827c
|
Merge branch 'develop' into future-2024-05-31
|
2024-06-08 16:45:53 +01:00 |
|
おさむのひと
|
61fae45390
|
feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758)
* feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする
* モデログに対応&エンドポイントを単一オブジェクトでのサポートに変更(API経由で大量に作るシチュエーションもないと思うので)
* fix spdx
* fix migration
* fix migration
* fix models
* add e2e webhook
* tweak
* fix modlog
* fix bugs
* add tests and fix bugs
* add tests and fix bugs
* add tests
* fix path
* regenerate locale
* 混入除去
* 混入除去
* add abuseReportResolved
* fix pnpm-lock.yaml
* add abuseReportResolved test
* fix bugs
* fix ui
* add tests
* fix CHANGELOG.md
* add tests
* add RoleService.getModeratorIds tests
* WebhookServiceをUserとSystemに分割
* fix CHANGELOG.md
* fix test
* insertOneを使う用に
* fix
* regenerate locales
* revert version
* separate webhook job queue
* fix
* 🎨
* Update QueueProcessorService.ts
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
|
2024-06-08 15:34:19 +09:00 |
|
dakkar
|
3372e0ffe1
|
Merge remote-tracking branch 'misskey/release/2024.5.0' into future
|
2024-05-31 12:26:07 +01:00 |
|
Sugar
|
189c26aa25
|
escape \ character in sqlLikeEscape
|
2024-05-30 16:01:29 +02:00 |
|
anatawa12
|
5836bd85df
|
fix: 複数idを指定するusers/showが関係ないユーザを返すことがある問題を修正 (#13765)
* fix: 複数idを指定する`users/show`が関係ないユーザを返すことがある問題を修正
* test: fix misskey js test
* chore: user/showがnullを返さないように
* chore: pass lambda instead of pushVisibleUser
|
2024-05-20 19:25:50 +09:00 |
|
dakkar
|
451b0ecc9b
|
Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post
|
2024-05-11 14:13:07 +01:00 |
|
syuilo
|
2b21c19362
|
update deps (#13624)
* update deps
* Update package.json
* update deps
* build: pass --strip-leading-paths to restore 0.2.x behavior (#13684)
* ✌️
* ✌️
* pureimageの代わりに@napi-rs/canvasを使う (#13748)
* pureimageの代わりに@napi-rs/canvasを使う
* remove writestream
* remove createtemp
* wip
* Update ClientServerService.ts
* update pnpm to 9.x
* update deps
* re: update pnpm to 9.x
* update node
* ✌️
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
|
2024-05-04 20:56:14 +09:00 |
|
dakkar
|
4fe8a26081
|
Merge remote-tracking branch 'misskey/develop' into future-2024-04-25
|
2024-04-25 11:44:24 +01:00 |
|