Commit graph

6496 commits

Author SHA1 Message Date
Michael Meeks
b5a1af763c Share HTTP header parsing inside the StreamSocket.
Change-Id: Id98e895a939d931ac10b7cd7403da4cbe822ee82
2018-05-01 16:29:56 +01:00
YiiChang Yen
910ae806ef wsd: to filter clientAddress before POST action.
Change-Id: I293580f041bc46b36c57f63fe4a2c0131763b3c1
Reviewed-on: https://gerrit.libreoffice.org/50977
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-04-30 18:50:06 +02:00
Pranav Kant
a9c053fba4 loleaflet: move document-name-input in menubar
... so that it doesn't overlap with the menu items when the width of the
screen is reduced.

Change-Id: Ib1b2b18c631ed1c76b8807f6e3103e8eddd88efb
Reviewed-on: https://gerrit.libreoffice.org/53670
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-04-30 18:31:44 +02:00
Pranav Kant
642fb34e2f loleaflet: Allow resizing on comment input field
Change-Id: I60db186a6535bc6b2b53e8e0d0933bfddea970ba
Reviewed-on: https://gerrit.libreoffice.org/53645
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-04-30 18:31:27 +02:00
ozturkemre
c879049f1f tdf#115310 "Save button" changes while there is unsaved changes
Change-Id: Ied761fe86e774371daf4e2d80328f756c0fc628f
Reviewed-on: https://gerrit.libreoffice.org/53558
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-04-30 16:34:03 +02:00
Henry Castro
9215277576 wsd: simplify to use the DEBUG_ABSSRCDIR preprocessing symbol
Change-Id: If71f6c831064482a97069a64eb1d05d8a3c739b4
2018-04-29 21:22:53 -04:00
Henry Castro
329b3518e7 wsd:test: use TDOC preprocessing symbol
Change-Id: Ib00fc7c9fe7ebfd308b330d430e8f2449e5da7cd
2018-04-29 20:27:14 -04:00
Henry Castro
80bbab39f0 loleaflet: browserify-css, use the global transform option
Change-Id: I058c3befc8c89d67faf35bf3ab0142893c3b7b47
2018-04-29 18:15:21 -04:00
Henry Castro
8aaddac926 loleaflet: add builddir environment variable to Jake files
Change-Id: I565a375ebf2384d730d5bd2158e7d3f92ac01db2
2018-04-27 16:27:03 -04:00
Miklos Vajna
7e9ba2e8c6 tdf#117077 kit: opt-in to embed images in HTML export
Changing the default in core.git has various up and downsides, so just
opt in for embedding here.

Change-Id: I3f8013800e3fdf759fcb09bce848e8754c8aa44c
2018-04-27 14:32:32 +02:00
Jan Holesovsky
27a4f70a55 SendMessage needs to accept Blob too.
Make the condition more readable when at that.

Change-Id: Ibcabfc2b57eb4ebd8f1ad8bb5ee71010e52e8e3c
Reviewed-on: https://gerrit.libreoffice.org/53525
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-04-26 20:28:35 +02:00
Henry Castro
11f00f3c1f loleaflet: fix console log uncaught reference error
Change-Id: Ic3813cd7857a646949183ba9b54fca8377069ea3
2018-04-25 16:50:10 -04:00
Jan Holesovsky
737d0beea4 Targed for running loolwsd under gdb.
Change-Id: Id3e946f90b7e61d67b2cee34276a58501380b96d
Reviewed-on: https://gerrit.libreoffice.org/53447
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-25 13:50:24 +02:00
Marco Cecchetti
6a0fcdf15f wopi flag for hiding the change tracking controls from UI
Change-Id: I1b9aa4f8111d77ae12093022205fad1cbee850ac
Reviewed-on: https://gerrit.libreoffice.org/53335
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-04-24 18:15:44 +02:00
Ashod Nakashian
b59f5c2c65 wsd: log proper ISO date in YYYY-MM-DD format
Change-Id: I8851c044bad43a03a99f7471be97ea77c58f7be8
Reviewed-on: https://gerrit.libreoffice.org/53266
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/53316
(cherry picked from commit d50850337b1cad5ce93678079085a97316f1f48e)
Reviewed-on: https://gerrit.libreoffice.org/53318
2018-04-23 11:53:23 +02:00
Andras Timar
a1fe4fa8b0 loleaflet: updated UI pot
Change-Id: Ic5038da8f368d830ff9fa7fe9b7c88f3c5aee5fc
2018-04-23 10:41:03 +02:00
Tamás Zolnai
835f7c2d50 Mouse hover effect for context menu
Change-Id: I305704a9da0634367922ab9c29e2956b3ead9624
Reviewed-on: https://gerrit.libreoffice.org/53059
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-20 18:51:34 +02:00
Jan Holesovsky
29bb6be15b loleaflet: More friendly message when the websocket creation goes wrong.
Change-Id: Iaf7be5895c7baede7d72114dea9fb93550ccac7e
Reviewed-on: https://gerrit.libreoffice.org/53218
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-20 17:49:11 +02:00
Andras Timar
2bac7784b4 Online docker: use Poco 1.9.0
Change-Id: I59a77727574bcdb9d6c21bdd378459b18b756d65
2018-04-18 22:11:09 +02:00
Michael Meeks
ce06a9ae37 Allow the Admin console to be disabled in the configuration.
Change-Id: Iacde8e891f42e9ef9399ebbebbd2b2978188d4c4
2018-04-17 20:47:17 +01:00
Michael Meeks
f68d54e02a Initial websocket test tool for remote admin connections.
Change-Id: I8be2068bf7d77c70720a044556d11f5fc80b2f0c
2018-04-17 16:50:48 +01:00
Michael Meeks
81fd84cf4e Move UnitHTTP code to header to avoid linking trouble.
Change-Id: I430110e840fa8b3862c21c1d4e02288ed704e0a3
2018-04-17 16:50:48 +01:00
Miklos Vajna
cb761748ed Avoid unnecessary copy-initialization
These are copy-constructed from a const reference but are only used as
const reference; make them a const reference.

