libreoffice-online:distro/collabora/collabora-online-4-0

Last commit made on 2020-09-17
Get this branch:
git clone -b distro/collabora/collabora-online-4-0 https://git.launchpad.net/libreoffice-online

Branch merges

Branch information

Name:
distro/collabora/collabora-online-4-0
Repository:
lp:libreoffice-online

Recent commits

a2c8a56... by Andras Timar <email address hidden>

Bump package version to 4.0.13-1

Change-Id: Ic6a2bb55d620c8b0790aa0da73485db3c6d271dd

9351ec6... by =?utf-8?q?Szymon_K=C5=82os?= <email address hidden>

Decode file name when trying to download file

Simplified download process (ab162b6f9580315700a01c3bc10becd510a2ead4)
introduced a bug. Trying to download file with eg. space in the name
become impossible. This patch decodes the string to fix the issue.

Change-Id: I8e5d98010cf098b889eddcce4ba1ce65367b15d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102874
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Szymon Kłos <email address hidden>
(cherry picked from commit 87aad0a8bbf86502658ffcf3d0ee053af922d474)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102763
Reviewed-by: Andras Timar <email address hidden>

ab162b6... by =?utf-8?q?Szymon_K=C5=82os?= <email address hidden>

Simplify download process

Use hash to identify download and pass that to the client.
This allows us to reduce parameters for download requests.
DocBroker maps download ids to URL in the file system.

Change-Id: I254d4f0ccaf3cff9f038a817c8162510ae228bc5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101992
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <email address hidden>
Tested-by: Michael Meeks <email address hidden>
Reviewed-by: Michael Meeks <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102227
Reviewed-by: Andras Timar <email address hidden>

e7bbd76... by Andras Timar <email address hidden>

Bump package version to 4.0.12-1

Change-Id: Ia6babe4ec988705090b9d0c95cc93b6a037de0b9

a13d967... by =?utf-8?q?Szymon_K=C5=82os?= <email address hidden>

Fix name formatting

Change-Id: I2aed56cf362c0e68918955340d35013179a54ad1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101909
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101919
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Andras Timar <email address hidden>

d8f3783... by Michael Meeks <email address hidden>

Remove default file descriptor limit.

Change-Id: I1b811bd2fbabaa7c23861b215dc254832d200324
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100064
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Andras Timar <email address hidden>

ff826e6... by Michael Meeks <email address hidden>

admin: cleanup sent/recv accounting - and initialize the totals.

Change-Id: I96265c5d0e7b18d9ae19efa0ce7477aead75dbf7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93422
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Gabriel Masei <gabriel.masei@1and1.ro>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93439
Reviewed-by: Andras Timar <email address hidden>

538265a... by Miklos Vajna <email address hidden>

admin console: fix handling of out of range kill parameter

Catch that, similar to when handling an invalid argument.

(cherry picked from commit 946fa38a22e2e90965392446a559c78c87d92219)

Change-Id: I7405355f0b962673069dbd33dbab8c9e3042c4bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91973
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Andras Timar <email address hidden>

54aed2d... by Miklos Vajna <email address hidden>

wsd: fix crash with read-only documents + uno command without param

==15956==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000007cd2f7 bp 0x7ffe96c7cd70 sp 0x7ffe96c7c4e8 T0)
...
    #7 0x11a9d31 in ClientSession::filterMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const wsd/ClientSession.cpp:977:27
    #8 0x11925d6 in ClientSession::_handleInput(char const*, int) wsd/ClientSession.cpp:741:14
    #9 0x19395d0 in Session::handleMessage(bool, WSOpCode, std::vector<char, std::allocator<char> >&) common/Session.cpp:230:13

This seems to be a recurring pattern, I'll consider reworking
LOOLProtocol::tokenize() in a follow-up commit to have a return value
that is safer than std::vector<std::string>.

(cherry picked from commit d129979822212f739279de89c9f6ad5d48f338f4)

Change-Id: I0e71214a55af2e71e4787cb0dba0ddf7825bf9d9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91972
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Andras Timar <email address hidden>

6900922... by Andras Timar <email address hidden>

add missing #include <list>

on a fresh openSUSE Leap 15.1 I got errors without this:
wsd/AdminModel.hpp:346:10: error: ‘list’ in namespace ‘std’ does not name a template type
     std::list<unsigned> _memStats;
          ^~~~
etc.

Change-Id: I19c42bd48bbcc0787a3398d1882c974ebf5bdf81
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89298
Tested-by: Andras Timar <email address hidden>
Reviewed-by: Andras Timar <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92045
Tested-by: Jenkins CollaboraOffice <email address hidden>