Commit graph

6513 commits

Author SHA1 Message Date
Henry Castro
8618885b31 use Makefile to build loleaflet
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory

Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00
Jan Holesovsky
62df2c114f Revert "ChildSession: use NoFileSync as default during convert-to as well"
This reverts commit 684d730221.

Change-Id: I4500e09f678f889ee5ea35cb0f36896de1e11824
2018-05-10 09:51:38 +02:00
Jan Holesovsky
7f3c4b9dd8 Revert "kit: use NoFileSync flag for save"
Turned out this might corrupt .ods files...

This reverts commit d0d87401c1.

Change-Id: I251de8c7d450fffb3b13a3c8eccf3921eddb9f80
2018-05-10 09:51:36 +02:00
Andras Timar
bb834b8a86 typo: TILECHACHE_PATH -> TILECACHE_PATH
Change-Id: I740a254d1bc7e4a21f6e48ef5f8f5c933bf7c617
2018-05-09 21:31:26 +02:00
Andras Timar
04feab241f use local tile cache directory for tests
Change-Id: I4c66a45df93bee22131c5950029cffa863d397b0
Reviewed-on: https://gerrit.libreoffice.org/54028
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:29:28 +02:00
Andras Timar
7c3322e7e0 do not distribute unused or internal dev tool binaries: loolmap, loolmount, loolstress
Change-Id: Ice905d08a695805f594df5731039f747ac88cf28
Reviewed-on: https://gerrit.libreoffice.org/54027
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:28:19 +02:00
Andras Timar
e2bc253bd9 loolconvert: print help if no args
Change-Id: I8f93e61fa73a17132842f8786557f81d049393a6
Reviewed-on: https://gerrit.libreoffice.org/54026
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:27:38 +02:00
Andras Timar
8481602061 rename looltool to loolconvert
Change-Id: I9e87c4a142bf63a8a7494861457660ab243e0924
Reviewed-on: https://gerrit.libreoffice.org/54025
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:25:38 +02:00
Andras Timar
ad7c8ea8b3 trace should not be enabled by default in config file
This setting defaults to false in code, when the setting is not present
in the config file.

Also world-readable /tmp is not a good default path of trace file.

Change-Id: Iab6da18cf6f97f75bbcdaf444042cd7039c462f8
Reviewed-on: https://gerrit.libreoffice.org/53966
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-08 17:09:37 +02:00
Andras Timar
52a9833766 we don't have to copy internal dictionaries out any more
... because since ecfd40a1bcc1fc8cdc40bd internal dictionaries
can be used, too.

Change-Id: Ie1ea355aecf6872bf95ec472e30f180bdadbb89b
2018-05-08 15:38:16 +02:00
Andras Timar
45623b24eb Colibre theme is the new default
Change-Id: Ifd678208746e3fc896445ab5644bd100be4e07e3
2018-05-08 11:20:01 +02:00
Andras Timar
17ac15c838 add more deb build dependencies
Change-Id: I10396ae0034752f1821edd1953556df6f0465f5c
2018-05-04 16:56:03 +02:00
Pranav Kant
088658807a loleaflet: close previous socket before connecting new one
It's possible otherwise in some scenarios that multiple sockets are
created in one browser tab while there should only be one for one
browser tab.

Change-Id: I242ba62effee24c4ab04367001459448b4ff5817
Reviewed-on: https://gerrit.libreoffice.org/53749
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-02 19:52:59 +02:00
Pranav Kant
8f6df70333 Revert "loleaflet: move document-name-input in menubar"
The overflow: hidden is problematic here as popping out of menus from
the menubar also stops working due to this.

This reverts commit a9c053fba4.

Change-Id: I5d86a38ff48c7ceced56592ab32a2e554f4b2e4f
2018-05-02 23:06:54 +05:30
Jan Holesovsky
88eefe75c5 Improve readability of the admin console password check.
Also disable PAM by default.

Change-Id: Id1197f0d049ce56f698952b87d2c4760412eb8ec
Reviewed-on: https://gerrit.libreoffice.org/53727
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-02 16:34:57 +02:00
Andras Timar
e911cee5f6 Updated Slovenian translation
Change-Id: I79347a9bb013665e9f988a4fd74e2e81356d7779
2018-05-02 09:15:53 +02:00
Andras Timar
0f59930e7f do not allow empty admin console user or password
Change-Id: I3dfb74f62c53d8c7ab80094d4831203d065f0b4c
Reviewed-on: https://gerrit.libreoffice.org/53673
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-01 21:46:07 +02:00
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