Commit graph

7666 commits

Author SHA1 Message Date
Miklos Vajna
a725fea9fa Replay: make members private
Only some members neded only read-only access.

Change-Id: I8c90f315e8b946a6ce5fd8aec966d59a4b62383c
2019-01-07 08:34:07 +01:00
Andras Timar
857395a51e loleaflet: update pot
Change-Id: Id3a6980176aaa694b80961128f411ab14c19bd1d
2019-01-04 13:21:00 +01:00
Szymon Kłos
a3cb69c1cf WOPI: added FollowUser_Changed notification
Change-Id: Ibd98bcd373b6df06b02f6cf265e99e74e6ba9ce2
2019-01-04 12:45:52 +01:00
Szymon Kłos
64fb42fe19 Fix following users feature
Bug related to fff8cce5

Change-Id: Ie9778ea8e381fc8c19d11eb72c2d11d7787fb017
2019-01-04 12:45:26 +01:00
Miklos Vajna
32f4dd371d Stress: make members private
No external code used those members, so makes little sense to have them
as public.

Change-Id: I893dca4a42b83e0835829889d35fe3c756b97f96
2019-01-04 09:03:38 +01:00
Tomaž Vajngerl
83ae7f93af try default PIN first, fix wrong error condition, error reporting
Change-Id: I2e04c3cba8a3d907b7f94471cd5a30439d34ef42
2019-01-03 22:08:12 +01:00
Tomaž Vajngerl
f8b09e0f42 signing toolbar - current logged in identity improvements
Change-Id: I2d03111a932b2a95a6c4518bb096b94418cb48ba
2019-01-03 09:35:49 +01:00
Miklos Vajna
f204ff2333 Tool: make members private
Some of the members were not used externally at all, others were just
read-only externally.

Change-Id: I8fbe5c9c027e7d0adf516b311aafb6b66134776e
2019-01-03 09:05:36 +01:00
Jan Holesovsky
b3e4c42ab9 UI: Show the Insert Chart... toolbar button also in Writer and Impress.
Change-Id: I3178d428ddafc4c54e0223f481b8360493f94f18
2019-01-02 18:24:08 +01:00
Henry Castro
980d0fa653 loleaflet: w2toolbar: prevent default when scroll buttons is clicked
Change-Id: I1c4f7041e612c65f04f429f90dae870e0db731a5
2019-01-02 17:29:39 +01:00
Andras Timar
f731b283e4 loleaflet: update pot
Change-Id: I87368fe30c9129b5fb602683ae4153adcafaa5b5
2019-01-02 11:48:51 +01:00
Miklos Vajna
3d38a71d77 Minor cleanups in DocumentBroker
documentLastModifiedTime was an unnecessary value parameter, filename
was copy-initialized without a reason.

Change-Id: I5e5a2fe9d9fcde61db539e30689492b8c191b598
2019-01-02 09:07:06 +01:00
Tomaž Vajngerl
4866ec47bf Vereign: improve dialogs
Change-Id: I1452570cae76b8a0680dda8ccbd78f1d6c19005a
Reviewed-on: https://gerrit.libreoffice.org/65794
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:56 +01:00
Tomaž Vajngerl
dc282c15bd improve signing toolbar, add vereign image
Change-Id: Ia18355e4afa1c07083298888528efda75a5aee5f
Reviewed-on: https://gerrit.libreoffice.org/65793
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:49 +01:00
Tomaž Vajngerl
35986764eb Multiple fixes to Vereign siging code
- unify signing sttaus messages
- extract new identity creation (verignNewIdentity) to a new func.
- handle 'IdentityNotLoaded' event
- remove unneded calls on 'Authenticated' event
-

Change-Id: Ib70e1893f966adb29e8de4e396c08260021755e1
Reviewed-on: https://gerrit.libreoffice.org/65786
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:37 +01:00
Tomaž Vajngerl
8ddfbead3c add functions to get API, iframe and WOPI URL for Vereign
Change-Id: Ib97b696f5a3965c4bdf6ddc79aa4cab196630ce2
Reviewed-on: https://gerrit.libreoffice.org/65785
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:30 +01:00
Tomaž Vajngerl
4656bdcb38 Combine Sign and Upload to one action
First the document is signed, then when the signature status is
returned, upload to Vereign.

