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
AgeCommit message (Collapse)Author
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-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>
2021-05-25Update templateJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-02-15Bump pdf.js to 2.6.347John Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-26Disable download button by defaultJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12Hide the download button by default.John Molakvoæ
2020-10-11Remove close buttonJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-13Move packaging to webpack and update/clean all configsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-17Update "viewer.php" to PDF.js 2.0.943Daniel Calviño Sánchez
The "viewer.php" acts as the "viewer.html" file included in the PDF.js package. This commit updates "viewer.php" with the changes to "viewer.html" from PDF.js 1.9.426 to 2.0.943 while respecting the customized parts of "viewer.php" (like the close button or the "nonce" attribute). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-21Fix load of character mapsDaniel Calviño Sánchez
The character maps are used by PDF.JS for font rendering, and are needed to properly show some texts (for example, Japanese text). The PDF.JS package provides the needed character maps, but the URL to get them must be set with the "PDFJS.cMapUrl" property in the same way as the "PDFJs.workerSrc" property is set (as the default value set in "viewer.js" is not right for the PDF viewer app). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-27Fix trying to load removed scriptsDaniel Calviño Sánchez
The scripts "compatibility.js" and "l10n.js" were removed when PDF.js was updated to 1.9.426. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-14Fix undefined variableDaniel Calviño Sánchez
"getAppVersion()" expects the ID of the app, but "$app" is not defined in the templates, so it was just replaced by the hardcoded ID of the app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-21Make app compliantRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-24Disable "Open file" buttonDaniel Calviño Sánchez
Due to the changes from PDF.js 1.4.20 to 1.9.426 now trying to open a different PDF file fails with a Content Security Policy violation. Instead of fixing that the "Open file" button was disabled, as being able to open a different PDF file from the local file system to view it instead of the PDF file in the server did not provide much value. The button was disabled by setting the "hidden" attribute to "true" instead of with the CSS class for consistency with how it is done in "vendor/pdfjs/web/viewer.js" when the browser does not support any of the APIs needed to open the local file. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-02-24Update "viewer.php" to PDF.js 1.9.426Daniel Calviño Sánchez
The "viewer.php" acts as the "viewer.html" file included in the PDF.js package. This commit updates "viewer.php" with the changes to "viewer.html" from PDF.js 1.4.20 to 1.9.426 while respecting the customized parts of "viewer.php" (like the close button or the "nonce" attribute). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2016-12-02show pdf preview in the files sidebarRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-25Add nonceLukas Reschke
2016-10-14Fix PDF viewer in non-clean URL setupLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-14Update pdfjs to version v1.4.20Vincent Petry
2015-12-17Merge pull request #86 from owncloud/add-back-close-buttonLukas Reschke
Add back close button
2015-12-10remove white area below pdf viewer on public pageHendrik Leppelsack
2015-12-07Add back close buttonLukas Reschke
2015-12-07Bump PDFJS to 1.1.469Lukas Reschke
2015-09-09Do not include a refererLukas Reschke
2015-05-12new file: css/style.cssGrigorii Horos
new file: img/toolbarButton-secondaryToolbarClose.png new file: img/toolbarButton-secondaryToolbarClose@2x.png modified: js/previewplugin.js modified: templates/viewer.php
2015-03-10Fix share button displayLukas Reschke
With ownCloud 8 the "Close" button of the PDF Viewer is shown incorrectly and overlaps the "secondary tool bar" button which results in a bad user experience and looks very ugly. This patch addresses this problem by moving the "Close" button inside the iframe and accessing it using jQuery. Testplan: - [ ] Accessing a PDF as logged-in user from the file list works and a Close button is shown. - [ ] Clicking on the close button closes the file - [ ] Sharing a single PDF file via link works and no Close button is shown - [ ] Sharing a folder containing a PDF file via link works and a Close button is shown. - [ ] Clicking on the close button closes the file To test this properly you need probably to checkout https://github.com/owncloud/core/pull/14773
2014-12-22Append version to script to fix caching issuesLukas Reschke
Otherwise when updating ownCloud and the JS files have changed some loading issues may appear.
2014-12-18Switch to AppFramework and clean-up some codeLukas Reschke
2014-08-21Add version to JS filesLukas Reschke
This is an ugly hack but ok for now. Let's fix this with a refactoring later.
2014-05-19Now calling setViewerMode() when starting/stopping viewerVincent Petry
2014-05-08PDF viewer: remove infield labelsJan-Christoph Borchardt
2014-03-27jquery-migrate-1.2.1.min.js was missing + open buttons removedThomas Müller
2014-03-26adding missing javascript libs and adding missing quotes on locale.propertiesThomas Müller
2014-03-09Remove router.jskondou
2014-03-09Update pdf.js to 0.8.1136kondou
2013-10-09Fixes broken PDF viewerVincent Petry
PDF viewer now correctly detects the files app. Added missing JS dependency. Fixes #1409
2013-07-19Change files_pdfviewer to use the OCP functions instead of the core onesBart Visscher
2013-05-30Update jquery to 1.10.0 core/#3509kondou
2013-05-22dnld buttonBastien Ho
2013-05-22download button misteriously disapearedBastien Ho
2013-05-22replace close buttonBastien Ho
2013-04-01Updated pdf.phpkondou
Pretty much based on viewer.html, bumping this as well.
2013-02-28Replace echo with pLukas Reschke
2013-02-04Hide uneeded buttonsLukas Reschke
2013-02-04Load correct fileLukas Reschke
2013-02-04Tabs instead of spacesLukas Reschke
2013-02-04Bump pdf.jsLukas Reschke
2013-01-22Move inline JS to external fileLukas Reschke
2013-01-22Move inline JS to external fileLukas Reschke
2012-09-15new pdf viewer - much more stable than the old oneThomas Mueller