cozy / cozy-drive

Cozy Drive Web App for Cozy Cloud
GNU Affero General Public License v3.0
171 stars 65 forks source link

[VO-315] fix: Make sure that the files to be moved have a path #3071

Closed cballevre closed 9 months ago

cballevre commented 9 months ago

After duplicating a file, it has no path. This makes it impossible to know if it is shared. For a move, we check some conditions around the sharing so we make sure that the moved file always has a path.

### 🐛 Bug Fixes

* Make sure that the files to be moved have a path
cballevre commented 9 months ago

@Crash-- what do you think of this new version ? and also the naming of the function to customize RealTimeQueries ?

bundlemon[bot] commented 9 months ago

BundleMon

Files updated (3) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | intents/drive.(hash).js
| 104.4KB (+1.13KB +1.09%) | 190KB :white_check_mark: | app/drive.(hash).js
| 165.86KB (+950B +0.56%) | 300KB :white_check_mark: | public/drive.(hash).js
| 1.52MB (+690B +0.04%) | 1.7MB
Unchanged files (15) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | vendors/drive.(hash).js
| 1.72MB | 2MB :white_check_mark: | public/pdf.worker.entry.(hash).worker.js
| 343.61KB | 345KB :white_check_mark: | services/dacc/drive.js
| 265.64KB | 500KB :white_check_mark: | services/qualificationMigration/drive.js
| 259.9KB | 500KB :white_check_mark: | public/cozy-client-js.js
| 158.97KB | 160KB :white_check_mark: | public/drive.(hash).min.css
| 77.51KB | 100KB :white_check_mark: | app-drive.(hash).min.css
| 37.26KB | 56KB :white_check_mark: | intents-drive.(hash).min.css
| 34.9KB | 40KB :white_check_mark: | onlyOffice/slide.pptx
| 24.82KB | 25KB :white_check_mark: | onlyOffice/text.docx
| 5.84KB | 6KB :white_check_mark: | onlyOffice/spreadsheet.xlsx
| 5.01KB | 6KB :white_check_mark: | manifest.webapp
| 1.9KB | 2KB :white_check_mark: | index.html
| 547B | 1KB :white_check_mark: | intents/index.html
| 504B | 1KB :white_check_mark: | manifest.json
| 184B | 1KB

Total files change +2.73KB +0.06%

Groups updated (3) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | intents/**
| 104.89KB (+1.13KB +1.08%) | - :white_check_mark: | app/**
| 165.86KB (+950B +0.56%) | - :white_check_mark: | public/**
| 2.1MB (+690B +0.03%) | -
Unchanged groups (4) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | vendors/**
| 1.72MB | - :white_check_mark: | services/**
| 525.54KB | - :white_check_mark: | onlyOffice/**
| 35.68KB | - :white_check_mark: | img/**
| 3.41KB | -

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history | Target branch size history