Commit graph

11603 commits

Author SHA1 Message Date
Michael Meeks
dec683218a Proxy: move RequestDetails to its own header.
Share it with various other places requiring similar data.

Change-Id: I873f56798f5a34dcf7440456bd649b68f6d3df98
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94069
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-12 20:30:17 +02:00
Michael Meeks
dc201a81a7 Simplify and centralize document URI decoding.
Change-Id: I758ef20fa1efa79703ecefee8836cbf00176e659
2020-05-12 15:29:07 +01:00
Michael Meeks
823a2dbafe killpoco: remove last StringTokenizer.
NB. indices shrink by one.

Change-Id: Ibce8c01622a4ed27f9fe10608f929a93aef2bab4
2020-05-12 15:29:07 +01:00
Michael Meeks
82fec145eb RequestDetails - move into a single class & simplify flow.
Change-Id: Ic9148350e04fca7876ec1b5985b467524c6894e1
2020-05-12 15:29:07 +01:00
gokaysatir
221d666822 tdf#111535 Add First-line indent, paragraph indent, and tab spaces/Online part.
Change-Id: I7b0b6e205aa9af40b8331044b99c44df0bd4cced
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93250
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-12 13:28:08 +02:00
Tamás Zolnai
166c6d87f7 MSForms: add a small padding to the list items.
Change-Id: I4ba449a1c82ab046454a87d09f351879b5ac9f26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93981
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:21 +02:00
Tamás Zolnai
f7bf4d5cdd MSForms: display placeholder text, when there is no items.
Change-Id: I8acd29d734820f6ddc36871c7777fefd2956c213
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93962
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:13 +02:00
Szymon Kłos
06864e7011 notebookbar: remove testing JSON
Change-Id: I59128eaa0e2faa9db5e15b01d0ad44bdf835c0db
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93963
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 15:11:33 +02:00
Szymon Kłos
9f55b8f46e Fix language menu in statusbar
Sub items from the language submenu are executed by
uno calls - added handler.

Change-Id: Ia83cd9331de6468c7d5a7b6f5cdbe45e68595a8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93956
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:26 +02:00
Szymon Kłos
cdf964ba86 Fix cell address input handler
Change-Id: Ie0a7630597f442d7f7117870cd4a52ff5b476252
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93957
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:20 +02:00
Henry Castro
4617903be2 jsdialog: add formatted field handler
In master branch by default the legacy control like the
metric control is not created, that force to create the
replacement which is formatted field control.

Change-Id: Ib5dcaa9516057a3aed304b748f13d44098dc525b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93588
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-11 04:48:07 +02:00
Aron Budea
2691131040 loleaflet: Show navigation controls on sheets bar on tablets
regression from 1d1651795c

Change-Id: Ifc7589a2bbabb99021ad98ed85216f1d22b5e641
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93902
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-10 21:42:41 +02:00
Tamás Zolnai
84f46074f9 cypress: start Xvfb with screen argument.
It fixes an error during cypress verify:
https://github.com/cypress-io/cypress/issues/6184

Change-Id: I993bf6cda5f8018d394ee6ee506f99d07b1e6e56
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93793
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:45:28 +02:00
Tamás Zolnai
50d4451c21 cypress: catch also "Command failed:" as an error.
Change-Id: Ie5649886eabf3994ba003dc9e7b9b28790c1a58b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93925
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:15:46 +02:00
Andras Timar
daf8f68418 MSForms: white background of drop-down-field-list (not black :))
Change-Id: I633fff952f10d95ed120494dbb3f75dd4e9bbc2e
2020-05-10 08:37:07 +02:00
Andras Timar
c16218061e MSForms: white background of drop-down-field-list (it was transparent)
Change-Id: I315cdc29643d0fddb6704610cb4ed72c03ee3e8b
2020-05-10 08:29:21 +02:00
Tamás Zolnai
76c4d79ffb cypress: add tests for form field button.
Change-Id: Ie297d9f10edebd857af2e2c4f9f09acd5c1519d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93770
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 01:47:26 +02:00
Tamás Zolnai
e0a82365f3 cypress: fix shape operations test.
Change-Id: Ibdca536bc8fb2a5b16d6ed085a65c25d1bc854b4
2020-05-09 09:54:09 +02:00
Tamás Zolnai
68017efb3c MSForms: remove weird blue border dispalyed around the drop down button.
Change-Id: Iddb696f10d9eb5364904021dd50431e11efc8dfb
2020-05-09 09:54:09 +02:00
Tamás Zolnai
c7c690c4e8 MSForms: stop propagation of mouse events for the drop down button.
Change-Id: Id63056f1aa39cadfc62021c5220d301f7ea26af8
2020-05-09 09:54:08 +02:00
Tamás Zolnai
98f4b50673 MSForms: do some styling of drop-down form field..
Change-Id: I70d4766dcf116e31cde18f67cfea6551197657a8
2020-05-09 09:54:08 +02:00
Tamás Zolnai
75dc61da7e MSForms: send item selection event to core.
Change-Id: I10fceb66a4f8cd777c43411ddace3456a315b5a2
2020-05-09 09:54:08 +02:00
Tamás Zolnai
dc9e66f4bb MSForms: restructure form field button rendering code.
To make it more readable.

