Commit graph

7579 commits

Author SHA1 Message Date
Samuel Mehrbrodt
02e7a2680a Remove reference to wrong function name
Change-Id: I7ee24cacfd7facb96419167643202a04ee7adaad
2018-12-10 15:29:29 +01:00
Samuel Mehrbrodt
7047b9b681 Fix Show_Button / Hide_Button
Was broken with 131f3e9b6b

Change-Id: I88e607cb005e3acfc80c12e87db1ac3e1258fb5a
2018-12-10 15:26:47 +01:00
Miklos Vajna
0648d462ff signing: update end point URL suffix to work again
Server-side code was changed.

Change-Id: Icf784a261de66e519f1c6975b70820ef0b6888a0
2018-12-10 10:10:58 +01:00
Miklos Vajna
b1f06d1c0a FileUtil: make fs members private
Change-Id: I921118c42a20117725074169f6425e9ff87bc54b
2018-12-10 08:55:39 +01:00
Andras Timar
d9dee9793b id of Close button on Document signing bar should be unique
Change-Id: Ib4f9d044d8e943de27f36029ce54100d29553604
2018-12-09 23:13:35 +01:00
Andras Timar
9539c212ef loleaflet: enable l10n of Signing Identities dialog
Change-Id: I4b6f5c998c649c6bfe89fc6af1e1f32f39053cbe
2018-12-09 21:53:49 +01:00
Andras Timar
d2dd7c697b Updated Slovenian translation
Change-Id: I136d57aec54487f15762cd2487924c5b8991a133
2018-12-09 17:33:23 +01:00
Andras Timar
60027d3b31 loleaflet: add dsb, fy, and kab translations
Change-Id: I470865ef5cf9d5f239313ae339c23bba36012637
2018-12-09 15:18:57 +01:00
Andras Timar
80597abe3d loleaflet: update pot files
Change-Id: I89c9fd2d98d165a42b31d171cd46e9e35bdb0b34
2018-12-08 16:10:11 +01:00
Andras Timar
8092c3eabd docker: do not install system libpixman, fix RPATH of libcairo
Change-Id: I28c6ee71bca80d1dd65daa02af5d719a94d55034
2018-12-08 16:08:03 +01:00
Jan Holesovsky
e0e55832d0 ui: Unfortunately we have to start with the 'styles' visible even in calc.
The 'hidden: true' is causing trouble, just toolbarUp.show('styles') is
not enough to make them visible ex-post, so for the moment, default to
visible.

Change-Id: If49bcaea3813ae9bcb299b8ab70750d32986a3fe
2018-12-08 00:08:17 +01:00
Szymon Kłos
c984e6c321 Make the toolbar white
Change-Id: I9bcec2ed9c162b84f3f53f9abbeb3616ed1c35c9
2018-12-07 21:52:40 +01:00
Szymon Kłos
b4baf6d82c Show sheets toolbar in readonly mode
Change-Id: Iac6390d7cb5186ca9538cd3ed9d7c896aa9c8f81
2018-12-07 21:51:45 +01:00
Tor Lillqvist
2768d8b9fd Bump CFBundleVersion
Change-Id: I0278c745924787fdf5f258bb7d334fa6eef14fc0
2018-12-07 15:28:11 +02:00
Jan Holesovsky
26db5646ed Some compilers do not like this and complain about shadowing the methods.
Change-Id: Iabdc790a9c2c37eccbcb4245a48d564c69ea5d19
2018-12-07 13:39:10 +01:00
Szymon Kłos
b23d72a868 Slide switching buttons in mobile
Change-Id: Idf30f53dc8e1a68d0c99dfef484ea9796ee40550
2018-12-07 12:39:28 +01:00
Szymon Kłos
d68d6cda4a WOPI: Action_RemoveView
Change-Id: Ie8160b70b94c5cb9012560fde64e7e4e9eb079cf
2018-12-07 12:39:28 +01:00
Ashod Nakashian
3bcc198483 leaflet: check status change by comparing payloads only
Since we have two status message commands, we need
to store and compare just the payloads, lest we
unnecessarily re-process the document state when
nothing has changed (except we got status: vs statusupdate:
or vice versa).

