No description
Find a file
Tor Lillqvist 97c77a25c2 Make the help file work properly in the mobile apps
We cannot use jQuery.get (a.k.a. $.get) in the mobile apps as that
uses some XMLHttpRequest thing that obviously won't work when there is
no web server involved, but loleaflet.html has been loaded from a
file: URL. Simply store the help file into a global variable and use
that instead.

A small refactoring of the showHelp function was needed to factor out
the call of vex.open into a separate function. That is called directly
from showHelp in the mobile app case. Otherwise, it is called from a
short function passed to $.get, as before.

Note that in the mobile apps we cannot use window.open (which in the
mobile apps has been redefined to send a "HYPERLINK <url>" message to
the native app code) to open the help file, because the HYPERLINK
message is for opening a web page in a browser, completely separately
from the app. It is used to display the commit log for the Help>About
functionality.

And anyway, the old idea (that didn't work) to take a shortcut in the
mobile app case and just display the help file in showHelp will not
work anyway as we need the code that edits the contents before it is
displayed, and handles the close button in the help file.

This fixes https://github.com/CollaboraOnline/online/issues/400
This fixes https://github.com/CollaboraOnline/online/issues/401

Change-Id: I16dc960f26af7e6e89663c3ac0523ce5c3d41c34
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-03-18 19:37:34 +02:00
.git-hooks
.github
.gitpod-files remove traces of "LibreOffice Online Personal" brand 2020-12-21 12:39:27 +01:00
android Translated using Weblate (Spanish) 2021-03-18 10:51:46 +01:00
common wsd: better logging 2021-03-13 19:34:02 -05:00
cypress_test cypress: remove this unreliable test. 2021-03-18 10:36:14 +01:00
debian compat level 10 by default restarts service after upgrade -- this is what we want for minimal downtime 2021-03-18 15:06:34 +01:00
docker add 'how to build Collabora Online 6.4 docker' to README 2021-02-09 15:48:22 +01:00
etc
fuzzer LOOLWSD::sendMessageToForKit: add error handling 2021-03-16 10:46:23 +01:00
gtk
ios Translated using Weblate (Vietnamese) 2021-03-16 12:54:03 +01:00
kit Optimize for overlayfs by forcing an initial copy to linkable/ 2021-03-15 15:47:34 +02:00
kubernetes/helm Bring kubernetes proof-of-concept setup with just collabora-online 2021-01-29 11:17:28 +01:00
loleaflet Make the help file work properly in the mobile apps 2021-03-18 19:37:34 +02:00
man
net wsd: http: better logging 2021-03-16 08:27:46 -04:00
scripts Update unocommands for Control.NotebookbarDraw.js 2021-03-01 13:58:14 +03:00
test test: don't use colored logging when output is redirected 2021-03-16 08:27:46 -04:00
tools wsd: simplify and document dumpHex 2021-03-13 19:34:02 -05:00
wsd LOOLWSD::sendMessageToForKit: add error handling 2021-03-16 10:46:23 +01:00
.clang-format
.clang-tidy
.gitignore Control.Scroll.js: Move to typescript. 2021-03-02 09:25:41 +03:00
.gitpod.dockerfile
.gitpod.yml
AUTHORS
autogen.sh Use portable /usr/bin/env bash shebang, instead of /bin/bash one. 2020-12-17 11:52:18 +00:00
browsersync-config.js
ChangeLog
CODE_OF_CONDUCT.md
configure.ac android: Add support for split APKs to gradle 2021-03-16 18:05:45 +03:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-03-11 10:06:20 +03:00
coolstress.in Use jsdom to load and execute our CSS, HTML and JS. 2021-01-16 12:18:47 +00:00
COPYING
discovery.xml Enable editing of ODG in discovery.xml 2021-01-21 10:22:58 +01:00
favicon.ico replace favicon.ico (Collabora Online logo) 2020-12-14 13:56:00 +01:00
g g review: fix advice on how to update the existing PR ... 2020-12-18 19:09:23 +01:00
loolkitconfig-mobile.xcu
loolkitconfig.xcu Revert "config: add "Macro Security" default value" 2021-03-18 15:06:47 +01:00
loolwsd-generate-proof-key
loolwsd-systemplate-setup Port loolwsd-systemplate-setup to FreeBSD. 2021-03-02 13:44:09 +01:00
loolwsd.init.rhel6
loolwsd.service add CAP_CHOWN to systemd service files 2021-01-06 11:39:01 +01:00
loolwsd.spec.in On-disk cache was removed long ago, clean-up in packaging 2021-01-26 21:10:50 +01:00
loolwsd.xml.in config: add "macro_security_level" item 2021-03-12 08:23:56 -04:00
Makefile.am make: delete loolwsd binary if it fails to cleanup 2021-03-13 16:44:09 -05:00
NEWS
PROBLEMS
README.CONTRIBUTING.md
README.md
SECURITY.md
sysconfig.loolwsd

Collabora Online

irc Telegram Forum Website L10n Gitpod Ready-to-Code

LibreOffice in the Cloud on your own Terms

Key features

  • View and edit text documents, spreadsheets, presentations & more
  • Collaborative editing features
  • Works in any modern browser no plugin needed
  • Open Source

Website

For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/

Developer assistance

Please ask your questions on irc.freenode.net in our #cool-dev channel

Join the conversation on our Discourse server at https://forum.collaboraonline.com/

Watch the tinderbox status (if it's green) at https://cpci.cbg.collabora.co.uk:8080/view/Tinderbox/job/Tinderbox%20for%20online%20master/

Development bits

This project has several components:

  • wsd/
    • The Web Services Daemon - which accepts external connections
  • kit/
    • The client which lives in its own chroot and renders documents
  • common/
    • Shared code between these processes
  • loleaflet/
    • The client side JavaScript component
  • test/
    • C++ based unit tests
  • cypress_test/
    • JavaScript based integration tests

Please consult the README files in the component's directory for more details:

  • wsd/README
  • loleaflet/README

iOS and Android apps

See the corresponding READMEs:

  • ios/README
  • android/README

Enjoy!