Commit graph

3174 commits

Author SHA1 Message Date
Ensar Sarajčić
3303a6d638 Migrate to viewbinding and kotlin gradle scripts
- Replaced kotlinx sythetic with viewbinding
- Updated kotlin from 1.7.10 to 1.9.0
- Updated Android Gradle Plugin to 8.1.0
2023-08-09 10:32:19 +02:00
Tibor Kaputa
b435494b03
Merge pull request #2925 from esensar/fix/1886-subfolder-grouping
Pre-fill parent folders when grouping subfolders
2023-08-02 11:45:32 +02:00
gmasil
c4a207fcfe
fix missing thumbnails for animated webp files 2023-08-01 16:20:24 +02:00
Ensar Sarajčić
430596b146 Pre-fill parent folders when grouping subfolders
This ensures that folders without media files
which have direct child folders with media don't get different treatment
during grouping. This should make subfolder grouping a bit more
predictable.
2023-07-31 17:18:47 +02:00
Ensar Sarajčić
a812239012 Revert "Make subfolder grouping follow file structure"
This reverts commit 11aa25ad45.
2023-07-31 10:03:44 +02:00
Ensar Sarajčić
669a0b5a96 Check parent folders too when displaying unhide warning 2023-07-25 10:45:13 +02:00
Tibor Kaputa
b9f762e1e4
Merge branch 'master' into fix/hiding-ux 2023-07-25 09:30:40 +02:00
Ensar Sarajčić
c8efdaa2f4 Add explanation for unhiding folders starting with . 2023-07-25 08:37:48 +02:00
fatih ergin
19a500f552 hide skip recycle bin option on delete dialog if file is already in recycle bin 2023-07-25 00:59:14 +03:00
Tibor Kaputa
bc85272855
Merge pull request #2909 from esensar/fix/2901-folder-move-copy-protection
Handle password protection when copying/moving folders
2023-07-24 12:51:52 +02:00
tibbi
272093f533 adding an empty line 2023-07-24 11:42:09 +02:00
tibbi
afb8c3b5ff Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2023-07-24 11:41:50 +02:00
Tibor Kaputa
e2ab0bd643
Merge pull request #2907 from esensar/exoplayer-media3-migration
Migrate to media3 exoplayer
2023-07-24 11:41:44 +02:00
Ensar Sarajčić
39b6f4bbaf Handle password protection when copying/moving folders
This changes copy and move handling to work similarly to delete.
It will ask for protection if single folder is selected and it will
ignore protected folders if multiple are selected.

This closes #2901
2023-07-24 09:54:26 +02:00
Ensar Sarajčić
566cbd8765 Fix an issue with inaccurate video resume
This closes #2750
2023-07-24 08:39:09 +02:00
Ensar Sarajčić
8aaab1eed3 Migrate to media3-exoplayer 2023-07-24 08:26:34 +02:00
tibbi
46be768a17 Merge branch 'fix/343-use-argb8888' of github.com:esensar/Simple-Gallery 2023-07-23 23:23:27 +02:00
yangfeng
a9210c5a1b fix: lack of import statement 2023-07-22 20:02:08 +08:00
Tibor Kaputa
762b712246
minor code style update 2023-07-21 21:33:13 +02:00
Ensar Sarajčić
16355a53a1 Disable hide/unhide options for filesystem hidden folders 2023-07-21 15:40:23 +02:00
Ensar Sarajčić
92ea6d8138 Always use ARGB_8888 to avoid artifacts in images
This closes #343
2023-07-21 15:27:07 +02:00
Ensar Sarajčić
11aa25ad45 Make subfolder grouping follow file structure
This changes subfolder grouping to follow file hierarchy
to prevent unreliable behavior with middle folders missing
media.

This fixes #1886
2023-07-21 11:16:24 +02:00
tibbi
0fcd1939b0 updating commons, kotlin, gradle 2023-07-10 23:40:48 +02:00
Tibor Kaputa
d45c371217
Merge pull request #2886 from Aga-C/fix-image-resizing
Fixed exception on image resizing (#2883)
2023-07-05 10:39:26 +02:00
fatih ergin
eb8c8f3201 replace outdated image cropper library with an up to date fork 2023-07-04 19:49:03 +03:00
Agnieszka C
ad5d192fb1 Fixed exception on image resizing (#2883) 2023-07-03 19:02:38 +02:00
fatih ergin
688cdece7d move last used copy path helpers to common 2023-06-25 12:53:41 +03:00
fatih ergin
ab6eb93394 rename copy path getter method for common usage & simplify copy path checks 2023-06-22 01:09:39 +03:00
fatih ergin
411c732fa8 remove useless function definition for copy path existency 2023-06-21 23:56:35 +03:00
fatih ergin
b84faf1763 remember last used copy destination on "Select destination" picker -> "Other folder" 2023-06-21 22:55:24 +03:00
fatih ergin
7f88bb8795 sort search results on folder picker dialog respecting to config.directorySorting 2023-06-21 22:34:09 +03:00
fatih ergin
343962bfca hide keyboard on switching to "Other folder" 2023-06-21 19:56:59 +03:00
fatih ergin
d7b29aa3f0 add search bar to folder picker at copy destination 2023-06-21 00:57:52 +03:00
fatih ergin
a8cd59a22d update exoplayer to v2.18.7 2023-06-19 00:12:02 +03:00
fatih ergin
71241ca110 make sure exoplayer is being accessed on the same thread.
exoplayer now forces to use a single application thread.
2023-06-18 23:30:00 +03:00
fatih ergin
116359c0c6 move last callback param of DeleteWithRememberDialog out of the parentheses for better readability 2023-06-18 13:08:01 +03:00
fatih ergin
8a79504e4b allow skipping recycle bin at deletion 2023-06-18 02:46:01 +03:00
tibbi
61dc80ed35 redesigning list item selection a bit 2023-06-12 12:37:46 +02:00
tibbi
11dd5ac501 make sure we dont try changing view visibility from the bg thread 2023-06-11 23:24:18 +02:00
tibbi
23f77ea19f move photo panorama check on a background thread 2023-06-08 19:07:32 +02:00
Naveen
761ebee77b
Rescan paths after updating modified time 2023-05-27 16:44:50 +05:30
Naveen
799689ab7e
Refresh items after resizing 2023-05-25 14:20:37 +05:30
Naveen
ad10f4123f
Only allow resizing multiple images with common parents
Otherwise we'll have to create multiple SAF dialogs which just isn't practical/tedious for the user. Users can still resize images without common parents if they grant "All Files" access
2023-05-24 04:53:15 +05:30
Naveen
295793c77f
Remove unused code 2023-05-24 04:34:36 +05:30
Naveen
591e5f09e9
Fix resizeImage() threading issue 2023-05-24 04:20:44 +05:30
Naveen
a1fca17516
Use plural string 2023-05-24 04:10:56 +05:30
Naveen
bdffa73d7d
Filter out other files as needed before resizing 2023-05-24 04:02:36 +05:30
Naveen
388037f6b5
Always do resize operation on background thread 2023-05-24 03:48:16 +05:30
Naveen
2919b36583
Remove unnecessary text view and error handling 2023-05-24 03:23:36 +05:30
Naveen
726e7c1649 Do processing on background thread 2023-05-24 02:31:14 +05:30