Commit Graph

576 Commits

Author SHA1 Message Date
usbharu d884387bcf
test: APUndoServiceImplのテストを追加 2023-10-31 16:15:49 +09:00
usbharu 031678f805
test: APServiceImplのテストを追加 2023-10-31 15:48:03 +09:00
usbharu 93fd726ffb
test: APSendFollowServiceImplのテストを追加 2023-10-31 15:25:52 +09:00
usbharu 6251e02266
test: APRequestServiceImplのテストを追加 2023-10-31 15:19:53 +09:00
usbharu b9d568c9c3
test: APReactionServiceImplのテストを追加 2023-10-30 16:46:30 +09:00
usbharu 659dee87a0
test: APNoteServiceImplのテストを追加 2023-10-30 11:57:18 +09:00
usbharu dfd6655e91
test: APLikeServiceImplのテストを追加 2023-10-29 17:32:04 +09:00
usbharu e2e564d71b
test: APCreateServiceimplのテストを追加 2023-10-29 16:58:42 +09:00
usbharu 486abaaaf3
test: APAcceptServiceImplのテストを追加 2023-10-29 16:36:24 +09:00
usbharu 2353414d16
test: テストを修正 2023-10-27 14:13:07 +09:00
usbharu 0fdceb4d9e
style: fix lint 2023-10-27 14:10:04 +09:00
usbharu cefde4df45
style: fix lint 2023-10-27 14:08:38 +09:00
usbharu 2c2a392c92
refactor: jobを別のクラスに切り出し2 2023-10-27 13:54:33 +09:00
usbharu 0eb2cfbb86
refactor: jobを別のクラスに切り出し 2023-10-27 13:22:18 +09:00
usbharu d2fcf658e3
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-27 11:38:21 +09:00
usbharu 4b6f86da95
feat: 署名されないリクエストもログをとるように 2023-10-27 11:28:35 +09:00
usbharu 68c6e8937c
feat: ActivityPubリクエストのログを追加 2023-10-27 11:17:05 +09:00
usbharu d70fd208a6
feat: フォローリクエストが飛んできたときのログを追加 2023-10-27 11:16:40 +09:00
usbharu 22d0f8b160
feat: セキュリティフィルターの前にMDCを追加するように 2023-10-24 20:19:22 +09:00
usbharu 3d795bbd8a
feat: ログのMDCをkotlinx.coroutineに対応 2023-10-24 20:05:53 +09:00
usbharu a60703ebdc
refactor: ログを追加 2023-10-24 12:52:15 +09:00
usbharu 0aa6d70f2e
Merge remote-tracking branch 'origin/feature/entity-builder' into feature/entity-builder 2023-10-23 13:57:01 +09:00
usbharu 1e676901e7
test: fix test 2023-10-23 13:56:49 +09:00
usbharu 2a65311611
Merge branch 'develop' into feature/entity-builder 2023-10-23 13:44:53 +09:00
usbharu eeb2c763ae
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-23 13:40:12 +09:00
usbharu d1fbf1d1b6
style: fix lint 2023-10-23 13:39:30 +09:00
usbharu edb3965c48
Update src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-23 13:33:14 +09:00
usbharu 7427030f00
feat: 不要になったコンフィグを削除 2023-10-23 13:32:50 +09:00
usbharu 1b1be8f7b0
feat: 不要になったマッピングを削除 2023-10-23 13:29:09 +09:00
usbharu a6818ca090
feat: Userのマッピングを追加 2023-10-23 13:28:28 +09:00
usbharu 0403ae969f
feat: 不要になったマッピングを削除 2023-10-23 13:16:07 +09:00
usbharu 4e27f2e68b
feat: クエリ実行結果とのマッピングをクラスに切り出し 2023-10-23 13:15:28 +09:00
usbharu 830206b43a
feat: 不要なコンフィグを削除 2023-10-23 12:50:25 +09:00
usbharu 3a3318a25f
feat: DBの文字数制限をハードコード 2023-10-23 12:49:08 +09:00
usbharu 95c7565b78
feat: UserBUilderを追加 2023-10-23 12:35:48 +09:00
usbharu 1f784f339a
feat: Postをビルダーを使って生成するように 2023-10-23 12:17:48 +09:00
usbharu 95037fd77d
feat: タイムラインにメディア情報と純粋なリポスト日の情報を追加 2023-10-23 11:03:37 +09:00
usbharu fdc14444b6
feat: 投稿のURLで取得できるNoteの情報を正確に表すように 2023-10-21 16:07:58 +09:00
usbharu 9466de644a
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-21 15:18:53 +09:00
usbharu ff5eb79179
feat: Signatureヘッダーが存在するが、認証に失敗したときは401を返すように 2023-10-21 15:12:31 +09:00
usbharu 2536a2d79a
wip 2023-10-21 04:02:58 +09:00
usbharu 151cc0ed4e
feat: 投稿のap idにアクセスすると投稿を取得できるように 2023-10-21 00:31:54 +09:00
usbharu 67374a6e62
fix: 公開範囲を修正 2023-10-20 12:48:23 +09:00
usbharu 5acce0051e
style: スタイルを修正 2023-10-20 12:21:52 +09:00
usbharu 3adb9c92f6
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-20 12:01:47 +09:00
usbharu 8a640aca87
Merge remote-tracking branch 'origin/feature/http-signature' into feature/http-signature 2023-10-20 11:58:21 +09:00
usbharu 5607fe802e
feat: ActivityPub関係のリクエストは署名を検証するように 2023-10-20 11:55:42 +09:00
usbharu 096daed1f8
feat: HttpSignatureで署名を検証する実装を追加 2023-10-20 11:05:02 +09:00
usbharu c1316991a2
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-19 13:44:23 +09:00
usbharu 29d6b86769
feat: 連合に失敗する問題を修正 2023-10-19 13:24:30 +09:00
usbharu 185b449c3b
feat: DBにfollowing,followersとkeyidを追加 2023-10-19 12:17:02 +09:00
usbharu ada65bfeef
feat: HTTP Signatureのフィルターを追加 2023-10-19 11:51:39 +09:00
usbharu db65bb4b2e
chore: 不要になった依存と実装を削除 2023-10-19 11:35:57 +09:00
usbharu c7d3b2d868
feat: HttpSignatureを自作ライブラリに変更 2023-10-19 11:30:07 +09:00
usbharu a323a506e6
feat: suspendなcontrollerに変更 2023-10-15 10:40:26 +09:00
usbharu 9906608afa
Merge branch 'develop' into feature/http-client 2023-10-15 00:13:41 +09:00
usbharu e7a90b935e
style: スタイルを修正 2023-10-14 23:34:57 +09:00
usbharu ccd0f667d1
test: テストを修正 2023-10-14 23:25:39 +09:00
usbharu 61556a9bdd
fix: APRequestServiceImplを修正 2023-10-14 23:25:18 +09:00
usbharu d6ecad976b
feat: APRequestServiceに切り替え 2023-10-14 19:43:25 +09:00
usbharu 1fba688a74
fix: 署名ヘッダーを追加するのを忘れていたのを修正 2023-10-14 11:54:24 +09:00
usbharu 7c9cfa8d1c
feat: APRequestServiceを追加 2023-10-14 11:53:49 +09:00
usbharu 4e132d3b64
refactor: HttpSignatureSignerImplをリファクタリング 2023-10-14 10:10:21 +09:00
usbharu c3233965c6
test: HTTP Signature署名器のテストを追加 2023-10-13 17:00:19 +09:00
usbharu fc44f7413b
feat: アルゴリズムの指定を追加 2023-10-13 16:43:35 +09:00
usbharu 8e611aaf4f
feat: HTTP Signatureの署名器を実装 2023-10-13 15:57:01 +09:00
usbharu 16d0b555f7
feat: 不要な依存関係を削除 2023-10-13 14:56:50 +09:00
usbharu 12d222035b
feat: メモリリークの原因となるキャッシュの開放忘れを修正 2023-10-12 17:53:02 +09:00
usbharu cf5e744954
feat: 既存のgetAPの箇所を apResourceResolveServiceに切り替え 2023-10-12 16:35:04 +09:00
usbharu 12ca174259
feat: 型安全に 2023-10-12 16:20:18 +09:00
usbharu 398e3cc3b3
feat: CacheManagerを使用した実装に切り替え 2023-10-12 16:02:01 +09:00
usbharu 331da2ad58
test: テストを追加 2023-10-12 14:58:45 +09:00
usbharu d0fcc14871
feat: 微修正 2023-10-12 14:58:34 +09:00
usbharu e7733d8c7f
feat: 同じ内容のリクエストが同時多発的に発生しない仕組みを追加 2023-10-12 13:22:09 +09:00
usbharu 1a56d83f64
style: fix lint 2023-10-12 11:15:34 +09:00
usbharu 9a600b4f5b
style: fix lint 2023-10-12 11:11:36 +09:00
usbharu e772a37044
fix: タイムラインが読み込まれないのを修正 2023-10-12 02:32:33 +09:00
usbharu eca18ee7fa
chore: 依存関係を更新 2023-10-12 02:12:45 +09:00
usbharu e019d293c2
style: スタイルを修正 2023-10-12 02:04:08 +09:00
usbharu d3a45cd3ba
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 01:55:32 +09:00
usbharu c8412cacb9
feat: ログを追加 2023-10-12 01:48:05 +09:00
usbharu cfa7f4e16f
feat: タイムラインが表示されない問題を修正 2023-10-11 16:30:32 +09:00
usbharu e5c3a583e6
feat: キャッチする例外を修正 2023-10-11 15:44:43 +09:00
usbharu 36d9fb864a
feat: キャッシュを導入 2023-10-11 15:34:12 +09:00
usbharu aac918a75d
fix 色々直した 2023-10-11 14:58:46 +09:00
usbharu 42e1ed1a21
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-11 11:07:43 +09:00
usbharu 20a5bae375
style: fix lint 2023-10-11 11:02:57 +09:00
usbharu e8050699ee
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 18:57:11 +09:00
usbharu bd18985894
Update src/main/kotlin/dev/usbharu/hideout/service/ap/APNoteService.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 18:52:45 +09:00
usbharu 6c3088bc28
Update src/main/kotlin/dev/usbharu/hideout/config/JsonOrFormModelMethodProcessor.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 18:52:20 +09:00
usbharu a83eb02258
fix: 自動生成が消えていた部分を修正 2023-10-10 18:48:00 +09:00
usbharu a373c0d880
test: fix test 2023-10-10 18:01:57 +09:00
usbharu 873982d4e7
feat: ストレージ設定でpublic urlが正常に指定されていなかった問題を修正 2023-10-10 16:19:25 +09:00
usbharu 0e29331ee9
feat: メディア付き投稿を配送可能に 2023-10-10 16:07:21 +09:00
usbharu ee939e59b7
feat: メディア付き投稿が可能に 2023-10-10 15:18:16 +09:00
usbharu babaeaca49
feat: テンプレートを修正 2023-10-10 11:32:35 +09:00
usbharu 212339b455
feat: JsonOrFormBindを追加 2023-10-08 15:00:22 +09:00
usbharu d87816d1eb
feat: メディア付き投稿をできるように 2023-10-05 19:26:10 +09:00
usbharu 4aeff6a322
refactor: 不要なファイルを削除、インスペクションを解消 2023-10-05 13:04:30 +09:00
usbharu 5c91ee0891
style: スタイルを調整 2023-10-05 12:23:11 +09:00
usbharu c7568a1567
feat: メディアのアップロード処理の結果を返却するように 2023-10-05 11:58:37 +09:00
usbharu 95a10c5f9b
feat: S3にアップロードできるように 2023-10-05 11:54:27 +09:00
usbharu 02d6d554b9
feat: ファイルの削除に対応 2023-10-05 00:20:42 +09:00
usbharu e23ac120a5
feat: S3アップロードを実装 2023-10-05 00:16:56 +09:00
usbharu c1dfdb6281
feat: メディアの変換処理を実装 2023-10-04 23:07:55 +09:00
usbharu 374f0144c7
feat: ローカルのアップロードの処理の一部が完成 2023-10-04 18:41:36 +09:00
usbharu fa720d8423
feat: メディア関係のクラスを追加 2023-10-04 14:48:12 +09:00
usbharu c3cc774fab
feat: Mediaアップロードのエンドポイントを追加 2023-10-04 01:45:55 +09:00
usbharu ec56f6c216
fix: mongo-dbを選択してもエラーが出ていたのを修正 2023-10-04 00:53:17 +09:00
usbharu 4c7d805e6e
ジョブキューとタイムライン構築に使うDBを選択できるように 2023-10-03 14:38:38 +09:00
usbharu b0188e1bcb
Revert "refactor: ID生成を全てIdGenerateServiceで行うように"
This reverts commit 4be4603f
2023-10-03 11:51:04 +09:00
usbharu 55965156e5
chore: テストをランダム順に実施するように 2023-09-30 15:17:06 +09:00
usbharu b37afe46ca
くそったれLintを黙らせた 2023-09-30 13:59:45 +09:00
usbharu ae8f867ad4
style: スタイルを調整 2023-09-30 13:51:55 +09:00
usbharu 26abc2759f
test: テストを修正 2023-09-30 13:50:29 +09:00
usbharu 4be4603f7a
refactor: ID生成を全てIdGenerateServiceで行うように 2023-09-30 13:48:24 +09:00
usbharu d2245c8d01
feat: 不要な設定を削除 2023-09-30 13:44:10 +09:00
usbharu 67a6b8c321
feat: Exposedで初期化を自動でするように 2023-09-30 13:41:42 +09:00
usbharu a63e26129a
refactor: 不要なクラスを削除 2023-09-30 13:26:27 +09:00
usbharu 4ca9fe6cfb
style: スタイルを調整 2023-09-30 11:25:31 +09:00
usbharu 0d7e4aaedc
style: スタイルを調整 2023-09-30 11:19:06 +09:00
usbharu 8297d578bc
test: テストを修正 2023-09-30 11:14:30 +09:00
usbharu cca71aa941
feat: publicタイムラインは専用の特殊ユーザーで見るように 2023-09-30 10:38:23 +09:00
usbharu 6f9aa2a378
refactor: 不要な依存を削除 2023-09-30 09:55:34 +09:00
usbharu af0d97f1a8
fix: リモートユーザーの場合はタイムラインに自分自身を含めないように 2023-09-29 19:20:57 +09:00
usbharu 41f7fc605c
feat: タイムラインの構築時に自分自身を対象に含めるように 2023-09-29 19:19:30 +09:00
usbharu cab50e61a5
feat: 動的にクエリを構築するように 2023-09-29 19:19:05 +09:00
usbharu 14022e9301
feat: Timelineのエンドポイントを作成 2023-09-29 18:14:42 +09:00
usbharu 4268f90fa5
feat: GenerateTimelineServiceを作成 2023-09-29 17:49:34 +09:00
usbharu 948590c78f
feat: TimelineServiceを作成 2023-09-29 15:44:58 +09:00
usbharu f4716966c7
feat: Timelineを追加 2023-09-29 15:18:29 +09:00
usbharu be32f6335f
feat: PostServiceの依存関係を見直し 2023-09-29 13:57:39 +09:00
usbharu fd30e8258a
fix: JWTトークンの有効期限を設定 2023-09-29 13:52:10 +09:00
usbharu 8913afba45
style: スタイルを調整 2023-09-27 14:50:28 +09:00
usbharu 9d6cf714a7
test: 不要なテストを削除 2023-09-27 14:45:54 +09:00
usbharu be11bff4cb
feat: KJobがMongoDBでも動くように 2023-09-27 14:40:14 +09:00
usbharu 06de1738c0
refactor: 不要なコードを削除、古い構成を更新 2023-09-26 15:13:41 +09:00
usbharu 970d0ec062
fix: sign_upに対するCSRF保護を追加 2023-09-26 13:01:17 +09:00
usbharu 175e43830d
fix: CSRF保護を有効化 2023-09-26 12:55:48 +09:00
usbharu 60e189a596
feat: ユーザー作成できるように 2023-09-26 12:36:56 +09:00
usbharu f89836be11
feat: ユーザー作成エンドポイント定義を追加 2023-09-26 11:46:37 +09:00
usbharu b2834b2c8c
test: テストを修正 2023-09-25 17:40:51 +09:00
usbharu 31f4558c65
style: スタイルを調整 2023-09-25 17:27:42 +09:00
usbharu 35ba6a2022
fix: ジョブキュー等を修正 2023-09-25 17:08:01 +09:00
usbharu 6ad33061c3
feat: 404が帰らないことがあるので修正 2023-09-24 16:18:28 +09:00
usbharu 75972df549
feat: nodeinfo2.0のエンドポイントを追加 2023-09-24 13:49:41 +09:00
usbharu 81193f58f5
feat: hostmetaのエンドポイントを追加 2023-09-24 11:56:31 +09:00
usbharu 9b0737b555
fix: runBlockingで包むように 2023-09-24 11:37:15 +09:00
usbharu 3c5b2dfa66
feat: セキュリティの設定を修正 2023-09-24 11:36:22 +09:00
usbharu e78f86e120
feat: WebFingerのエンドポイントを追加 2023-09-24 10:41:32 +09:00