Repository navigation
Support hierarchical folders and reliable drive browsing - #6
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drive のルート表示と子フォルダへの移動を実現するため、フォルダの親子関係と直下だけを返す一覧 API を追加します。既存フォルダは migration 後もルートに残り、ファイルの所属を維持します。
parent_idと所有者制約・兄弟間の名前一意性を追加し、ルート/直下の一覧と子フォルダ作成をサポート。検証: Rust unit tests 130件、PostgreSQL関連の統合テスト18件、MinIOで日本語名ダウンロード、clippy(all-targets / warnings拒否)、fmt。新しいWeb画面とのE2E 22件と実OIDC 4件もローカルで成功。core固有のE2Eは新規DB・MinIO volumeでS1〜S5すべて成功(1 suite)。
既存の admin billing_cache DBテストは固定ポート5432を使うため、今回の隔離DB環境では対象外。課金ルールを共有するDBテストは直列実行で確認しています。
Web側変更に先行してこのcoreと
00008_folder_hierarchy.sqlを反映してください。APIの詳細はdocs/drive/folders.mdに記載しています。