Commit graph

2817 commits

Author SHA1 Message Date
tibbi
a0cf205c8c check new media every couple seconds 2018-04-26 15:42:14 +02:00
tibbi
d83df54a41 copy hidden files only when they are visible 2018-04-26 15:11:28 +02:00
tibbi
71a378d5bd fix copying folders from OTG devices 2018-04-26 14:53:20 +02:00
tibbi
a24050c98d make sure folder inclusion is recursive on OTG too 2018-04-26 13:59:24 +02:00
tibbi
c0f600c451 do not refresh media thumbnails twice 2018-04-26 11:54:39 +02:00
tibbi
7600fa68b4 improve file deleting from thumbnails view 2018-04-26 11:51:17 +02:00
tibbi
be54d59bd0 properly look for empty OTG folders too 2018-04-26 11:30:58 +02:00
tibbi
617412a3bc check invalid directories as the last thing on the new thread 2018-04-26 10:49:26 +02:00
tibbi
bb943daf38 remove a directory from local db if it is empty 2018-04-26 10:46:35 +02:00
tibbi
d2e2e315e1 make sure we filter out empty folders 2018-04-26 10:35:32 +02:00
tibbi
db278b4aa2 add another extra check to avoid showing duplicate folders 2018-04-26 09:48:05 +02:00
tibbi
9aade59c07 destroy the Gallery database instance only if the user exits the app 2018-04-26 09:41:15 +02:00
tibbi
688b0e2624 add an extra check to avoid showing duplicate folders 2018-04-25 23:59:17 +02:00
tibbi
b4f44df183 avoid showing the same folder twice, with different casing 2018-04-25 23:41:44 +02:00
tibbi
e2fa9646d9 update commons to 3.19.20 2018-04-25 23:01:23 +02:00
tibbi
957545ab4d update version to 3.8.1 2018-04-24 23:59:36 +02:00
tibbi
240ed10586 update commons to 3.19.18 2018-04-24 23:55:47 +02:00
tibbi
55d7ccfe03 fix saving rotated otg files 2018-04-24 22:19:11 +02:00
tibbi
68412e8480 do not allow opening the freshly created folder while empty 2018-04-24 21:53:41 +02:00
tibbi
3f097a409b couple improvements related to saving edited images 2018-04-24 21:44:47 +02:00
tibbi
bfc1d3d0fd show a toast when deleting the empty new folder 2018-04-24 21:44:10 +02:00
tibbi
0b5005e0d0 couple SaveAs dialog related fixes 2018-04-24 19:02:55 +02:00
tibbi
0148465e75 ignore REAL_FILE_PATH on OTG files 2018-04-24 17:54:11 +02:00
tibbi
bab2b4e5a0 check null folder children at DirectoryAdapter 2018-04-24 17:47:24 +02:00
tibbi
6464c7eee4 try adding OTG automatically once 2018-04-24 17:08:41 +02:00
tibbi
cb17ab5b97 make sure the directory placeholder is visible only when appropriate 2018-04-24 15:01:24 +02:00
tibbi
ddfbdaa275 look for invalid directories after loading 2018-04-24 14:54:28 +02:00
tibbi
f963274942 ignore files with null name 2018-04-24 14:34:51 +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
db2e0dc776 disable Pull-to-refresh automatically at enabling horizontal scroll 2018-04-24 10:36:50 +02:00
tibbi
5d756b5a60 change the way allowBubbleDisplay is set on resume 2018-04-24 10:34:21 +02:00
tibbi
e2fe74ea33 flip getImage and getVideo arguments at getMedia async task 2018-04-24 10:12:49 +02:00
tibbi
bd077cba8c disable media pull-to-refresh while Search is open 2018-04-24 10:04:49 +02:00
tibbi
b56d4d6600 do not try parsing media files of empty lists 2018-04-24 09:55:41 +02:00
tibbi
b4e1e0c097 remove mDirs from the MainActivity 2018-04-24 09:42:13 +02:00
tibbi
0762918673 fix switching between grid and list view types 2018-04-24 09:35:31 +02:00
tibbi
49b1a24089 do not show the No Media placeholders at first run 2018-04-24 09:30:51 +02:00
tibbi
24f14fffc4 remove GetDirectoriesAsynctask 2018-04-23 23:35:07 +02:00
tibbi
cde57f35b8 store new images from refresh_media broadcast in the local db 2018-04-23 23:05:57 +02:00
tibbi
a6437181cb rewrite the way directories are fetched 2018-04-23 22:43:01 +02:00
tibbi
8399b4fccd refactoring MediaFetcher once again 2018-04-23 16:50:17 +02:00
tibbi
cfa2f82066 small code cleanup at MediaFetcher 2018-04-23 16:42:45 +02:00
tibbi
64fe17d1b9 store fetched media in db right after getting folders 2018-04-23 16:16:46 +02:00
tibbi
a4f62ffcd9 recheck cached folders at startup one by one 2018-04-23 16:05:54 +02:00
tibbi
4f724786b2 fix media inserting ConcurrentModificationException in a proper way 2018-04-23 13:31:26 +02:00
tibbi
3aaa17a02d fixing a couple crashes 2018-04-23 10:10:34 +02:00
tibbi
a75a50358a update version to 3.8.0 2018-04-22 23:47:04 +02:00
tibbi
470a0c5ea2 update commons to 3.19.9 2018-04-22 23:46:57 +02:00
tibbi
508a3b8b19 removing the unused GlideDecoder class 2018-04-22 23:35:53 +02:00
tibbi
4949744677 update commons to 3.19.8 2018-04-22 23:35:08 +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
b0a26d0bd8 update UI at picker dialogs from the main thread 2018-04-22 22:08:27 +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
7f17aeda71 refresh media thumbnails instantly after changing sorting or filtering 2018-04-22 10:39:00 +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
d479baa625 refresh media instantly after toggling Temporarily show hidden too 2018-04-21 23:21:45 +02:00
tibbi
ab589c52cf refresh directories at toggling Temporarily show hidden immediately 2018-04-21 23:18:43 +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
anthologist
716e623af2 italian update 2018-04-21 11:24:16 +02:00
10cents
3aa5f8216a
New file - da 2018-04-20 23:21:34 +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
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
d0ba3314ad update commons to 3.19.4 2018-04-19 13:49:27 +02:00
tibbi
28bdb3efb8 update image cropper to 2.7.0 2018-04-18 22:15:18 +02:00
Sérgio Marques
508a97ad2b
Update strings.xml 2018-04-16 21:19:23 +00:00
tibbi
c8c00fbfbe move the LT strings in proper folder 2018-04-16 09:32:24 +02:00
tibbi
99b39d0559 update version to 3.7.3 2018-04-15 08:48:09 +02:00
tibbi
8db3a5007a fix #747, hide .nomedia folders only if Show Hidden is disabled 2018-04-15 08:47:07 +02:00
tibbi
6503cb34a3 update version to 3.7.2 2018-04-14 23:06:20 +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
en2sv
a959e42483
Update Swedish translation 2018-04-14 20:19:02 +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