Change-Id: Icfb179a5edfc65fe2dcaaebcc86c970e5d3b83b1
2020-05-09 09:54:08 +02:00
Tamás Zolnai
6640ba5cef MSForms: use the actual item list for drop down field.
Change-Id: Ib6021cf5d2a0c25bcd04f44771a33b3e3cea53fb
2020-05-09 09:54:08 +02:00
Tamás Zolnai
3bce2d45ab MSForms: build drop down list for drop-down field.
Change-Id: I42a68ebf8b0201d97779f2bfc43a8dabbad9e1c0
2020-05-09 09:54:08 +02:00
Tamás Zolnai
87b862a4e2 MSForms: styling form field button.
Change-Id: I4bbcc16aa8afb0fa7e8e84d34e1f18086f0b8615
2020-05-09 09:54:08 +02:00
Tamás Zolnai
d2629961e0 MSForms: handle formfieldbutton message.
Change-Id: I17243823d9bc0074b7fd015bca23de9399e0e26c
2020-05-09 09:54:08 +02:00
Pranam Lashkari
4329826d91 leaflet: clear formatting option enabled for impress mobile
Change-Id: I8be2baa555174d22bb9ff7836ad452a4fa8d24b9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93704
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-08 20:04:02 +02:00
Michael Meeks
2cbf6d12a0 Proxy: only accept request from localhost.
Also - add net.proxy_prefix setting to enable this.

Change-Id: I87f5aab2316c053ea1bc8cc177e4a54ba0455697
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93682
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-08 18:05:14 +02:00
Szymon Kłos
5fd446863b notebookbar: switch tab on context change
Change-Id: Ib485cfdbd06291de6b03a544fe0975f61823bf24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93731
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 16:26:20 +02:00
Szymon Kłos
0197763d6f notebookbar: use proper save action
Change-Id: I83f777f2d47c554365a8aa0305be9b5ef0cb4650
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93709
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 15:22:24 +02:00
Szymon Kłos
9d5c80c6fd notebookbar: custom shortcuts for impress
Change-Id: I5a2803091522e20416a6ba05f968590d7d105b0a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93708
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 14:02:21 +02:00
Szymon Kłos
0752bd2386 notebookbar: add shortcuts toolbar
Change-Id: Ia6ddecaca2d6940b9d5bc52684527cb6e67b6a37
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93707
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 12:27:37 +02:00
Jan Holesovsky
3cd1e0d439 function bar: Index the function by name, not by index.
Depends on a core change that changes the ABI of the completeFunction().

Change-Id: I27daf31d49347c4a308518e14a9b8b97f3b48991
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93667
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 870a7ec5620eb742bd8fb2a9680ff67101a37dd7)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93541
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 12:03:11 +02:00
Szymon Kłos
10ebf1b737 notebookbar: improve disabled items styling
Change-Id: I8010300422c96affb132ad952a284af6c64b2fdc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93701
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 09:52:35 +02:00
Szymon Kłos
999b3de1cc notebookbar: hide unsupported items in impress
Change-Id: I54e4a15c32ef5876dd74df185cddf9341d9b8718
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93691
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 09:36:45 +02:00
Szymon Kłos
3bc5ffc0c0 jsdialog: introduce disabled state for unobutton
Change-Id: I5b81cbdda56acc64aac8516e3b97697a0c11395c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93654
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:34:41 +02:00
Szymon Kłos
a59be0f3cd notebookbar: impress tabs layout
Change-Id: Iecd60b8c5fdbe9cfabdf4af44a84d37292e13e31
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93652
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:33:17 +02:00
Szymon Kłos
2db2ebfc3d notebookbar: add tab data for impress
Change-Id: Id4ebd847e5c211ceb8404a2f0891f7ddb34c3783
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93651
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:33:09 +02:00
Szymon Kłos
5ea3e965a5 notebookbar: add tabs data for Calc
Change-Id: If67de1f908b37c84de8251c67aee6691d1770878
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93649
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:32:50 +02:00
Szymon Kłos
209f092fae notebookbar: separate configuration for impress
Change-Id: Ibd7cdd9302f9033aca0de908ade036fa2dc50ede
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93650
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:32:39 +02:00
Szymon Kłos
5bc2e1f222 notebookbar: import icons for impress tabs
Change-Id: If4e86e6c8e86de08332dc870ba322e5ac5619331
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93653
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:32:22 +02:00
Michael Meeks
73a002c783 Avoid unexpected exception in the iOS app
Essentially restoring 5d0c8587 and mending 18c4301a1f

Change-Id: I0219b61a20ee5b36ec32d62123e5c1d98c8e2af8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93675
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-07 22:29:25 +02:00
Michael Meeks
526dd304b7 Proxy: getSubURLForEndpoint - don't return wss:// URLs in error.
Separate _ssl and _websocket state and construct the URLs from them.

Change-Id: Ida4eee868c7815eb68e3029682d603d13d193153
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93669
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-07 21:00:04 +02:00
Henry Castro
54ac186ed5 loleaflet: makefile: no built-in rules
It is not needed to build loleaflet

Change-Id: I2eb0ed999a0463b3f69e98a6a450961a7e6723d0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93168
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-07 18:25:14 +02:00
Michael Meeks
90b6216427 Proxy: send 200 back when there is no queue.
Keep errors for errors.

Change-Id: I6f93bf90e21e68b66fc3d1532ae3db2f2431fca5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93655
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-07 18:03:57 +02:00
Szymon Kłos
e6cd3a0f35 notebookbar: hide unsupported items in calc
Change-Id: Ib45c2aeca3bc921ce0fbdb469399d32ab3d4da1f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93620
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:33:47 +02:00
Szymon Kłos
db32e4fc38 notebookbar: don't cover the title field
Change-Id: I9e94863784150104d7588c8dac532343766f7154
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93619
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:33:36 +02:00
Szymon Kłos
cbaaeba977 notebookbar: layout calc tabs
Change-Id: Iea602cc35c07653fd6ed862d356981d8fffe5523
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93622
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:33:28 +02:00
Szymon Kłos
5476715a5c notebookbar: import icons for calc
Change-Id: Idbf2ad55615e1609eda0c45dd4a1c448e397033a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93621
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:09:42 +02:00