Commit graph

651 commits

Author SHA1 Message Date
Poe Mon
23851dc7c9 Translated using Weblate (Japanese)
Currently translated at 100.0% (22 of 22 strings)

Translation: Collabora Online/Android lib
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I624ff39244f77ee639640f5656b592c3bb35fcf7
2024-05-15 14:12:50 +02:00
Poe Mon
be902bd736 Translated using Weblate (Japanese)
Currently translated at 100.0% (110 of 110 strings)

Translation: Collabora Online/Android app
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I122793c57793c98f4d21f030c4784ac2ff7e8bd0
2024-05-15 14:12:50 +02:00
Poe Mon
43cd2cf467 Translated using Weblate (Japanese)
Currently translated at 60.2% (288 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.4% (265 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.2% (264 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.0% (263 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 53.7% (257 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 88.0% (515 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 88.0% (515 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Japanese)

Currently translated at 68.1% (75 of 110 strings)

Translated using Weblate (Japanese)

Currently translated at 86.3% (19 of 22 strings)

Co-authored-by: Poe Mon <p.poemon.awitd@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6155250baf0d3f7ff2e54330cc9622a163ed177b
2024-05-15 14:12:49 +02:00
SC
00e7d6c095 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic6d8df7646c9854d5f7ba7bfffc6d691889b920c
2024-05-15 14:12:49 +02:00
Michael Meeks
ebb4eda3df Move common/MessageQueue.cpp -> kit/KitQueue.cpp.
This is not common code, it's used only in the Kit.

Rename TileQueue -> KitQueue as well as unhelpful member variable naming.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: If158597f99f302cbc27e8eab139972f57a2fc3bb
2024-05-09 09:50:08 +01:00
Michael Meeks
90f387cdc5 bgsave: change statusindicator protocol message to 'progress' + JSON.
We need to get more helpful structure into this message, and add a
type=bg flag to handle background progress messages.

Add unit test for merging progress: setvalue commands.

Simplify ProtocolHandler sendTextMessage with a std::string wrapper.

Android code needs manual testing.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I54ce807e2fc5de80118905e68557a95e637fbd18
2024-05-06 20:28:08 +01:00
NamelessGO
a4db9b7a65 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: NamelessGO <66227691+NameLessGO@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I566f62d87df721abcd9ebb2fc780a9df71f232ed
2024-04-19 16:08:46 +02:00
Aron Budea
246e87fea2 wsd: Unconditionally compile support-key-enabled code paths
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: Iec477c223f2dc75e0be8b472c8439ca9311d6aae
2024-04-14 01:23:00 +01:00
Shavazo
e41fcbe9b8 Translated using Weblate (Japanese)
Currently translated at 34.7% (166 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 58.0% (339 of 584 strings)

Translated using Weblate (Japanese)

Currently translated at 86.3% (19 of 22 strings)

Translated using Weblate (Japanese)

Currently translated at 67.2% (74 of 110 strings)

Co-authored-by: Shavazo <pleasure.7010@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7940ff6e6ce714072f9b2b36185720f5da021c81
2024-04-12 19:19:49 +02:00
Flavio F. M
f5fd9d248e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Flavio F. M <flavius_androiduser@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pt_BR/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8b69106c8f95d50ab2bda716cde84c71a12a149d
2024-04-05 18:53:12 +02:00
Flavio F. M
506e489d5e Translated using Weblate (Portuguese (Brazil))
Currently translated at 90.9% (20 of 22 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.1% (108 of 110 strings)

Co-authored-by: Flavio F. M <flavius_androiduser@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pt_BR/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc54266fea67e85ff6151b88d6b759f630171718
2024-03-30 15:30:15 +01:00
Jaume Pujantell
3ba713aabf add isMobileApp util function to reduce ifdefs
Removed all MOBILEAPP preprocessor conditionals from Util.hpp/.cpp
Added isMobileApp function to help remove further conditionals.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I038a4db47ec2a2c7bb10f5696df5571b13bd9a61
2024-03-20 09:13:00 +01:00
Jaume Pujantell
d77b0b6bd2 android: add support for c++20 and std::filesystem
Android build fails due to use of std::filesystem and
c++20 features like string::starts_with.

cmake requires c++2a flag
std::filesystem requires ndk 22+

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: Ibba1e5e76a32ba5526d9d7111b810a650f372a02
2024-03-15 12:23:56 +01:00
Michael Meeks
c117d87bb4 nearly pure re-factor: split out code into its own modules.
StateRecorder.hpp split from ChildSession.cpp
KitWebSocketHandler.[ch]pp split from Kit.cpp.
ThreadPool.hpp split from RenderTiles.hpp

Expose headers for KitSocketPoll and Document
at the same time.

Not clear we need the DocumentManagerInterface anymore.

Conditionally compile out Document::createSession for unittest
dependency breaking, and avoid Rlimit::handleSetrlimitCommand
likewise.

Make makePropertyValue a private method of Kit.cpp.

clang-format new files.

Change-Id: I47a1d6afe20165f156b477a931b94c916cff4b9d
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-03-06 20:56:55 -05:00
Rob Pearson
06220b2318 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib80ce5f36171feebf4ab115ef367090c586f7ab2
2024-02-26 08:44:40 +01:00
Ashod Nakashian
7570dd299c wsd: use RequestVettingStation for async loading
This replaces the synchronous loading logic
with the new asynchronous one.

Change-Id: I20fd7903cffbbd7c524d8051295113439ef75d5b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-02-24 14:09:22 -05:00
Ashod Nakashian
5a82c36680 wsd: move ClientRequestDispatcher to own file
This moves ClientRequestDispatcher and all
its direct exclusive dependencies to its
own file and adjusts formatting.

No functional changes were performed,
although namespaces were restored and
other minor changes were done for
consistency.

The resulting file is still rather large
at around 2000 lines, but that makes
COOLWSD.cpp smaller by about 30% now.

Change-Id: I59bcd997ad08702ce7029c6791095e75ad9b23b0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-02-21 20:13:39 -05:00
Rhoslyn Prys
b0a8987713 Translated using Weblate (Welsh)
Currently translated at 100.0% (573 of 573 strings)

Translated using Weblate (Welsh)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Welsh)

Currently translated at 99.3% (569 of 573 strings)

Translated using Weblate (Welsh)

Currently translated at 59.0% (13 of 22 strings)

Translated using Weblate (Welsh)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Rhoslyn Prys <rprys@posteo.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/cy/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/cy/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cy/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1fd5c876897b291e9ec7ff035f480edde9188c3d
2024-02-09 20:37:31 +01:00
Besnik Bleta
74ee22a454 Translated using Weblate (Albanian)
Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sq/
Translation: Collabora Online/Android app
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3d5fedc3e50895b7cbe34a38a088b47eb8d9cbf9
2024-01-31 11:47:59 +01:00
Software In Interlingua
4a01a28041 Added translation using Weblate (Interlingua)
Added translation using Weblate (Interlingua)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I441bc6b6cda63560bf6d27b1d759e3af690a8da4
2024-01-24 22:16:14 +01:00
MOHAMED IRFAN
41faa50420 Added translation using Weblate (Javanese)
Added translation using Weblate (Javanese)

Co-authored-by: MOHAMED IRFAN <MD.irfan@allautopartstore.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2045315806d4467df745ff3c16da5d9e8ad53b63
2024-01-17 11:02:08 +01:00
Milo Ivir
c9eabdd464 Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (554 of 554 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4caa22b84638934e6f8474cbdad5ecd9e5ffc51e
2024-01-05 13:05:11 +01:00
Jaume Pujantell
8f178ef6cd extract some functions to extra files for in process mode
Extract some functions from ForKit.cpp and COOLWSD.cpp to new files
so we can do a kit in process mode without using ifdef directives.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I7529f8f46a8026318244666b27d1ce72ed5ad4ca
2023-12-18 10:34:10 +00:00
Subham Jena
601352b1f0 Translated using Weblate (Odia)
Currently translated at 11.8% (13 of 110 strings)

Co-authored-by: Subham Jena <subhamjena8465@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/or/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I922df944b00c8be79157b25e079e9a22c7923171
2023-11-24 19:24:20 +01:00
DPE
bbb05dcff4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 63.3% (340 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 61.6% (331 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 59.4% (319 of 537 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: DPE <danpe_jobo@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaabb7ffb88433e624d58dad43f3fbadd5aacd681
2023-11-09 10:56:54 +01:00
Besnik Bleta
4ed5ad8f21 Translated using Weblate (Albanian)
Currently translated at 99.0% (109 of 110 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If11e2026ad132aa9311b74b32605c470cad2c06e
2023-11-09 10:56:54 +01:00
ButterflyOfFire
05eecc19c0 Translated using Weblate (Arabic)
Currently translated at 58.1% (64 of 110 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ar/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia53b05b21e1841b31724e1063d41fcf0c5f26c6b
2023-10-01 13:42:25 +02:00
Caolán McNamara
654cb1ae05 add DeltaSimd to android/iOS
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Icad55a047ea505d81e50ae634e38d8301fb3b21e
2023-09-25 16:55:04 +01:00
Caolán McNamara
aa59f57285 add Simd.cpp to android CMakeLists
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I577bbe203a940e1d2f38fa4d1f86cc6d8f8d1f33
2023-09-25 16:55:04 +01:00
Sebastiaan Veld
04ea467290 Translated using Weblate (Dutch)
Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/nl/
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic2691bfbe3f30a3acaa8dd8b0c945562f1e1778d
2023-09-24 16:38:05 +02:00
Milo Ivir
d53331d1e6 Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (519 of 519 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I905b20a488324ac9bc462314e47f8883b6ba4284
2023-09-18 23:17:19 +02:00
Rash419
a02cde2565 android: fix lint errors
RecentFilesAdapter.java:76: Error: Value must be ≥ 0 [Range]
                  filename = cursor.getString(cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
                                    RecentFilesAdapter.java:97: Error: Value must be ≥ 0 [Range]
                  length = cursor.getLong(cursor.getColumnIndex(OpenableColumns.SIZE));

file_explorer_grid_item.xml:42: Error: Inconsistent alignment specification between textAlignment and gravity attributes: was center_vertical, expected center_horizontal [RtlCompat]
              android:textAlignment="center"

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I663a89b0ecce03b067e1fa216a030a19fa578da5
2023-08-31 13:12:22 +02:00
Rash419
f0ea15a9b9 android: add ndkVersion in build.gradle
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7b7c716be067859e72c21e07716db7622a116bf6
2023-08-31 13:12:22 +02:00
Rash419
c0273e8574 android: use tasks.register in build.gradle
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1ab6908f333115247018a53f6e954751bb13fc8c
2023-08-31 13:12:22 +02:00
Rash419
2e29d67888 android: update dependencies
- update gradle plugin and version
- use mavenCentral instead of jcenter

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iffe41bd7d5ff3e6a6d1acbe70c25e21e5a856548
2023-08-31 13:12:22 +02:00
Rash419
ccb20f1ed3 android: enable webview localstorage
- priortize theme settings from SettingsActivity over savedState
- fix darkmode toggle button does not behave as expected

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idb884cba3af335edc0936736f35610e91cfd64e6
2023-08-22 10:20:27 +02:00
Rash419
c4183d2709 android: fix app crashes after closing the document
- It exits LOActivity when lokit thread finishes using lokit_main_mutex.
  But if we edit document and exit without saving lokit thread gets
  finished but COOLWSD is still running to clean up the docBrokers.
  It takes some time to clean up this docBrokers.
  We need to exit the LOActivity only after COOLWSD is finished
- for that I have added coolwsdRunningMutex again
    - it was removed in ad32888d7c

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ic9785f5aa55deafbac98efc4013bd3376d0ba62d
2023-08-16 12:44:37 +05:30
Andras Timar
85ee03f98f CollaboraOnline#6546 enable automatic color in default paragraph style
use the xml token "use-window-font-color" to toggle auto color on.

https: //github.com/CollaboraOnline/online/issues/6546
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib14b144ce6f593114a8130f5816f479d5cd4fe85
2023-08-10 12:22:26 +02:00
Rash419
5dcce1965e android: enable dark mode in documents
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I108601f78f4d7bbf704b5f5f89b20c8f8a597355
2023-08-09 17:37:16 +02:00
Ashod Nakashian
5b52f7d8eb wsd: smart pointer cleanup
std::make_shared and std::make_unique
are superior to explict smart pointer
construction. Where we have private
constructors, we can't use them.

Change-Id: I492122f58e958113c6e6d31445c6614ad98c89aa
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-08-03 08:40:20 +02:00
Rash419
371cb21d5d android: after sdk 30 WRITE_EXTERNAL_STORAGE is not required
- android will not even show a popup
- for some reason after sdk 33 checkSelfPermission returns PackageManager.PERMISSION_DENIED for WRITE_EXTERNAL_STORAGE even if it given permission implicitly by android

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If50df0df0322d0bddf30d5ff5fb13ab9c010ed87
2023-07-15 20:33:18 +05:30
Andras Timar
1fb4954fe6 Android: bump compileSdkVersion targetSdkVersion to 33 #6788
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id2199c0e43bae0cf3edbdf9b1c012bebb6d544fd
2023-07-04 10:01:32 +02:00
Sebastiaan Veld
064e7c66f0 Translated using Weblate (Dutch)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (503 of 503 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3e663b659de186cec2b0bd62b995fcef3b95b3ad
2023-06-12 13:54:21 +02:00
HM
fef53b1ecc Translated using Weblate (Persian)
Currently translated at 20.0% (22 of 110 strings)

Translated using Weblate (Persian)

Currently translated at 1.8% (9 of 499 strings)

Translated using Weblate (Persian)

Currently translated at 15.4% (17 of 110 strings)

Co-authored-by: HM <goodlinuxuser@chmail.ir>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I06ca427ea45a5931dac5a4bbd40f58192fb1ea58
2023-06-02 07:50:34 +02:00
Ihor Hordiichuk
7925575b8f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/uk/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I16dd9f9d826fb262c7e42aaa5f3356f635bccc41
2023-05-03 09:51:36 +02:00
Subham Jena
7ed6b62fe4 Translated using Weblate (Odia)
Currently translated at 11.8% (13 of 110 strings)

Added translation using Weblate (Odia)

Co-authored-by: Subham Jena <subhamjena8465@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/or/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1e7200e5e16c52cbe298c6b4326dfe9fd837b210
2023-04-21 12:26:50 +02:00
Weblate
f9c12c81b1 Added translation using Weblate (Odia)
Added translation using Weblate (Odia)

Added translation using Weblate (Odia)

Added translation using Weblate (Odia)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib4650906b5ec4b8e707a74f6437c6fa542210f5c
2023-04-21 12:26:49 +02:00
Ram
809dbc5eb3 Translated using Weblate (Malayalam)
Currently translated at 41.8% (46 of 110 strings)

Translated using Weblate (Malayalam)

Currently translated at 40.0% (2 of 5 strings)

Translated using Weblate (Malayalam)

Currently translated at 50.0% (11 of 22 strings)

Co-authored-by: Ram <airavatam@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ml/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ml/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ml/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1eeefe755010bbccb6f70f766883d6206cb09e99
2023-04-17 19:34:40 +02:00
Hamid Mir-Mostafa
e031b1da43 Translated using Weblate (Persian)
Currently translated at 13.6% (3 of 22 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Persian)

Currently translated at 10.9% (12 of 110 strings)

Co-authored-by: Hamid Mir-Mostafa <hamidmirmostafa.personal@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/fa/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4e53a2a35d2c34d03aa1672817cdca21e2a83d4e
2023-04-17 19:34:40 +02:00
Adolfo Jayme Barrientos
46eebc4a96 Translated using Weblate (Spanish)
Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (Asturian)

Currently translated at 51.4% (270 of 525 strings)

Translated using Weblate (Aragonese)

Currently translated at 27.2% (30 of 110 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/an/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0827f24a575c3a771097e54d7c2eb42b386a2502
2023-04-17 19:34:40 +02:00