Commit Graph

913 Commits

Author SHA1 Message Date
usbharu a2d8d64388
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-26 12:50:33 +09:00
usbharu a98c363ba4
test: テストコードをログインユーザー取得に対応 2024-01-26 12:17:09 +09:00
usbharu 41b2b447d4
feat: Timeline APIのログインユーザー取得部分を共通化 2024-01-26 12:09:40 +09:00
usbharu 4825fd43b9
feat: Statuses APIのログインユーザー取得部分を共通化 2024-01-26 12:09:29 +09:00
usbharu 1c52bad3c7
feat: Account APIのログインユーザー取得部分を共通化 2024-01-26 12:06:53 +09:00
usbharu 44f2e02f05
feat: ログインユーザー取得部分を共通化 2024-01-26 12:06:34 +09:00
usbharu 228a3eb38c
test: ミュートのテストを追加 2024-01-26 11:50:28 +09:00
usbharu 70ee560952
feat: ミュートAPIの権限の設定を追加 2024-01-26 11:50:02 +09:00
usbharu 6254d2325c
feat: ユーザーのミュートのMastodon互換APIを実装 2024-01-25 22:53:43 +09:00
usbharu d6d9169ed3
perf: Updateが多発する問題の一時的な修正 2024-01-25 22:22:16 +09:00
usbharu 61036fe66a
chore: 不要になったWeb UIのコードを削除 2024-01-25 15:17:09 +09:00
usbharu da4cdd96c5
Merge remote-tracking branch 'origin/feature/remote-media-file-size-limit' into feature/remote-media-file-size-limit 2024-01-25 15:03:15 +09:00
usbharu 7bbb2db4e8
test: ファイルサイズ制限を超えたファイルのときファイルのダウンロードに失敗するように 2024-01-25 15:03:04 +09:00
usbharu c15276cb31
Update src/main/kotlin/dev/usbharu/hideout/core/service/media/RemoteMediaDownloadServiceImpl.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-25 13:47:52 +09:00
usbharu 1fe4c921ef
feat: リモートのメディアのファイルサイズ制限ができるように 2024-01-25 13:20:27 +09:00
usbharu 7fe6a007d1
Merge remote-tracking branch 'origin/feature/post-decoration' into feature/post-decoration 2024-01-25 12:22:02 +09:00
usbharu 63a9aba523
test: テストのSQLを修正 2024-01-25 12:21:40 +09:00
usbharu a4f11b6c99
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-25 12:12:02 +09:00
usbharu 578c2f702d
feat: HTMLへのサニタイズを外部ライブラリで行うように 2024-01-24 21:25:27 +09:00
usbharu 90188adde9
style: 不要なプライマリコンストラクタを削除 2024-01-24 16:18:11 +09:00
usbharu 6febcbec0c
feat: contentを永続化するように 2024-01-24 16:17:17 +09:00
usbharu 2e2a936d76
feat: suspendでない関数に変更 2024-01-24 16:16:58 +09:00
usbharu a08169238d
feat: HTMLを整形し、不正なHTMLを含まないように 2024-01-24 15:27:38 +09:00
usbharu d60e1e702c
feat: Note中のHTMLをPostBuilderにいれる準備 2024-01-18 17:03:53 +09:00
usbharu be6e206088
Merge branch 'develop' into bugfix/deliver-local-post-delete 2024-01-16 16:14:55 +09:00
usbharu 41f80ed2a5
test: ローカル投稿削除の配送テストを追加 2024-01-16 15:14:47 +09:00
usbharu b656f8f258
fix: ローカル投稿削除の配送が行われていなかった問題を修正 2024-01-16 15:14:24 +09:00
usbharu e28ed2a3b5
Merge branch 'develop' into feature/follow-activity 2024-01-16 14:59:30 +09:00
usbharu 85813b4ce4
Merge branch 'develop' into feature/follow-activity 2024-01-16 14:53:38 +09:00
usbharu ad4a9d54cb
Update src/main/kotlin/dev/usbharu/hideout/application/config/HttpClientConfig.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-16 14:52:49 +09:00
usbharu e9f9705224
test: テストを修正 2024-01-16 14:39:03 +09:00
usbharu c84eae641c
fix: toStringを修正 2024-01-16 14:38:47 +09:00
usbharu dc02010c69
Merge branch 'develop' into feature/user-agent 2024-01-16 14:23:42 +09:00
usbharu 4d032dd0b3
feat: Followアクティビティにidを追加 2024-01-16 14:20:54 +09:00
usbharu 744b7f6efb
feat: ActivityPubの通信に使うHTTPクライアントのUserAgentを設定 2024-01-16 14:06:35 +09:00
usbharu eae8bfb24d
fix: Client Credential Flowへの対応漏れを修正 2024-01-11 14:29:48 +09:00
usbharu 569511086b
test: fix test timezone 2024-01-08 17:57:37 +09:00
usbharu c74dfb966d
style: fix lint 2024-01-08 17:39:55 +09:00
usbharu 080fabd99b
test: リアクション重複時の挙動の変更をテストに反映 2024-01-08 17:30:23 +09:00
usbharu 7dcdb118c9
feat: 絵文字リアクションAPIを修正 2024-01-08 17:06:09 +09:00
usbharu 2f2a6255d5
feat: 絵文字リアクションAPIを追加 2024-01-07 12:56:32 +09:00
usbharu 0fe7c3254b
feat: emoji-ktを追加 2024-01-07 12:55:52 +09:00
usbharu 0f4f580418
feat: リアクションを一人1投稿あたり一つまでに制限 2023-12-28 12:06:55 +09:00
usbharu e686f3ee10
fix: リアクション受信時の重複検査を修正 2023-12-28 11:35:49 +09:00
usbharu 4ffda3d119
fix: Objectのデイシリアライズに失敗したときnullを返すように 2023-12-22 16:23:18 +09:00
usbharu ef35892fd2
test: テストを修正 2023-12-22 16:22:53 +09:00
usbharu 486dbbff8e
fix: ResourceAccessExceptionをSQLExceptionにして再throwするように 2023-12-22 16:13:39 +09:00
usbharu 1a74af52a1
feat: DBへの保存に失敗したときロールバックを明示的にしてその後Selectできるように 2023-12-22 15:45:55 +09:00
usbharu 26dc8e670b
feat: 絵文字リアクションの受信ができるように 2023-12-22 15:13:39 +09:00
usbharu 1e575e6f25
feat: Mastodon 互換APIでカスタム絵文字を使用できるように 2023-12-22 14:32:11 +09:00
usbharu 5bedf61aec
fix: 不要なカラムを削除 2023-12-22 14:02:52 +09:00
usbharu b39af51723
feat: 受け取ったノートのEmojiを認識するように 2023-12-22 14:02:23 +09:00
usbharu 87c3ba0d7f
fix: SQLのミスを修正 2023-12-22 12:20:58 +09:00
usbharu a4320389a2
style: fix lint 2023-12-22 12:20:41 +09:00
usbharu 7047c4f35b
feat: ReactionServiceをカスタム絵文字に対応 2023-12-22 12:02:28 +09:00
usbharu 04b72c1e86
feat: カスタム絵文字のリアクションの対応 2023-12-22 02:29:37 +09:00
usbharu bf2edbfdc1
feat: 投稿に絵文字データを使えるように 2023-12-21 19:41:27 +09:00
usbharu 1169998655
feat: ActorのMapperの修正 2023-12-21 19:15:00 +09:00
usbharu 3757ce5c29
feat: 絵文字を識別するIDの生成を追加 2023-12-21 19:14:02 +09:00
usbharu 1fec4a07d0
feat: Actorに絵文字情報を含めることが可能に 2023-12-21 19:13:36 +09:00
usbharu 8f7f943a9b
feat: 絵文字のテーブル定義を追加 2023-12-21 18:36:14 +09:00
usbharu 8b80a338fa
feat: 絵文字のエンティティとRepositoryを追加 2023-12-21 18:35:53 +09:00
usbharu 4ceb42728d
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-21 15:07:28 +09:00
usbharu 531326782c
style: fix lint 2023-12-21 14:56:48 +09:00
usbharu 8d3d454646
Merge branch 'develop' into feature/for-update-transaction
# Conflicts:
#	src/main/kotlin/dev/usbharu/hideout/core/domain/model/actor/Actor.kt
2023-12-21 14:50:36 +09:00
usbharu 9daacdf8d1
style: fix lint 2023-12-21 14:48:21 +09:00
usbharu 599ef9fcd0
feat: AbstractRepositoryを継承していないRepositoryで継承するように 2023-12-21 14:28:17 +09:00
usbharu b67e1fb18c
fix: 削除済みユーザーとアクティビティactorがないときのフォールバックを修正 2023-12-21 13:36:45 +09:00
usbharu a6cdd7f414
test: テストを修正 2023-12-21 12:57:06 +09:00
usbharu 1e6e505925
feat: デバッグ用のトレースをオン・オフできるように 2023-12-21 12:06:51 +09:00
usbharu 422775f356
feat: 未実装項目を実装 2023-12-21 11:27:46 +09:00
usbharu 99aed4af13
fix: 削除されていなかった実装を削除 2023-12-21 11:15:16 +09:00
usbharu 0888613838
refactor: 不要なQueryServiceを削除 2023-12-21 11:08:59 +09:00
usbharu b8f14711b9
refactor: FailedToGetResourceExceptionを使わないように 2023-12-19 17:52:08 +09:00
usbharu 5f2053a009
feat: 重複排除 2023-12-19 17:00:15 +09:00
usbharu d79541d71b
refactor: actorのDBからの取得に関する大規模な変更 2023-12-17 19:08:18 +09:00
usbharu cf53e0a966
style: fix lint 2023-12-14 16:44:15 +09:00
usbharu 4550964f40
fix: equalsを修正 2023-12-14 15:50:19 +09:00
usbharu b0c9f5d35e
test: Equalsのテストを修正 2023-12-14 15:50:01 +09:00
usbharu bc3d79b68c
fix: toStringを修正 2023-12-14 14:37:59 +09:00
usbharu 39818469cb
test: テストを追加 2023-12-14 14:37:36 +09:00
usbharu f65277b102
test: テストを修正 2023-12-14 12:07:47 +09:00
usbharu b158ad8ce0
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-14 01:13:16 +09:00
usbharu 7f04aec7bf
refactor: Mastodon APIでAccountの箇所を修正 2023-12-14 00:55:40 +09:00
usbharu 6eb10b5bd7
refactor: Actorsテーブルにフォロワー数情報とフォロー数情報を追加 2023-12-14 00:16:45 +09:00
usbharu e1fdb47220
style: fix lint 2023-12-13 17:40:20 +09:00
usbharu c3a37b4ca7
Update src/main/kotlin/dev/usbharu/hideout/core/service/user/UserServiceImpl.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:59 +09:00
usbharu eb634e4c7e
Update src/main/kotlin/dev/usbharu/hideout/core/domain/model/relationship/RelationshipRepositoryImpl.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:53 +09:00
usbharu 6dda54fb8f
Update src/main/kotlin/dev/usbharu/hideout/activitypub/service/activity/delete/APSendDeleteService.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:43 +09:00
usbharu 9e22206ed6
Update src/main/kotlin/dev/usbharu/hideout/activitypub/service/activity/delete/APSendDeleteService.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:23 +09:00
usbharu 81965dee92
Update src/main/kotlin/dev/usbharu/hideout/activitypub/service/activity/delete/APDeleteProcessor.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:16 +09:00
usbharu 3214d2041e
Update src/main/kotlin/dev/usbharu/hideout/activitypub/service/activity/delete/APDeleteProcessor.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:31:11 +09:00
usbharu 8aba7ecdc1
Update src/main/kotlin/dev/usbharu/hideout/activitypub/domain/model/Person.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-13 17:30:55 +09:00
usbharu 5093585c7e
test: テストを修正 2023-12-13 17:02:00 +09:00
usbharu c92e15f220
feat: アカウント削除をすることができるように 2023-12-13 16:45:14 +09:00
usbharu 60b5b1f0c5
feat: アカウント削除アクティビティに対応 2023-12-13 16:21:23 +09:00
usbharu 5bf85fefbe
feat: アカウント削除に対応 2023-12-13 16:08:05 +09:00
usbharu 65cc57f3d5
fix: #214 2023-12-13 16:07:43 +09:00
usbharu cb76d3f1dd
fix: 削除フラグが永続化されていなかったのを修正 2023-12-13 15:04:18 +09:00
usbharu 6f579486da
feat: 削除された投稿はレコードを完全に削除せず、返信などの情報を維持したまま削除されるように 2023-12-13 15:02:17 +09:00