Commit graph

2684 commits

Author SHA1 Message Date
tibbi
c75f564a35 show a Recycle Bin folder on the main screen if not empty 2018-06-27 12:05:36 +02:00
tibbi
721890ce67 properly handle moving multiple items in the recycle bin too 2018-06-27 11:15:58 +02:00
tibbi
87fde0f813 lets just move the deleted file into the recycle bin when appropriate 2018-06-27 10:40:22 +02:00
tibbi
f7e7482fc8 add a new field to media, the timestamp of their move to recycle bin 2018-06-27 09:51:33 +02:00
tibbi
3468a9860b update the delete confirmation Dialog if we are using the recycle bin 2018-06-27 09:28:24 +02:00
tibbi
3bedb2282c update commons to 4.3.4 2018-06-26 23:54:32 +02:00
tibbi
97829e9840 update commons to 4.3.3 2018-06-26 23:25:18 +02:00
tibbi
d8a33f81d7 add a settings toggle for toggling recycle bin usage 2018-06-26 22:37:49 +02:00
tibbi
efc4e241ca add recycle bin to pinned folders by default 2018-06-26 16:14:51 +02:00
tibbi
3a7e93f095 do not allow clicking bottom actions if faded away 2018-06-26 14:43:39 +02:00
tibbi
e6980596a2 make db queries involving paths case insensitive 2018-06-25 00:11:35 +02:00
tibbi
85f478a7ef give Properties a higher priority at Menu items than Rename 2018-06-24 22:07:36 +02:00
tibbi
66962c3ec9 fix some recycler glitches at the directories view 2018-06-24 20:43:19 +02:00
tibbi
dfccdd4040 do not add group sections at horizontal scrolling for now 2018-06-24 19:44:55 +02:00
tibbi
73e5333eef recreate whole thumbnails view on toggling horizontal scroll 2018-06-24 19:24:22 +02:00
tibbi
2d8ab6647d recreate directories grid at changing sorting and filtering 2018-06-24 18:59:07 +02:00
tibbi
185e4dcb6c recalculate fastscroller position at measuring content 2018-06-24 18:31:31 +02:00
tibbi
8e4aa5b438 do not remeasure recyclerview size at column count change, we set it manually 2018-06-24 18:11:30 +02:00
tibbi
92fc3ec90c recreate the MediaAdapter in some extra cases 2018-06-24 18:07:01 +02:00
tibbi
d69351fa99 avoid doing any action on Search Collapsed during device rotation 2018-06-24 15:46:14 +02:00
unbranched
b9263cf090 Italian update 2018-06-24 15:34:40 +02:00
tibbi
f6231bf517 properly measure recyclerview content height when content changes 2018-06-23 09:41:26 +02:00
tibbi
e5da025335 remove an unused activity_splash layout file 2018-06-22 23:39:02 +02:00
tibbi
dc65539094 adding a FAQ item about thumbnail grouping 2018-06-22 22:38:04 +02:00
tibbi
b61e3b7d3d fix thumbnail grouping at Search 2018-06-22 21:37:09 +02:00
tibbi
cd79467ff6 avoid showing empty fastscroller bubble if the current item is a section 2018-06-22 21:18:39 +02:00
tibbi
8e1cd62c7c really disallow clicking on thumbnail section titles 2018-06-22 21:14:30 +02:00
tibbi
9520a25f62 do not allow clicking or long pressing thumbnail sections 2018-06-22 20:57:19 +02:00
tibbi
12ed9a66c1 group media right after fetching, while still on a background thread 2018-06-22 20:33:35 +02:00
tibbi
51182c5563 remove ThumbnailMedium, make Medium itself implement ThumbnailItem 2018-06-22 19:59:56 +02:00
tibbi
2decc73e39 fetch properly grouped and sorted items by ViewPager 2018-06-22 19:30:34 +02:00
tibbi
698f9b0c76 handle media grouping at the MediaActivity 2018-06-22 14:54:28 +02:00
tibbi
e759270019 rely on thumbnailItems at getting selected items at mediaadapter 2018-06-22 13:46:37 +02:00
tibbi
4617be2238 fix clicked medium type casting 2018-06-22 13:19:12 +02:00
tibbi
8cf0e9d7d4 clear mediumGroups before refilling it 2018-06-22 13:18:57 +02:00
tibbi
87ebadfdc6 avoid selecting section titles at thumbnails view 2018-06-22 12:24:43 +02:00
tibbi
2e178ad645 properly format section titles as appropriate 2018-06-22 11:16:56 +02:00
tibbi
2139b19ca8 make sure item group section titles span across the whole line 2018-06-22 11:16:45 +02:00
tibbi
5ca95e7e35 handle thumbnail section adding 2018-06-22 10:38:24 +02:00
tibbi
232073b227 create a ThumbnailItem parent class for media and sections 2018-06-22 10:25:24 +02:00
tibbi
9bfb83dba2 removing a helper function 2018-06-22 10:03:02 +02:00
tibbi
139e9fc06f renaming a function for getting folder grouping 2018-06-22 10:01:48 +02:00
tibbi
f47190b9e1 refresh media thumbnails if only the grouping changes 2018-06-21 23:48:50 +02:00
tibbi
2a23632333 sort medium groups appropriately 2018-06-21 23:41:34 +02:00
tibbi
e3fde0a6eb obtain the start of the day TS at grouping by date taken and last modified 2018-06-21 23:26:05 +02:00
tibbi
9eedf64c1b handle medium grouping at the MediaAdapter 2018-06-21 23:00:59 +02:00
tibbi
1a04a98040 fix fetching cached files at Show All Folders Content 2018-06-21 21:39:15 +02:00
tibbi
637913415b create a separate dialog for Group By for more flexibility 2018-06-21 21:26:09 +02:00
tibbi
05d37cbfcc add a dialog for selecting folder thumbnail grouping 2018-06-21 14:35:52 +02:00
tibbi
a374f40e92 use an empty path at ShowAll 2018-06-21 14:33:31 +02:00
tibbi
28f7d4eb6c adding some null checks 2018-06-21 09:06:25 +02:00
tibbi
a76c716173 add Favorites to release notes 2018-06-20 23:22:46 +02:00
tibbi
34da4cdec8 move the bottom actions a bit up 2018-06-20 23:12:09 +02:00
tibbi
283a8254dc avoid some folder operations on Favorites 2018-06-20 23:09:42 +02:00
tibbi
cc5bf379c4 hide some menu items at the Favorites folder 2018-06-20 22:42:53 +02:00
tibbi
8af3b1eee3 fix some Favorites glitches, try treating it more like other folders 2018-06-20 22:20:43 +02:00
tibbi
b81e1c2172 make sure we sort the Favorites properly 2018-06-20 21:55:41 +02:00
tibbi
d4fe872a3a make sure the Favorites folder is pinned by default 2018-06-20 21:49:54 +02:00
tibbi
cc5fbecabd do not store actual item array lists in adapters, pass clones only 2018-06-20 21:42:31 +02:00
tibbi
43a6ececba make sure Favorites folder is not shown twice 2018-06-20 21:40:10 +02:00
tibbi
40dc05602c allow batch favorite toggling by long pressing items 2018-06-20 21:09:51 +02:00
tibbi
e508030496 remove the path scanning at ViewPager activity 2018-06-20 20:47:08 +02:00
tibbi
5677367fbf adding a couple more Favorite improvements 2018-06-20 16:22:11 +02:00
tibbi
58877df88e couple improvements related to the Favorites folder 2018-06-20 15:44:39 +02:00
solokot
d7d222558d
Update strings.xml 2018-06-20 15:47:32 +03:00
tibbi
dce71ac166 optimize favorite item fetching, do not query it too often 2018-06-20 12:10:41 +02:00
tibbi
368ffd4b1d fix storing item Favorite state 2018-06-20 11:56:38 +02:00
tibbi
7336fc263d handle Toggle favorite icon updating 2018-06-19 23:34:36 +02:00
tibbi
8270aaa2f2 replace bottom actions Properties button with Add to favorites 2018-06-19 23:23:18 +02:00
tibbi
703aa7bbd1 adding a new Medium field isFavorite 2018-06-19 23:14:03 +02:00
tibbi
ddb8c98f0d properly retrieve date_taken from media files when appropriate 2018-06-19 21:42:02 +02:00
tibbi
ea16e43aa7 add an mUri null check at PhotoVideoActivity 2018-06-19 21:04:24 +02:00
gregory678
1498b82ae5
PL translation update [2018.06.18] 2018-06-18 20:43:03 +02:00
tibbi
64085b4e04 fix file filtering by type 2018-06-18 14:29:01 +02:00
tibbi
af0a3ac7f6 add RAW filtering at release notes 2018-06-18 14:13:44 +02:00
tibbi
061c7a5fae remove the white stroke from play/pause buttons 2018-06-18 09:22:03 +02:00
tibbi
d65045220d set bottom actions padding at devices without a navigation bar too 2018-06-18 09:10:08 +02:00
tibbi
6a216fc675 handle bottom button action presses at the PhotoVideo activity 2018-06-18 09:02:12 +02:00
tibbi
9aa8f553ca add the bottom action buttons to third party intent handling activity too 2018-06-17 23:52:03 +02:00
tibbi
026f80aa20 catch some Room db exceptions 2018-06-17 22:23:26 +02:00
tibbi
0258fc5e29 ignore ConcurrentModificationExceptions thrown at updating the directories 2018-06-17 22:02:52 +02:00
tibbi
875ba99dc0 catch IOExceptions at getting some file paths 2018-06-17 21:57:48 +02:00
tibbi
dddfea3b1e make cursor at retrieving Date Takens nullable 2018-06-17 21:54:44 +02:00
tibbi
79aa2306be make sure the play/pause button is hidden if the fragment isnt created at fullscreen 2018-06-17 21:32:35 +02:00
tibbi
7a38862e8c recalculate bottom actions position on orientation change 2018-06-17 21:30:51 +02:00
tibbi
b1136ed041 replace the Play icon with a Pause at playing videos 2018-06-17 21:28:44 +02:00
tibbi
39ec57787f recalculate video seekbar position if bottom actions get toggled 2018-06-17 21:07:38 +02:00
tibbi
02ce6bd11b make bottom actions work well with extended details 2018-06-17 20:11:29 +02:00
Guillaume
1147e012a7
Dutch 2018-06-17 17:31:06 +02:00
tibbi
1b008490a8 handle bottom action button clicks 2018-06-17 16:08:57 +02:00
tibbi
38397a71dd remove the option for replacing Share with Rotate at the fullscreen view 2018-06-17 15:52:18 +02:00
tibbi
a231a3af69 move bottom actions from fragments to the activity 2018-06-17 15:20:41 +02:00
tibbi
715b783a8a add some bottom shadow to fullscreen photos when Bottom Actions are enabled 2018-06-17 14:30:44 +02:00
tibbi
5de6eb9765 add a toggle for showing some fullscreen image actions at the bottom 2018-06-17 09:04:33 +02:00
tibbi
5062d3f087 fix #656, separate Images and Raws at filtering 2018-06-16 23:48:12 +02:00
tibbi
d2bac07abb remove a redundant check 2018-06-16 23:33:14 +02:00
tibbi
df9461a81b update commons to 4.2.2 2018-06-16 23:31:53 +02:00
tibbi
ec7a5482b5 adding 2 new strings 2018-06-16 22:09:48 +02:00
tibbi
f1b4391d93 update Commons with the recyclerview adapter, fix some inconsistency glitches 2018-06-16 21:50:55 +02:00
tibbi
132953c25a removing a redundant variable 2018-06-15 15:14:41 +02:00
tibbi
5c608de61b fix #786, do not request the pattern/pin/fp again after rotating the device 2018-06-15 15:05:42 +02:00
Solatec Informàtica
0671c0cf0a
Update strings.xml 2018-06-15 12:23:26 +02:00
tibbi
4a26bafaa8 update commons to 4.1.14 2018-06-14 23:02:36 +02:00
tibbi
347959b830 fix some visual glitches around fullscreen Extended details 2018-06-14 11:25:37 +02:00
tibbi
039d6fdfd5 fix #802, always use white text color at fullscreen extended details 2018-06-14 10:41:38 +02:00
tibbi
e88df331d9 reset Temp hidden item showing and Delete confirmation skipping on app start 2018-06-14 10:27:38 +02:00
tibbi
b80e02d14f fix #807, show a warning when deleting a folder 2018-06-14 10:23:10 +02:00
tibbi
284a12666f reset SkipDeleteConfirmation 5 mins after backgrounding 2018-06-14 09:43:34 +02:00
tibbi
564dd00762 add back the Main intent at splash activity 2018-06-12 12:09:36 +02:00
Tibor Kaputa
6f959dec6f
use the old app description 2018-06-05 09:35:16 +02:00
Tibor Kaputa
2efa0359e9
removing some whitespaces 2018-06-05 09:33:55 +02:00
Tibor Kaputa
18f6387b98
reverting some german app description translation 2018-06-05 09:33:14 +02:00
Jonas Schubert
9e63236ea6 Updated german translations 2018-06-04 22:25:41 +02:00
fricyo
faedde22b1
Update Translation 2018-06-04 17:52:50 +08:00
en2sv
209b11bc56
Update Swedish translation 2018-06-02 20:09:31 +02:00
tibbi
a417a20e11 create a list of folders that should be ignored (fake internal storage paths) 2018-06-02 15:39:37 +02:00
tibbi
702164e719 updating a spanish word 2018-05-31 18:37:35 +02:00
Tibor Kaputa
cdc5aa0cf7
Merge pull request #794 from Solatec/patch-14
Update strings.xml
2018-05-30 21:10:57 +02:00
Solatec Informàtica
4c7df4bd58
Update strings.xml 2018-05-30 20:47:17 +02:00
Solatec Informàtica
fe3a7c6f5e
Update strings.xml 2018-05-30 20:45:16 +02:00
gregory678
f95c19c1c6
Updates and fixes [2018.05.30] 2018-05-30 14:54:24 +02:00
Xosé M
fb7aff39c4 actualiza galego 2018-05-30 07:07:37 +02:00
solokot
5ccd592f26
Update strings.xml 2018-05-27 12:01:27 +03:00
tibbi
527fda18f9 make sure hidden folders have "(hidden)" appended 2018-05-26 17:04:34 +02:00
tibbi
70faf7e7cb always sort folder content by its sorting 2018-05-26 16:55:28 +02:00
tibbi
ad07068475 clone cached media/directories before sending them back to the app 2018-05-26 09:53:41 +02:00
tibbi
713ba852c2 properly append ("hidden") after folder names 2018-05-25 22:00:20 +02:00
tibbi
b8cd68ba63 add sorting by date taken in release notes 2018-05-25 20:32:49 +02:00
tibbi
2c2334dea3 persist Skip Delete Confirmation in the whole app launch session 2018-05-25 20:04:07 +02:00
tibbi
1bc335b29d adding a comment 2018-05-25 18:28:39 +02:00
tibbi
17a55bd606 get proper file Date Taken only when needed 2018-05-25 17:40:38 +02:00
Guillaume
7001d05bb2
Dutch 2018-05-25 16:56:42 +02:00
tibbi
c8819189ad adding back a deleted Dutch string translation 2018-05-25 16:50:22 +02:00
tibbi
82569b540f fetch date_taken only when needed 2018-05-25 16:48:48 +02:00
tibbi
049e2fd801 adding a new string for disabling file grouping 2018-05-25 12:27:11 +02:00
tibbi
3eab53744f adding some new strings related to grouping at "Show all folders content" 2018-05-25 12:18:02 +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
af6121ec63 removing an redundant argument 2018-05-25 11:11:28 +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
4e58f1e6c1 fix #770, reimplement sorting by date taken 2018-05-24 23:29:48 +02:00
tibbi
158fccfedd add back sorting by date taken at the dialog 2018-05-24 15:21:49 +02:00
tibbi
2bad1e2088 improve folder discovery after renaming 2018-05-24 15:21:22 +02:00
Tibor Kaputa
4248d87be5
Merge pull request #780 from VasilisKos/patch-1
Updated and corrected Greek translation
2018-05-24 12:37:09 +02:00
tibbi
0014546dcd improve file refreshing after rename 2018-05-24 12:35:19 +02:00
VasilisKos
7adac86f3a
Updated and corrected Greek translation 2018-05-24 13:34:05 +03:00
tibbi
519df9e8a1 removing a redundant function 2018-05-23 23:30:00 +02:00
tibbi
ff13f59d47 adding a string for grouping direct subfolders 2018-05-23 22:33:21 +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
Tibor Kaputa
79952e1360
escaping some apostrophes 2018-05-17 19:29:20 +02:00
Pierre49
6eda43f551
ajouter des chaînes françaises 2018-05-17 15:46:58 +02:00
tibbi
a1fdc2531d add another null check at obtaining the room database 2018-05-13 23:07:24 +02:00
tibbi
6e898e43b8 renaming the database variable 2018-05-13 23:02:31 +02:00
tibbi
cadd25d3bd add the launcher color customization in release notes 2018-05-13 21:49:51 +02:00
tibbi
6ca5191500 add some IndexOutOfBoundsException checks at adapters 2018-05-13 21:30:24 +02:00
tibbi
50ee6d5abb refresh items instantly after renaming 2018-05-13 21:23:11 +02:00
tibbi
d5c7a5a8ca make bundle nullable at saving state 2018-05-13 21:17:22 +02:00
tibbi
abaa1f2e08 update commons to 4.0.9 2018-05-13 21:14:55 +02:00
tibbi
d52c3df88f get proper path at returning a third party intent result 2018-05-13 11:33:51 +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
ca02223ab6 fix #768, do not show the loading spinning circle at initial launch 2018-05-12 23:31:23 +02:00
tibbi
860d801ede fix #769, set the result uri at crop intents just to be sure 2018-05-12 21:51:22 +02:00
tibbi
b5df2928f9 adding colored launcher icons 2018-05-12 21:00:07 +02:00
tibbi
72c61545d8 remeasure fastscroller if thumbnail data changes 2018-05-11 10:59:42 +02:00
tibbi
efd45ba4cc update commons to 4.0.3 2018-05-11 10:42:51 +02:00
10cents
9d24a69596
Corrections & new strings 2018-04-29 23:40:27 +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
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
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