Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not require or fetch the unused etag #1347

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions src/components/Images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ export default {
},

props: {
// file etag, used for cache reset
etag: {
type: String,
required: true,
},

editing: {
type: Boolean,
default: false,
Expand Down
1 change: 0 additions & 1 deletion src/services/FileInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default async function(path, options) {
xmlns:ocs="http://open-collaboration-services.org/ns">
<d:prop>
<d:getlastmodified />
<d:getetag />
<d:getcontenttype />
<d:resourcetype />
<oc:fileid />
Expand Down
1 change: 0 additions & 1 deletion src/services/FileList.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default async function(path, options) {
xmlns:ocs="http://open-collaboration-services.org/ns">
<d:prop>
<d:getlastmodified />
<d:getetag />
<d:getcontenttype />
<d:resourcetype />
<oc:fileid />
Expand Down
1 change: 0 additions & 1 deletion src/services/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import Audios from '../models/audios.js'
* @property {string} basename the full path of the file
* @property {?string} source absolute path of a non-dav file, e.g. a static resource or provided by an app route
* @property {string} mime file MIME type in the format type/sub-type
* @property {string} etag WebDAV etag
* @property {boolean} hasPreview is there a WebDAV preview of this file?
* @property {number} fileid Nextcloud file ID
*/
Expand Down