Commit graph

9224 commits

Author SHA1 Message Date
Tamás Zolnai
9810a905a2 Fix title for mobile wizard
Change-Id: I0c22b4a550d8cabdc72a8b7f843bb4b14caefc2b
2019-10-14 15:15:42 +02:00
Szymon Kłos
1037b8adb8 jsdialogs: add unit translations
Change-Id: I260cca656e2a08395549012f83d8607a14b0c612
2019-10-14 13:29:22 +02:00
Szymon Kłos
a5d7e2e349 jsdialogs: add possibility to change unit presentation
Change-Id: I6f3afdbd6c7a4708f3a1e17239811fd213f0ac9b
2019-10-14 12:06:44 +02:00
Miklos Vajna
bba5b1e7e4 test: don't validate ssl certificates while running unit tests
Which was the case before commit
5d57f5aef3 (storage.ssl.enable should be
in sync with ssl.enable by default, 2019-10-11), otherwise we fail to
connect to the test wsd, since its certificate is typically not trusted.

With this

	make check CPPUNIT_TEST_NAME="unit-copy-paste"

passes again.

Change-Id: If3a8a293831313e74eacc1cbc092922d2c72f08c
2019-10-14 10:04:36 +02:00
Tamás Zolnai
fb4a44b311 This is not needed here.
Change-Id: Ib3775bdaa0ea2ca570152cb59dd604346cf0d0a8
2019-10-13 12:03:45 +02:00
Tamás Zolnai
6b0b1c3d52 menu-to-mobile-wizard: Add sub menu arrow for every levels of menus
Change-Id: Ie4ea6dfba664a8d39d1e5d7f973426563447f330
2019-10-12 16:44:58 +02:00
Tamás Zolnai
b35920eb83 menu-to-mobile-wizard: Trigger mobile menu wizard by hamburger menu button
Change-Id: I731548722c6b294cd6e2c244ea7abbcad91fdd4a
2019-10-12 16:44:58 +02:00
Tamás Zolnai
0ce410e16c menu-to-mobile-wizard: Make the new menu wizard to take full heigh.
Up to the top toolbar.

Change-Id: I7f35e94bf491e7fd7032b42eefe47e6170cfecf3
2019-10-12 16:44:58 +02:00
Tamás Zolnai
a85a6354f5 menu-to-mobile-wizard: Hide menu items which are hidden conditionally.
Change-Id: I8a56af70c0836a0332f2beab9e2006310dcf17e0
2019-10-12 16:44:58 +02:00
Tamás Zolnai
241ddc8d5c menu-to-mobile-wizard: Create JSON for the whole menu
Change-Id: I93ca728be31f37714bf64665f1f07edb84c33fbd
2019-10-12 16:44:58 +02:00
Tamás Zolnai
e34e5d2171 mobile: There is no 'mobile-wizard' menu item any more.
Change-Id: I781d37a0d75d39f63fce1cbe572278e8a30895b3
2019-10-12 16:44:58 +02:00
Andras Timar
5d57f5aef3 storage.ssl.enable should be in sync with ssl.enable by default
storage.ssl.enable=false by default is not good. loolwsd default config should
work, e.g. in case of snapshot docker images. When ssl.enable=true, this implies
storage.ssl.enable=true, because browsers do not allow mixed content, so it is
not possible to connect to the storage with plain HTTP, while the content from
loolwsd is served with HTTPS.

TODO: find out what to do in case of upgrade, when the user has an old config
file. Probably storage.ssl.enable should default to ssl.enable when it is not
present in config file.

Change-Id: Ifdcb070745d649dd9840dccf2e5641058a13d4e4
Reviewed-on: https://gerrit.libreoffice.org/80660
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-10-11 23:43:09 +02:00
Szymon Kłos
9b0aa58e5b jsdialogs: spinfield units and buttons in row
Change-Id: I4bcf688c2de548ab6c27c06105743c05bdfaf3b2
2019-10-11 21:53:47 +02:00
Szymon Kłos
2d5874a19e Use vex for annotations in all mobile apps
Change-Id: I29194c0322c5258f9e074af4f3b3985470496300
2019-10-11 19:32:20 +01:00
Szymon Kłos
dbdfd19d19 Fix mobile detection in Impress
Before we used css based screen width detection.
Delete condition which is not working in Impress,
use explicit JS check added before.

Change-Id: I06819391bd470fd2185bc64318afbe5d9614f0a8
2019-10-11 19:32:20 +01:00
Szymon Kłos
c8962910a5 Use vex dialog on mobile when inserting a comment
Change-Id: Ibe089c810edba7696fd6e707e4a757ee83fdf99d
2019-10-11 19:32:20 +01:00
Henry Castro
ae89da611d iloleaflet: mobile: add a button to insert a slide in the Impress ...
document

