Commit graph

217 commits

Author SHA1 Message Date
Henry Castro
22fd4ebaa6 admin: fix build when builddir != srcdir
Change-Id: If29863c06a8c296d5d4b7c37f0f6473e949e4371
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98223
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-14 15:42:13 +02:00
gokaysatir
30dfb54ca4 loleaflet: Admin console overview details.
Change-Id: Ia796d457e26a5867547fb4b2b4b78b10c64d7c95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99689
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-07 16:03:39 +02:00
Tomaž Vajngerl
3141ba2403 AnnotationManagerImpress to manage annotations for Impress
and move thefunctionallity from ImpressTileLayer.js

Change-Id: I646432b677652983384ba53197b5a7af6dd035e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99019
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 14:46:34 +02:00
Tomaž Vajngerl
2b313af4f3 add AnnotationManagerBase to share code with other modules
Currently AnnotationManager is meant for Writer only, but it makes
sense to share the code with other modules too. This adds a new
base class AnnotationManagerBase which will contain the common
code for the annotation management. Other modules currently have
the annotations implemented in TileLayer, but this is the first
step to move them into its own annotation managers too.

Change-Id: I5131337aa95e43ce0844d57e2cc020239af5f100
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99018
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-20 22:49:11 +02:00
Mike Kaganski
0c99f6830b Warn user when the document could not be locked
Change-Id: I66b584f5e95fd82dc5cb27d10d9629cf19cb61bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98782
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-20 15:47:53 +02:00
Dennis Francis
3c3adc3f5d add draggable splitters that controls the split-panes
Change-Id: I7d6f681fbacfd8b1a6699c52a8bd9d007f20b99d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98355
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:59:04 +02:00
Dennis Francis
a59076e1ca add split-panes support for overlay layer
(This is only for svg renderer)

There are separate svg DOM-nodes for each split-pane with view-box set
appropriately. The L.Path based objects are shared for each
split-pane, but there will be separate identical 'path' DOM-nodes for
each svg container.

This patch introduces L.SplitPanesRenderer/L.SplitPanesSVG (has
same external api as L.Renderer/L.SVG). These are wrapper classes to host
child renderers, one per split-pane and delegate calls to them
appropriately.

Change-Id: Id44e9a1312500e6b43cdd8e4f42e235b43d22772
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98354
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:57:44 +02:00
Dennis Francis
4b2ff56750 introduce CanvasTileLayer with support for split-panes
which is derived from TileLayer but renders tiles on a canvas instead.

TODO: Generalize certain methods of TileLayer instead of a complete
re-implementation in CanvasTileLayer just because a few things need to
change.

Change-Id: I51001f83f8f663d194bc9c4b018fa9950c40f420
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98351
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:50:42 +02:00
Dennis Francis
5f17407548 introduce SplitPanesContext class
This will store the split position and notify others and update the
splitters when someone changes this.

Change-Id: Ic1a2d665c972c369ce4e1362d0add50f72125d8a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98350
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:49:59 +02:00
Jan Holesovsky
d91e5cd682 Fix dependencies of the TypeScript file.
The assumption is that the amount of TS files will grow; so move away
from a generic 'tsc' call that is supposed to walk through the tree with
exact calling that for the files that have been changed.

This should hopefully finally sort out the Jenkins problems with
ModalDialogCreator.tsj

Change-Id: I5f2883de7e43fd53fa8a67f12d0a965da8611942
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97082
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-06-25 09:41:28 +02:00
Henry Castro
38715ea2df android: create intermediate dir for build variants
It is better to separate the intermediate asset files