Change-Id: Id193905b65224c2db4aab88999a92e60d3af3fdf
2018-04-17 09:13:54 +02:00
Henry Castro
dfab8731a9 loleflet: disable the document is automatically zoomed ...
so that the width fits the viewing area

Change-Id: If0f7234429130aed47dbc9156fde2e125680638f
2018-04-16 17:31:39 -04:00
Michael Meeks
03bbe52665 Ensure the forkit does not have lingering threads after preinit.
Change-Id: I216a03a0ada628189355ebfd4016bf6033430eef
2018-04-16 20:04:23 +01:00
Henry Castro
d05b60e611 loleaflet: fix z-index property of the overflow toolbar buttons
Change-Id: I1f3c5819d024c4a9ec0cae82086c56f88f077c63
2018-04-15 16:22:46 -04:00
Henry Castro
d4f3b5ce9b loleaflet: fix insert table drop button
Change-Id: I38dd6b4d3b954f3cea244ffbb195e88b88115d21
2018-04-15 15:24:09 -04:00
Henry Castro
15565d8aa5 loleaflet: fix font, fore and back color
Change-Id: I628bf45f89ba2bb25218ceaa6d74b7a8344e3c91
2018-04-15 10:24:12 -04:00
Henry Castro
8c3063e424 loleaflet: fix responsive toolbar items
Change-Id: Iad903e75bd11d5d75e9b298f0f694315418b8610
2018-04-14 23:19:30 -04:00
Henry Castro
077fa2cba6 loleaflet: fix hamburger/x icon
Change-Id: Iabbc75549cb04c17eb5b6e9fc771fc3a18b3b969
2018-04-14 11:57:37 -04:00
Andras Timar
558e20f981 new dummy ssl key and cert for testing
Change-Id: Ia2586c4201696e0d80d2be3f284564e65fac71c0
Reviewed-on: https://gerrit.libreoffice.org/52874
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-04-14 17:52:54 +02:00
Henry Castro
21649f4d64 loleaflet: fix resize toolbar
Change-Id: I0fa9420eb4421a9244655b4503045bac39a271e4
2018-04-14 11:16:18 -04:00
Henry Castro
ac3261b1fa loleaflet: fix lint error, no-redeclare
Change-Id: If367b19cf0c1d382a417cf85748d5275389af2ec
2018-04-13 20:31:55 -04:00
Jan Holesovsky
faa9e4b4d9 Improve an unhelpful error message.
Change-Id: I79b8bb590c98da5b7290b925f7bb63dc3f777ddc
Reviewed-on: https://gerrit.libreoffice.org/52827
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-13 15:16:37 +02:00
Tamás Zolnai
347c0705c2 Update dumper code to handle new payload for invalidatecursor
Change-Id: Ibfe129ce4db9ff33d409fb6ebabfb3a435b64829
Reviewed-on: https://gerrit.libreoffice.org/52796
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-13 11:14:24 +02:00
Henry Castro
c254cc333b execute autogen.sh from a build directory
Change-Id: Ibd394549366d0059fe27696343870645e1e11947
2018-04-12 15:46:40 -04:00
Tamás Zolnai
5da818c033 Update documentation for invalidatecursor callback
Change-Id: I538a0894c024f6a30baa178fa81071af528f1cfb
Reviewed-on: https://gerrit.libreoffice.org/52739
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-04-11 19:27:18 +02:00
Marco Cecchetti
0a2b5c19c1 calc: when expanding selection with shift-<cursor>, view never scrolls
Change-Id: Iaea7b53a84210bcdfc180014a7d530b1455949c9
Reviewed-on: https://gerrit.libreoffice.org/52639
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-11 19:10:17 +02:00
Marco Cecchetti
a96d6dc3e5 calc: clicking outside a pop-up or a context menu doesn't close it
Change-Id: I5fa43a702054f0cdc297251a4adaa2be953187a4
Reviewed-on: https://gerrit.libreoffice.org/52618
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-11 19:10:07 +02:00
Jan Holesovsky
63ad36e67c lokdialog: Position the tunneled context menus correctly.
Change-Id: Iae8e6819ffd46cab64bf99ef5c793810949644c4
Reviewed-on: https://gerrit.libreoffice.org/51954
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-04-11 17:54:00 +02:00
Tamás Zolnai
ffd7151443 Writer: View jumps to cursor position even if it is moved by an other view.
Need to get the viewid which moved our visible cursor, so we can check
whether it positioned changed by the owner of the cursor or not.

