Commit graph

247 commits

Author SHA1 Message Date
tibbi
527fda18f9 make sure hidden folders have "(hidden)" appended 2018-05-26 17:04:34 +02:00
tibbi
ad07068475 clone cached media/directories before sending them back to the app 2018-05-26 09:53:41 +02:00
tibbi
c4ef4a69b9 make really sure that only the proper folders are shown at Show All Folders Content 2018-05-25 11:54:37 +02:00
tibbi
5c60fc4e21 remove the folder static sorting variable too 2018-05-25 10:17:41 +02:00
tibbi
83c72d2918 remove the static variable holding the media sorting 2018-05-25 10:08:44 +02:00
tibbi
2bad1e2088 improve folder discovery after renaming 2018-05-24 15:21:22 +02:00
tibbi
41ab8d4d6b fix #774, avoid showing Excluded images at Show All Folders Content 2018-05-23 13:52:09 +02:00
tibbi
49e376e2ec renaming GalleryDataBase to GalleryDatabase 2018-05-18 12:16:22 +02:00
tibbi
1b474d66f3 fix #765, avoid showing hidden items when inappropriate at Show All Folders 2018-05-12 23:55:40 +02:00
tibbi
16e5529375 improve folder Distinction to avoid showing duplicate folders 2018-04-29 09:24:20 +02:00
tibbi
7b2a3d6365 avoid deleting newly created temporary folder too early 2018-04-26 16:08:20 +02:00
tibbi
a24050c98d make sure folder inclusion is recursive on OTG too 2018-04-26 13:59:24 +02:00
tibbi
688b0e2624 add an extra check to avoid showing duplicate folders 2018-04-25 23:59:17 +02:00
tibbi
ddfbdaa275 look for invalid directories after loading 2018-04-24 14:54:28 +02:00
tibbi
d4f81d3437 use the more advanced way of checking if a file exists 2018-04-24 14:32:21 +02:00
tibbi
85a0a69599 show an icon at the folder for OTG devices too 2018-04-24 13:15:41 +02:00
tibbi
a6437181cb rewrite the way directories are fetched 2018-04-23 22:43:01 +02:00
tibbi
a4f62ffcd9 recheck cached folders at startup one by one 2018-04-23 16:05:54 +02:00
tibbi
04ab018a32 make sure New Folder appears first on the list 2018-04-22 23:15:57 +02:00
tibbi
8ff9e7f6ad fix some Rename related glitches 2018-04-22 23:08:36 +02:00
tibbi
302a7842c4 fetch all stored media files at "Show all folders content" 2018-04-22 22:17:40 +02:00
tibbi
37c31f813b make sure only the appropriate media files are shown at third party intents 2018-04-22 22:01:05 +02:00
tibbi
d0f4f0d403 rename some media type related constants 2018-04-22 20:16:02 +02:00
tibbi
2eaff8568f properly filter cached directories by file type shown 2018-04-22 20:01:48 +02:00
tibbi
8af103d98c filter cached media by type too 2018-04-22 10:32:13 +02:00
tibbi
a90f48889d do the hidden file filtering right inside getCachedMedia 2018-04-22 10:20:32 +02:00
tibbi
570e471dec display cached dirs and media only when appropriate 2018-04-21 23:15:31 +02:00
tibbi
e237afe916 update directories if one is renamed 2018-04-21 22:49:29 +02:00
tibbi
f08fd48d1f properly handle deleting not existing directories from local db 2018-04-21 22:23:42 +02:00
tibbi
0039591a53 properly update files after renaming in the local database 2018-04-21 22:19:27 +02:00
tibbi
af7108fd12 remove the old way of caching media files 2018-04-20 22:21:00 +02:00
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
c17b58dc53 rely on Room db data at caching items 2018-04-20 15:34:17 +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
b0afe92afb move the gallery database fetcher in a context extension 2018-04-20 11:52:26 +02:00
tibbi
30ce207b1f lets use Room for caching directories 2018-04-19 23:35:18 +02:00
tibbi
3fdce65fe0 use file absolute path instead of name at file signature 2018-04-14 22:29:23 +02:00
tibbi
51f0d87638 improve file signature by getting its name too 2018-04-12 20:50:02 +02:00
tibbi
f6ee61a224 remove some redundant code at gettig media by directories 2018-04-10 15:10:51 +02:00
tibbi
d2a6d2cb88 properly make the Included folders check recursive 2018-04-09 21:51:28 +02:00
tibbi
d91228eedf adding a couple improvements related to un/hiding folders 2018-04-09 14:04:42 +02:00
tibbi
b6d24492ed remove hidden folders instantly, do not refetch everything 2018-04-09 00:00:03 +02:00
tibbi
6ac6109d5e update commons to 3.17.14 2018-03-30 18:49:29 +02:00
tibbi
2acc6d01b9 use incasesensitive comparison at Downloads folder obtaining 2018-03-22 15:05:28 +01:00
tibbi
199a0a2407 add image cropping in FAQ 2018-03-16 11:40:13 +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
7ebc110ac8 rescan and cache destination path after copy 2018-03-15 21:49:58 +01:00
tibbi
a6ef2f71e1 remove an extra slash added at toggling file visibility 2018-03-14 22:22:10 +01:00