Change-Id: I50ff1b6e045679afa48c7024652de40db8fa2a71
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95366
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 22:05:02 +02:00
Henry Castro
132bef2a97 android: generate debug and release loleaflet assets
Change-Id: If3659de771b3d1f7015c1e4c26d6877f90afe306
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94996
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 21:00:45 +02:00
Jan Holesovsky
23ebfe2007 Add compilets dependency so that make -j works again.
Change-Id: I185891fbcb340d2d2a94b9e2fe033534da9c2f08
2020-06-11 12:37:11 +02:00
gokaysatir
a0748dda45 leaflet: Introduce typescript. Initiate a modal library with typescript.
Change-Id: I92113f7552f938f0874e8b16904e8bef0b5249a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95624
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
2020-06-09 14:33:40 +02:00
gokaysatir
5f07429b6b leaflet: Update admin console & drop bootstrap package.
Change-Id: I9243393693c2464f2e9a4d24cccf9c5f3415e2ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95468
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:56:16 +02:00
gokaysatir
6f6c0a32e5 leaflet: update jquery-ui package with lightness them.
Change-Id: I8273c2f7d8b46f63f582c11c2c0e81c303e04bcb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:55:07 +02:00
gokaysatir
d478b2d030 update select2 package.
Change-Id: I8ff53d838e80011f110bd427e26adcd372d9a2fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95217
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-01 15:30:30 +02:00
gokaysatir
ac682772a6 tdf#114982 - AdminConsole: control logging
Change-Id: I53cf4b0ff81ea9d6bf4ad595077f7365e7e34c00
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94130
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-30 11:10:19 +02:00
gokaysatir
880868ca6c update autolinker package.
Change-Id: I53c642763212d958fb0a860fcfbd8f4bbe7b37ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95166
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 22:13:20 +02:00
gokaysatir
160acdc5cb update sanitize-url package
Change-Id: I4cc68a010f54afc02777c140b28e41c07a0011fe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95158
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 18:13:18 +02:00
Henry Castro
9b0fd0d7c4 loleaflet: makefile: simplify IS_DEBUG var
Change-Id: I5322d9308f63fb0e501aa883cfbe3cfd7c4fb663
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95062
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:23:06 +02:00
Henry Castro
684a0d2ef4 loleaflet: makefile: replace ENABLE_DEBUG var
Now, it does not depend on ./configure script
it is configurable to set BUNDLE=DEBUG or RELEASE (i.e. Android platform)

Change-Id: Id43f156a05ea22f74334e7fdbe60d53b8b5a2891
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94982
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:50 +02:00
Henry Castro
bd298d037b loleaflet: makefile: set default INTERMEDIATE_DIR var
and configurable.

Change-Id: I4f1b111e1f9ce4e8c9e0b13755dce04f99672e1e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94981
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:33 +02:00
Henry Castro
f511d7d675 loleaflet: makefile: update PHONY targets
Change-Id: I3201c3f155aae597871f682686a8acdba47ae8a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94979
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 04:22:11 +02:00
Henry Castro
15d4d3156d loleaflet: makefile: move the command to check UNO commands
Change-Id: Ic841b0de22d3e62779fe0c112a33c942ba87b160
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94977
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:56:08 +02:00
Henry Castro
8f9eea9e7a loleaflet: makefile: remove old depecrated expansion
I probably forgot to remove it

Change-Id: I0183605fdf07235a7e3d61e91893133690feb074
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94974
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:30:18 +02:00
Henry Castro
5abf8900dd loleaflet: makefile: simplify global file rule
Change-Id: I9c9bf7fa48f8c9dcd318195235cb99e407215543
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94913
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 03:12:01 +02:00
Henry Castro
942fce4ea5 loleaflet: makefile: simplify rule bundle.js
Change-Id: I805b3a46a5864ca31e22ab685d6749c748255372
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94912
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 02:39:13 +02:00
Henry Castro
b86f226bec loleaflet: makefile: simplify bundling CSS
So it can be flexible to bundle Debug or Release

Change-Id: I02bb653d7ead2e3d2e72bca8911efe2573885af4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94910
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 02:15:22 +02:00
Henry Castro
445ca4269a loleaflet: makefile: simplify the rules for bundling loleaflet
So it can be flexible to bundle Debug or Release
and it can be used in other platform (i.e. Android)

Change-Id: Ia98abc0711c98b8f34654956534ce414f34dbdb4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94891
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 01:26:30 +02:00
Henry Castro
eedf587d51 loleaflet: makefile: remove unnecessary prerequisite
Change-Id: Ifaa47e323f66235f6a18a832e738c04ccc9ef95e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94884
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 01:11:06 +02:00
Henry Castro
5c9020ac66 loleaflet: makefile: rename LOLEAFLET_PREFIX var
In order to not confuse it is renamed to INTERMEDIATE_DIR