A file is created Control.MobileSlide.js for the purpose to create a
button control at the bottom right of the Impress document only if the client
browser is identified as Mobile. The button has the function to create a new
Slide.

Change-Id: I494687a91cf4dc06d08e98c6844b06fb69b2448e
Reviewed-on: https://gerrit.libreoffice.org/80665
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-11 17:17:30 +02:00
Michael Meeks
08201ac80e mobile: disable chart insert in writer.
Avoids the need for a mobile data-table editing UI (as of now).

Change-Id: I2d6b71697eadaacdcd7fbd09baf516a2877050f6
2019-10-11 11:55:17 +01:00
Tor Lillqvist
1cf3bec303 tdf#123741: Call LibreOfficeKit::setLanguageTag() also when loading a template
Sadly I have no understanding why not doing that caused such a
mysterious end result. But I am glad I thought of trying this simple
thing before spending any more time trying to understand what is going
on.

Change-Id: I129f8fffa32fa087e21c444f9657394de0e255a1
2019-10-10 19:35:30 +03:00
Szymon Kłos
4ca6a57ca5 jsdialog: close after click on document
and uncheck toolbar item

Change-Id: I8e427fa9697132add9bd0b9e5c06970ab7e9f850
2019-10-10 17:51:11 +02:00
Szymon Kłos
9d98ed11c6 Be sure sidebar is not shown on mobile
Change-Id: I776c87754979dbfcea66dc067f07e5474e2872aa
2019-10-10 17:51:11 +02:00
Henry Castro
30f37ef7b0 loleaflet: debug: use unique name for document container
I had a not good debugging session trying to find out when
the CSS properties of the document container are changing dynamically.
The best scenario is to use the unique name documentContainer, so we can
track all CSS properties dynamic changes, and it can set breakpoint in a
suspicious change for deeper analysis.

Change-Id: I3accef1c374689f04da336cd0a84047b498540b1
Reviewed-on: https://gerrit.libreoffice.org/80610
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-10 15:41:56 +02:00
Gabriel Masei
0ca4d204bb Add basic support for kubernetes deploy
Change-Id: I695f412570339a6225b198bcd3fd3b4f29fb4bd3
2019-10-10 15:48:21 +03:00
Szymon Kłos
60962aadda Don't show insert chart in mobile Writer
Requires complex dialog...

Change-Id: I7c515821f2a400cb7d0e7519eb35fa317e929a2c
2019-10-10 13:21:53 +02:00
Szymon Kłos
5d3cc19358 jsdialogs: hide toolbar-down if tool palette visible
Change-Id: I4f1dc4b06dd916e65be808ddd98fd6b49d67e5cc
2019-10-10 12:13:55 +02:00
Tamás Zolnai
3f710955ba mobile_wizard: Simplify code
We don't need to return with two children in _removeStylesPanelAndGetContent()
method if we use only the first one in _addChildrenToTextPanel() method.

Change-Id: I11137ce0620e86ad7d2c5ebcaba752f3171b96e0
2019-10-10 12:06:42 +02:00
Tamás Zolnai
357f802051 mobile-wizard: sidebar relayout: Keep the structure of the JSON as it was
Extend the box under the panel when insert the styles panel's content.
Also change the id to 'box42' to have it unique in the current context.

Change-Id: I51a6975bd1da3b36b81e2783050910b781177c5c
2019-10-10 12:00:13 +02:00
Marco Cecchetti
dfff83fb2b lok: jsdialogbuilder: explorable entry: support for both title and value
Change-Id: I4f300507349b64972d0a961f0c4063352810675a
2019-10-10 09:29:44 +02:00
Pedro
041ba36b45 Style impress slide sorter
Change-Id: Ic3fbc8b9d7404c822fe67c70b0e7b282c3d06db5
Reviewed-on: https://gerrit.libreoffice.org/80562
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-10-09 19:33:33 +02:00
Pedro
2da2de5302 Added active state for spinfieldcontainer controls
Change-Id: Ie1dcfbfbfb83df4d54a9fe9dc85f6bb14e355dce
Reviewed-on: https://gerrit.libreoffice.org/80561
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-10-09 19:33:25 +02:00
Pedro
159bb23b43 Add checked state to ui-combobox-text
Change-Id: Id7444f893e94c8186a4a151c0f18c257617f902a
2019-10-09 18:33:05 +01:00
Marco Cecchetti
e7f79f4f1c loleaflet: icons for expandable entries
Change-Id: I1698b540226e8342a59300b640c7113e48f6f1b3
2019-10-09 19:04:44 +02:00
Szymon Kłos
1455f45cc3 jsdialogs: add arrows to explorable items
Change-Id: If2d0cab069241c907512ad39dbb6127ff6b434cf
2019-10-09 18:03:33 +02:00
Henry Castro
e660491383 loeaflet: remove empty HTML elements
The document type is detected when 'doclayerinit' event is fired.
At that point we know the document type so we can remove safely
the empty elements that they are useless to the document and
of course a clean document to debug. I hope in the near future
the server side can remove these unwanted elements,
anyway how is useful an empty html element?

