Commit graph

1448 commits

Author SHA1 Message Date
tibbi
cb5ac8510f delete medium from the local db on delete too 2018-04-20 21:37:15 +02:00
tibbi
ee07da6277 move some extension functions from Activity to Context 2018-04-20 21:11:12 +02:00
tibbi
1a5ec41f8b do not select ID at directories and media, for proper old/new comparing 2018-04-20 21:01:55 +02:00
tibbi
c17b58dc53 rely on Room db data at caching items 2018-04-20 15:34:17 +02:00
tibbi
244e29b437 remove the commented out function too 2018-04-20 14:55:14 +02:00
tibbi
d28b95290f remove the functions related to old checking if folder content changed 2018-04-20 14:54:34 +02:00
tibbi
73ac822661 handle deleting folders from local db 2018-04-20 13:20:44 +02:00
tibbi
5b8143d41e replace the Shared Prefs way of storing directories by Room 2018-04-20 12:35:40 +02:00
tibbi
236ceafe46 removing the install receiver used to fetch media right after installing 2018-04-20 11:55:51 +02:00
tibbi
b0afe92afb move the gallery database fetcher in a context extension 2018-04-20 11:52:26 +02:00
tibbi
73000aa611 store media parent paths too 2018-04-20 11:46:50 +02:00
tibbi
ce4ee915bb store media in a room db too 2018-04-20 11:01:01 +02:00
tibbi
30ce207b1f lets use Room for caching directories 2018-04-19 23:35:18 +02:00
tibbi
8db3a5007a fix #747, hide .nomedia folders only if Show Hidden is disabled 2018-04-15 08:47:07 +02:00
tibbi
870b8c6837 sublist directories at background update 2018-04-14 23:02:01 +02:00
tibbi
3fdce65fe0 use file absolute path instead of name at file signature 2018-04-14 22:29:23 +02:00
tibbi
6db0adced8 catch exceptions thrown at saving image rotation 2018-04-14 22:11:33 +02:00
tibbi
d8c17b8a80 do not unselect items at Edit intent 2018-04-14 22:10:12 +02:00
tibbi
c0d446a3a4 use better default file save path at Edit, if available 2018-04-14 21:58:26 +02:00
tibbi
093fe92596 fix path fetching from content uri at editing 2018-04-14 21:51:48 +02:00
tibbi
c0c7752f79 try getting real filename from content uri at Edit Activity 2018-04-14 21:31:31 +02:00
tibbi
e2f149eb3e hide folders that contain .nomedia file themselves 2018-04-14 16:19:23 +02:00
tibbi
26aa79294b remove sorting by date_taken while it doesnt work anyway 2018-04-13 22:54:53 +02:00
tibbi
2f1b545456 properly store the last filepicker path 2018-04-13 22:33:13 +02:00
tibbi
2a1484f28e delay updating media adapter a bit 2018-04-12 21:35:18 +02:00
tibbi
51f0d87638 improve file signature by getting its name too 2018-04-12 20:50:02 +02:00
tibbi
ce3ce0bec0 show how many items are going to be deleted on the confirmation dialog 2018-04-12 20:19:21 +02:00
tibbi
e67517dd4c handle null file parent in some cases 2018-04-12 19:21:23 +02:00
tibbi
ee1df9ebbb reenable new folder deleting, if it was left empty 2018-04-10 20:36:17 +02:00
tibbi
2bd20c5d98 fix #735, remember last selected folder at adding excluded ones 2018-04-10 20:19:15 +02:00
tibbi
842df6b54c fix #722, show hidden files only when appropriate 2018-04-10 20:10:50 +02:00
tibbi
91f1efac31 renaming cur to cursor 2018-04-10 19:52:23 +02:00
tibbi
a73a61907c do not sort the media files immediately at fetching from mediastore 2018-04-10 15:36:15 +02:00
tibbi
f6ee61a224 remove some redundant code at gettig media by directories 2018-04-10 15:10:51 +02:00
tibbi
75eb8c789a rework the way media files are fetched 2018-04-10 13:45:01 +02:00
tibbi
d2a6d2cb88 properly make the Included folders check recursive 2018-04-09 21:51:28 +02:00
tibbi
1a163ce56a make nomedia check recursive at DirectoryAdapter 2018-04-09 21:39:12 +02:00
tibbi
79dfab5efa fix hiding folders when Show Hidden Items is disabled 2018-04-09 14:28:11 +02:00
tibbi
2b37c315f1 make renaming folders quicker 2018-04-09 14:09:42 +02:00
tibbi
d91228eedf adding a couple improvements related to un/hiding folders 2018-04-09 14:04:42 +02:00
tibbi
71127d45d1 try un/hiding nomedia folders immediately after updating 2018-04-09 11:27:20 +02:00
tibbi
b6d24492ed remove hidden folders instantly, do not refetch everything 2018-04-09 00:00:03 +02:00
tibbi
0271af9c55 update directories instantly after renaming, do not refetch everything 2018-04-08 23:14:25 +02:00
tibbi
f1fe2028d5 do not ever append explicitly included folders with "(hidden)" 2018-04-08 22:40:29 +02:00
tibbi
7888de7b52 fix #728, fix excluding multiple folders at once 2018-04-08 22:06:20 +02:00
tibbi
b1c6006e18 fix #732, delay automatic fullscreen animation a bit to make it smoother 2018-04-08 21:00:27 +02:00
tibbi
ac3e79c15b comment out new app announcement 2018-04-08 19:15:07 +02:00
tibbi
6f361a7296 updating Commons to 3.17.23, use image rotating functions from there 2018-04-01 15:24:56 +02:00
tibbi
b97ab1d795 notify some users about the Clock app 2018-03-30 23:39:00 +02:00
tibbi
4c865de301 update commons to 3.17.16 with some cosmetic code changes 2018-03-30 23:32:37 +02:00
tibbi
2515edee44 remove the explicit scanning of screenshots folder 2018-03-30 21:57:07 +02:00
tibbi
0a1939969e comment out new file scanning again 2018-03-30 21:51:20 +02:00
tibbi
bef5474182 create clones of arraylists at updating thumbnails 2018-03-30 21:36:57 +02:00
tibbi
6ac6109d5e update commons to 3.17.14 2018-03-30 18:49:29 +02:00
tibbi
b1ac75e3d5 stop fetching directories in onDestroy 2018-03-24 10:01:06 +01:00
tibbi
33e4ca5d16 remove the Download folder from the explicitly included ones 2018-03-23 10:48:18 +01:00
tibbi
6eeece124a couple edits to URI obtaining at Edit activity 2018-03-22 15:43:27 +01:00
tibbi
f8a4e68a1f add an extra activity existing check at trying to reload bitmap 2018-03-22 15:16:09 +01:00
tibbi
5468baf513 try scanning Screenshots and Downloads folders thoroughly 2018-03-22 15:12:20 +01:00
tibbi
be3c8a7b89 use incasesensitive checking at included/excluded paths 2018-03-22 15:11:22 +01:00
tibbi
2acc6d01b9 use incasesensitive comparison at Downloads folder obtaining 2018-03-22 15:05:28 +01:00
tibbi
3b14330b5d temporarily comment out deleting of newly created folders 2018-03-22 14:10:38 +01:00
tibbi
91819ba354 update commons to 3.16.12 2018-03-21 23:26:12 +01:00
tibbi
ca97779f5d try not scanning files from explicitly included folders 2018-03-17 18:19:33 +01:00
tibbi
aea0329867 reenable the new files search 2018-03-17 17:04:17 +01:00
tibbi
039d73dde8 fixing a crash at checking image load fail reason 2018-03-16 15:08:08 +01:00
tibbi
199a0a2407 add image cropping in FAQ 2018-03-16 11:40:13 +01:00
tibbi
aaec6926fd comment out the Simple Contacts announcement 2018-03-15 23:43:41 +01:00
tibbi
a8c4b93fb5 update stored directories if a file is deleted from the thumbnails view 2018-03-15 23:36:34 +01:00
tibbi
fa201e6524 avoid 2 checkLastMediaChanged reseting each other 2018-03-15 23:16:12 +01:00
tibbi
e68392b1e4 recheck folder content if we notice that it changed 2018-03-15 22:57:28 +01:00
tibbi
5c0f33f38f trim folder slashes before updating their items 2018-03-15 22:03:12 +01:00
tibbi
0552c12d17 update stored folder items after deleting 2018-03-15 21:59:35 +01:00
tibbi
7ebc110ac8 rescan and cache destination path after copy 2018-03-15 21:49:58 +01:00
tibbi
42bd31f38b limit the cached folders size to 60 just to be sure 2018-03-15 21:28:30 +01:00
tibbi
e6b11a80b1 check latest media date id too at fetching new files 2018-03-15 19:31:04 +01:00
tibbi
64b4fdece3 create the bitmap at saving rotated image only when necessary 2018-03-15 19:15:55 +01:00
tibbi
67c9f875ae move the EXIF rotating attempt in a separate function 2018-03-15 18:58:21 +01:00
tibbi
5a4a35f6d2 rotate SD card files by exif when possible 2018-03-15 18:55:16 +01:00
tibbi
ac08320bc4 rotate images on the internal storage more efficiently, by modifying exif 2018-03-15 18:14:47 +01:00
tibbi
26963ffd43 rename gif_view to photo_view 2018-03-14 23:14:56 +01:00
tibbi
4c70706d49 try loading images in half resolution if they fail because of out of memory 2018-03-14 23:01:45 +01:00
tibbi
a6ef2f71e1 remove an extra slash added at toggling file visibility 2018-03-14 22:22:10 +01:00
tibbi
949c4ce7dc fix #695, fix a glitch with visible extended details, when they shouldnt be 2018-03-14 00:19:40 +01:00
tibbi
e9638d5152 fix #697, add a minimum video skip length of 2 seconds, for short videos 2018-03-14 00:05:00 +01:00
tibbi
bc36bc1ade disable new file search to check if that is the one deleting files 2018-03-13 23:42:03 +01:00
tibbi
c9dba5ac5b update commons to 3.15.16 2018-03-13 23:41:21 +01:00
tibbi
443aa9449b rescan only paths which arent in mediastore yet 2018-03-03 16:45:10 +01:00
tibbi
7dc0cb660c show a dialog about Simple Contacts under some circumstances 2018-03-02 19:23:26 +01:00
tibbi
1e3296fce1 fix #674, properly handle video progressbar padding on device rotations 2018-03-02 17:31:18 +01:00
tibbi
8a0dd4592b fix #683, make nomedia file checking more precise 2018-03-02 17:23:38 +01:00
tibbi
3949db6583 do not stop fetching directories on pause 2018-03-02 17:21:55 +01:00
tibbi
f4a445dba5 properly check nomedia files at ViewPagerActivity 2018-03-02 17:18:45 +01:00
tibbi
063406a471 update commons to 3.14.6 2018-03-02 17:14:37 +01:00
tibbi
39b4677887 use some helper functions for hiding/showing keyboard at dialogs 2018-03-02 16:53:34 +01:00
tibbi
119276672a properly play videos if their filename contains a colon 2018-02-25 13:43:25 +01:00
tibbi
b8dd4bd5ab fix copying whole folders on the internal storage 2018-02-25 09:43:10 +01:00
tibbi
6e31046b99 add the 2 new toggles in the release notes 2018-02-25 00:11:42 +01:00
tibbi
97236d6ed2 always refresh viewpager when successfully returning from the editor 2018-02-24 20:16:03 +01:00
tibbi
a5372f97a3 add a switch for toggling Pull-to-refresh 2018-02-24 00:21:46 +01:00