Change-Id: I8506fc4ced3e7677ccc6725893b5ad8eeb8e9f9d
2018-12-07 12:39:28 +01:00
Ashod Nakashian
76a14c8eb0 wsd: document forced autosave and why isAutosave=false
Change-Id: I5bb35898bb917f6768327b264e87dd9000a10ecc
2018-12-07 12:39:28 +01:00
Henry Castro
95042c1889 loleaflet: restore original preserveAspectRatio attribute
Change-Id: Ia34deb90c958e3d633d098b63c49adfd5bc3bdac
2018-12-07 12:39:28 +01:00
Szymon Kłos
1df7208956 Enable undo & redo after enterEditMode
Change-Id: I275f16613eafe74539a8ddd939a8db9979174e6d
2018-12-07 12:39:28 +01:00
Szymon Kłos
facbffb072 Enable buttons after read-only mode exit
Change-Id: Ic6680d53d07ba0d3a026ae0e17ba5ba812e60e32
2018-12-07 12:39:28 +01:00
Szymon Kłos
e71bbfcbc0 Reload menubar on permissions change
Change-Id: I156315982cea806de9f0cd21ef45e018be0b3c52
2018-12-07 12:39:28 +01:00
Jan Holesovsky
867ca0129c mobile view mode: Don't show the 'edit' button on the desktop.
Change-Id: Ia7f3fa5036c0f47fb9da51042b5cfe673871e432
2018-12-07 12:39:28 +01:00
Jan Holesovsky
ca6437f417 mobile view mode: More screen space for Writer and Calc.
Change-Id: Ia754aad59d09254d538480619aec1020f4eb4943
2018-12-07 12:39:28 +01:00
Jan Holesovsky
da29205ea4 mobile view mode: Don't hide the content of the upper toolbar when read-only.
Change-Id: I7d3cf8f5f1946f05254cc22d7ea6fedfe872e225
2018-12-07 12:39:28 +01:00
Jan Holesovsky
499a488b5a mobile: Fix the naming confusion also for toolbar-down.
Change-Id: I717d1364926a788a15ac9b5e89c4e5fe28a8cac3
2018-12-07 12:39:28 +01:00
Jan Holesovsky
131f3e9b6b mobile: Fix confusion between <div> naming and w2ui naming.
Both were using toolbar-up, but the <div> was always up, but the actual
w2ui toolbar (named toolbar-up) was at the bottom.

Change-Id: Ic3ff80f68bfb878d2ed77e98e5be10ca96d64987
2018-12-07 12:39:28 +01:00
Jan Holesovsky
b647f6b1cd mobile view mode: Start with the read-only mode, upgrade to edit when needed.
Change-Id: I268bf89465aac871b83238b8e7c534ef80428e88
2018-12-07 12:39:28 +01:00
Jan Holesovsky
a710a8fafd mobile view mode: Add the floating action button.
The icon comes from the Material Design pages: https://material.io

Change-Id: I59acf7bfb6c65030721605ead057c8854f529a3b
2018-12-07 12:39:28 +01:00
Marco Cecchetti
13cfe2be30 loleaflet: shape scaling rework
Now shape scaling is handled through the transform dialog instead of
    simulating a drag and drop event in core.

For performing a uniform scaling when the shape/image is rotated we
    need to inform the client about the rotation angle for the
selected    graphic object that has been achieved but appending an
angle argument
to the graphic selection callback.

The client check if the angle is divisible by 90 in order to decide if
uniform scaling should be used or it doesn't.

Moreover now it is also possible to reverse shapes/images through
negative scaling.

Change-Id: Iadb93f5883ac403313c1358cb3d8cc9db78338fd
2018-12-07 12:39:28 +01:00
Szymon Kłos
286d13e077 Zooming dialogs: per instance, not global
Change-Id: Id5a0baac745018a2d450ce4cb930849105452563
2018-12-07 12:39:28 +01:00
Jan Holesovsky
0d2e61c45f menubar: The temporary one should not be disabled & jump to the new position.
Also don't use the hover frame for the 'Last modification', it is not a
real menubar enttry.

