Commit graph

6429 commits

Author SHA1 Message Date
Tibor Kaputa
faa6a972c2
Merge pull request #1429 from KryptKode/fix/slow-sd-card-write
fix: writing to SD Card very slow
2022-06-06 16:18:58 +02:00
darthpaul
f66bb80f47 fix: writing to SD Card very slow
- in an attempt to fix the overwrite issue in [this PR](https://github.com/SimpleMobileTools/Simple-Commons/pull/1351),
 the slow getDocumentFile was used.
 - getDocumentFile iterates over the list of files in the parent folder and tries to locate the file if it exists
 - for fresh copy/move, it would check the entire list of files and not find the path, this greatly slows down the speed.
 - the fix for it is that we
    -  Check if the file path exists
       - if it does, we construct the URI manually using the createDocumentUriFromRootTree method
       - else, we call createFile and get the newly created URI

 - calling createDocumentUriFromRootTree is very fast
 - getDocumentFast does not work so it was not used
2022-06-06 15:14:25 +01:00
tibbi
3c2ffc8c42 use different dialog titles at Use this folder dialog 2022-06-06 15:52:02 +02:00
tibbi
43e34d1ed6 updating a slovak string 2022-06-05 10:55:26 +02:00
tibbi
9f6ceba60f replacing indonesian translation "id" with "in" 2022-06-05 08:49:09 +02:00
Tibor Kaputa
5d29c5f688
Merge pull request #1428 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-06-04 22:32:53 +02:00
AbsurdUsername
ab3e99cc1b
Translated using Weblate (Italian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/it/
2022-06-04 20:09:58 +02:00
Artem
7d45d0a987
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/uk/
2022-06-02 14:17:54 +02:00
Tibor Kaputa
0aa288386b
Merge pull request #1426 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-06-01 09:48:02 +02:00
Artem
f09d9c8de1
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/uk/
2022-06-01 09:47:49 +02:00
solokot
c6fb9654a3
Translated using Weblate (Russian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/ru/
2022-06-01 09:47:49 +02:00
Tibor Kaputa
f85ce88b48
Merge pull request #1427 from KryptKode/fix/recycle-bin-copy
fix: error when copying from recycle bin on SDK 31+
2022-06-01 09:47:44 +02:00
darthpaul
139a7a91af fix: error when copying from recycle bin on SDK 31+
- fix NoSuchElementException, thrown when copying files from the recycle bin on Android 12+ devices.
- only convert the paths to URIs needed for MediaStore.createWriteRequest  if the path is  not a recycle bin path
- add extension function FileDirItem.isRecycleBinPath for checking if a FileDirItem's path starts with the recycleBinPath to prevent duplication
2022-06-01 00:52:16 +01:00
tibbi
051b309919 improve the UX at deleting files from protected folders 2022-05-31 16:13:11 +02:00
tibbi
0761c710e4 fixing some spacing 2022-05-31 15:24:42 +02:00
Tibor Kaputa
0fd8ae14ac
Merge pull request #1425 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-05-29 22:20:44 +02:00
Júlia da Rosa
47cc27d1ad
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/pt_BR/
2022-05-29 22:18:54 +02:00
J. Lavoie
47998b4338
Translated using Weblate (Italian)
Currently translated at 99.8% (757 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/it/
2022-05-29 22:18:54 +02:00
J. Lavoie
c77e853514
Translated using Weblate (French)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/fr/
2022-05-29 22:18:54 +02:00
J. Lavoie
0141dc0e6a
Translated using Weblate (German)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/de/
2022-05-29 22:18:54 +02:00
Tibor Kaputa
fc0ba92b49
Merge pull request #1424 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-05-29 22:18:49 +02:00
Tibor Kaputa
f323dbc177
Update strings.xml 2022-05-29 22:18:38 +02:00
Tibor Kaputa
6bcba76110
Update strings.xml 2022-05-29 22:18:35 +02:00
Tibor Kaputa
c3dbd7f1f1
Update MyContactsContentProvider.kt 2022-05-29 22:18:17 +02:00
Weblate
0f9af3e305
Added translation using Weblate (English (United States)) 2022-05-27 21:08:40 +02:00
Weblate
e8f3e1e829
Added translation using Weblate (Bulgarian) 2022-05-27 20:52:52 +02:00
tibbi
1436c85a29
allow Simple Commons accessing private contacts too 2022-05-27 20:36:54 +02:00
tibbi
96657700f5 fixing the default widget background color 2022-05-27 20:36:49 +02:00
tibbi
0907d2e57f require SimpleContactsHelper.exists an own cursor 2022-05-27 18:36:36 +02:00
Tibor Kaputa
10c8ac2f1e
Merge pull request #1421 from sdex/check_contact_exists
Check if the number exists in the contacts and the private contacts
2022-05-27 16:55:41 +02:00
Mysochenko Yuriy
71ac1745e1 refactoring 2022-05-27 16:43:08 +03:00
Mysochenko Yuriy
8991542b20 check if the number exists in the contacts and the private contacts 2022-05-27 15:48:12 +03:00
Tibor Kaputa
38e9a846da
Merge pull request #1420 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-05-27 09:41:32 +02:00
Eric
fad6b6b1e6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/zh_Hans/
2022-05-27 04:19:20 +02:00
tibbi
59f709a2a8 adding a divider below the block unknown numbers check 2022-05-26 16:27:43 +02:00
Tibor Kaputa
1576fe8c5d
Merge pull request #1415 from sdex/add_block_unknown_numbers_setting
Add block unknown numbers setting
2022-05-26 16:23:16 +02:00
Tibor Kaputa
5b01226033
Merge pull request #1419 from KryptKode/fix/file_picker
add check to determine enforcing storage restrictions
2022-05-26 16:14:38 +02:00
darthpaul
25a7f9a5fc add check to determine enforcing storage restrictions
in FilePickerDialog,
- add new parameter enforceStorageRestrictions used to determine if to enforce storage restrictions  on SDK 30+ verifying path
- refactor  to use when statement in verifyPath
- extract repeated functionality for sending success in to sendSuccessForDocumentFile and sendSuccessForDirectFile
2022-05-26 10:37:04 +01:00
Mysochenko Yuriy
ffc9972f54 use checkbox to toggle blocking numbers 2022-05-26 08:51:38 +03:00
Mysochenko Yuriy
bfe424686b format code 2022-05-25 16:04:38 +03:00
Tibor Kaputa
2752395357
Merge pull request #1418 from pavelpoley/phone-number-class-refactor
PhoneNumber class changes
2022-05-25 11:38:11 +02:00
Pavel Poley
14916e6589 make isPrimary mutable 2022-05-25 12:29:54 +03:00
Mysochenko Yuriy
a1a004299b format code 2022-05-25 11:09:09 +03:00
Mysochenko Yuriy
3a7d1bb869 set title programmatically 2022-05-25 11:00:52 +03:00
Tibor Kaputa
828a5ee5d5
Merge pull request #1417 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2022-05-25 09:41:54 +02:00
Priit Jõerüüt
08b0620976
Translated using Weblate (Estonian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/et/
2022-05-25 09:39:39 +02:00
Eric
a182ca0e65
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/zh_Hans/
2022-05-25 09:39:39 +02:00
Artem
a3dab85ccf
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/uk/
2022-05-25 09:39:39 +02:00
Oğuz Ersen
ad5e86639e
Translated using Weblate (Turkish)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/tr/
2022-05-25 09:39:39 +02:00
solokot
1f1f1c9aa2
Translated using Weblate (Russian)
Currently translated at 100.0% (758 of 758 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/ru/
2022-05-25 09:39:39 +02:00