Commit graph

14813 commits

Author SHA1 Message Date
andreas kainz
8a7278f94b Colibre Icons update insertgraphic #2151
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I065c1f73e53364a0facf7b251631df986698ef89
2021-04-26 15:49:53 +02:00
Jan Holesovsky
3463c2ecad Revert "fix #1285 remove elipsis ... from NB strings"
This reverts commit a41ab8ff35.

Change-Id: I320ef28b2a9672059f1b10ac3f6ba135861cac8f
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2021-04-26 18:33:06 +05:30
andreas kainz
961b771ecb Notebookbar writer calc remove grow-shrink subgroup
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0a4ac6ce73856d7f322e9cbf8fa52b7ad4aa81f4
2021-04-26 08:18:03 +02:00
andreas kainz
e6c233769e Notebookbar impress - draw home tab update
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifccb641a45d985d46c8938d5e0c495ce9a396d2b
2021-04-26 08:15:57 +02:00
andreas kainz
926686b87c Notebookbar Calc sync tab arrangement wit writer/impress
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iac79dde47846584509637551018fa2eb5630620f
2021-04-25 23:46:01 +02:00
andreas kainz
34b8dee385 update colibre filter icons
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I573ec838432b861e9648fdc169e8ba9e5dba28b2
2021-04-25 08:19:32 +02:00
andreas kainz
4d356ad99c Update Colibre icons
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I3cb2da96c096b69fd1b945398b31c180f3ed6845
2021-04-25 08:18:50 +02:00
Andreas_K
902442d4e7 Notebookbar Writer/Impress Table Contextual Tab update
- Property get the first item
- ParaRightToLeft was removed, already in Home Tab
- Rearranged of NumberFormatDecimal items

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I78969e46ba94f300d26ab2f6413657a65b537832
2021-04-25 01:50:20 +02:00
Andreas_K
584e139bbd Notebookbar Calc Sheet and Data Tab update #2007
Update the structure of the Insert Notebookbar Tab for all apps.

### general sections:
1. as there are not that much commands and it's very difficult to arrange them into 3 item groups, all commans are bigtoolitems

### Calc Insert Tab
Define and Manage commands moved from Data Sheet to Insert Sheet, section Hyperlink
- Now the group is similar to LibreOffice Insert Tab

### Calc Sheet Tab
Group/UnGroup Hide/Show Details moved to Data Tab
- Now the group is similar to LibreOffice Data Tab
- Commands are at the Menubar also in Data Section

### Calc Data Tab
- Pivot Table + Refresh/Delete Section was removed cause it's already in Insert Tab and Data Tab has a lot of content, so no need for duplicated content at the very left area
- Sort section has the same layout than all other sections
- Autofilter section layout is similar to all other sections
- Group section was moved from sheet tab and as Remove Outline is an command for Group, it was added
- Recalculate, Validity and Goal Seek get into one section. Recalculate and Validity area already into one section in the menubar.
Finaly the Data Tab has a similar command layout with bigtoolitem and toolitems.

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-25 00:47:58 +02:00
Andreas_K
d267e7cccb fix
it was late, but therefore there are tests good for

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-24 09:41:29 +02:00
Andreas_K
04ddf179be Notebookbar Format Tab update #2007
Update the structure of the Insert Notebookbar Tab for all apps.

### general sections:
1. as there are not that much commands and it's very difficult to arrange them into 3 item groups, all commans are bigtoolitems

### writer:
- writer use the most format commands
- start with tiny and get bigger
- character, paragrapn, page, line / area / position
- as Lists and Bullets and Numbering are related to Paragraph they are next to Paragraph
- As Columns and Sections are related to pages or part of a page, the commands are related to Page Style

### calc
- Character, Format
- Paragraph
- Page
- Cell and Conditionals (calc related only)
- Line / Area / Position

### Impress
- Character
- Paragraph with Bullets
- Page
- Line / Area / Position

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-24 09:41:29 +02:00
Andreas_K
17d49e1a31 Notebookbar Writer Reference Tab update #2007
Update the structure of the Writer Reference Notebookbar Tab

Use the JSON Layout from #2007

### Writer:
- Move Bibliography Entry to Cross-Reference / Bookmark section
- Remove commands that are not available
2021-04-24 01:17:33 +02:00
Andreas_K
a1bf84f80d Notebookbar Writer Layout Tab update #2007
Update the structure of the Writer Layout Notebookbar Tab

Use the JSON Layout from #2007

