added format parameter support
added tests
Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I1fe6afc583a15eaeedf5da73dbca72569593cae9
Use extract-document-structure to get document structure
Use transform-document-structure to change its content
Example use of Transform:
curl -F "data=@CC.odt" -F "transform={\"Transforms\":{\"ContentControls.ByIndex.1\":{\"content\":\"Short text\"}}}"
https://localhost:9980/cool/transform-document-structure > out.odt
Note: Please do not use \n (EOL) in transform.
Example output for extract
{
"DocStructure": {
"ContentControls.ByIndex.0": {
"id": 0,
"tag": "",
"alias": "",
"content": "FieldValue1",
"type": "plain-text"
},
"ContentControls.ByIndex.1": {
"id": 0,
"tag": "",
"alias": "",
"content": "☒",
"type": "checkbox",
"Checked": "true"
}
}
}
Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I4b362376651e9bb5482949529e2bd7720231debf
Before this commit thew triangle was not vertically centered. This was
mostly obvious in the status bar but the same problems was everywhere.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9fe6d30cbe6736da56a73073c460d4a5028e98bf
when entire comment list was imported initially
or after showing hiding changes, animation
was played multiple times which was annoying
and distracting to users
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I8a3da3cd551288bef94f5627ca11effd85bf99d0
Changes are based on below points to improve accessibility
- The element that serves as the toolbar container has role toolbar.
- If the toolbar has a visible label, it is referenced by aria-labelledby on the toolbar element. Otherwise, the toolbar element has a label provided by aria-label.
- If the controls are arranged vertically, the toolbar element has aria-orientation set to vertical. The default orientation is horizontal.
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I38f234461d4bf7982eec01ffe866c390256f50a0
It pays from a latency perspective to have fewer machines or
containers each with more threads, rather than more of them with
fewer threads.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Id791438d080989ffcf6b079e551f622cf92353e2
Otherwise we would not respond at all, leaving the socket open;
possibly related to cool#9349
Change-Id: Iba8a29da6ab0263f2545b9495f15e20f37145de0
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
e.g. download as pdf/save as pdf
move buildLocalPathToJail to FileUtil instead of JailUtil given
that the JailUtil code isn't built on mobile
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I8d727e9cdffc413c027bfb9dc6b0520a7d591b47
I missed this case in the previous commit.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I48829591ce20bcfabb239e510041799c41ea50dc
and add some explanation for why there is use of linux namespaces in
coolwsd itself
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5d5687cf095de1b7d5d978dcb6ad6a97f6e9c642
So it's more inline with the rest of the icons. Also fix dark mode.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0b27ecc179a139d34aa574617e0af5c3ef91ae81
create mount namespace with local uid 0 just before we need to do the
mounts and create another with the original uid when done.
The inner orig-uid probably doesn't amount to a whole lot in practice,
but its more reassuring to run as not-0.
Disconnect namespace config option from experimental, but continue to
default off.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ia68c1c1c0bc7a91eb158f5d189453b683fea0ef0
Keep only the last created invalidation rectangle.
Set transparency for the rectangles.
Delete the others with the counter.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Iee379afb62bcde519b8cde0bd8405e511344b3fa
it can happen that we will early return from the keyboard handler
and we will not mark we want to stop following
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I28ce533b7f3c1d8c189434d0f51e727ca74cb57f
When we decide to follow someone - don't wait for the interaction.
Just jump to the followed cursor.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3b28164d90211dc15330d73d266e035ba49751ff
Right now .uno:EditHyperlink and .uno:RemoveHyperlink only work on
edit mode or inside a draw object, but LOK_CALLBACK_HYPERLINK_CLICKED
is dispatched outside of edit mode.
Since there is no text cursor, the position of the hyperlink is
needed to discriminate the correct field.
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I8499b430d5e62b904caba5bb5c7c34e784a8b850
Currently translated at 100.0% (610 of 610 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.5% (607 of 610 strings)
Co-authored-by: TY Wong <wongty@peoplewarehk.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hant/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id108f73319a7a04a899b578562aff626e380d574
Currently translated at 100.0% (610 of 610 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.5% (607 of 610 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 97.0% (592 of 610 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 24.0% (115 of 478 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 96.7% (590 of 610 strings)
Co-authored-by: Cyan Ling <stepbystep.jl@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hant/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I93dde8bdec63c721373973580ef96fcfb41d9374