Miklos Vajna
847c65cb1c
LOOLSession: handle file:// in the ToPrisoner saveas input handler
2015-10-20 14:45:00 +02:00
Miklos Vajna
dc56637e11
loolwsd: don't try to exclude jails from tags
...
Don't pretend that we know where jails will be, the may be elsewhere. If
indexing jails/systemplate is problem, configure them outside the build
tree instead.
2015-10-20 14:18:02 +02:00
Miklos Vajna
4feb29d1df
LOOLSession: inform to-client session about completed save-as
2015-10-20 14:03:39 +02:00
Mihai Varga
7785694d64
loleaflet: downloadAs unit test
2015-10-20 11:54:23 +03:00
Mihai Varga
4ebcc3d2d2
loleaflet: remove event listeners after each test
2015-10-20 11:54:23 +03:00
Mihai Varga
701f0a1ea2
loleaflet: better handle map.remove()
2015-10-20 11:54:23 +03:00
Mihai Varga
7d1918e367
loleaflet: add id paramater to downloadAs method
2015-10-20 11:54:22 +03:00
Mihai Varga
0f9263d76f
loleaflet: if window's protocol is file: add http: to download url
2015-10-20 11:54:22 +03:00
Mihai Varga
80c34db3d1
loleaflet: removed unused variable from unit test
2015-10-20 11:54:22 +03:00
Mihai Varga
9b06a0df77
loleaflet: removed the old unit test
2015-10-20 11:54:22 +03:00
Mihai Varga
03ffa4e740
loleaflet: search unit tests
2015-10-20 11:54:22 +03:00
Mihai Varga
7143b86849
loleaflet: parse the integer in the search result message
2015-10-20 11:54:22 +03:00
Mihai Varga
38718c1915
loleaflet: parts and pages unit tests
2015-10-20 11:54:22 +03:00
Mihai Varga
285e625acc
loleaflet: initialize the part/page rectangles arrays
2015-10-20 11:54:22 +03:00
Mihai Varga
e5ba1f3860
loleaflet: permissions unit tests
2015-10-20 11:54:22 +03:00
Miklos Vajna
cc18cc702f
loolwsd: extraft filename from convert-to parameters
2015-10-19 16:03:55 +02:00
Miklos Vajna
f0ba09f3dd
LOOLSession: check for 0 _ws
2015-10-19 16:03:55 +02:00
Mihai Varga
62184cffb4
loleaflet: documented the print event
2015-10-19 11:31:20 +03:00
Mihai Varga
05e81a0edb
loleaflet: allow the disabling of the print handler
2015-10-19 11:24:30 +03:00
Mihai Varga
ed35ac63f6
loleaflet: searchAll method
2015-10-19 10:44:54 +03:00
Mihai Varga
a666eb248f
loleaflet: [more] rectangles to pixel bounds method
2015-10-19 10:29:53 +03:00
Mihai Varga
0ea00afb99
loolwsd: allow the specification of the mime type
2015-10-16 19:45:57 +03:00
Mihai Varga
9deebf4f87
loleaflet: directly load the presentation in an iframe
...
We now export the presentation document to a single svg document which
can be loaded in an iframe and displayed in fullscreen
2015-10-16 19:35:31 +03:00
Mihai Varga
d7ceedac54
drop 'part' from downloadas protocol as it is no longer needed
2015-10-16 19:35:31 +03:00
Miklos Vajna
fed0cbc77c
loolwsd: -Werror=unused-parameter
2015-10-16 17:45:03 +02:00
Miklos Vajna
9212c1c321
loolwsd: convert-to handler skeleton
2015-10-16 17:38:24 +02:00
Miklos Vajna
63bf9a1329
loolwsd: invert this condition, so it's possible to add other cases
2015-10-16 15:47:39 +02:00
Miklos Vajna
700b7d08b7
loolwsd: allow frame size of 200K
...
I got:
WebSocketException: Insufficient buffer for payload size 113579
So double the allocated size: that seems to help.
2015-10-16 15:24:19 +02:00
Mihai Varga
84b7b128a0
loleaflet: fullscreen slideshow
...
We request svg exports for each slide which we then display in fulscreen
2015-10-16 14:07:45 +03:00
Mihai Varga
b518046a59
loleaflet: don't scroll based on the selection, but based on the cursor
2015-10-16 14:07:45 +03:00
Tor Lillqvist
c639e76ac2
bugs.ccu#1248: Copy also locale data into systemplate
...
Let's hope the files I list is enough to cover both openSUSE 13.2 and
Debian 8.
2015-10-16 12:55:47 +03:00
Mihai Varga
1588dd5f5d
loleaflet: map.getPageSizes - returns the size of each page
...
In twips and pixels
2015-10-15 19:33:37 +03:00
Mihai Varga
3ba0bd6aeb
loleaflet: mention reference.html in README
2015-10-15 19:33:37 +03:00
Mihai Varga
4d8169fa3b
loleaflet: mention that some parameters are in twips
2015-10-15 19:33:37 +03:00
Mihai Varga
113a312023
loleaflet: we now have getPreview and getCustomPreview methods
...
getPreview can be used to request a preview of a page or a part while
getCustomPreview can be used to get a preview of a user defined section
of the document
2015-10-15 19:33:37 +03:00
Mihai Varga
21028a7500
loleaflet: updated and reorganized the html documentation
2015-10-15 19:33:37 +03:00
Miklos Vajna
2cf417f863
loolwsd: update the bundled headers
2015-10-14 16:13:30 +02:00
Mihai Varga
0708e4440f
added a part parameter to the 'downloadas' command
...
We need it to export a specific slide to svg
2015-10-13 20:58:45 +03:00
Mihai Varga
5f655a7555
loleaflet: print handler tdf#94607
...
In a browser != Firefox we use a hidden iframe to load the exported pdf
document and call print on that iframe.
For Firefox where the PDFjs script has some permission problems, we
can't do that so we just notify the user that they can download a pdf
version of the document
2015-10-13 20:58:45 +03:00
Mihai Varga
ee3687d738
loleaflet: presentation button
2015-10-13 20:58:45 +03:00
Tor Lillqvist
7e78f3f0c6
bugs.ccu#1248: If locale is C, set it to en_US.utf8
2015-10-13 20:05:42 +03:00
Miklos Vajna
677de915ff
loolwsd: remove redundant LOK_CALLBACK_SEARCH_RESULT_COUNT handling
2015-10-13 14:54:59 +02:00
Miklos Vajna
d19f483085
loolwsd: update the bundled headers
2015-10-13 14:53:30 +02:00
Mihai Varga
602e535bb2
loleaflet: fixed the slides preview
2015-10-13 13:41:08 +03:00
Mihai Varga
aeed62cd6b
loleaflet: have a 2 layer toolbar
2015-10-13 13:27:45 +03:00
Mihai Varga
c4825f5492
loolwsd: allow cross origin requests
2015-10-12 20:33:29 +03:00
Mihai Varga
51505e1934
add an ID parameter to the downloadas command
...
We need it to know wheter the user wants to download the file or just
print it, etc
2015-10-09 17:20:18 +03:00
Mihai Varga
9dee045776
loleaflet: use the window's protocl for downloading
2015-10-09 17:00:37 +03:00
Mihai Varga
cf089ccf2a
tdf#94607 downloadAs command handler
...
We use a hidden iframe to download the document. Once we have the url
for it, we set iframr.src = url
Also added map.downloadAs(name, format, options) method
2015-10-09 16:14:38 +03:00
Mihai Varga
676c6d60d1
tdf#94607 downloadAs command that generates an URL for the doc
...
When requested, the document is exported under
/jail_path/CHILD_ID/user/thedocument/RANDOMDIR/filename
and CHILD_ID, RANDOMDIR and the filename are communicated to the client.
When the client requests
http://server:port/CHILD_ID/RANDOMDIR/filename , the exported document
is served and then RANDOMDIR is removed
2015-10-09 16:11:38 +03:00