Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2022-10-29Bump @nextcloud/webpack-vue-config from 5.3.0 to 5.4.0dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 5.3.0 to 5.4.0. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v5.3.0...v5.4.0) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08fix pdfviewer on public pagesszaimen
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-25Bump @nextcloud/logger from 2.2.1 to 2.3.0dependabot[bot]
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-logger/releases) - [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v2.2.1...v2.3.0) --- updated-dependencies: - dependency-name: "@nextcloud/logger" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-24Render the Viewer source, if availableChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-07Bump pdfjs-dist from 2.14.305 to 2.15.349dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.14.305 to 2.15.349. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.14.305...v2.15.349) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-11Bump @nextcloud/logger from 2.1.0 to 2.2.1dependabot/npm_and_yarn/nextcloud/logger-2.2.1dependabot[bot]
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 2.1.0 to 2.2.1. - [Release notes](https://github.com/nextcloud/nextcloud-logger/releases) - [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v2.1.0...v2.2.1) --- updated-dependencies: - dependency-name: "@nextcloud/logger" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-07Revert "Bump @nextcloud/logger from 2.1.0 to 2.2.0"John Molakvoæ
2022-07-02Bump @nextcloud/logger from 2.1.0 to 2.2.0dependabot[bot]
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/nextcloud/nextcloud-logger/releases) - [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: "@nextcloud/logger" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-28Fix footer not hidden when Talk sidebar is shownDaniel Calviño Sánchez
When the Talk sidebar is shown the footer in public pages is moved into the "#app-content" element, so this needs to be taken into account when hiding the footer element. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-23Ensure the content taks the whole height when we hide the footerLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-11Bump pdfjs-dist from 2.13.216 to 2.14.305dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.13.216 to 2.14.305. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.13.216...v2.14.305) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-03Adapt layout for https://github.com/nextcloud/viewer/pull/1229John Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-08Fix unknown variable after upgrade from v2.13.216John Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-05Bump pdfjs-dist from 2.12.313 to 2.13.216dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.12.313 to 2.13.216. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.12.313...v2.13.216) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-22Bump @nextcloud/webpack-vue-config from 4.3.0 to 4.3.2dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.3.0 to 4.3.2. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.3.0...v4.3.2) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-18Bump @nextcloud/webpack-vue-config from 4.2.0 to 4.3.0dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-05Bump pdfjs-dist from 2.10.377 to 2.12.313dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.10.377 to 2.12.313. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/commits) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-05Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-05Merge pull request #506 from ↵John Molakvoæ
nextcloud/dependabot/npm_and_yarn/nextcloud/logger-2.1.0
2022-01-05Bump @nextcloud/logger from 1.1.2 to 2.1.0dependabot[bot]
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 1.1.2 to 2.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-logger/releases) - [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v1.1.2...v2.1.0) --- updated-dependencies: - dependency-name: "@nextcloud/logger" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01Comply to new addScript APIJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-24Bump @nextcloud/webpack-vue-config from 4.1.0 to 4.1.4dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.1.0 to 4.1.4. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.1.0...v4.1.4) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19Bump pdfjs-dist from 2.9.359 to 2.10.377dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.9.359 to 2.10.377. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.9.359...v2.10.377) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-19Fix download & print viewJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-16Remove images for dark modeDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-16Disable download of pdf filesDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-11Fix hide download and printingJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-31Bump @nextcloud/webpack-vue-config from 4.0.3 to 4.1.0dependabot[bot]
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.0.3 to 4.1.0. - [Release notes](https://github.com/nextcloud/webpack-vue-config/releases) - [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.0.3...v4.1.0) --- updated-dependencies: - dependency-name: "@nextcloud/webpack-vue-config" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-31Bump @nextcloud/babel-config from 1.0.0-beta.1 to 1.0.0dependabot[bot]
Bumps [@nextcloud/babel-config](https://github.com/nextcloud/babel-config) from 1.0.0-beta.1 to 1.0.0. - [Release notes](https://github.com/nextcloud/babel-config/releases) - [Commits](https://github.com/nextcloud/babel-config/commits) --- updated-dependencies: - dependency-name: "@nextcloud/babel-config" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-31Bump pdfjs-dist from 2.8.335 to 2.9.359dependabot[bot]
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.8.335 to 2.9.359. - [Release notes](https://github.com/mozilla/pdfjs-dist/releases) - [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.8.335...v2.9.359) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-13Fix pdfviewer designszaimen
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-16Bump deps and use npm7John Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-09Disable content copy for PDF files that specify itDaniel Calviño Sánchez
In v2.5.207 pdf.js added the "enablePermissions" option to disable copying in the viewer for the PDF files that specify it. The option is off by default, so it needs to be explicitly enabled. Note that the content copy is prevented just by disabling selection through CSS. The "selection disabled" flag in a PDF document is not a strong security measure and can be easily circumvented (for example, just downloading the file and opening it in a PDF reader that does not honour the flag), so disabling the selection through CSS was deemed good enough for pdf.js. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-05-26Merge pull request #394 from nextcloud/bump-27570v22.0.0beta2John Molakvoæ
2021-05-25Bump pdf.hs from 2.6.347 to 2.7.570acsfer
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-21Remove encodeURI codeRobbert Gurdeep Singh
The errors that required encodeURIComponent in the past have been mittigated by the following commit on nextcloud viewer. https://github.com/nextcloud/viewer/pull/868/commits/02e1b1a993fb24f577f16ac22f816b89c578acf2 The code with hasScheme may be removed, viewer now returns a full properly encoded URI thanks to the work done in nextcloud-router fixes #381 Signed-off-by: Robbert Gurdeep Singh <git@beardhatcode.be>
2021-04-26Migrate babel configJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17Make sure we only load the public script on public pagesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-02-25Bump @nextcloud/browserslist-config from 1.0.0 to 2.0.0dependabot[bot]
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 1.0.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/browserslist-config/releases) - [Commits](https://github.com/nextcloud/browserslist-config/commits) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-16Merge pull request #319 from nextcloud/bugfix/noid/public-folderJohn Molakvoæ
Fix opening pdf files in public folder shares
2021-02-16Fix opening pdf files in public folder sharesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-15Bump pdf.js to 2.6.347John Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-28Merge pull request #297 from ↵v21.0.0beta8Daniel Calviño Sánchez
nextcloud/fix-pdf-viewer-failing-on-edge-not-based-on-chromium Fix PDF viewer failing on Edge (not based on Chromium)
2021-01-28Merge pull request #291 from ↵Daniel Calviño Sánchez
nextcloud/fix-opening-pdf-files-with-special-characters-in-their-name Fix opening PDF files with special characters in their name
2021-01-28Fix PDF viewer failing on Edge (not based on Chromium)Daniel Calviño Sánchez
Since version v2.4.456 the PDF.js library is published as two different packages, a non-translated/non-polyfilled build for modern browsers and an ES5 compatible build for older browsers. The PDF viewer was using the build for modern browsers, so it did not work, for example, on Edge (the original version not based on Chromium). This has been changed to use the ES5 build instead for maximum compatibility. Unfortunately, the ES5 build requires allowing "unsafe-eval" in the iframe where the PDF.js library is loaded. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-22Only attempt to use a secure view if hide download is actually setJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-21Fix opening PDF files with special characters in their nameDaniel Calviño Sánchez
Before the move to the viewer the URL of the PDF file to load was got using "Files.getDownloadUrl()", which encodes each section of the path as a URI component. The full URL, in turn, was again encoded as a URI component to set the source of the iframe in which the PDF viewer is loaded. When the PDF viewer parsed the URL it decoded it once, so each section of the path was still encoded as a URI component. After the move to the viewer the URL of the PDF file to load was got from the "davPath" property set by the viewer, which uses the filename as is. The full URL was then encoded as a URI component, so when the PDF viewer parsed and decoded the URL the raw filename was used. In most cases it worked fine, but if the filename included some special character, like "?", the file failed to load. Now, instead of using the "davPath" property set by the viewer, each section of the dav path is encoded as a URI component. The encoding tries to not make any assumption on the format used by the viewer to avoid being coupled too much. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-18Bump pdf.js to 2.5.207John Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-31Bump vue-loader from 15.9.3 to 15.9.4dependabot[bot]
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.3 to 15.9.4. - [Release notes](https://github.com/vuejs/vue-loader/releases) - [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.3...v15.9.4) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-16Better debug output on public pagesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>