1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

Merge branch 'master' into pdfreader

- fix merge conflicts master -> pdfreader
This commit is contained in:
frankdelange 2018-01-18 01:26:39 +01:00
commit 41d5a19252
8 changed files with 22 additions and 3 deletions

View file

@ -10,6 +10,25 @@
- new version bitjs archive tools, fixes compatibility problems with some CBR files
- increased maximum supported version for OC and NC
## 1.0.4 - 2017-04-09
### Fixed
- #43, remove table aliases in hooks to avoid being bit by querybuilder/doctrine/MySQL incompatibility/idiosyncracy
- #39, #41 and #42, NOTE: if you're on MySQL or MariaDB you might need to enable 4-byte support if this has not been done yet, otherwise you'll get a '1071 Specified key was too long' error on install. More information on this issue - which also occurs when trying to use Emoji characters in a NC/OC installation on a MySQL or MariaDB database - can be found here: https://docs.nextcloud.com/server/11/admin_manual/maintenance/mysql_4byte_support.html
## 1.0.3 - 2017-03-29
### Fixed
- #40, detect shared file OR folder and (try to) get fileId for such when applicable
## 1.0.2 - 2017-03-25
### Fixed
- #37, use getAppManager()->isInstalled('files_opds') instead of class_exists to avoid log spam
### Changed
- new version bitjs unarchiver, increases compatibility with CBR files (at the cost of some speed)
- move function declarations in js/ready.js down one block level so browsers which do not support
ES6 (e.g. Palemoon) can find them. Unfortunately the above new version of bitjs uses another ES6
feature (classes) which Palemoon does not support so this change may be moot...
## 1.0.1 - 2017-03-19
### Fixed
- #35: Internal Server Error: fixed path resolution so app works when NC/OC hosted in subdirectory

View file

@ -121,7 +121,7 @@ document.onreadystatechange = function () {
/* device-specific boilerplate */
// IE < 11
// IE < 11
if (navigator.userAgent.indexOf("MSIE") != -1) {
EPUBJS.Hooks.register("beforeChapterDisplay").wgxpath = function(callback, renderer){
wgxpath.install(renderer.render.window);

View file

@ -158,7 +158,7 @@ class PageController extends Controller {
} else {
$filePath = $path;
$fileId = $this->rootFolder->getUserFolder($this->userId)
->get(explode("/", rawurldecode($this->request->get['file']),4)[3])
->get(preg_replace("/.*\/remote.php\/webdav(.*)/", "$1", rawurldecode($this->request->get['file'])))
->getFileInfo()
->getId();
}

View file

@ -13,7 +13,7 @@
$metadata = $_['metadata'];
$annotations = $_['annotations'];
$title = htmlentities(basename($dllink));
$revision = '0046';
$revision = '0047';
$version = \OCP\App::getAppVersion('files_reader') . '.' . $revision;
/* Mobile safari, the new IE6 */