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/lib
AgeCommit message (Collapse)Author
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-03-17Make sure we only load the public script on public pagesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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-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-08-18Add the framesrc csp by defaultRoeland Jago Douma
Since we want to iframe the pdfviewer we need to properly set it. Else it might not work on some pages. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-13Public pagesJohn 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-07-13Use IBootstrap for the app files_pdfviewerMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-02-08Move to proper app structureRoeland Jago Douma
* This allows us to use the composer autoloader * Added typehints * Added strict types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>