- Page Dialog is the most importend command, so it's the first one (before last one). In LibreOffice it's the last command, cause there are dropdown menues for aspect/ratio, size, ... which are not available for cool. So have the dialogue is ok but as bigtoolitem
- Title Page and Watermark switch to bigtoolitem, cause there are not that much commands in the Layout tab
- Wrap, Object Align and Forward/Back Object use the layout from the context Draw tab so it's everywhere the same layout.

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-24 01:05:29 +02:00
Miklos Vajna
9afe974848 Add a fuzzer for http::Response::readData()
And remove the httpheader one, which is not useful, since it uses Poco
for the actual parsing, it did not find anything. (If we switch away
from Poco there in the future, it's easy enough to restore it.)

Also fix some problems found by the fuzzer.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I254247c46ecc78c9c3e75aac4f10c441b0e10fb3
2021-04-23 17:54:36 +02:00
Michael Meeks
e26fac4665 Use the accepted socket, not the listening one.
Change-Id: Iecaa90f4c3030b5b2e20bb0e33ef9b75717bb578
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-23 16:36:38 +01:00
Andreas_K
f12990a7be Notebookbar Insert Tab update #2007
Update the structure of the Insert Notebookbar Tab for all apps.

### general sections:
1. section: app specific
2. section: Image/Table/Chartbigtoolitem will be the most used item depending on the app
3+4. section: Hyperlink and Field values
5. section: Textbox Shapes + *new* inkl. Fontwork and Line
6. section: Headers Symbol and Comment

### writer:
- Fontwork move to Textbox/Shape section
- Line move to Textbox/Shape Section
- Formating Mark + Symbol + Comment are a new Section (Formating Mark is bigtoolitem hardcoded)

### calc:
- Fontwork move to Textbox/Shape section same with Line
- Header and Footer + Symbol and Comment are is a new section

### impress/draw:
- Fontwork move to Textbox/Shape section same with Line
- Header and Footer + Symbol and Comment are is a new section

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-23 17:25:20 +02:00
Andreas_K
3dc12fe6e5 Rename BasicShapes string #2111
- improve labeling: Basic Shapes command open all shapes not just basic shapes
- shorter strings are more space efficient

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
2021-04-23 15:33:30 +02:00
Miklos Vajna
1195e07d15 StatusLine::parse: limit size of allocated string
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Idba8ad8a8905b0d03e2015de5df5c7c7f145ffc5
2021-04-23 15:32:21 +02:00
Miklos Vajna
da11acd8c5 StatusLine::parse: handle non-null-terminated buffer with std::atoi()
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I51033bc4d3f97f5ae93abce1b5f19ef6a8b296d8
2021-04-23 15:32:21 +02:00
Miklos Vajna
415a834813 StatusLine::parse: only feed integers to std::atoi()
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I7591fd14fbdc7c1210ac8141cb78854e3f20fffd
2021-04-23 15:32:21 +02:00
Miklos Vajna
9e331465d9 clang-format: turn off BreakBeforeBinaryOperators
Improve readability by not suggesting changes like:

-                    if (JsonUtil::findJSONValue(object, "Url", url) &&
-                        JsonUtil::findJSONValue(object, "Name", filename))
+                    if (JsonUtil::findJSONValue(object, "Url", url)
+                        && JsonUtil::findJSONValue(object, "Name", filename))

Note that clang-format is never enforced (we never re-format existing
code), but your editor may respect it for new code.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Id6679220f83b77a4c63ca9a9429052535c75939a
2021-04-23 09:51:06 +02:00
Miklos Vajna
80c6562e59 Add a fuzzer for http::StatusLine::parse()
And fix an unhandled std::length_error it found.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I571cdd71caeda84820f2c64088966936637ce2bf
2021-04-23 09:02:21 +02:00
Andreas_K
647e2bbdd2 NB File Tabs SaveAs Label similar between apps
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I0b38c1a92c008a6e6356ac81db29d6439ffb7fef
2021-04-23 07:51:52 +02:00
Andreas_K
faf91d27e5 NB File Tabs SaveAs Label similar between apps
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I0b38c1a92c008a6e6356ac81db29d6439ffb7fef
2021-04-23 00:19:23 +02:00
Andreas_K
769c0dca4b NB Calc update Home Tab
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: Icfcae2e856f0724395eef35e861826062e4f5d24
2021-04-22 22:47:33 +02:00
Andreas_K
850a657a30 fix #2095 NB File Tab update at all apps
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: Ie83f7339cba5919868351cddf6989369760438de
2021-04-22 22:46:55 +02:00
Pedro Pinto Silva
e38fd07aff Style Paste special dialog and fix html structure
- improve normal paste html structure
- style special pasting
- make sure we are using consistent font size across the board

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9a0942ce086c9c96082ef79aa0450c4aab7daf35
2021-04-22 19:03:03 +02:00
Miklos Vajna
f720e280bf Add an initial libfuzzer based fuzzer for http::Header::parse()
Run the actual fuzzer like this:

./httpheader_fuzzer -max_len=16384 fuzzer/httpheader-data/

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I91afe44a632826cc15bd1c338bcc5234582e9674
2021-04-22 15:56:58 +02:00
Aron Budea
201a021c3d loolkitconfig: introduce config to show Non-printing Characters #2
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I38af64c049e92965507f50df84d3955ba188eba2
2021-04-22 15:05:42 +02:00
Szymon Kłos
b13e7e45d2 notebookbar: delay for message if not initialized
Change-Id: I4ae4bc666320a6791cebd0da687ca79f3d5d6c83
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-22 12:42:27 +02:00
Pedro Pinto Silva
ffc5ef9bb9 Welcome: Release notes: Fix URL
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I61aaf1cec0e442b92db893086294365e87a4d655
2021-04-22 11:52:34 +02:00
Miklos Vajna
1ff7f2704b unit-crash: avoid socket deletion before _socketPoll completes the async shutdown
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ibb9f7d7681d502d06de92c2f5d8305c3f27a76c0
2021-04-22 09:55:03 +02:00
Quentin PAGÈS
ac8e1bc4c6 Translated using Weblate (Occitan)
Currently translated at 41.4% (174 of 420 strings)

Translated using Weblate (Occitan)

Currently translated at 63.1% (247 of 391 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/oc/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/oc/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2538df00dcbbe8beaa84ea167a363bea26749cd4
2021-04-22 09:32:38 +02:00
Martin Srebotnjak
4b4ab75007 Translated using Weblate (Slovenian)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia3c87faa2744820211c04c9926c3a3cb20e761a5
2021-04-22 09:32:38 +02:00
Andreas_K
a41ab8ff35 fix #1285 remove elipsis ... from NB strings
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I9d9d70c292772b349687d14fc3b92cd3fd5d86b7
2021-04-21 23:30:22 +02:00
Andreas_K
72ab267f04 fix #1611 remove gray background of uno:color command in NB
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I0e903990cb83bfe5e4194f760ae294c6c9083fc7
2021-04-21 20:32:27 +02:00
Andreas_K
36047958b2 add dropdown arrow to color picker
Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I9029e1d9d6e951b77e195e8e0543e7e96d627efe
2021-04-21 17:03:40 +02:00
Rash419
a8467d551b Fix: mobile: toolbar-down: swipe indicator now visible at the start
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib28ce57172f9c93e49eab4eeca3abeaa783a1fd4
2021-04-21 12:31:41 +02:00
Andras Timar
33be889652 now we initialize SSL unconditionally, we need to amend cypress test's Makefile
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I54c743fb0e8737b82e642ca87ef262f290c534f1
2021-04-21 11:19:36 +02:00
Pedro Pinto Silva
b63a99d0a6 Fixes #2030: Sidebar icons: cropped and misaligned
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I24a0319305088fd44a296721a8e2f41b8876bd38
2021-04-21 10:11:26 +02:00
Pedro Pinto Silva
3a5c6b2c2a Toolbar: W2ui: linespacing: change component and add icons
Fixes one subitem of https://github.com/CollaboraOnline/online/issues/2015

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I20c2ec56fe5cc0b4374f25769d5a7403ddf55d2e
2021-04-21 10:10:56 +02:00
Pedro Pinto Silva
1c80714f31 warnCopyPaste: Fix layout
- Remove unorthodox spaces before and after punctuation
- The use of a list in this case is hurting the user:
  - Too wordy text
	- Inefficient use of space
	- Bullets work as a distraction and still focus from the verbs
	and the shortcuts
- Fix: paragraph was wrapping a list
- Replace with a table that is full width and it makes it easier
to scan and understand what we are conveying

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I12d6f433fa02f575c60f30f33c71ef820085e76e
2021-04-21 10:09:12 +02:00
Pedro Pinto Silva
25bad4f9c6 Keyboard keys: Fix style inconsistencies
fixes #2011

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I227fed8bc8838f09e878290650d47d000ac53801
2021-04-21 10:09:12 +02:00
Pedro Pinto Silva
a9915045da Fixes #2008
Let the user see the red warning before it removes the class

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I95528fee7414c745c3b7c1b3221ab45b2a820121
2021-04-21 10:08:46 +02:00
codewithvk
ca682ade86 Fix : Notebookbar Labels Decrease font size
Signed-off-by: codewithvk <vivekpatel7202@gmail.com>
Change-Id: I151db6e80a446eefdee21b5536e00694b9734074
Signed-off-by: codewithvk <vivekpatel7202@gmail.com>
2021-04-21 10:07:41 +02:00
Rash419
465c435e68 added dropdown arrow in FontColor BackColor and BackgroundColor buttons
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I303b1cc1d2197eedf6e66b04dfebf72e3c763f75
2021-04-19 20:46:20 +05:30
Miklos Vajna
e56e8ec30c test: tolerate missing minor core version
ProductVersion used to be "6.4" with core.git distro/collabora/cp-6.4,
but core.git distro/collabora/co-2021 sets it to just "2021".

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I08c1204c42bba21c8036975138e3d999b7357bdf
2021-04-19 11:20:45 +02:00
Cor Nouws
ece844adb8 Translated using Weblate (Dutch)
Currently translated at 63.5% (267 of 420 strings)

Co-authored-by: Cor Nouws <cno@nouenoff.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I02245d1bac7f5a4d35c00f77c078b2a93aa2221f
2021-04-18 12:31:40 +02:00
Ihor Hordiichuk
93e811db24 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (391 of 391 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: I46e51da01e79c72c373a4316f03a1af7d14436ba
2021-04-18 12:31:40 +02:00
Matthaiks
d0b2942f75 Translated using Weblate (Polish)
Currently translated at 100.0% (391 of 391 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: I76ef077bda4e3ed391dee89ea9b03a69552deb38
2021-04-18 12:31:40 +02:00