No description
97c77a25c2
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> |
||
---|---|---|
.git-hooks | ||
.github | ||
.gitpod-files | ||
android | ||
common | ||
cypress_test | ||
debian | ||
docker | ||
etc | ||
fuzzer | ||
gtk | ||
ios | ||
kit | ||
kubernetes/helm | ||
loleaflet | ||
man | ||
net | ||
scripts | ||
test | ||
tools | ||
wsd | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gitpod.dockerfile | ||
.gitpod.yml | ||
AUTHORS | ||
autogen.sh | ||
browsersync-config.js | ||
ChangeLog | ||
CODE_OF_CONDUCT.md | ||
configure.ac | ||
CONTRIBUTING.md | ||
coolstress.in | ||
COPYING | ||
discovery.xml | ||
favicon.ico | ||
g | ||
loolkitconfig-mobile.xcu | ||
loolkitconfig.xcu | ||
loolwsd-generate-proof-key | ||
loolwsd-systemplate-setup | ||
loolwsd.init.rhel6 | ||
loolwsd.service | ||
loolwsd.spec.in | ||
loolwsd.xml.in | ||
Makefile.am | ||
NEWS | ||
PROBLEMS | ||
README.CONTRIBUTING.md | ||
README.md | ||
SECURITY.md | ||
sysconfig.loolwsd |
Collabora Online
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
Further recommended reading with build details
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