summaryrefslogtreecommitdiffstats
path: root/browser
Commit message (Collapse)AuthorAgeFilesLines
* Remove _moved function.Gökay Şatır2022-05-241-5/+0
| | | | | | Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: Ica771fb38ea6523906d28b10fdc4842ac1d0e33e Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Remove unused ObjectFocusDarkOverlay.Gökay Şatır2022-05-241-19/+0
| | | | | | Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I430d0c4600ee74518e9442099530c754017fe3bb Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Update l10n files for WeblateAndras Timar2022-05-24158-15629/+16815
| | | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I09271e641fb67c28fe50046d20a67d521151a6f0 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Translated using Weblate (Basque)Alexander Gabilondo2022-05-241-16/+49
| | | | | | | | | | | | | | | Currently translated at 96.9% (443 of 457 strings) Translated using Weblate (Basque) Currently translated at 93.2% (426 of 457 strings) Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org> Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/ Translation: Collabora Online/Help Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: If3e9602bbdcd5e5a6c82f7770b77f99bfab7ccf5 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Remove unused divOverlay parts.Gökay Şatır2022-05-242-122/+0
| | | | | | Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I98ea380037e1653cc4635f895d472825df413c73 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Remove unused boxzoom related parts.Gökay Şatır2022-05-243-104/+1
| | | | | | Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I6ce90e4ec020f2c96ad72b54ea5c5d2182c91bc1 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* w2ui-scroll use var colorsandreas kainz2022-05-241-0/+6
| | | | | | Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: I0908c446ea5eb02c5fcd82f9fe0e2ac1af491dcb Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* jquery-ui-lightness/ui-icons_ for dark modeandreas kainz2022-05-241-2/+6
| | | | | | | | switch to ffffff instead of 222222 when the prefers-color-scheme is dark Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: I3e3c68879c6b6a831d5fbf095597ddae6eb51f77 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* infobar: enable info bar handler to check ...Henry Castro2022-05-241-3/+8
| | | | | | | | the latest version available Change-Id: Iff89895757fdd2ae83eb34401480253967234bbe Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* wsd: infobar: clean up unused codeHenry Castro2022-05-241-1/+0
| | | | | | | | No longer used. Change-Id: Ifdaaabc49df1b9af0fb4d436ffe2437446f5926a Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* infobar: fire 'infobar' messageHenry Castro2022-05-241-0/+4
| | | | | | | | JSON data contains latest version. Change-Id: I86e581a5a148f32178d6665425e3105d38e04127 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* infobar: clean up unused codeHenry Castro2022-05-241-8/+2
| | | | | | | | The infobar div is no longer used. Change-Id: Ic184bf1d0b6259ba7b349aca68edf4692d06e849 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* infobar: show a snackbar messageHenry Castro2022-05-241-12/+20
| | | | | | | | When data is received from the server. Change-Id: I53b888acb7624d1ea909bf6fe9eadbf1948dc6b9 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* infobar: remove unused functionsHenry Castro2022-05-241-43/+0
| | | | | | Change-Id: Ic45acc0e627b29ddcd714b74d62aaf82c95df846 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: allow cursor jump if text selection is emptyHenry Castro2022-05-241-0/+2
| | | | | | | | | Otherwise, if the user selects all the document, the clipboard blocks Page Up or Page Down cursor jumps. Change-Id: Ia9c432646c51063775bb7cca6a998e7d1cdcdbf2 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* .w2ui-button use var color for :hoverandreas kainz2022-05-241-0/+4
| | | | | | | Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: I3b77ba1e99dee24e74f9f839de5590d0a0def939 Signed-off-by: andreas kainz <kainz.a@gmail.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Notebookbar: fix sidebar icon alignmentPedro Pinto Silva2022-05-241-4/+2
| | | | | | | | | | | | | | | | | | Subcontainer `root-container notebookbar` was not able to vertical align contents even thought it has vertical-align: middle - Fix it by removing parents' (notebookbar-options-section) height and padding The alignment is still off due to: sub cell is inheriting automatic padding (useful in all other places) - Fix it by remove padding for the cell under .notebookbar-options-section Display inline seems not be needed here, we can just inherit it. Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: Iafb4f83acfff5ae0923afb972cefe1201080c79e Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Dialogs should have white backgroundPedro Pinto Silva2022-05-241-1/+1
| | | | | | | | | | | | | which is the same color as other container elements inside of it. If we want to use a "neutral" color that can either be light or dark (due to future plans on dark mode) then better to just create another var for dialog backgrounds. For now better to fix (so we can avoid dialogs such as the pivot table to be with multiple background and with less brightness then the document that seats behind) Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I848392e3c1194963273f2950a22022eeaadbe8f0 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* JSdialog: fix disabled radio buttons borderPedro Pinto Silva2022-05-241-0/+1
| | | | | | | | | radio buttons were being render with a border surrounding them, example: insert pivot table, all disabled radio buttons have a border around it Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I003280ec929b49c8f8f0a1b9a4ca361c87a9224f Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Do not add padding too all td jsdialog cellsPedro Pinto Silva2022-05-241-5/+0
| | | | | | | | | | | | | This was impacting alignments on dialogs. Example Find and replace, checkbox were being pushed tot he side. Better to rely on parent padding or table structure also with 496256a96b02da22b5ba93f4d3669cf9de0770c1 -table is no longer in use Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I60b29f818e8ec53f5c66a2772f4cda82de0011bf Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* JSdialog: Don't add margins to multiple inner containersPedro Pinto Silva2022-05-241-1/+1
| | | | | | | | | | | Example: macro select dialog is getting set with multiple inner margins - Simplify the CSS so we only target one sub element - Remove unnecessary code (no need to add exception for sidebar and formulabar) Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: Ibc35e6b8c37badbbe27b411c21986ddda0e27ef3 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Macro dialog: remove unecessary CSS rulesPedro Pinto Silva2022-05-241-31/+0
| | | | | | | | | | with 496256a96b02da22b5ba93f4d3669cf9de0770c1 we no longer need the pre fix -table in the ids plus better to just remove any non essential bits and share more CSS between places Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: Ica8ef3db2ed52a379cb75437d7b147c8b42bbd7b Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* JSdialog, p element: Remove #table- from CSS it was removed from JSPedro Pinto Silva2022-05-241-2/+1
| | | | | | | | | | | from: 496256a96b02da22b5ba93f4d3669cf9de0770c1 - let's not target absent ids on the CSS side - Also better avoid target boxN (e.g.: box3) Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I41bf1540c634dcde8111ae0192a70772153c592b Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Add color-scheme-dark.css supportandreas kainz2022-05-242-0/+53
| | | | | | | | | | | | | | | | | | @media (prefers-color-scheme: dark) setting is available by use color-scheme-dark.css instead of color-scheme.css sure the scheme need some update but there are other open points like use dark color for document use dark colibre icons this is only the .css change so no full dark mode update Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: I5c2adcbb75583a952f419af507d7cfe5c1343e3c Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* writer notebookbar stylesview previews no paddingandreas kainz2022-05-241-0/+1
| | | | | | | | | remove padding-top: 5px so there is no scrolling needed for two rows. Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: I9a0450074cc55486d0f7de8a39b7edff8e66c752 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Sidebar RTL fixesandreas kainz2022-05-241-1/+1
| | | | | | | | | border on left and right so it work also for RTL languages Signed-off-by: andreas kainz <kainz.a@gmail.com> Change-Id: Ic973cfee4c8fd563008477ab38a9e4e3e69c8300 Signed-off-by: andreas kainz <kainz.a@gmail.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: test: explicitly convert to numberHenry Castro2022-05-241-1/+1
| | | | | | Change-Id: I2dbecafcc1148aa69010eee822ee0fa30a5e6307 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser:test: ensure to write the stats to stderrHenry Castro2022-05-241-2/+2
| | | | | | Change-Id: I5761e7567c306b964fd41eaa49d9fdcd41caea9d Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser:test: fix exception http or https protocolHenry Castro2022-05-241-6/+8
| | | | | | Change-Id: Ia62833fb0cb448370b6fdf422d12e6b0ebbcff55 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser:test: exit process if uncaugth signalHenry Castro2022-05-241-0/+1
| | | | | | Change-Id: I971e100cfbb5c428c6ee88d8b9f5413398250c50 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser:test: add function serverReadyHenry Castro2022-05-241-12/+15
| | | | | | | | | When the coolwsd server is ready, begin to fork the load.js process to start the tile tests Change-Id: I7846ce013b729eab54e5fd3ab81ce396406bcf0b Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: test: fix stdio pipesHenry Castro2022-05-241-1/+3
| | | | | | | | Ignore stdio pipes if no debug is set Change-Id: I8b77a32324d77a87577759b878f612dfbca586f7 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: test: fix missing 'DOCUMENT_SIGNING_URL'Henry Castro2022-05-241-0/+1
| | | | | | Change-Id: Iac91872bdec8b89174ae900c9e388681dcf27da0 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: test: replace GROUP_DOWNLOAD_AS variableHenry Castro2022-05-241-0/+1
| | | | | | Change-Id: Id20d476bc04167fd40b9524625bc389344a3f60b Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* browser: test: add process env NODE_PATHHenry Castro2022-05-241-0/+3
| | | | | | | | if builddir != srcdir Change-Id: I5bdec438aff67d3c70aceafbff0d3a4445d865c6 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* cypress: added desktop calc/autofilter_spec.jsRash4192022-05-181-1/+1
| | | | | Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I48f4ceb591cbdf178b08b44ad1f833b52d5c004d
* Translated using Weblate (Nepali)Diggaj Upadhyay2022-05-181-16/+22
| | | | | | | | | | | | | | | | | | Currently translated at 1.8% (2 of 110 strings) Translated using Weblate (Nepali) Currently translated at 44.8% (205 of 457 strings) Added translation using Weblate (Nepali) Co-authored-by: Diggaj Upadhyay <dcozupadhyay@duck.com> Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ne/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ne/ Translation: Collabora Online/Android app Translation: Collabora Online/Help Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I20cfee897e603d4701b2a495823989bfbf4ae888
* Translated using Weblate (Russian)Mikhail Pershin2022-05-182-34/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 59.9% (274 of 457 strings) Translated using Weblate (Russian) Currently translated at 59.7% (273 of 457 strings) Translated using Weblate (Russian) Currently translated at 58.8% (269 of 457 strings) Translated using Weblate (Russian) Currently translated at 58.2% (266 of 457 strings) Translated using Weblate (Russian) Currently translated at 57.9% (265 of 457 strings) Translated using Weblate (Russian) Currently translated at 57.7% (264 of 457 strings) Translated using Weblate (Russian) Currently translated at 57.3% (262 of 457 strings) Translated using Weblate (Russian) Currently translated at 57.1% (261 of 457 strings) Translated using Weblate (Russian) Currently translated at 57.1% (261 of 457 strings) Translated using Weblate (Russian) Currently translated at 56.8% (260 of 457 strings) Translated using Weblate (Russian) Currently translated at 100.0% (444 of 444 strings) Co-authored-by: Mikhail Pershin <mikhail@frcdr.org> Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/ Translation: Collabora Online/Help Translation: Collabora Online/UI Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I301ef881c66e494d98bfc113af731797bb824bf0
* Translated using Weblate (Swedish)Leif-Jöran Olsson2022-05-181-14/+28
| | | | | | | | | | Currently translated at 100.0% (444 of 444 strings) Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se> Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/ Translation: Collabora Online/UI Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: If5be1127996813e07f1efcfeb588e227cc868104
* Translated using Weblate (Vietnamese)Adolfo Jayme Barrientos2022-05-1816-119/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 95.7% (425 of 444 strings) Translated using Weblate (Uzbek) Currently translated at 22.2% (99 of 444 strings) Translated using Weblate (Russian) Currently translated at 98.6% (438 of 444 strings) Translated using Weblate (Romanian) Currently translated at 20.7% (92 of 444 strings) Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (444 of 444 strings) Translated using Weblate (Portuguese) Currently translated at 100.0% (444 of 444 strings) Translated using Weblate (Indonesian) Currently translated at 98.1% (436 of 444 strings) Translated using Weblate (Galician) Currently translated at 73.1% (325 of 444 strings) Translated using Weblate (Spanish) Currently translated at 100.0% (444 of 444 strings) Translated using Weblate (Asturian) Currently translated at 15.0% (69 of 457 strings) Translated using Weblate (Greek) Currently translated at 97.7% (434 of 444 strings) Translated using Weblate (Catalan) Currently translated at 99.7% (443 of 444 strings) Translated using Weblate (Bulgarian) Currently translated at 73.4% (326 of 444 strings) Translated using Weblate (Belarusian) Currently translated at 0.4% (2 of 444 strings) Translated using Weblate (Asturian) Currently translated at 49.7% (221 of 444 strings) Translated using Weblate (Afrikaans) Currently translated at 29.2% (130 of 444 strings) Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ast/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/af/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/be/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/bg/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/gl/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ro/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uz/ Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/ Translation: Collabora Online/Help Translation: Collabora Online/UI Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I5fd5bb78227077cc6763ed4329670e66a454c11f
* Translated using Weblate (French)Nathan2022-05-181-3/+3
| | | | | | | | | | Currently translated at 100.0% (444 of 444 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: Ia13d2e61d3e55a29c7c27a7a53732b6e59bafde8
* printranges: indicate them with dashed lines in gridDennis Francis2022-05-183-5/+74
| | | | | | | | | | | | | | | | | | | | | Read the print ranges for the current sheet from LOK_CALLBACK_PRINT_RANGES message and draw dashed grid lines for the rows/columns bordering the range. Caveats: * Desktop calc does not draw print ranges on document load if there are print ranges set previously on save. Cool also has the same behaviour. * If there are multiple print ranges in the same sheet desktop calc does not show any dashed lines indicating the ranges. Cool also adopts this behaviour for now. * Styling of the dashed lines was not investigated much for writing this patch hence it uses the same drawing style as normal grids. Signed-off-by: Dennis Francis <dennisfrancis.in@gmail.com> Change-Id: I318b679a232f2a6834d6e23278b24a9a96b70194
* framed.doc.html: fix: cannot change UI viewRash4192022-05-161-3/+1
| | | | | Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Ifa842f64ed70137f06ebdfc053fa5a3afd2f4185
* logging: let the log text colour be selected by the browserPranam Lashkari2022-05-151-2/+2
| | | | | | | | browsers having different themes make it hard to read the logs this will help make logs more readable irrespective of themes Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I9e48f75d0f1ed20221c969db6d4a6ea00910717e
* browser: don't show conflict dialog to read-only usersPranam Lashkari2022-05-151-25/+26
| | | | | Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Icfc95fb72bee6696dffbb194efe95aa5f9716a72
* Fix typo.Gökay Şatır2022-05-111-1/+1
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I4cd2782d1dbce6456cd54e45a58329eb73bf557c
* browser: fix show feedback dialogHenry Castro2022-05-041-1/+1
| | | | | | | When user click the menu options. Change-Id: Ia53126b5c2972149839de501214d0a1cb2b5fc6c Signed-off-by: Henry Castro <hcastro@collabora.com>
* jsdialog: don't build iconview like containerSzymon Kłos2022-05-031-1/+3
| | | | | | | | | | Fixes not working iconview eg. in Fontwork dialog (selection) regression from: commit 496256a96b02da22b5ba93f4d3669cf9de0770c1 jsdialog: remove table- prefix hack Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I53e85ebd281e2fd705bcb4848c1dfc3c776903f6
* jsdialog: remove jquery and warn when not found iconview entrySzymon Kłos2022-05-031-4/+7
| | | | | Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I006a8419a60606cbdd2199f876b7260c1f58cae3
* notebookbar: fix help itemsSzymon Kłos2022-05-031-1/+2
| | | | | | | | | regression from: commit e8d759f18a8da62df867148cdefbc3e3d82cb1ef jsdialog: postprocess toolitems Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I0205184c4cfcb4cd9b571c8e346e94e108c4a519