Change-Id: Iccdea0d77b17c3d4285b891b79a408a795328d13
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94873
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 23:05:23 +02:00
Henry Castro
da49edd7d1 loleaflet: makefile: remove duplicates prerequisites
Change-Id: I409225be5f69524105967d3a72466ff284afc724
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94866
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:46:05 +02:00
Henry Castro
198709f5ed loleaflet: makefile: remove order only prerequisites
This is no longer required, now node_modules is installed
before invoking "all" target

Change-Id: I720f1906f2f88b104d560a096f51344edebfab44
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94870
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:30:15 +02:00
Henry Castro
81ec172a10 loleaflet: makefile: simplify NODE_PATH var
Change-Id: I96a221f92aa2d3785cc6c83add84fc37680a6183
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94860
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 22:06:51 +02:00
Henry Castro
7e83696158 loleaflet: makefile: update Makefile rule
Change-Id: If52e0c1094e71cd52e665a0bbbdda2f4a9f0cd5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95059
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 21:48:51 +02:00
Henry Castro
8e1cf47112 loleaflet: remove install node_module in configure phase
Fair enough, let's not get in conflict with IOS platform,
It is restored and get another solution

Change-Id: I1cde236595479bdf41e29d8a30bb9d71aa196e54
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95036
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-28 14:30:22 +02:00
Andras Timar
00471c82e5 install the optional welcome text
Change-Id: Ic3096110cab7068d7963056fab1002db4fc8451e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94970
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-27 18:47:25 +02:00
Henry Castro
40dffc408c loleaflet: install node modules in configure phase
It is not necessary to clean these files since
they do not change frequently

Change-Id: I092013c02effffe6c45bccbf81369e583cffe806
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93111
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-25 20:13:24 +02:00
Szymon Kłos
37eccae0f0 jsdialog: style word count dialog
Change-Id: Ibffe28ddecbbcfcf01aac6e5a112c34134668633
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94692
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 17:03:38 +02:00
Tamás Zolnai
d2629961e0 MSForms: handle formfieldbutton message.
Change-Id: I17243823d9bc0074b7fd015bca23de9399e0e26c
2020-05-09 09:54:08 +02:00
Szymon Kłos
209f092fae notebookbar: separate configuration for impress
Change-Id: Ibd7cdd9302f9033aca0de908ade036fa2dc50ede
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93650
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:32:39 +02:00
Henry Castro
54ac186ed5 loleaflet: makefile: no built-in rules
It is not needed to build loleaflet

Change-Id: I2eb0ed999a0463b3f69e98a6a450961a7e6723d0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93168
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-07 18:25:14 +02:00
Szymon Kłos
b0e2bd990e notebookbar: separate file for each app
Change-Id: If61ed762a3dd55c0cef7d58b7a3b1ddf8276cce3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93304
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:54:32 +02:00
Szymon Kłos
df6c63516d notebookbar: add stylesheet
Change-Id: Ide159a6df5e9c3ffa9d64fc88b78f3902a991836
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93255
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 13:03:23 +02:00
Szymon Kłos
7bdf49c33d notebookbar: use builder to create
Change-Id: If8bbbaba66aba887587b8679f7a1ac9f5ccb4490
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93052
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 11:54:25 +02:00
Szymon Kłos
df19274705 notebookbar: Create toolbars depending on settings
Change-Id: I66a03e9d8e9104b9f7868f24601525d502734e0e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93051
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-29 09:49:52 +02:00
Henry Castro
8ad070c0e5 loleaflet: fix when cleaning the dist folder
Change-Id: If4abbc0acbc15b99d65fe6db488ab300378ec663
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92983
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-27 20:21:16 +02:00
Szymon Kłos
43f19fa57e Move DocumentNameInput to separate file
Change-Id: I20b5620269b46902a612d2b43346d3b02c3636cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92622
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-22 09:36:03 +02:00
Henry Castro
40b0e084be android: change dependency to generate assets
According to gradle graph tasks, add a dependecy
to generate loleaflet assets

Change-Id: I5b528989c645903840eae44b7770b7d2425bb921
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92662
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-22 00:49:43 +02:00