libreoffice-online/test
Ashod Nakashian 81da7c7bff wsd: download templates by wsd
Templates were downloaded by Core
upon loading. This works fine, as
long as there is no special network
setup in loolwsd. However, when
loolwsd has a complex network setup,
such as when using reverse proxies,
Core wouldn't know about the details
and would likely fail to download
the template.

Luckily, there is no reason to rely
on Core for downloading templates.
Instead, we download it in loolwsd,
just like any other document, and
load it in Core as normal. The
remaining post-load saving of
templates remain unchanged.

Change-Id: Ib22ada4ae469863d5e5c8baeee27f667f7cd40ff
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-15 09:41:17 -05:00
..
data Add hello-world for Draw 2021-01-21 10:22:58 +01:00
.gitignore
countloolkits.hpp wsd: test: improvements 2021-01-23 23:55:43 +00:00
DeltaTests.cpp fix license headers 2020-10-01 11:56:43 +02:00
fakesockettest.cpp fix license headers 2020-10-01 11:56:43 +02:00
helpers.hpp wsd: test: improvements 2021-01-23 23:55:43 +00:00
httpcrashtest.cpp wsd: test: improvements 2021-01-23 23:55:43 +00:00
HttpRequestTests.cpp wsd: test: disable external http regression tests 2021-01-29 09:09:58 -05:00
httpwstest.cpp fix license headers 2020-10-01 11:56:43 +02:00
integration-http-server.cpp wsd: getTempFilePath -> getTempFileCopyPath 2020-11-22 22:26:36 -05:00
lokassert.hpp wsd: test: log test assertions 2020-12-28 12:04:53 -04:00
Makefile.am wsd: add FileUrl tests 2021-02-09 10:45:37 -05:00
run_unit.sh.in wsd: test: improvements 2021-01-23 23:55:43 +00:00
test.cpp wsd: test: improvements 2021-01-23 23:55:43 +00:00
test.hpp fix license headers 2020-10-01 11:56:43 +02:00
testlog.hpp wsd: test: log test assertions 2020-12-28 12:04:53 -04:00
TileCacheTests.cpp wsd: test: improvements 2021-01-23 23:55:43 +00:00
TileQueueTests.cpp Unit test for skipping ModifiedStatus from deduplication 2020-10-07 16:16:54 +02:00
UnitAdmin.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitBadDocLoad.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitCalc.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitClient.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitClose.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitConvert.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitCopyPaste.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitCursor.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitEachView.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitFuzz.cpp wsd: use chrono for readability and conversion safety 2020-12-22 11:24:13 -05:00
UnitHosting.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitHTTP.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitInsertDelete.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitLargePaste.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitLoad.cpp wsd: add FileUrl tests 2021-02-09 10:45:37 -05:00
UnitLoadTorture.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitOAuth.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitOOB.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitPasswordProtected.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitPaste.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitPrefork.cpp wsd: use chrono for readability and conversion safety 2020-12-22 11:24:13 -05:00
UnitRenderingOptions.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitRenderShape.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitSession.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitStorage.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitTiffLoad.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitTileCache.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitTimeout.cpp wsd: use chrono for readability and conversion safety 2020-12-22 11:24:13 -05:00
UnitTyping.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitUNOCommand.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitWOPI.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIDocumentConflict.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIFileUrl.cpp wsd: add FileUrl tests 2021-02-09 10:45:37 -05:00
UnitWOPIHttpHeaders.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitWOPILoadEncoded.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitWopiOwnertermination.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIRenameFile.cpp wsd: test: move inherited filterSendMessage to onFilterSendMessage 2021-01-13 08:07:06 -05:00
UnitWOPISaveAs.cpp wsd: test: move inherited filterSendMessage to onFilterSendMessage 2021-01-13 08:07:06 -05:00
UnitWOPITemplate.cpp wsd: download templates by wsd 2021-02-15 09:41:17 -05:00
UnitWOPIVersionRestore.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIWatermark.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
WhiteBoxTests.cpp wsd: download templates by wsd 2021-02-15 09:41:17 -05:00
WopiProofTests.cpp fix license headers 2020-10-01 11:56:43 +02:00
WopiTestServer.hpp wsd: add FileUrl tests 2021-02-09 10:45:37 -05:00