Commit graph

1026 commits

Author SHA1 Message Date
Julius Härtl
32265b7c61 browser: Only apply header avatars for desktop
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I1609f0dba93bc44fa4a21685129bfdce136ec04e
2021-11-19 19:37:09 +01:00
Julius Härtl
0ccbb5704a browser: cleanup header avatar handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: Ia75ac01fdee25765b458fe799e797f553f289048
2021-11-19 19:37:09 +01:00
Julius Härtl
b31bb2c08a browser: Adjust header avatars to fit default theme
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I2a73639fb0250da4d56f1f251ec41d4f59247fe5
2021-11-19 19:37:09 +01:00
Luka Trovic
f9e81b187f add avatar list to the top right of the header
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Change-Id: I07bd9271e833c4839d76c6ea73866b2b984d5e14
2021-11-19 19:37:09 +01:00
Julius Härtl
40c8152ee4 browser: Move menubar to a flex-based layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I80fecf7c08b6cc0360fb606bbb7ba3f0171cf52e
2021-11-19 19:37:09 +01:00
Szymon Kłos
342e4415a2 Fix reconnecting after rename
Regression from f92e85dacc
Ensure that options are always initialized.

Socket.js code expects that access_token and other params
are under map.options.docParams not map.options.options.docParams.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie6d7055c3865e6fce1754bce5272cee7f4973b68
2021-11-19 19:35:55 +01:00
Gökay ŞATIR
f631404ad2 PDF View: Solve native scroll bar flickering and don't set part while zooming.
Previews' scroll bar was going up & down rapidly while zooming in & out.

Selected part was being changed while zooming in & out.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I8dcc0973f3822ad6af7a710ae0c073ea95732e4b
2021-11-19 18:32:29 +03:00
Gökay ŞATIR
f7dbf01cf6 FileBasedView: Check existence of pages before drawing backgrounds.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I8619e2ecb65c0ece2807af87de3fd83bbc57b500
2021-11-19 18:32:29 +03:00
Gökay ŞATIR
6b5686b0b2 Revert "PDF View: Add a redraw after setting the selected part."
This reverts commit 29299650ac5a9b2b7e227ede0e6eff5eb0013623.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I56a5ba2bed4e5352570e0f250ad531dd3deabdd7
2021-11-19 18:32:29 +03:00
Gökay ŞATIR
086bdbe826 Use clicked point of the scroll bar
instead of a constant.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I9f8b905ce69f5ea5a21eb8e3236768cfaf6257d0
2021-11-19 18:32:18 +03:00
Gökay ŞATIR
ec2fefa843 Scroll bars won't move when pointer position is not parallel.
This improves user experience.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ia1706610727015a2fd8f35c42c1cc9583883fd45
2021-11-19 18:32:18 +03:00
Szymon Kłos
f47ffb5365 mobile-wizard: count visible panels correctly
When opened mobile wizard with shape selected and then
selected some text and reopened mobile wizard - only
one panel was visible.

With new welded sidebar panels can be added to JSON but
not visible

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Icca33a5a8d467f66c5a0d32fee046f4b8d4adfde
2021-11-19 15:24:04 +01:00
Szymon Kłos
90a97723a4 jsdialog: use unformatted text
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic6dbd0ca47798cd421d8a5f5ceabbf1c38022448
2021-11-19 15:23:57 +01:00
Pedro Pinto Silva
e44737af72 About dialog: space after git hash: was being ignored
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8b5df84c26e748e482f50e61a74018ce6ec4964c
2021-11-19 15:08:57 +01:00
Pedro Pinto Silva
d80252d240 About dialog: Use different chars around git hash
- On desktop keep using `(`...`)` around string
	- But make it possible to remove easily and automatically when on
	mobile
	- make sure there is a space right before that
- On mobile we normally have less space horizontally and it's harder to
	read long line
	- So place git hash as a new line (it also has the advantage that both
	links [co and integrator] will now align with each other making it
	easier to spot and tap on them)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie43a5374e3617da2e5f9b7e19c61601ff935ce4a
