Commit graph

8664 commits

Author SHA1 Message Date
Michael Meeks
327869fffe re-factor childsession onLoad callback to cleanup parameter clutter.
Change-Id: I0665db05845a910abf1cc56e13d2f9845cc5c373
2019-08-26 16:29:12 -04:00
DarkByt31
7850c944e2 tdf#107038 Poco::Timestamp replacement with std::chrono
Change-Id: I85e041a778f14071e55fa6bd05b7b145f7887c57
2019-08-26 16:29:12 -04:00
Alexandru Vlăduţu
7682e8ca1b loleaflet: add extra check before opening vex dialog in map
Before opening the inactive dialog, we must check the existing of other
vex dialogs (for example when the user cannot open the file).

Change-Id: Iafa8684a02d444696e4d20e864cd3e68d1a59607
Reviewed-on: https://gerrit.libreoffice.org/78113
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-08-26 10:59:10 +02:00
Miklos Vajna
7bad7d2076 Try to avoid connection refused error in HTTPServerTest::testConvertTo()
In case we fail to send the request, try again in 2 seconds (same value
as the session timeout) before giving up. This seems to be needed for
core.git dbgutil builds; but don't do that unconditionally, in case the
sleep is not needed for optimized core.git.

Change-Id: Ie9ad8c066b7988ca37729f797c4b8dbb0ae2cbd6
2019-08-23 08:36:27 +02:00
Tor Lillqvist
634be102c7 tdf#126968: Implement "Save as PDF" in the iOS app
For now, add an entry "Save as PDF" to the File menu in the iOS app.
Handle in an iOS-specific way in ChildSession::downloadAs(). The PDF
is saved in the app's document directory on the device. The name of
the PDF is the basename of the document being edited with the "pdf"
extension.

Change-Id: Ib0059a86b03b978996eb4cadf230ba7f0abcba62
Reviewed-on: https://gerrit.libreoffice.org/77961
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-22 16:25:14 +02:00
Miklos Vajna
1b27ed045d Fix TileCacheTests::testClientPartImpress()
After commit 8e118889cb (wsd: leaflet:
support statusupdate: messages to sync clients, 2019-08-17), which added
a new hiddenparts= key, but forgot to adapt tests accordingly.

Change-Id: Ia5baefff37b88f5b173d65ae80a126f94b420cb0
2019-08-22 09:06:02 +02:00
Aron Budea
cfe43ef3f5 Improve SSL initialization
Always log cipher list, and disable any chance of fallback
to deprecated protocols.