Change-Id: I25f5b8cbcd176c4cc66abcb37b7d0d4b588d1d96
Reviewed-on: https://gerrit.libreoffice.org/80557
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-09 17:42:59 +02:00
Szymon Kłos
76f2be67e5 jsdialogs: fix tabs / title bar switching
Change-Id: If708cf47a8766803f6c9bb5aa1baf67a39bd0ce3
2019-10-09 17:39:03 +02:00
Szymon Kłos
9cf13e86b0 jsdialogs: make combobox items different style
Change-Id: I1e1c1a2b211ab1c1f4fa5f298c480ced293fe53e
2019-10-09 17:35:59 +02:00
Szymon Kłos
f142f2d374 jsdialogs: use header style for all p, align XLineColor
Change-Id: Ida3be2f264b8f640f093db5260a3bba881e01bef
2019-10-09 17:31:37 +02:00
Marco Cecchetti
632506105b lok: impress: more icons for the properties mobile wizard
Change-Id: Ie9c7d438b70cc3890ff61e13c2ecf0c162c8c048
2019-10-09 17:26:59 +02:00
Szymon Kłos
8211e9058e jsdialogs: inject chart type selector
Change-Id: Ib6a6fe192107d2847e69953e3ab55307eefd3f21
2019-10-09 17:23:36 +02:00
Michael Meeks
ea3a782f0a mobile: simplify impress quick-toolbar.
Change-Id: I097cd1a91fa9d0f5423999238a5cce471df58608
2019-10-09 16:06:50 +01:00
Szymon Kłos
f3b546d24b jsdialogs: avoid operation on undefined
Change-Id: Iba7a0d0d7e7ba335e04503284c0affd0e0a35cb0
2019-10-09 16:56:05 +02:00
Michael Meeks
f3363723c6 mobile: simplify calc quick toolbar, add row insert/remove.
Change-Id: I1bd8ca5a952bfe720dfaea82513917121ce74f6e
2019-10-09 15:35:45 +01:00
Szymon Kłos
2bd0f9b70b jsdialogs: style icon in number field
Change-Id: Iea35ee612248d4d76117a0154b427630d7728ee5
2019-10-09 16:29:42 +02:00
Szymon Kłos
7905c20888 jsdialogs: add +/- buttons for number field
Change-Id: I029ca937ab182306a3d5d218470a14938f3fd231
2019-10-09 16:27:45 +02:00
Henry Castro
d3c1062f56 loleaflet: mobile: remove the static CSS height and width properties of
slide-sorter element

Unfortunately the static properties affect the spreadsheet and writer
views, and it is prefereable to change it dynamically when the impress view is
loaded. So the other views will have an empty slide-sorter element.

Change-Id: I03a969c6de74999509314184a4aad9bc5c9e3380
Reviewed-on: https://gerrit.libreoffice.org/80546
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-09 15:50:51 +02:00
Szymon Kłos
acc9529c27 jsdialog: create more containers around spinfields
Change-Id: I6833ec415c9ea869091caf23f151944415807cab
2019-10-09 14:25:06 +02:00
Andras Timar
1dc6bd9dfb typo fix: comuncation -> communication
Change-Id: Iefe88baa6ac5d2201dc3fb4e4604498898a30ba6
2019-10-09 14:23:35 +02:00
Szymon Kłos
5db1be5d19 jsdialogs: add class to all paragraphs
Change-Id: I64b166a6d7274cd26ef92a218ff7e45dc980343b
2019-10-09 14:13:12 +02:00
Szymon Kłos
5036ddd66d jsdialogs: move tabs into titlebar
Change-Id: I56ebec8c12164771c4da85954d43c600030e65dc
2019-10-09 14:06:20 +02:00
Michael Meeks
9c8bcc8377 mobile: disable impress dialogs, and add insert-shape.
Change-Id: I33aebe037dd08960d97e675616f821c5542cdedf
2019-10-09 13:03:42 +01:00