Change-Id: Iccaf8ff2b7a882e7d5bbf56d5dc19422a93457fe
2018-12-07 12:39:28 +01:00
Henry Castro
dfeabd9810 loleaflet: show/hide embedded SVG when it is transformed
Change-Id: I89b10a8bc36520a1224701835b0a66e4b781109e
2018-12-07 12:39:28 +01:00
Henry Castro
d2b9f24ab5 loleaflet: set display to none of an embedded svg element
Change-Id: I6827dd60e3ed6959cabf623f153e73cafed2107a
2018-12-07 12:39:28 +01:00
Szymon Kłos
0eb1bcb8ce Zoom & move LOKDialogs using gestures
Change-Id: I313ef0ed1b801d8a3d3aadfca7c2eb001499e7db
2018-12-07 12:39:28 +01:00
Henry Castro
ef52ba01a4 loleaflet: set opacity 0.5 to a group element
Change-Id: I2f3e7f275e0b217041fd2e4c83a1360cdced738a
2018-12-07 12:39:28 +01:00
Szymon Kłos
d2a4e1677f Introduced tablet mode
* by reducing small device screen size limit to 767px
  tablets like iPad are not switched to the simple ui

* tablet is a mobile device without simple ui

* created global methods to detect ui mode
  window.mode.isTablet() / isMobile() / isDesktop()

* menubar / toolbar items can have 'tablet' property

* modification indicator is hidden in the tablet mode
  to allow layout menubar correctly in the vertical mode

* tablet mode has the menubar folded by default and
  hamburger menu icon to unfold it

* menubar hidden by default needed fix for calc due to
  additional row with formulas

Change-Id: I0d89427f6bfde015c645c597cb741c69b9031178
2018-12-07 12:39:28 +01:00
Henry Castro
5822737a84 loleaflet: remove the bounding rectangle when the hook is removed
Change-Id: I9475c2297882fb848010996087374af5dde3d214
2018-12-07 12:39:28 +01:00
Szymon Kłos
1c191865ec More modern look of the user list
Change-Id: Ie23b0b214992c5d8425ee86eb6e5897f680b65bd
2018-12-07 12:39:28 +01:00
Henry Castro
7831995ca7 loleaflet: ensure to remove listeners when the hook is removed
Change-Id: If6c1044ee95957c1e58c6a5d2d835b25f9a4443e
2018-12-07 12:39:28 +01:00
Henry Castro
bdf5aa187a loleaflet: set no mouse interactive to the bounding rectangle
Change-Id: Ifbc67bd6c144ec45a3cb4effa67f24f90486d97b
2018-12-07 12:39:28 +01:00
Henry Castro
7aa417d0df loleaflet: set no clipping for L.SVGGroup
Change-Id: I1565e6643bdf97de692cfe3a0da36918dd21a05a
2018-12-07 12:39:28 +01:00
Tamás Zolnai
1fcf34ecf5 Make the presentation toolbar completely hidden
Change-Id: I7f70fbc86f6e38f952c65d14e43da6ac45e25bb9
2018-12-07 12:39:28 +01:00
Szymon Kłos
51a51bf8c3 Fix close button on mobile
Change-Id: I87e08454e81c7198a52151af831d0be1d97022e0
2018-12-07 12:39:28 +01:00
Szymon Kłos
a3b723b2ec Make popups look more unified
Change-Id: Idd40ca937f18592ea2c17f9db91f1871a51c7db6
2018-12-07 12:39:28 +01:00
Szymon Kłos
650f91de1f Remove shadow under ruler
Change-Id: I8b67ec54780931a18aa3a4aecb9287dd6848ba9b
2018-12-07 12:39:28 +01:00
Jan Holesovsky
b15c81087d toolbar: Make the spreadsheet toolbars completely hidden (Writer, Impress).
Change-Id: I5ee3955d3cc4883153b9811b05e61d3c78dd8884
2018-12-07 12:39:28 +01:00
Jan Holesovsky
afa3012022 toolbar: This delimiter should start in hidden state.
Otherwise we start with 2 delimiters next to each other, which looks
strange.

Change-Id: I51dd5f39aee59275fc8255231df50a84e0e873c9
2018-12-07 12:39:28 +01:00
Jan Holesovsky
c8999fa33e toolbar: No need to start Bold / Italic / ... in the disabled state.
Change-Id: I2d3d5d93ecbaa902f82236836f58cde09033c83f
2018-12-07 12:39:28 +01:00