2021-11-19 15:08:57 +01:00
Pedro Pinto Silva
92fe320389 About dialog: fix text wrapping on mobile
On mobile `git hash` and subsequent value was not wrapping properly
before

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iae4c61433406e4203869022a21b04e6489490ab4
2021-11-19 15:08:57 +01:00
Szymon Kłos
0bdc9efff3 Use edit hyperlink dialog from online not core
This changes commit eb387cc7b1.

Edit dialog is not working, causes crashes and shows features
that doesn't work (linking to other documents in core).

Use dialog from online instead.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4a32b921f5573c66739c20407e3c6cc6358f5579
2021-11-19 10:06:41 +01:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Gökay ŞATIR
a8a0ce22c2 NotebookbarBuilder.js: Set role of Menubar.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I9ca0748385297fb144de884eefaaf3593dfcc546
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
f83895d4a6 Impress: Set aria-labelledby attribute for "selectbackground" element.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ia338ac8dce20cb247a5dc4a87eb292e1a51dcf34
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
62d4c87808 Add aria-label attributes and make them translatable.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I23472ec2836ca686a11cfb9ff2e623f7c88cc75a
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
a5380a5165 Spreadsheet: Remove unused element.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id02f8eb522a3ee3f7121314c37478bdc4d7b6efa
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
cabe3d77e4 Control.UIManager.js: Remove unused element according to file type.
Ruler.js: Remove wrong labels.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ib3d8f2a68048064f445e84cb1252b7311ffdfcaa
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
11edb496a2 Menubar.js: Add role and tabIndex attributes to menu items.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I50365a195c2481c2056d5ac1a830539a5e22b38f
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
ceda5a959b loleaflet.m4: Remove user-scalable and add aria-labelledby.
user-scalable has probably no affect.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id390c354d22253a8b4282cac41f81b701a383e69
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
0ccd45464a Last updated text: Change color in order to comply with a11y.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id3066ed269009ae45f96a9b629a6559c81403532
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
81f98cf879 l10.js: Set window language tag.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I47d83bd8cb73b84899b8e450c28e6c3f3031acf4
2021-11-18 15:20:12 +03:00
Gökay ŞATIR
4da055d695 Cosmetic changes.
Whitespace.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I83ceb3e8c0f04aafb844d548708ecaf5bc565a2f
2021-11-18 15:20:12 +03:00
Szymon Kłos
d611c7c456 Fixes #3658 : load correctly multiline comments
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0d5fc691bfea2514fcf15fd7556e33a85de6d1fa
2021-11-18 13:05:46 +01:00
Szymon Kłos
c1bb05b314 Fixes #3647 : hyperlink dialog closed when window gets focus
Insert hyperlink dialog was closed when we tried to copy link from
other window (after we losed focus and then focused Collabora Online
again).

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ief43da2a3da54ef2a501d6ab192125fd786c1f24
2021-11-18 12:17:08 +01:00
Andras Timar
c076d5328d Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I79f99812c6e6e0a057b0aeab95a150932dc36713
2021-11-18 09:24:15 +01:00
Andras Timar
d4a5a79c15 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I16c92801ff3c7af755f4874fa9bc0bce914830ed
2021-11-18 09:09:47 +01:00
Martin Srebotnjak
291990b54a Translated using Weblate (Slovenian)
Currently translated at 100.0% (457 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6c9e6543aa76d61f4a0d4a75cf9fc1af6191713e
2021-11-18 09:07:51 +01:00
Ihor Hordiichuk
f2c94668df Translated using Weblate (Ukrainian)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6af45508c48c2bb4555cab7cd5c5bfc85ab56de1
2021-11-18 09:07:51 +01:00
Andras Timar
71d48b5bff Translated using Weblate (Turkish)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic0498921bad1a7416362b0a7164f8334457d221d
2021-11-18 09:07:51 +01:00
Oğuz Ersen
7461cf8088 Translated using Weblate (Turkish)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibd00cbfbe00bf4599303af0929af0bbe84a3fa49
2021-11-18 09:07:51 +01:00
Martin Srebotnjak
9ff2272040 Translated using Weblate (Slovenian)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I035242b7a2c35d9934d1e10b5d4312b62ddc25ef
2021-11-18 09:07:51 +01:00
Matthaiks
715aa7bd92 Translated using Weblate (Polish)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4e4e68f90b76ec27d9df7c8970afb3c1d1375d9
2021-11-18 09:07:51 +01:00
Andras Timar
60f9a6a07f Translated using Weblate (Hungarian)
Currently translated at 57.5% (263 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hu/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifb7166ca1c7b1f494479a636bd02926f110b3de2
2021-11-18 09:07:51 +01:00
Andras Timar
a3015757ab Translated using Weblate (Nepali)
Currently translated at 51.4% (215 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ne/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib0190e1c90f8c87f8ed672a0f6c91488cb86d7fc
2021-11-18 09:07:51 +01:00
Yaron Shahrabani
d53c02977c Translated using Weblate (Hebrew)
Currently translated at 67.3% (308 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8df341f1295caaa9991bea0c8d57654be9bb7348
2021-11-18 09:07:51 +01:00
Sveinn í Felli
187699b506 Translated using Weblate (Icelandic)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I686610c34bf6d7128f4b3b500b9bf75db128a453
2021-11-18 09:07:51 +01:00
Andras Timar
80ee85c039 Translated using Weblate (Hungarian)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifc04711ea1bf97a32b840fc8e93289db68e26b2a
2021-11-18 09:07:51 +01:00
Yaron Shahrabani
4d74e855db Translated using Weblate (Hebrew)
Currently translated at 100.0% (418 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0e0e6a217d54559229cde26087cd67485d480c48
2021-11-18 09:07:51 +01:00
Andras Timar
52b6a11a9d Translated using Weblate (Danish)
Currently translated at 76.7% (321 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/da/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6e80cfb437878c08f92268e1416e17f656789450
2021-11-18 09:07:51 +01:00
Andras Timar
39d69df505 Translated using Weblate (Czech)
Currently translated at 98.3% (411 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I856709f2c2cd7494de09c3158614ec6b03bf2709
2021-11-18 09:07:51 +01:00
Andras Timar
0016107167 Translated using Weblate (Bosnian)
Currently translated at 15.0% (63 of 418 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/bs/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9be078639e2a3f85686d736f9a95a4705e659981
2021-11-18 09:07:50 +01:00
Henry Castro
f486abaf89 browser: fix local storage values
in the feedback handler.

Change-Id: Ib4a19c5043c32877dda048f69293070f38147de5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-18 08:14:20 +01:00
Henry Castro
655ef9baaa browser: fix typo 'querySelectors' -> 'querySelector'
Change-Id: I9c2a0e48b724f53ce9b30398856895edd1f546d5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-18 08:13:22 +01:00
Henry Castro
82d1782811 notebookbar: add tool item 'Send Feedback'
Change-Id: I02971031d2300a828a0fb4d2bf5799be92a8b74e
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 21:30:40 +01:00
Henry Castro
f0e1bef0e3 browser: add menu item "Send Feedback"
Change-Id: I2490feb7f7d12a80cc0a407327e8659936c17ff3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 21:30:25 +01:00
Julius Härtl
111856f289 Extract file_path from debug.html and pass other query parameters
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I48d22e08f1f312033d49d315489f2404e48e4dd7
2021-11-17 17:46:22 +01:00
Szymon Kłos
f8f6af5e5b comments: remember 'show resolved comments' state
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7ca9e4185893bf493b540df8c020a35e4c62ed45
2021-11-17 15:08:06 +01:00
Andras Timar
c678a0c7ff Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic928d442a5408e4e0639f6dc3e8520f20634b188
2021-11-17 13:53:21 +01:00
Oğuz Ersen
fe74efc0f7 Translated using Weblate (Turkish)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I885a757a7f555ad9a0ca0b7a1d5242dd3b0ab04a
2021-11-17 13:47:09 +01:00
SC
981185ffb1 Translated using Weblate (Portuguese)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2e6eab0a3c77def41dded93d091a615e339cc7b4
2021-11-17 13:47:09 +01:00
Sveinn í Felli
94c1f2af73 Translated using Weblate (Icelandic)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie87b494970ca3a01537390cad99f43aa38b447bd
2021-11-17 13:47:09 +01:00
Nathan
8aedd97b12 Translated using Weblate (French)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iabcd234f15a99499723691966070c7cbd6337177
2021-11-17 13:47:09 +01:00
Stanislav Horáček
7f8577b6cc Translated using Weblate (Czech)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I36d4bc68bbca67771ee9c8251b6688ee2e6edc24
2021-11-17 13:47:09 +01:00
Ihor Hordiichuk
9280ae7a1f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7e6aa80b177c768a4b7f05acf01a5e6d5197d50e
2021-11-17 13:47:09 +01:00
Matthaiks
d88ae8b9fe Translated using Weblate (Polish)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1ed7d5164464ad46556f3d919792a975f5fab39b
2021-11-17 13:47:09 +01:00
Andras Timar
702ff6cd1c Translated using Weblate (Hungarian)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1425fef7a81363c63312c591f617ece8789f1333
2021-11-17 13:47:09 +01:00
Yaron Shahrabani
018bd8c2b5 Translated using Weblate (Hebrew)
Currently translated at 67.1% (307 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 65.8% (301 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifcec5f9aa6c33313c1b4613af7104409efb04b38
2021-11-17 13:47:09 +01:00
Adolfo Jayme Barrientos
3f35603d35 Translated using Weblate (Spanish)
Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Asturian)

Currently translated at 45.6% (188 of 412 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4289cdd816beb7def612b9f9b260d6dce38aab1b
2021-11-17 13:47:09 +01:00
Andras Timar
de3e09fde0 rename wsd protocol command 'loolclient' to 'coolclient'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I506fe74bc5ebf183ed21721b40a45210373abf06
2021-11-17 11:59:35 +01:00
Andras Timar
ec8f28d75c rename wsd protocol command 'loolserver' to 'coolserver'
Change-Id: I1835001b76da5179baab9820a1a60208f3e694cf
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2021-11-17 11:59:35 +01:00
Tor Lillqvist
e1ebe87645 s/lool/cool/ here, too
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I6da26b85d7b22fed498269a978762e8b9b5183ae
2021-11-17 12:57:16 +02:00
Szymon Kłos
eabaab4f01 jsdialog: fixes #3615 keep focus in the updated input
When widget is updated and rrecreated - keep focus in the same space.
https://github.com/CollaboraOnline/online/issues/3615

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1e8f63f855db9eb9a86c713fbd7c0376cb3ce692
2021-11-17 11:25:37 +01:00
Henry Castro
cc8a84af60 config: rename 'lool' -> 'cool'
.
Change-Id: I13596547abac424482096a9af13c6785a8e2b897
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:19:04 +01:00
Henry Castro
c07928bf40 misc: more renames 'lool' -> 'cool'
Change-Id: I2d392eef3dff23f2f8737e57bb977fa060ab8ea5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:50 +01:00
Henry Castro
969ca88846 browser: rename 'lool' -> 'cool'
Change-Id: I1abd3448b206e62c016ba13d0c0e052ee55dd5da
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:27 +01:00
Henry Castro
8d96481ac8 misc: config: rename 'lool' -> 'cool'
Change-Id: Ib3708c71a8d2d1e4f5343c202f9cef57c76c15e3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:19 +01:00
Tor Lillqvist
93c1864dd9 For some reson we need more vertical space for the logo in the iOS app
Probably because we don't show the os-info? So use an empty paragraph
instead. Sad that the space for the logo doesn't expand automatically
to make space for it.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I429df1eee32fd454409731612b48f422529cece0
2021-11-16 23:30:57 +02:00
Pedro Pinto Silva
60871e3bf0 CSS: Remove typo (partly revert)
Remove bg image of a nonexistent asset introduced in
ba9feca725

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I485afc3ff22a16d7bb212cb55ba8636fbfeea5a3
2021-11-16 15:53:43 +01:00
Pedro Pinto Silva
0efc785acb JSsidebar: Fix alignment options, too many in one row
This was affecting spreadsheet, presentation and drawing doc type

Make sure the alignment container does not contain too many
elements in one row.

- 1st normal alignment properties; 2nd left-to-right/left icons
- and then ensure the last parent goes into a new row

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaa9f1fa12f577d5ae9dddb0597f060dd7f4019ae
2021-11-16 15:32:49 +01:00
Luka Trovic
cc205d2945 remove xss vulernability
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Change-Id: Iddb33be014b72824f7cab0763c391f2a8bae1558
2021-11-16 14:04:57 +01:00
Luka Trovic
ec2e5e1ec6 update idle document modal style
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Change-Id: I03ab8867f757da43b440019503c01e0feb0c3f51
2021-11-16 14:04:57 +01:00
Szymon Kłos
50ab7c21fa comments: show resolved comments on start
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If0ea8c1e74581dacb1461af549336a8ae676230e
2021-11-15 19:46:41 +01:00
Pedro Pinto Silva
eb7156061e Nb: shortcuts: increase savemodified contrast n simplify CSS
The status for unsaved documents was lacking contrast and was solely
relying on color which can be a problem for some people (deuteranopia).

Improve this by:
- Increasing color contrast
- Adjusting hue rotation and make sure it only affects img elements
- Adding visual element (red dot) as an extra visual difference between
	saved/unsaved status
	- Use shadow to increase legibility between one and the other
- Instead of adding .savemodified class to img add it to its parent
	(#save.unotoolbutton)
	- So we can style more stuff (including the new ::after element)
	without extra work
	- So we can simplify all the rules for the 3 apps (unsaved status) to
	one simple one
		- Bonus: we are then sure everything is consistent on that front

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I557a8cd9a5207d44ed3d380f96644f4ec1e99f6f
2021-11-15 19:46:11 +01:00
Szymon Kłos
48d62bcf8a jsdialog: prevent errors in closePopover
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia2fc78d06b54f0011d168ae769f11cbd137676a0
2021-11-15 12:30:51 +01:00
Pedro Pinto Silva
c2b5c6190b NB: Adds Character spacing to home tab
- Fixes #2149

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib10ebe68fa46d170787d11b06e07a5641f7e7990
2021-11-15 12:28:17 +01:00
Henry Castro
4784ca2afe browser: rename 'loleafletframe' -> 'coolframe'
in html/debug.html

Change-Id: I7e14bf9deb140090fbb39c8facfaf9360e5a1a7d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-15 12:21:59 +01:00
Andras Timar
953419bf01 small cleanup around "Last saved:" label
* remove old, unused code
* String.locale respects the language requested by the integration

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I799856bdd721427e7d58be0a8fcddba866b726ea
2021-11-14 19:01:27 +01:00
Andras Timar
c70947d4d0 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I27b3ca352318348b09913d0940a683b06a2bcfad
2021-11-14 18:03:01 +01:00
Andras Timar
d6048591e6 Translated using Weblate (Hungarian)
Currently translated at 57.3% (262 of 457 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hu/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7e6cc7136e92413299ca3df8c267b0a8bc8bd45c
2021-11-14 17:58:22 +01:00
phlostically
bc982ff6ed Translated using Weblate (Esperanto)
Currently translated at 96.6% (399 of 413 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4d5780165d61a25ba936626cfbb05d08e23be6b
2021-11-14 17:58:22 +01:00
Weblate
4864d7f964 Added translation using Weblate (Norwegian Nynorsk)
Added translation using Weblate (Frisian)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id36f202c1c8ce2199f91b701f98172b43136f305
2021-11-14 17:58:22 +01:00
Pedro Pinto Silva
480814dd93 Spinfield: improve input number (webkit)
On webkit based browsers spinfield controls (up an down) are hidden by
default and only appear on hover on top of that they look a bit wonky
(too small and not well positioned)

This improves that by sill using the same web native control while
styling those pseudo (vendor) classes. Extras:
- Mouse cursor change
- Different opacity values (so we retaining that visual difference
	between hover and normal state)
- Increase size of those arrows

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I07aacfc387cbf42efec1d302094bbfdfae4da4ed
2021-11-13 17:03:39 +01:00
Szymon Kłos
913ba9318a notebookbar: don't lose focus on tab change
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibb40f8f6cd0c379b53271249dabe2c989640af09
2021-11-12 16:50:46 +01:00
Szymon Kłos
8bb47a187a sidebar: fix resizing
- apply new height limit when window was resized
- remove leftovers after pixel-based sidebar

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I76d9e7d259501ca55ee255d0cbbd883750db45e5
2021-11-12 16:49:52 +01:00
Szymon Kłos
75c5ddda49 jsdialog: mobile-wizard: handle standard buttons, hide close
- setup standard responses for buttons in mobile-wizard
- by default hide close or cancel buttons in mobile-wizard
  because it can be closed using 'v' button or by tap on document

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I38cfbbec1cba0c76d1adfd98c43e8d0c572d3735
2021-11-12 16:49:44 +01:00
Pedro Pinto Silva
ef976d3a49 NB: fix contrast n blurriness in the selected tab
The title of the selected tab is not crisp.

- Do not use colorful text shadows since it does not help with contrast
	and in turn makes it blurry
	- Instead use gray just as a way to
		increase contrast and visually make it look like it's semi-bold (since
		that font doesn't have anything in the middle between normal and 700)
- Also help user understand which tab is selected by increase the
	contrast between the selected tab (rectangle) and the background via
	box shadow

Resolves issue #3609

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4140a789df6418fed3484d96625bbbe3a99ab98f
2021-11-12 12:27:52 +01:00
Szymon Kłos
1e7a189264 jsdialogs: fix units extraction
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaebf172570c332a98944949a6733bdc5ca685c04
2021-11-12 10:21:56 +01:00
Pedro Pinto Silva
ba9feca725 About Dialog: Increase structure flexibility
- Allow for dynamic resizing (flex box)
- Set sub elements with id so we can use less background images
in the main parent element and use it directly in its own element
- Also make integrator logo optional and easy to switch on/off via
flex-grow: 1 | 0 respectively

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I837b26d77e0bfa722c6ff3d4a247a36ef8944797
2021-11-12 09:25:28 +01:00
Szymon Kłos
c49fb297ff comments: when zoom is used close popup with preview
if comment is a bubble with opened preview and we zoom out
so bubbles will become full comments - we need to hide old popup

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I14ce5a6a816ed28c81b855fd2e39d745a10eedb4
2021-11-12 09:22:30 +01:00
Aron Budea
92e1860011 loleaflet: Make buttons in password entry dialog translatable
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I72e716ae343e08d6e7a028aacbfcedb6f5859404
2021-11-12 08:02:51 +01:00
Jan Holesovsky
d264fa61eb Change some unwanted renames
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I9ab7c701470ca9b81e5a71812683860175e18542
2021-11-11 16:42:03 +01:00
Andras Timar
e1c1946afb more descriptive name of a config setting for debugging: browser_logging
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I175e5256fcae42477cb2c84fc2b4048aca40bed7
2021-11-11 13:26:37 +01:00
Luka Trovic
4d22123fc3 update last modified time label & translation
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Change-Id: I76b945c1405479a9094ea8443e61671910261524
2021-11-11 12:40:37 +01:00
Andras Timar
2720d0be91 remove obsolete X-Pootle-Path and X-Pootle-Revision headers
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iadb3c843da284493827bc576a7a979a1feeb204c
2021-11-10 22:50:32 +01:00
Andras Timar
456343e952 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I65750736df7bc56f432c47b3a8379a903df8d237
2021-11-10 21:30:54 +01:00
Andras Timar
614b976662 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I65750736df7bc56f432c47b3a8379a903df8d237
2021-11-10 20:37:02 +01:00
Jan Holesovsky
efb1039f53 debug.html: Should point to cool.html too
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: Ic164d7003a508f8d3113311b115e241aa7f1225d
2021-11-10 17:18:56 +01:00
Henry Castro
4f08f0fce3 browser: move location debug.html
after rebase

Change-Id: I95f0bb00e14030e7728d8f53ea6afa1fcab70e54
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
3940b23b1b update missing replaces after rebase
Change-Id: I2c81490596479b8ae0303508aa5873491114b046
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
ac7ae7f744 browser: rename file loleaflet.css
to cool.css

Change-Id: I52bb38e23a98a2e4907cf3f3a71b2327ff5c411b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
885476d714 browser: rename api from loleaflet -> cool
Change-Id: I97b340fb1099c6130f93221ccdad2da5e21a91cd
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
8a4b111e8f rename var LOLEAFLET_LOGGING to
COOL_LOGGING

Change-Id: I155a829b3ad947e03363e5020aa71a104aaa8c00
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
f0b4cd9ef4 browser: rename makefile vars
Change-Id: I883e23d2df6b273db6ba3462d6fc3da77567a976
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
fa69e69306 browser: html: update more files
loleaflet -> browser

Change-Id: I10451676d0686a2c62274a111d66c29ff9589e56
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
7f4433c8be browser: html: update cool.html.m4
rename loleaflet -> browser

Change-Id: Ica87c8edda67f61fa0fde67b6557974499b9f468
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
6d38bb2389 browser: admin: rename loleaflet -> browser
Change-Id: If20240e62f5714afbcf1b582c8583e3444087fcf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
1ae0a8a02c browser: update JS files
rename loleaflet -> browser

Change-Id: I7cca810337b5850813fe8a420a309a976ae09268
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
023337fac8 browser: update Makefile.am
rename loleaflet -> browser,
loleaflet -> cool

Change-Id: Ib1f1dd1210a1ed16c1892bd97a8138c0beb1deea
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
dbdbc301a8 browser: test: update load.js file
rename loleaflet -> browser

Change-Id: I3485a44cdead9314945bcfde5e62bddcf244740b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
1597aee396 browser: update package.json
rename loleaflet -> cool

Change-Id: I64293bdd7e34724531ac316651fcad8dbc8f4704
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
512daa4034 browser: update README
rename loleaflet -> browser

Change-Id: If77d8bd8010381339fa82db81929b12c703fe5cc
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e38f8a923d browser: po: update loleaflet -> cool
Change-Id: I5ec68dc7594e19d418cb4177cc45f58ec72456be
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
8f0eb5e366 browser: src: replace CSS class names
loleaflet -> cool

Change-Id: Ic45aa26add360d54b5681d967bd0bdf7dcc61400
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
10f329deaa browser: rename trace events file name
loleaflet -> cool

Change-Id: I42dc547affde35fa0c344106d71de68ffa02430f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
775f8ceaf6 browser: update npm-shrinkwrap.json
rename loleaflet -> browser

Change-Id: Ie98417df5fb6f130407ed8b2b2953c6a6b67c307
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
85009cde46 browser: update CSS class names
rename loleaflet -> cool

Change-Id: Ia9c14ccef395c0a2290b083396e35c2058342dbf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
5ee0517eab browser: update cool-api.html
rename loleaflet -> cool

Change-Id: Ib7cc269703528f235cd53cb2ebf7741d4872bc67
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
befe663c4d browser: rename loleaflet-api -> cool-api
Change-Id: Iba3e235395074cd1c698dd2b6917a1bffadd498d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
74966e9064 l10n: rename loleaflet -> browser
Change-Id: I7cc349c72ffdbd231354b9a9b2b2d41ed01e4665
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00