Change-Id: Ie7b1fafc8d8f11fba0c0b0d5f02d755e15284514
Reviewed-on: https://gerrit.libreoffice.org/52571
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-04-10 17:00:21 +02:00
Tamás Zolnai
fdc33a7d60 Fix build error: defined but never used
Change-Id: I505ec0e14397a96ca75273e70de85d1e53a0499f
Reviewed-on: https://gerrit.libreoffice.org/52566
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-04-07 23:20:10 +02:00
Marco Cecchetti
4693b5a7d9 loleaflet: calc: F2 doesn't trigger cell edit mode in Chrome
Function keys need to be handled on keydown in order for them to work
in chrome.

Change-Id: Ifb7ae22a77df116ffe4809390e7151342c4170a7
Reviewed-on: https://gerrit.libreoffice.org/52518
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2018-04-06 18:46:21 +02:00
Henry Castro
826592458c loleaflet: remove toolbar button "more"
Replace with new feature

w2toolbar:
"If toolbar has too many button that it does not fit the screen the overflow buttons will show up.
No need to set any property, the overflow buttons will just appear"

Change-Id: I6217203f9e2502baffa7bfc4cd68e2a1e7a27d15
2018-04-05 15:08:32 -04:00
Henry Castro
976883716b loleaflet: fix z-index property of the toolbar
Change-Id: I4ced12d24db5793d454cb867110fb8133e1e3b6c
2018-04-05 13:17:55 -04:00
Henry Castro
65b2116459 loleaflet: update w2ui-1.5.rc1 toolbar
idba382395cbb23babe0052d4b20bbf4e580a5c94 Added toolbar scrolling for overlapped buttons

Change-Id: If13788e4044fa22468e923efb37d565561a48bb3
Reviewed-on: https://gerrit.libreoffice.org/51705
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-04-05 17:41:41 +02:00
Henry Castro
14d1ac6883 loleaflet: remove not used w2ui package
Change-Id: I2a1c27cc437c02d228c148fd4527d99e55a1b4e9
2018-04-04 10:03:34 -04:00
Jan Holesovsky
c8ef63253a Sanity-check the scheme and host for frame ancestor, POCO does not do that.
Change-Id: Ieea9532ccd2a11e74f370a340e68f46122469848
2018-04-04 12:50:53 +02:00
Marco Cecchetti
89f37b5dd5 calc: drop down button marker
Change-Id: Ic069ad40e6749f43709760e7f4f0d96b39d5a4ce
Reviewed-on: https://gerrit.libreoffice.org/51598
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2018-04-03 21:42:27 +02:00
Marco Cecchetti
fac61cb01c online: set jquery dialog min width explicitly
Default jquery dialog min width is 150px, if the dialog width in core
is less than 150 pixel, the dialog looks ugly in online.

Since the dialog is not resizable it's fine to set width and minWidth
to the same value.

Change-Id: Ieba2e4d12b6c9f5b328091c453c7e09b10ac1422
Reviewed-on: https://gerrit.libreoffice.org/51597
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2018-04-03 21:42:05 +02:00