Commit graph

8024 commits

Author SHA1 Message Date
darthpaul
b2d08c401e restore from recycle bin SDK 30+
- when file is on the root of Internal Storage or SD Card, change the destination to the /Pictures folder, we cannot write to the root of any volume on SDK 30+
- call handleSAFDialogSdk30, so users are prompted to allow SAF when restoring, if not previously allowed
- if there are conflicts, handle it as though it's a CONFLICT_KEEP_BOTH by appending some characters to the destination name
- add new string restore_to_path shown when restoring to /Pictures folder on SDK 30+ instead of the root folder
2022-04-11 16:23:14 +01:00
tibbi
04d135019c use the primary colors at fullscreen view material theme too 2022-04-10 20:31:35 +02:00
tibbi
f69ba7fb32 avoid showing a progress toast twice at fixing date taken value 2022-04-10 20:23:27 +02:00
tibbi
3e426148dd show edit and set_as menu buttons only if 1 item is selected 2022-04-10 20:14:42 +02:00
tibbi
75da7079ab removing some menu warnings 2022-04-10 20:12:46 +02:00
tibbi
36beff5214 updating commons 2022-04-10 20:10:19 +02:00
tibbi
72fe269b4b adding the ACCESS_MEDIA_LOCATION and MANAGE_MEDIA permissions 2022-04-10 18:11:31 +02:00
tibbi
96fb6a0e35 updating the photo editor, use light theme when appropriate 2022-04-10 17:52:37 +02:00
tibbi
b5dd6c8580 updating commons and gradle 2022-04-10 17:23:08 +02:00
tibbi
d7a52936b0 adding some shadow at the video player to ensure readability with white bg 2022-04-10 16:59:46 +02:00
tibbi
83881bfc06 make sure we use proper colors at PhotoVideoActivity too 2022-04-10 16:47:30 +02:00
tibbi
417a84f21a use proper menu colors at fullscreen view 2022-04-10 16:28:27 +02:00
tibbi
17610252c0 make sure we always use white system icons at fullscreen view 2022-04-10 16:21:32 +02:00
tibbi
27772d1922 lets update target SDK to 31 2022-04-10 12:15:35 +02:00
tibbi
39c568777b updating a string 2022-04-10 12:15:17 +02:00
Tibor Kaputa
631d7db3c0
Merge pull request #2404 from KryptKode/fix/rename_by_changing_case
fix renaming
2022-04-10 12:14:04 +02:00
darthpaul
519353cb04 change toast duration
- change the toast duration for when a user picks a folder restricted on SDK 30+ to Toast.LENGTH_LONG
2022-04-10 10:57:35 +01:00
darthpaul
fe49035966 Merge remote-tracking branch 'origin/fix/rename_by_changing_case' into fix/rename_by_changing_case 2022-04-10 10:56:11 +01:00
darthpaul
cebc9cdfda change toast duration
- change the toast duration for when a user cannot renamed files in the root of the SD Card to Toast.LENGTH_LONG
2022-04-10 10:55:49 +01:00
Paul
bfd4b930ec
Merge branch 'master' into fix/rename_by_changing_case 2022-04-10 10:49:10 +01:00
Tibor Kaputa
c3a71b8102
Merge pull request #2401 from KryptKode/fix/editor-sdk30+
SDK 30+ changes for Editor
2022-04-10 11:42:06 +02:00
Tibor Kaputa
7872c98c9b
Merge branch 'master' into fix/editor-sdk30+ 2022-04-10 11:37:55 +02:00
Tibor Kaputa
f80033d173
Merge pull request #2388 from weblate/weblate-simple-mobile-tools-simple-gallery
Translations update from Hosted Weblate
2022-04-10 11:36:35 +02:00
darthpaul
e1d8f601d7 fix renaming
- show error message when a user tries to rename a file on the root of the SD Card in ViewPagerActivity and MediaAdapter
- in PickDirectoryDialog, use the Activity.isAStorageRootFolder method instead of String.isBasePath
2022-04-10 09:56:21 +01:00
darthpaul
769040e3fb remove unused string for other languages 2022-04-10 08:31:56 +01:00
Paul
0e6b935fc5
Merge branch 'master' into fix/editor-sdk30+ 2022-04-09 23:42:17 +01:00
darthpaul
8da45dcfbb sdk 30+ changes
- handle WRITE_STORAGE permission in EditActivity
- in PickDirectoryDialog replace error message when users select a restricted system directory to R.string.system_folder_restriction
- in SaveDialog
    - if path is a restricted path, automatically change it to {CURRENT_VOLUME}/Pictures directory.
    - if there is conflict and the file is direct child of the Download folder, show the user a prompt to grant WRITE request permission
