Tor Lillqvist
5642e89ccf
Add handling of a "DEBUG" message that is just printed to stderr
...
This is useful in situations where you can't get at console.log()
output from the JavaScript, like when you are using the Nextcloud iOS
app installed from the App Store and want to debug the loleaflet
offered by a Collabora Online server you are using. You can add code
like
this._map._socket.sendMessage('DEBUG Foo bar=' + bar);
temporarily to the JavaScript and will see those then in the terminal
where you run 'make run.'
Change-Id: I04c78d86faa283e135dbcb86dac0cabd7b6a0724
2020-10-16 12:28:49 +03:00
Pranam Lashkari
8e8efc1764
leaflet: writer cursor does not appear after session idle
...
problem:
if shape was selected when document idle out,
on reconnecting cursor will not appear directly,
and after clicking somewhere cursor will not follow the view
the reason behind the problem:
if the shape was selected before idle out, on reconnecting
_clip._selectionType is not cleared and is still "complex"
this is what stops the view to follow cursor
cursor is not visible because _isCursorVisible never reset
Change-Id: I2c7170e9ee73a3c4c6bc36688c7ebc8b95bccb57
2020-10-16 07:32:00 +05:30
Pranam Lashkari
a992cfcd23
wsd: correction in conversion from timestamp to ISO8601
...
closes #168
Change-Id: Ibdb1aa72a6961d4707c2336382cc593c984d3615
2020-10-16 04:27:53 +05:30
pelinKuran
6dd2d4fc19
Fix indentations as per eslint 4.0.0
...
Change-Id: I82c06ef89666382d3d2cdc8857496aaefca06404
2020-10-15 21:23:26 +03:00
Tamás Zolnai
c8f5ba4b82
cypress: more tests for formula bar (mobile).
...
Change-Id: Ice9ab1f0114a02561243b3729cb248948f802d21
2020-10-15 17:56:23 +02:00
Tamás Zolnai
08692ad4d2
cypress: update 'Formula-bar focus' test (desktop).
...
Change-Id: I1596b54fb53c18496c07287941abab9f682c3bfc
2020-10-15 17:56:23 +02:00
Ezinne Nnamani
4e4b9a2819
Cypress testing for the font attributes in Writer
...
Change-Id: Id5cfe2cfe344d53b46609def8a820cadc46fbe20
2020-10-15 17:54:04 +02:00
Aron Budea
4fd9c0617f
wsd: resolve host as fallback for allowed WOPI host check
...
If IP address was set as allowed in storage.wopi, but its host
name was given in WOPI URI, the host was not resolved, and was
not accepted.
Change-Id: I20655cee8b435c9645d5cfdd102bdae9033fc1ab
2020-10-15 14:30:19 +02:00
Tamás Zolnai
7d5be3046d
cypress: update formulabar tests.
...
Change-Id: Ib611e7ef5de193c722e988a798dd5f07cf74421a
2020-10-15 11:56:42 +02:00
Tamás Zolnai
d4579f08d4
cypress: write out failure online.
...
We used to write out failure log only in the end of
all cypress tests. Better to log also during running
the tests to get some online feedback.
Change-Id: Ifab3fcfc5491cc586367796cf0da949e1d7e3bc6
2020-10-15 11:56:42 +02:00
Tamás Zolnai
93787579bd
cypress: update and reenable 'Formula-bar focus' test (mobile).
...
Change-Id: I903eecdba0d9c8effe90941a407fd76d87d59f8f
2020-10-15 11:56:42 +02:00
Mücahid Aydin
e9ea83efa5
pep8 coding style conformance for scripts/unocommands.py
...
Change-Id: Ic395a0692a808bc8519a05baf9cdd669d94a0fc4
2020-10-15 12:44:54 +03:00
Yusuf Keten
d977d13976
port to util::make_unique for wsd
...
Change-Id: I4fcbd350bd40de5044fdf08ba7e082d89c8e525d
2020-10-15 09:20:42 +02:00
Buğra Kurt
0b5734de63
loleaflet: eslint 4.0.0 conformance for Control.Menubar.js,
...
Control.MobileBottomBar.js, Control.MobileTopBar.js and Control.Notebookbar.js
Change-Id: Icf889d6df542cf9625125cae6816a0dc3c60fde4
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-15 08:51:10 +03:00
Tamás Zolnai
e4f385153b
cypress: add tests for formula bar (calc, mobile).
...
Change-Id: I570e414f36128c14b3de95a2a8ad713760082b04
2020-10-15 00:08:52 +02:00
Andras Timar
836fdd2e90
rename file and see what Weblate does
...
Change-Id: Id9e8b6a580e08a43d7d6dab5afc763bd31a49a60
2020-10-14 15:19:48 +02:00
Pranam Lashkari
01860f65ce
leaflet: specialise cursor for impress text
...
cursor type was set incorrect when hovering on text box in impress
Change-Id: Iaa95398dc9d6f49342312dba0497b74f88d4bc14
2020-10-14 14:42:29 +02:00
andreas kainz
0f229b8411
Fix issue #210 : StyleAply drop down menu width
...
Change-Id: Ibe1ef6827a466e5575995cb72e01637f3fe801f8
2020-10-14 12:39:09 +02:00
Miklos Vajna
ccc52d83f9
wsd: LOK_WHITELIST_LANGUAGES was removed from new enough core
...
See core.git commit abb6c01519a0318d7165dc9dc5b7d185353f93d6 (replace
usage of whitelist with allowlist, 2020-07-06).
Change-Id: I04646c63df4de14b9aa7dca02a4d5cec10e5eb67
2020-10-14 12:35:07 +02:00
Miklos Vajna
a1ff7a7fee
./g review: don't assume that local and tracked branch is the same
...
E.g. local branch is OK to be 'co-4-2' while it tracks
origin/distro/collabora/co-4-2.
Previously this was only working when the local branch was not renamed.
Change-Id: I11c24d71e903d27d34ec498604190d6b436b593d
2020-10-14 09:39:29 +02:00
Pedro Pinto Silva
dfd51b19e0
Mobile: Formulabar: hide unnecessary break element while
...
keeping its space
Change-Id: I9fc2c0e5804057f5c9f204a1fe7a6bb8eb216421
2020-10-14 09:38:09 +02:00
Muhammet Kara
4616c56ad0
Touch-up README.md
...
* Add image & slogan above
* Add key features
* Format the development bits section
Change-Id: I7dc0d543f7070893188b5dd9d386fb655acf748b
2020-10-14 02:54:25 +03:00
Rob Pearson
464078aac4
Translated using Weblate (English (United Kingdom))
...
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (English (Australia))
Currently translated at 100.0% (17 of 17 strings)
Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_GB/
Translation: Collabora Online/Android lib
2020-10-13 23:21:40 +02:00
Matthaiks
0e68b1961e
Translated using Weblate (Polish)
...
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (107 of 107 strings)
Translated using Weblate (Polish)
Currently translated at 57.6% (241 of 418 strings)
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
2020-10-13 23:21:36 +02:00
Adolfo Jayme Barrientos
5b89691fea
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (Asturian)
Currently translated at 64.7% (11 of 17 strings)
Translated using Weblate (Asturian)
Currently translated at 72.8% (78 of 107 strings)
Translated using Weblate (French)
Currently translated at 100.0% (418 of 418 strings)
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
2020-10-13 23:21:33 +02:00
Andrej Shadura
89fdcb16e2
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (107 of 107 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (348 of 348 strings)
Co-authored-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sk/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
2020-10-13 23:21:29 +02:00
koffevar
d4788acfe1
Translated using Weblate (Russian)
...
Currently translated at 60.0% (3 of 5 strings)
Translated using Weblate (Russian)
Currently translated at 94.1% (16 of 17 strings)
Translated using Weblate (Russian)
Currently translated at 47.1% (197 of 418 strings)
Translated using Weblate (Russian)
Currently translated at 89.0% (310 of 348 strings)
Co-authored-by: koffevar <egor.kafisov@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
2020-10-13 23:21:25 +02:00
Andras Timar
91140c3cdf
Translated using Weblate (Russian)
...
Currently translated at 100.0% (5 of 5 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (Ukrainian)
Currently translated at 64.3% (269 of 418 strings)
Translated using Weblate (Greek)
Currently translated at 91.3% (318 of 348 strings)
Translated using Weblate (French)
Currently translated at 100.0% (418 of 418 strings)
Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
2020-10-13 23:21:20 +02:00
Jan Holesovsky
5e05852aeb
Introduce UI_Hyperlink postMessage.
...
This is to be able to send the URL that the user wants to be open
outside the iframe, to the integration, and the integration can then
decide how to actually open the URL.
This is most useful for mobile apps that integrate the Collabora Online
in an iframe, so that they can handle the hyperlink their own way.
Change-Id: I389bb6ff15fbd66ced128e0ee2e1b08fea76bc8c
2020-10-13 21:18:38 +02:00
pelinKuran
161d5cd34f
Fix indentations as per eslint 4.0.0
...
Change-Id: I0ba5103011a3d1044575b8218f63678721dd6457
2020-10-13 21:13:56 +03:00
Tamás Zolnai
a8e9a745b9
cypress: update some writer tests related to canvas rendering 2.
...
In these cases, we can use the cursor position to verify changes
instea of tiles.
Change-Id: Ibc96c7a2df92aad5d7daa26a40e7c004a68e95e4
2020-10-13 15:15:06 +02:00
Tamás Zolnai
fbd3d54e6f
cypress: update some writer tests related to canvas rendering 1.
...
Here we can use the new canvas item to check what is
drawn on it.
Change-Id: I3da72cd88482ad415085fd1f2fa3ade3e3295ce1
2020-10-13 15:15:06 +02:00
Tamás Zolnai
7722ccd376
cypress: reenable chart insertion test.
...
There is something wrong in the DOM. Some items are
duplicated.
Change-Id: I5bd1eec44f7606b3378ef3096a1a39d132e6f9be
2020-10-13 15:15:06 +02:00
Tamás Zolnai
616e42f360
cypress: update row / column break related tests in calc.
...
Change-Id: I7f2ab00e01b7d4d86c192768e7194a5ba41ef04c
2020-10-13 15:15:06 +02:00
Tamás Zolnai
a9edbb3d6b
cypress: fix-up some impress tests.
...
There is no '.leaflet-zoom-animated' item
anymore. Don't seem to be a problem.
Change-Id: Ic59fcf24726acdf0f3da378be5dacbfe684306c1
2020-10-13 15:15:06 +02:00
Tamás Zolnai
0714beacf8
cypress: reenable some impress tests.
...
removeShapeSelection() method was updated in the
meantime to work with the new canvas rendering.
Change-Id: I7da643d507c8c94b9f6454d58cba6eee2e96504a
2020-10-13 15:15:06 +02:00
Andras Timar
9f648e159f
Add missing linefeed to error message
...
Change-Id: I8c48c0b064124c313e699c3b324ac7987cb77e42
2020-10-13 13:41:20 +02:00
Jan Holesovsky
22b1dd3540
Revert "Leaflet: Canvas view improvement."
...
This reverts commit 780d2d5709
.
Change-Id: I00bb02b35920f01971081a3cc67c1e7872f99408
2020-10-13 13:15:12 +02:00
Muhammet Kara
2150a63b29
Disable codeql cpp check
...
Auto build fails, causing spam failure messages.
Disable it for now, until proper reintroduction
Change-Id: Id3f974c1f2834bb7a672cf296a12a559decbc412
2020-10-13 09:08:13 +03:00
Tamás Zolnai
fc04d2ada0
cypress: add tests for comment operations (impress, mobile).
...
Change-Id: I93a7cfdab3ee8b75050a74e93d8d074f3bb8ac6c
2020-10-13 04:01:35 +02:00
Tamás Zolnai
81179ac91d
cypress: add tests for comment operations (mobile).
...
Change-Id: I9eb2dea1a600caba0bc11763838f574a1c69f0a5
2020-10-13 03:24:22 +02:00
Muhammet Kara
ad471ccdf7
Community: Add pull request template
...
Change-Id: I0c1de7a8b49e9f2ba9c72a3dc065caf36076dd9a
2020-10-13 01:27:22 +03:00
Muhammet Kara
e8e0e319c9
Update issue template for easy hacks
...
Change-Id: I6133f7083ff090267cd88455253556df74ce1e24
2020-10-13 00:11:55 +03:00
dilaverdemirel
44006a2a11
Fixes some eslint 4.0.0 format rule mismatches #229
...
Change-Id: I15943579ca54840a092efeff12f95aab764b921f
2020-10-12 23:48:49 +03:00
Muhammet Kara
aaff7e1e71
Add issue template for Easy Hacks
...
Change-Id: If5295fa76b97bab6923ab8a5caa837bf9d90eab2
2020-10-12 23:37:58 +03:00
Muhammet Kara
6aa9a6b9fc
Update issue templates
...
Change-Id: I3c5a2219e1372b390e4b813f3071d74fbab28d3d
2020-10-12 22:53:17 +03:00
Andras Timar
337657c173
Create SECURITY.md
...
Change-Id: I725c8c7bfd196a783f87e19e07aa0a55a19ec04a
2020-10-12 21:04:50 +02:00
Andras Timar
6013ef3f7f
Create codeql-analysis.yml
...
Change-Id: I08f754451b4a216cd2b9a10cd2042ab9ebd4503f
2020-10-12 20:39:17 +02:00
Alan Verdugo
084a295040
Fixing pycodestyle errors
...
Change-Id: I5e47613d33f87bfddb1bf3f301d6ea0319f2ec3c
2020-10-12 18:31:14 +03:00
bgbenzer
5f482e57fd
pep8 coding style conformance for scripts/untranslated.py
...
Change-Id: I4a3d8db37ba013b581eeec8fff8fba6fe1bcc966
2020-10-12 17:05:32 +03:00