Change-Id: I02a3a3d401cffa295751483ba85bd45c22c7950f
Reviewed-on: https://gerrit.libreoffice.org/65784
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:18 +01:00
Andras Timar
1736c72f74 Better width of About and Help popup windows on narrow and wide screens
Change-Id: I61e639a8a70282dc9e18fa1a4107f0572370947f
Reviewed-on: https://gerrit.libreoffice.org/65685
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-12-28 16:20:40 +01:00
Andras Timar
9200c0afdf Remove empty Configuration2/ from ODT, it's better for testing signing
Change-Id: I1a10d57ea10c8006b2cdbbe4a674f9177fb35246
2018-12-28 13:10:16 +01:00
Andras Timar
f63991673a loleaflet: update localizations from LO core
Change-Id: I1ac5aec718d181a216798d004d34e4e51f673a2f
2018-12-27 22:31:35 +01:00
Andras Timar
a998c4af7c enable l10n of shape group names of insert shapes dropdown panel
Change-Id: I4999fef8f40b09b81fd27c333a74b8575640ed29
2018-12-27 22:31:35 +01:00
Andras Timar
da1ac186ec clarifying allowed_languages setting
Change-Id: Iaa26997fa3b7807362d650c9f7efce380147a7e4
Reviewed-on: https://gerrit.libreoffice.org/65636
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-12-27 11:15:29 +01:00
Henry Castro
f1440cd57b loleaflet: force toolbar resizes when update custom ...
combo box toolbar items.

Change-Id: Ib0e6bd5b6b59ef7fb4afa32ea0e16273b72cf503
2018-12-22 20:38:41 -04:00
Miklos Vajna
58b3228292 Revert "Always allow frame embedding in debug mode"
This reverts commit 1d9a9e834a. This
commit meant that if you hit CSP violations, then 'make run' hides those
problems and you need a full 'docker' (or similar) setup to see the
problem, where it's much more painful to debug it.

See commit 6e0d1ad707 (document signing:
whitelist CSP frame-src for doc sign endpoint URL, 2018-12-05) for a
real-world example where this happened.

Change-Id: Idc14496463f6decd0ad64c3b31758b4f532d66e6
Reviewed-on: https://gerrit.libreoffice.org/65549
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-22 12:29:12 +01:00
Samuel Mehrbrodt
f5fb312987 Docker: Allow chosing which branch to build
Add an env var for this, default is still "master"

Change-Id: If6ded3509efe9bf5bbb5a1d82b0aa2e66ac2c133
Reviewed-on: https://gerrit.libreoffice.org/65544
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-12-21 14:33:46 +01:00
Samuel Mehrbrodt
fb51909217 Docker: Clone from upstream repo
Change-Id: I0977d3e0de5df0b4cac819559b67548e07a00583
Reviewed-on: https://gerrit.libreoffice.org/65528
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-12-21 14:25:16 +01:00
Samuel Mehrbrodt
a43ba457d6 docker: Allow using a different docker hub repo/tag
Still defaults to libreoffice/online:master

Change-Id: Ice1f27b273a63aa1e2e3ea87c7ac409004e8b214
Reviewed-on: https://gerrit.libreoffice.org/65525
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-12-21 14:25:09 +01:00
Miklos Vajna
5c443ca7d9 DocBasicInfo: make members private
Nicely shows that all these members are only set once in the constructor
and otherwise only read.

Change-Id: I4b48a9d0faa50efc4bec30ce94239b7438bbf889
2018-12-21 09:07:40 +01:00
Samuel Mehrbrodt
32110056e7 kde4 is gone, disable kde5 instead
Change-Id: I075ae997752199891530eaae509673e255d47de8
2018-12-20 16:56:48 +01:00
Andras Timar
2d067f3887 loleaflet: updated UI pot
Change-Id: Ifa21bf72df9a18de9ad4b824871a7bdb901fa1ab
2018-12-20 16:29:26 +01:00
Jan Holesovsky
2cf0907bff Document /hosting/capabilities.
Change-Id: Ib18d2cc44f0e6b36d9628039457dc09f1d1b4f62
2018-12-20 12:40:35 +01:00
Jan Holesovsky
21e9749d90 capabilities: Encourage use on mobile devices.
Change-Id: Ia090503220d659b5a5daf422eaa7580630bde444
2018-12-20 12:40:35 +01:00
Jan Holesovsky
a877885d9c TemplateSaveAs: Don't forward to the client if not specified.
So that we don't attempt saving as the first thing after opening.

