2 Commits

Author SHA1 Message Date
Alexander Hofbauer
16c54c0fce Fix unbound variable access 2021-07-03 08:37:59 +02:00
Alexander Hofbauer
1f9837122a Add notes about broken features and upstream 2021-07-02 12:20:24 +02:00
2 changed files with 22 additions and 7 deletions

View File

@@ -2,12 +2,27 @@
[![Docker Image CI](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml/badge.svg)](https://github.com/aleho/onlyoffice-ce-docker-license/actions/workflows/docker-image.yml)
## Notes
Please don't ask for setup support. I cannot support all your different setups. Sorry.
Please also don't ask OnlyOffice devs for support if something is broken with this image.
**There will be bugs.**
**Some functionaly will absolutely be broken.**
**Don't expect this repository to provide every feature the paid version provides.**
**Some mobile editing features are reverted by the patches to very old code (before they were removed).**
**This code can not only break but also will not receive security updates.**
## Features
This [Dockerfile](./Dockerfile) and patches compile a version of
OnlyOffice Docs server with mobile editing enabled in the Nextcloud apps for an
unlimited amount of concurrent users.
The patches provided in this repository also try to provide basic functionality from an old release.
It can be integrated into e.g. Nextcloud or ownCloud like the official images.
## Background

View File

@@ -1,6 +1,6 @@
From 45f206f4f02c1427cceabc7e7d48d9873eda5afa Mon Sep 17 00:00:00 2001
From: Alexander Hofbauer <a.hofbauer@fify.at>
Date: Fri, 21 May 2021 10:35:21 +0200
From b99b3c2013521042374601e514d9e91c93372016 Mon Sep 17 00:00:00 2001
From: Alexander Hofbauer <alex@derhofbauer.at>
Date: Sat, 3 Jul 2021 08:29:29 +0200
Subject: [PATCH] Revert "disable mobile editing"
partially brings back mobile editing, especially via:
@@ -942,7 +942,7 @@ index aa22af261..1c23e264d 100644
onBorderSize: function (e) {
diff --git a/apps/presentationeditor/mobile/app/controller/edit/EditSlide.js b/apps/presentationeditor/mobile/app/controller/edit/EditSlide.js
index eaceadccd..d832591b4 100644
index eaceadccd..0275e300d 100644
--- a/apps/presentationeditor/mobile/app/controller/edit/EditSlide.js
+++ b/apps/presentationeditor/mobile/app/controller/edit/EditSlide.js
@@ -89,6 +89,7 @@ define([
@@ -991,14 +991,14 @@ index eaceadccd..d832591b4 100644
+ this._themes = [];
+
+ _.each(defaultThemes, function(theme, index) {
+ this._themes.push({
+ me._themes.push({
+ themeId : theme.get_Index(),
+ offsety : index * 38
+ });
+ });
+
+ _.each(docThemes, function(theme) {
+ this._themes.push({
+ me._themes.push({
+ imageUrl: theme.get_Image(),
+ themeId : theme.get_Index(),
+ offsety : 0
@@ -1583,5 +1583,5 @@ index 83e225529..5f701a46d 100644
onBorderSize: function (e) {
--
2.31.1
2.32.0.rc2