Commit eee7611
committed
Refactor conflict checking logic in upload utility
- Introduced `fetchConflictEntries` to streamline fetching server conflict entries based on action type (upload vs copy/move).
- Updated `checkConflict` to utilize the new fetching logic and improved conflict mapping with `buildConflictMap`.
- Enhanced unit tests for conflict checking to ensure correct behavior for both file and directory conflicts.
- Updated dependencies in go.mod and go.sum for various packages to their latest versions.
- Added security warning in authentication documentation regarding handling user-controlled input in hook scripts.1 parent ba1da3d commit eee7611
9 files changed
Lines changed: 139 additions & 384 deletions
File tree
- frontend/src
- components/prompts/__tests__
- css
- i18n
- utils
- __tests__
- www/docs
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
This file was deleted.
0 commit comments