summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cypress: re-enable impress/table_operation_spec.jsbackport/4856/distro/collabora/co-21-11Rash4192022-06-061-4/+18
| | | | | | | | modify the test to use 2x2 table when testing 'insert column before/after' tests no idea why we don't get svg when there is 3x2 table Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Id927fede691c4483206fa2b65c450f11cc980581
* ignore if comment is selected while pastingPranam Lashkari2022-06-061-1/+1
| | | | | | | | | | | | if comment is selected but is not in editing, proceed to normal pasting in document problem: while pasting content multiple times with comment, previously pasted comment stays selected and can't further normally Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Ia594c725f4fe7108d6aea1591d88b2c306202be3
* Bump version to match configure.acAndras Timar2022-05-311-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I01ae1331dc7b69cbdb86272d5b348f7cd2bd3afb
* Proxy: send explicit charset=utf-8Michael Meeks2022-05-301-2/+2
| | | | | | https: //github.com/nextcloud/richdocuments/issues/2196 Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: I4fce74290e8bf8a6681922a2165772933443703e
* jsdialog: treeview keyboard supportSzymon Kłos2022-05-301-1/+9
| | | | | | | | | - handle tab key - handle enter key for entry selection - change jquery into plain JS Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ia2f8d2d9c8c2dc52c75339c4f72734a5a3e770b7
* jsdialog: handle tab key in jsdialog popup fixes #4716Szymon Kłos2022-05-301-0/+28
| | | | | | | | | | | | | This added begin and end mark to the popup so we can detect we are leaving the popup and we should close. This prevents us from blocking the whole UI by focusing map and typing before popup was closed. Also close popup when server confirmed it should be closed. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I1a290e27dd7a14eca2cd3bb8368fee27255f51a8
* jsdialog: handle tab key in autofilter popup fixes #4716Szymon Kłos2022-05-301-10/+23
| | | | | | | | | | | | | This added begin and end mark to the popup so we can detect we are leaving the popup and we should close. This prevents us from blocking the whole UI by focusing map and typing before popup was closed. Also close popup when server confirmed it should be closed. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I8214804f1759d90fe5fbd6ec264987edc19f9554
* Bump package version to 21.11.5.1cp-21.11.5-1Andras Timar2022-05-272-1/+7
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Ic5f4b4f160c2647232c7f5898c53ed74359c8747
* welcome: modify to listen view list changesHenry Castro2022-05-271-4/+8
| | | | | | | | In order to get the list users and identify if it is a guest user to not show the welcome dialog. Change-Id: I439f46dcfd3ea5b307059952f98f49a387158e24 Signed-off-by: Henry Castro <hcastro@collabora.com>
* Bump package version to 21.11.5.0cp-21.11.5-0Andras Timar2022-05-242-1/+7
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I44961d6f073ccf77ee340cee03c6d8deb84be860
* wsd: do not enqueue messages on closed sessionsAshod Nakashian2022-05-243-7/+21
| | | | | | | | Also corrects the counting of number of active sessions when broadcasting messages. Change-Id: I5ab5995ed2cbc18b215542d0b2c9568957fd6a3a Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: detect lost upload on exit and dumpState once onlyAshod Nakashian2022-05-244-22/+29
| | | | | Change-Id: If5a9601d9baa10dcdab38c57bfba82a45d8e5024 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: correctly set termination and shutdown flagAshod Nakashian2022-05-241-2/+7
| | | | | | | | We should always set the shutdown flag first. Otherwise, we run afoul of a race condition. Change-Id: Ic99793d68b3b943496ff932b4bdafd336fef7f82 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: forced exit after cleaning up jailsAshod Nakashian2022-05-241-3/+3
| | | | | | | | | | | | | | | | | | The static instances cause a lot of grief when they aren't called in the correct order. Worse, when we are cleaning up, we don't even initialize some of them (Admin, for one). This means that a normal exit will destroy what isn't created, in some cases (Admin) it will even force creating instances when we are destroying others. This avoid all this by simply exiting bluntly. Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk> (cherry picked from commit 231fae4ebd990cb344143759cbdfa19c4f30d4f2) Change-Id: I6a9443ca5ab999ed6ca1d27314136472cfc6ddb6
* wsd: cosmeticsAshod Nakashian2022-05-244-8/+8
| | | | | Change-Id: I85773b4c06c051ee8c52c353e26dd6149c7843de Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: test: correctly stop SocketPoll in UnitTimeoutAshod Nakashian2022-05-242-1/+5
| | | | | Change-Id: I97317e8155e5c65d12e985cc837f07bfcf6a56d6 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: test: always set the test nameAshod Nakashian2022-05-249-21/+30
| | | | | Change-Id: Ibce5cf049ad1a1df7b11412ed7160d280ece60f3 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: browser: Reset_Access_Token API to update access-tokensAshod Nakashian2022-05-246-15/+77
| | | | | Change-Id: I92cc424c30824232eaf156ddfe49104932b2ba81 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: test: prepare for more tests in UnitOAuthAshod Nakashian2022-05-241-36/+53
| | | | | Change-Id: I7c6949af0c87405ee18e445fd7e656cd82a9033c Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: test: modernize UnitOAuthAshod Nakashian2022-05-241-20/+15
| | | | | Change-Id: I84f7242997eb0fd8ab297c8fbdb684c2027ae3a0 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* browser: reuse post helper in framed.doc.htmlAshod Nakashian2022-05-241-6/+5
| | | | | Change-Id: Iabc310a59a7c4e0522558ea0a15e260d2bf141bd Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: replace strrchr with constexprAshod Nakashian2022-05-243-6/+76
| | | | | | | | | | | This avoids the runtime overhead of strrchr used in logged filenames on iOS, which is unnecessary on string literals, and adds unit-tests. We also strip leading './' and '../' in other builds. Change-Id: I56ec722d1400fad9165eb046d1bd8d4438241ca3 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: log macro cleanupAshod Nakashian2022-05-248-37/+31
| | | | | | | | | * Simplify log macros. * Reduce expanded lines (faster compilation). * Avoid flushing (since we always use ostringstream). Change-Id: Id10c1a75b5af5d8cdba62d768192ab0a6a9e0aca Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: automatically include a log prefix if providedAshod Nakashian2022-05-241-0/+6
| | | | | Change-Id: Ic542ec83ffa9c76478a4f1121caf3edf078f40a7 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: delay uploading if the last attempt had failedAshod Nakashian2022-05-242-8/+32
| | | | | Change-Id: I1c251fdeadf355b003a71408fba31d1ac975822f Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: needToSaveToDisk helper and improved autoSaveAndStopAshod Nakashian2022-05-242-7/+57
| | | | | Change-Id: I149a624a8acb005f441d79e0c1f4776e7a2d49c0 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: add canSaveToDisk helperAshod Nakashian2022-05-242-5/+40
| | | | | Change-Id: I8ad6c91ac05d60e29726a20d67799aa11714226a Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: add canUploadToStorage helperAshod Nakashian2022-05-242-7/+28
| | | | | Change-Id: Ieba59e3cfc5d26c78a118f8d4fae8a151ac62ef3 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* wsd: do not prevent saving when storage is missingAshod Nakashian2022-05-241-5/+10
| | | | | | | | | | | | | | Since we have the ability to quarantine documents, we should save to disk even (or especially) when we don't have a storage instance. This way we can at least recover the document. Although it's not clear when we will not have a storage instance, if at all, separating saving from the storage state is reasonable. Change-Id: Ifa51ed3229424b567df8218b201ef914226db947 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
* fix: typing after idlePranam Lashkari2022-05-241-0/+1
| | | | | | | | | | | | | | Reset document info on idle resetting document info will force to use new status of the document problem: reconnecting after idle, user could not type anything in document, this was due to some properties were to set assuming they existed from last session (i.e: clientzoom) resetting document info will force to use new status message and set all the properties again correctly Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Ibcf395eee3a4e0b99413de0178331d42a1354253
* Fixes exception introduced in:Szymon Kłos2022-05-241-1/+1
| | | | | | | | commit 04187501c16b7122d693cc133d87f040284d63a5 Unify ui switcher naming Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ic1ed669b270297fe200c3c92e38ea8f081bb1b4c
* 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>
* cypress: skipping columns test in impress/table_operation_spec.jsRash4192022-05-241-2/+2
| | | | | | | | cannot reproduce locally temporarily skipping the test Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I2007a2dc643306551be859b1bdcf48982fe4a33d Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* cypress: added new function selectCellsInRangeRash4192022-05-244-10/+17
| | | | | | | | | after the jumbo sheet patch selecting entire row and merging all the cells becomes costly and cypress timeouts therefore select first 100 cells and test the merging functionality Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I8568bbdbabdccc55c2938f886619a1d178ae7d22 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 (Nepali)Diggaj Upadhyay2022-05-241-1/+24
| | | | | | | | | | | Currently translated at 77.2% (17 of 22 strings) Co-authored-by: Diggaj Upadhyay <dcozupadhyay@duck.com> Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ne/ Translation: Collabora Online/Android lib Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I21f80d2369de1d5c10c287ca2ec230744a422c39 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* Added translation using Weblate (Nepali)Weblate2022-05-241-0/+2
| | | | | | | Co-authored-by: Weblate <noreply@weblate.org> Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Ib859e1f9352e9fb4b1131a7417291cfdd98b4982 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-242-3/+1
| | | | | | | | No longer used. Change-Id: Ifdaaabc49df1b9af0fb4d436ffe2437446f5926a Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* wsd: infobar: send latest version to the client sideHenry Castro2022-05-241-1/+14
| | | | | | Change-Id: I565d9d30c86ec12e7ee96df55ac8adc2e718626a Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* wsd: infobar: fetch and save the latest version dataHenry Castro2022-05-242-0/+53
| | | | | | Change-Id: I7988fc69d4eaa35a26463cf180c26c6fd9b083e1 Signed-off-by: Henry Castro <hcastro@collabora.com> Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
* wsd: infobar: add config value "fetch_update_check"Henry Castro2022-05-242-3/+18
| | | | | | | | Every number hours will fetch the latest version data. Change-Id: I082d9ebb674058c6509dbd33537f24ec7cd9228b 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>