Change-Id: I30864ccdc766ec8843a60b40e991461f1be9cf8f
2018-12-20 12:40:35 +01:00
Jan Holesovsky
f2fcf49b3b checkfileinfo: TemplateSaveAs to trigger PutRelativeFile...
...as the first thing after load.

Change-Id: I8c372ebe0228682d4f1d7cb89fe80ea59455c5bb
2018-12-20 12:40:35 +01:00
Miklos Vajna
bf9a8edcb9 SnapshotData: make members private
Change-Id: Id3ee800cb27f0d536ec1e34a8790aeffa74986af
2018-12-20 08:54:42 +01:00
Tor Lillqvist
3ec92f137e Be less fragile in case of missing resources when downloading templates
It is not enough ot look at the NSError* parameter. Need to check the
HTTP status code, too.

Change-Id: I8db146c77626d4080ef6606999d27e6bb845876c
2018-12-19 13:38:43 +02:00
Tor Lillqvist
300b883dc0 Make the 'closemobile' button (at left, looks like '<') work in the mobile app
We now have two places, the handler for the 'closemobile' button and
the handler for the 'closedocument' menu entry, where we have an if
statement that checks window.ThisIsAMobileApp and if so posts the "BYE"
message to the webkit message handler in the app. Possibly we could
move that conditional code into just one place, down into the 'close'
function in L.Socket instead?

Change-Id: Ib8c6adf621945b266fa4ea5f6d66b0022c2ca373
2018-12-19 13:10:19 +02:00
Andras Timar
e3bb12ae92 loleaflet: fix localizable strings in Signing.js
Change-Id: I64a7861e389f2f6be8447aeab476ea253909c47b
Reviewed-on: https://gerrit.libreoffice.org/65409
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-12-19 10:09:21 +01:00
Miklos Vajna
a65a528220 TraceFileRecord: make members private
Change-Id: Ie83077b248185d7748423f512b7b61b4945bd779
2018-12-19 09:12:36 +01:00
Tomaž Vajngerl
97512787e3 use the library from the bundle provided by verign
Change-Id: I423bcf788b52a08006c14833ffdadae7bdd6522a
2018-12-19 09:02:17 +01:00
Tomaž Vajngerl
78fb9cca30 vereign upload: use wopi ifilename or create a random one
Change-Id: I0f4b294e6c517459835731c6afcc39f932477c0f
2018-12-19 08:40:27 +01:00
Tomaž Vajngerl
7fcc48cd51 select what format to upload to vereign
Change-Id: I058b2ccd07664c6c4aa00f10f1cd0ac9d8b4dc8c
2018-12-19 07:43:49 +01:00
Tor Lillqvist
9deb186102 Bump CFBundleVersion
Change-Id: I98233b5423e66ebca43426d5cc51af957e31d7b5
2018-12-19 00:13:07 +02:00
Tor Lillqvist
b0b2c01a6c Don't crash if there is no WKJavaScriptExceptionMessage
Change-Id: I90b99ba13e06c511334bc085d43d85126808f42f
2018-12-18 20:39:18 +02:00
Tor Lillqvist
c909bcd83c Need offapi headers, too, when building against a 6.0 branch or core
Change-Id: I4bce152cd286f66aaed1f8354a21c76a27e771b0
2018-12-18 20:03:52 +02:00
Tomaž Vajngerl
be9346ddf6 on auth. event check session and list of idents., log known events
Change-Id: Ie668defffa6f3450571df708db27f163789aa848
2018-12-18 17:39:21 +01:00
Tomaž Vajngerl
0c28b32069 additional WOPI endpoint parameter for vereign client library
Change-Id: Iddae25824ca00dcfca8e602c02a72cc60d03431a
2018-12-18 17:39:21 +01:00
Tomaž Vajngerl
1187d5800b Logout even if logout command doesn't return success
It is possible the user is already logged out and the logout
command doesn't return success.

Change-Id: I3f164ad96a388d5c94126540aceaf078082fb9a4
2018-12-18 17:39:21 +01:00
Tomaž Vajngerl
ad1abaaa67 update vereign client library: additional parameter
Change-Id: I1a0dca92ec5b46ce942a68f947cc318f83fd10c5
2018-12-18 17:39:21 +01:00
Miklos Vajna
1dd2f823e9 UnitFuzz: avoid manual std::move()
std::move() is implemented with release + reset in fact.

Change-Id: If5f0dc8f10066a7ee1ca37f7c5039fcd0affb755
2018-12-18 09:14:43 +01:00