Change-Id: Ifdfc7a3e44e98b078a36fdda6f3c813354a79e60
Reviewed-on: https://gerrit.libreoffice.org/76465
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-08-21 15:25:43 +02:00
Miklos Vajna
7952bfc32f wsd: fix assertion failure on 'make run'
loolwsd: ./common/Util.hpp:918: void Util::RuntimeConstant<bool>::set(const T &) [T = bool]: Assertion `!_initialized' failed.

Probably introduced in commit 3c1a130004
(wsd: fix build, with argument "--disable-ssl", 2019-08-20).

Change-Id: Ia7c310f1a8d6ed1b3b69bd91f9e117b97d15e7d7
2019-08-21 09:13:01 +02:00
Miklos Vajna
532ae61caf Fix UB in StorageBase::isExitSave()
StorageBase::_isExitSave was uninitialized:

wsd/Storage.hpp:181:38: runtime error: load of value 190, which is not a valid value for type 'bool'
    #0 0xd02260 in StorageBase::isExitSave() const /home/vmiklos/git/libreoffice/online-san/./wsd/Storage.hpp:181:38

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior wsd/Storage.hpp:181:38 in

Seen during unit-wopi-temp.

Change-Id: I3284637d411450a35680f6499e9d29c6f94aa723
2019-08-21 09:06:50 +02:00
Henry Castro
3c1a130004 wsd: fix build, with argument "--disable-ssl"
wsd/LOOLWSD.cpp:1034:14: error: ‘SSLEnabled’ is not a member of ‘LOOLWSD’
wsd/LOOLWSD.cpp:1049:14: error: ‘SSLTermination’ is not a member of ‘LOOLWSD’

Change-Id: I3e81431ef56f46a844733b797b4c443a77afeb6e
Reviewed-on: https://gerrit.libreoffice.org/77850
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 18:24:15 +02:00
Henry Castro
2872bc7be9 post logs JavaScript runtime errors to the loolwsd server
Change-Id: Ic8ccff52d2f051ea6d31b6d2bfe08fc08ea4d8c2
Reviewed-on: https://gerrit.libreoffice.org/77849
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 18:24:04 +02:00
Henry Castro
d58f4a937d loleaflet: mobile: fix misaligned font name in android WebView
Change-Id: Ibfee4427fc1fc667f90377f7cb6bbcb08a719b0e
Reviewed-on: https://gerrit.libreoffice.org/77848
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:35:23 +02:00
Henry Castro
2ba4becb75 loleaflet: mobile: limit the center point with max bounds when zooming
Change-Id: Ic2a3823204a717cb17057f5d8b4e25efea2c7759
Reviewed-on: https://gerrit.libreoffice.org/77847
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:31:19 +02:00
Marco Cecchetti
93992872e1 loleaflet: pinch + pan issue: move in the opposite direction
When the user pans with 2 fingers the document is moved in the
opposite direction. So we store the initial center point and invert
the offset to achieve the correct behavior.

Change-Id: Ief63aa39f56c3b812a90b392ddedc4ba21d813e4
Reviewed-on: https://gerrit.libreoffice.org/77846
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:31:02 +02:00
Henry Castro
dc41773267 loleaflet: mobile: apply auto fit width zooms when doc layer is loaded
When the leaflet.html is loaded, it fires the resize event, at that
instant the map does not exist nor the document layer. Once the objects
are properly initialized fire again resize to apply fit width zoom.

Change-Id: Ib8c149ca4ff20006884ad567f387d81d9d3086e1
Reviewed-on: https://gerrit.libreoffice.org/77845
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:25:42 +02:00
Henry Castro
38bce3d6f1 loeaflet: mobile: avoid long press event when a graphic is panning, part2
Change-Id: I9ecc20030f8db2ec85b8dbfca91a390b5d32c841
Reviewed-on: https://gerrit.libreoffice.org/77842
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:17:00 +02:00
Henry Castro
e291c42435 loleaflet: mobile: avoid long press event when a graphic is panning
Change-Id: I6ba8987e86f304b59336cb473d3fc023819da43e
Reviewed-on: https://gerrit.libreoffice.org/77841
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:14:22 +02:00
Henry Castro
040fa3c77c loeaflet: mobile: adjust the dialog position to top center, part2
Change-Id: Ie53ff4702a1559e4e3387adb8f12a70907b43118
Reviewed-on: https://gerrit.libreoffice.org/77840
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:12:06 +02:00
Jan Holesovsky
27ad4cd17b Fix TypeError.
No idea why window.mode.isMobile() did not work here - it does for me.
The previous code was causing a TypeError exception on the desktop.

Change-Id: I0108e2e4ac5d3ba487ac94b6459ea3f78032c606
Reviewed-on: https://gerrit.libreoffice.org/77839
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:11:49 +02:00
Henry Castro
bb6c0f15fe loeaflet: mobile: adjust the dialog position to top center
Change-Id: Ie53ff4702a1559e4e3387adb8f12a70907b43117
Reviewed-on: https://gerrit.libreoffice.org/77838
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:11:28 +02:00
Henry Castro
115a6d69be loleaflet: deselect graphic marker when socket closed
Change-Id: Ib9c48614eeeea4a1a252cc0497b95739dd0725fe
Reviewed-on: https://gerrit.libreoffice.org/77837
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:44:18 +02:00
Henry Castro
e860732e82 loleaflet: mobile: ensure startPoint is undefined after dragging the element
Change-Id: I7f261e4558ceb0082f0c1ab1015a90bd212733e9
Reviewed-on: https://gerrit.libreoffice.org/77836
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:42:41 +02:00
Henry Castro
4727c4c22b loleaflet: mobile: fix e.srcEvent that it does not have clientX and
clientY properties in Safari

Change-Id: I02531bc370a9768317e7e40480d589a82db7ab89
Reviewed-on: https://gerrit.libreoffice.org/77835
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:41:06 +02:00
Henry Castro
03b7d14e57 loleaflet: mobile: safari: disable scrolling and bounce effect
Change-Id: If00289febd753cbbcf38e197255644eb4ad216f3
Reviewed-on: https://gerrit.libreoffice.org/77834
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:39:28 +02:00
Henry Castro
e8e1516df1 loleaflet: fix flickering when zoom in and out
Change-Id: Ib39e5fc8df06ec420f0c3ee78ce6616bb4eafda8
Reviewed-on: https://gerrit.libreoffice.org/77833
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:36:54 +02:00
Henry Castro
b0b11b6e7a loleaflet: mobile: ensure to close any popups in long press event
Change-Id: I64d438e3667a92f16d5bc39490ba31fdd83691fb
Reviewed-on: https://gerrit.libreoffice.org/77832
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:34:56 +02:00
Henry Castro
4f0c62898c loeaflet: mobile: close popup dialog on tap event
Change-Id: Iad64295db4d9d135b4ce1f68bb62948e7be8e92e
Reviewed-on: https://gerrit.libreoffice.org/77831
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:34:40 +02:00
Henry Castro
e9f3761322 loleaflet: mobile: avoid long press in graphic handler markers
Change-Id: I4d526beb0114fae3298906aaf1a774d8915bf6eb
Reviewed-on: https://gerrit.libreoffice.org/77830
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 16:18:51 +02:00
Henry Castro
fe6a955d7d loleaflet: mobile: enable the option to scale and rotate graphics
Change-Id: I66e082ae7bf7551de90002164a87d2a267ea1523
2019-08-20 10:09:21 -04:00
Henry Castro
bd9da52e63 loleaflet: mobile: prepare manual dragging for scale and rotate of graphics
Change-Id: Ib0eae5a9e96a5305fcddbb6f508fc23a5db846a5
2019-08-20 10:09:21 -04:00
Henry Castro
724ab601ed loleaflet: fix wrong argument to dragging function
_onDrag: function(evt) {
  ...
  var first = (evt.touches && evt.touches.length >= 1 ? evt.touches[0] : evt);
  var containerPoint = this._path._map.mouseEventToContainerPoint(first);

the result containerPoint.x is NaN and containerPoint.y is NaN

Change-Id: I0916df74b3f9179e7dcb937a1427d30a0ebbe61b
2019-08-20 10:09:21 -04:00
Henry Castro
70c70ae040 loleaflet: mobile: enable manual dragging in the SVG group element
it is not necessary to add mouse event listeners
Change-Id: I7f51569794be2af4c739156c9c516250a04d43db
2019-08-20 10:09:21 -04:00
Tamás Zolnai
d1477ca985 Dialogs: controls without cursor should not pop-up keyboard
when selected on mobile.

Change-Id: Iee34ad4a878bacea1e11e754b41bf86734796b27
Reviewed-on: https://gerrit.libreoffice.org/77803
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-08-20 13:38:39 +02:00
Tor Lillqvist
1d3ac69ffd Avoid some "RuntimeConstant instance read before being initialized" issues
(In the !ENABLE_SSL case.)

Possibly the SSL or not ifdeffery could be cleaned up a bit more.

Change-Id: I0c9b4e956dcd317d6622a7394044fed0c4f2d976
Reviewed-on: https://gerrit.libreoffice.org/77780
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-20 10:55:32 +02:00
Tor Lillqvist
5d4f845aec tdf#122572: Make the context toolbar show up more reliably
It seems that the _onPress function is sometimes called multiple times
in succession and then the toolbar got first added but immediately
removed again. Ugly hack to fix that.

But note that in this branch, copy/paste seems to be broken in the iOS
app at the moment anyway. Apparently the code that makes it use the
system pasteboard is missing, or does not get called.

Reviewed-on: https://gerrit.libreoffice.org/77574
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit c2956383b9f353ffa98ae4a3c8e21769d3f334db)

Change-Id: Id4f1569670e599a2b37afc9ae5d91f31661f72e2
Reviewed-on: https://gerrit.libreoffice.org/77789
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-20 10:54:44 +02:00
Tor Lillqvist
232fdf5dcb tdf#126972: The "file icon" button in the menubar is useless in the iOS app
In "real" Online, in a WOPI environment, it does something useful. But
not in the iOS app. So no need to have it at all.

Change-Id: I87a6b7badcba2899f850a1e15eae591e9ed8895c
Reviewed-on: https://gerrit.libreoffice.org/77742
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit c5d6c7dd402da6987cd01f3c0759b28b3503d85c)
Reviewed-on: https://gerrit.libreoffice.org/77788
2019-08-20 10:54:29 +02:00
Tor Lillqvist
a91025e998 tdf#126972: Don't fold the menubar in the iOS app on a tablet
As the menubar is now then always visible in that case, no need to
have the hamburger button in the toolbar either.

Change-Id: Iec1ae28858ad994d008c294e5fa4069c5e9bc7ed
Reviewed-on: https://gerrit.libreoffice.org/77740
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/77787
2019-08-20 10:54:14 +02:00
Tor Lillqvist
f287b599bc Guard against uncaught exception
Change-Id: I0ebae5f7dbf07e81d7b09f5c98506e85a6a52e93
Reviewed-on: https://gerrit.libreoffice.org/76761
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 40285fa45d1019613bfc86d9aa5ca7702e9ba14f)
Reviewed-on: https://gerrit.libreoffice.org/77786
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-20 10:53:43 +02:00
Tor Lillqvist
c7b1159f36 tdf#122572: Temporarily resurrect the context toolbar, for the iOS app only
It will be superseded by the context menu, but that doesn't work even
in normal Online in this branch currently. Once it works, I can then
try to use the same styling for it in the iOS app as for the context
toolbar, to make it look like the native iOS "edit menu".

This reverts a3d9cf8999ac25bb2b2a5d6332d7ac6e2f7c7350, but for the iOS
app only.

Note that there are other problems related to copy and paste in this
branch in the iOS app. The copy/paste changes for normal Online have
caused regressions in the app.

Reviewed-on: https://gerrit.libreoffice.org/76192
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 5448916f98c1480cfbc64f58e6d4f1cdb3fd133f)

Change-Id: I5c13cd0a5ece9038aba774b229dd86ec9c6678fc
Reviewed-on: https://gerrit.libreoffice.org/77781
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-20 10:53:05 +02:00
Szymon Kłos
f8bb16d471 Fix not working clicks in dialogs on mobile devices
Sometimes input event was not sent and dialog was not working.
Eg. spreadsheet -> menu -> Data -> Validation

Change-Id: I8d864fdd73866080df5dc0b9b84e8e39054f65e3
Reviewed-on: https://gerrit.libreoffice.org/75943
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 03ed7b6e6f109a1111ce1e566c15ff09cb4e5158)
Reviewed-on: https://gerrit.libreoffice.org/77777
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-20 10:52:36 +02:00
Tor Lillqvist
8c19a0adbd Guard against this._map['mouse'] being undefined
This changes makes combo boxes in the iOS app work again. Unclear
what the situation for normal Online on a touch device is.

Change-Id: If84124d46ea015722e8079566fc04914ee2bc542
Reviewed-on: https://gerrit.libreoffice.org/75953
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 9e611b9398035ddb89a0dbc68f40388c2ec5cc4e)
Reviewed-on: https://gerrit.libreoffice.org/77776
2019-08-20 10:52:23 +02:00
Henry Castro
515b8e6299 loleaflet: mobile: enable manual dragging in L.Handler.PathDrag
for touch devices, it is not necessary to add mouse event listeners

Change-Id: Icc4ba5cacde47f79021d317af9b712ba17e84fd5
Reviewed-on: https://gerrit.libreoffice.org/77738
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 17:38:31 +02:00
Henry Castro
fde71e7fcc loleaflet: mobile: prevent default action of the 'contextmenu' event
Change-Id: I3f991dfc277548e5811c9342edd98775b3d51122
Reviewed-on: https://gerrit.libreoffice.org/77735
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 17:26:44 +02:00
Henry Castro
7af08ddc85 loleaflet: makefile: do not use hammer.j minified library
It is hard to debug the library if it is minfied,
it is preferable to non minified when --enable-debug is set

Change-Id: I7886d047d8aab90b68c12bb50964d263445d8afe
Reviewed-on: https://gerrit.libreoffice.org/77733
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 17:11:04 +02:00
Scott Clarke
4071f38635 Add ability to show/hide resolved comments
Add 'View:Resolved Comments' menu item
Hide all comments in a thread when resolving them
Connect Show/Hide resolved annotations to the annotation manager

Change-Id: Ib646bdea3dfc30fde6a11aa13562db147afd7ae0
Co-authored-by: Jim MacArthur <jim.macarthur@codethink.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/76758
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 16:45:22 +02:00
Scott Clarke
1e82c46bd3 Add ability to resolve comments
Add 'Resolve' button to annotation context menu
Add 'Resolved' indicator to comments

Change-Id: Ie43e247635a14d3407535e02ec2012f0809d425c
Co-authored-by: Jim MacArthur <jim.macarthur@codethink.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/76757
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 16:42:06 +02:00
Tomaž Vajngerl
7467710dab table handles: drag only in x/y axis, marker on hover, cursor
This adds:
- support to freeze movement to x or y axis when dragging the
marker (depends on the marker type - column or row marker)

- change marker on hover, which uses a different image, which is
solved in css

- change cursor to col-resize / row-resize when howering over the
marker

Change-Id: I63bf5e82860ef75f2dfde31ee2ab7ede6f61ce70
Reviewed-on: https://gerrit.libreoffice.org/77652
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-08-19 01:03:20 +02:00
Ashod Nakashian
6d94b35c35 wsd: block save of read-only documents
WSD is responsible for checking permissions,
as we do with DisableCopy and DisablePrint,
but until now we allowed saving even on
read-only documents.

The reason, it seems, was that when we failed
to save a document due to disk space, we
set documents as read-only. So presumably
we still had to allow saving, so users
preserve their latest changes when the disk
has some free space. Meanwhile, we didn't
let users make further changes. At least
this seems to be a reasonable explanation.

Unfortunately this meant that we allowed
saving when the user had no permission,
or the document was loaded as read-only.

Now we no longer mark documents that fail
to save due to disk-space limitation as
read-only, and instead expect the client
to notify the user and (possibly) block
further edits. And read-only documents,
or users without write permission, are
no longer allowed to get saved.

This change makes sure that the ctrl+s
shortcut respects the read-only flag,
while we allow clients to disable
the default handler and decide what to
do (although now they cannot force saving
when the user has no permission, something
they could do previously).

Change-Id: I16c3b75fd3e54435d750948a25afd6f71c9f963b
Reviewed-on: https://gerrit.libreoffice.org/77594
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-08-17 04:44:51 +02:00
Ashod Nakashian
64c5ec5bbc wsd: don't warn incorrectly when selecting current part
Change-Id: I3c872469911b1f232e40cc110859402fc0814f3a
Reviewed-on: https://gerrit.libreoffice.org/69640
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/71104
2019-08-17 04:44:29 +02:00
Ashod Nakashian
22d03720a2 leaflet: select the current slide and update previews after reordering
Change-Id: Iec1c41b257744e99d8447518be0b38eb9a28d715
Reviewed-on: https://gerrit.libreoffice.org/69639
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/71103
2019-08-17 04:43:00 +02:00