- remove unused string R.string.copy_to_restricted_folder_message
- in NewPhotoEditActivity and NewVideoEditActivity, only delete SD Card file on conflict for devices running lower than SDK 30
- update commons module
2022-04-09 23:34:52 +01:00
melintemarian
0a1ab26813
Translated using Weblate (Romanian)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/ro/
2022-04-08 13:12:57 +02:00
Xosé M
7d8b3d3d75
Translated using Weblate (Galician)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/gl/
2022-04-08 13:12:57 +02:00
melintemarian
cac4b16a15
Translated using Weblate (Romanian)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/ro/
2022-04-06 12:12:43 +02:00
GobinathAL
e19d1df5e5
Translated using Weblate (Tamil)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/ta/
2022-04-04 23:20:44 +02:00
Simon N
57e2dd3170
Translated using Weblate (Swedish)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/sv/
2022-04-04 23:20:44 +02:00
Simon N
ba86c06862
Translated using Weblate (Swedish)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/sv/
2022-04-04 23:20:44 +02:00
J. Lavoie
b410dedb24
Translated using Weblate (Italian)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/it/
2022-04-04 23:20:44 +02:00
J. Lavoie
8bce81850a
Translated using Weblate (French)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/fr/
2022-04-04 23:20:44 +02:00
J. Lavoie
bc45140e4a
Translated using Weblate (German)
Currently translated at 100.0% (339 of 339 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/de/
2022-04-04 23:20:44 +02:00
tibbi
2ea542b461 force white menu items at viewpager activity 2022-04-04 23:20:29 +02:00
tibbi
7eac78411e adding some preparation for Material You theme 2022-04-04 15:58:05 +02:00
tibbi
e262174e62 defining more activity Exported values 2022-04-04 15:43:25 +02:00
tibbi
75f8592940 adding a couple more Android 12 related fixes 2022-04-04 15:32:08 +02:00
tibbi
7b0476690c adding an "image" category to the app manifest 2022-04-03 22:37:03 +02:00
Tibor Kaputa
d74c84859a
Merge pull request #2393 from KryptKode/chore/update-commons
Update gallery with recent commons module
2022-03-31 07:22:51 +02:00
darthpaul
52693adbe6 Update gallery with recent commons module 2022-03-31 04:46:09 +01:00
tibbi
c4c5ce53ea adding 21:9 aspect ratio at cropping 2022-03-24 09:38:23 +01:00
tibbi
0a03658978 do not show root folder at storage picker dialog 2022-03-23 22:15:09 +01:00
tibbi
3ad371318e adding application_preferences intent to SettingsActivity 2022-03-21 20:24:29 +01:00
tibbi
fc2c0dbd86 updating commons 2022-03-20 22:39:04 +01:00
tibbi
7feffc9f61 updating the placeholder text for Android R+ 2022-03-20 20:41:45 +01:00
Tibor Kaputa
f0a124b925
Merge pull request #2380 from spkprs/patch-52
Update strings.xml
2022-03-19 22:58:02 +01:00
tibbi
733d05a568 updating commons 2022-03-19 22:26:01 +01:00