Commit graph

2142 commits

Author SHA1 Message Date
tibbi
1cf6480695 update commons to 2.33.8 2017-10-29 20:01:35 +01:00
tibbi
4c80ba98fb move a couple more intent handling to the Commons library 2017-10-29 19:08:45 +01:00
tibbi
437390cfa3 create a shareUris extension for sharing multiple media 2017-10-29 18:37:38 +01:00
tibbi
02dfcd63c0 reuse shareUri at shareMedium 2017-10-29 18:35:08 +01:00
tibbi
73856e6769 reuse the OpenFile intent handling from Commons 2017-10-29 18:28:28 +01:00
tibbi
972a1d4a39 show Properties button at PhotoVideoActivity only with file content uri 2017-10-29 12:51:04 +01:00
tibbi
809d9b81a2 some corrections to loading gifs 2017-10-29 12:27:26 +01:00
tibbi
b421dc273f replace MEDIUM constant with PATH in some intents 2017-10-29 11:41:31 +01:00
tibbi
d52eb60611 use REAL_FILE_PATH from the commons library 2017-10-29 11:26:14 +01:00
tibbi
b154ee77ed update commons to 2.33.1 2017-10-29 10:34:44 +01:00
tibbi
96a5ead186 make mUri in PhotoVideoActivity nullable 2017-10-29 10:34:37 +01:00
tibbi
de1c418f78 catch exceptions thrown at getting mimetype from uri 2017-10-29 10:29:57 +01:00
Guillaume
b966b79b73
New string 2017-10-29 05:55:11 +01:00
tibbi
fc7626d297 update version to 2.17.0 2017-10-28 22:05:04 +02:00
tibbi
4f2b05c2a0 adding the new toggle to Whats New 2017-10-28 22:04:53 +02:00
tibbi
788885227a added a fake drag check at slideshow 2017-10-28 22:02:17 +02:00
tibbi
4d913527f5 update commons to 2.33.0 2017-10-28 21:51:23 +02:00
tibbi
1dad41fdf7 show an error if the user tries sharing too much data 2017-10-28 19:56:33 +02:00
tibbi
75c9d28547 make sure the video fragment still exists when the video completes 2017-10-28 19:05:51 +02:00
tibbi
883e3ad6c1 add a check if the owner file from extended details exists 2017-10-28 19:04:30 +02:00
tibbi
b1019af51b fix #320, make orientation by "Device rotation" less sensitive 2017-10-28 18:39:26 +02:00
tibbi
049d84e054 update commons to 2.32.12 2017-10-28 18:39:04 +02:00
tibbi
7390a02589 remove some redundant imports 2017-10-28 17:55:36 +02:00
tibbi
05dfced1bc add a toggle in Settings to set keeping last-modified value 2017-10-28 17:50:50 +02:00
tibbi
729eb36ca5 do not set videoFragment visibility to false on pause 2017-10-28 16:22:44 +02:00
tibbi
f3eec9135c add a string for keeping old last-modified at copy/move/rename 2017-10-28 14:16:40 +02:00
tibbi
977edc1f34 some cleanup around thumbnail loading 2017-10-28 14:11:01 +02:00
tibbi
4b4869e845 init the viewpager orientation listener earlier 2017-10-28 13:46:53 +02:00
tibbi
4fedc05571 use GifDrawables at thumbnails too 2017-10-28 13:27:50 +02:00
tibbi
1c3aab82ff use a simple ImageView at photo fragments 2017-10-28 12:56:57 +02:00
tibbi
286955ab83 replace PhotoView with GifDrawable
it will replace zoomable gifs with smooth gifs
2017-10-28 11:02:02 +02:00
Tibor Kaputa
05386e4720
Merge pull request #415 from ltGuillaume/master
Dutch: 1 correction (string was too long)
2017-10-28 09:08:27 +02:00
Guillaume
9468a00657
1 correction (was too long) 2017-10-28 05:45:30 +02:00
tibbi
84263a3b10 never force chooser at Edit intent 2017-10-27 14:08:50 +02:00
tibbi
c9f6668fc1 force an app chooser at some openFile intents 2017-10-27 14:08:33 +02:00
tibbi
b6a266d436 always set saveUri at editor activity 2017-10-27 14:02:11 +02:00
tibbi
b3427c57ab adding a properties menu button to photovideoactivity 2017-10-27 11:47:00 +02:00
tibbi
0b352f1bc0 add a null check to intent extras at photovideoactivity 2017-10-27 10:56:36 +02:00
tibbi
c520c8c557 send real filepath as an extra with View intent 2017-10-27 10:54:49 +02:00
tibbi
4c0b773e94 handle sd card files with the fileprovider too 2017-10-27 10:40:21 +02:00
tibbi
98bee4022e replace sending real_file_path with extra_output at the editor 2017-10-27 10:34:16 +02:00
tibbi
f0af8777a3 send the real file path with edit intent 2017-10-27 10:07:58 +02:00
tibbi
b98b6e6cb9 add Set As to the media thumbnails view 2017-10-27 09:36:41 +02:00
tibbi
8e8c0b127d add an Open With menu button to media thumbnails view 2017-10-27 09:33:17 +02:00
tibbi
fa2a237593 update target SDK to 26 and handle fileprovider 2017-10-26 23:43:13 +02:00
tibbi
8686022c89 set initial mIsFragmentVisible to true at third party intents 2017-10-26 17:24:52 +02:00
Sérgio Marques
1d3ac6afb9 Update strings.xml 2017-10-26 13:28:01 +01:00
tibbi
7f10f67c7b fix #386, automatically append "_1" after the filename when saving in editor 2017-10-26 10:10:11 +02:00
tibbi
8e99cd5364 update commons to 2.32.0 2017-10-26 09:34:26 +02:00
tibbi
65f147bc01 updating Show Media Count german trnaslation 2017-10-25 22:06:34 +02:00
tibbi
e8645f34b7 use a color constant for setting adaptive icon background color 2017-10-25 17:57:10 +02:00
Tibor Kaputa
8f9688ec18 Merge pull request #410 from fiepi/master
add oreo adaptive icon
2017-10-25 17:54:28 +02:00
Tibor Kaputa
57be5717a1 do not update the build tools and compile sdk version 2017-10-25 17:54:18 +02:00
fiepi
ed74780a50 back target sdk 23 2017-10-25 22:57:04 +08:00
Tibor Kaputa
67e0616fd6 Merge pull request #409 from gcalzo/patch-1
Update strings.xml
2017-10-25 15:45:53 +02:00
Guillaume
c6c0fe9236 Dutch translation 2017-10-25 13:44:20 +02:00
fiepi
ba014d3293 add oreo adaptive icon 2017-10-25 18:17:58 +08:00
gcalzo
f3d1feb141 Update strings.xml
Translated the newest strings
2017-10-25 11:27:52 +02:00
tibbi
4220d32bfc remove a double closing tag at polish translation 2017-10-25 09:38:22 +02:00
gregory678
0140d222dd Updates for 2.16 2017-10-25 00:28:28 +02:00
tibbi
b225e2a5e5 updated version to 2.16.1 2017-10-24 23:39:35 +02:00
tibbi
54515b47d8 adding the Folder media count toggle to Whats new 2017-10-24 23:36:44 +02:00
tibbi
fc9cb75652 update commons to 2.31.11 2017-10-24 23:33:15 +02:00
tibbi
3e7d67a3a2 update commons, use our custom map for determining file mimetype 2017-10-24 22:57:04 +02:00
tibbi
7ad578ec2e make sure we are selecting existing indexes at media and directory adapters 2017-10-24 22:20:50 +02:00
tibbi
498cd10ba6 add a medium null check at scrollStateChanged trigger 2017-10-24 21:53:28 +02:00
tibbi
aca83d7fad hide the Extended details if text is empty 2017-10-24 21:18:33 +02:00
tibbi
06b3c728ce no need to update last modified manually afer renaming on internal storage 2017-10-23 23:52:37 +02:00
tibbi
baed126550 fix some video playback issues on Android 7 2017-10-23 21:30:24 +02:00
tibbi
012e091349 minor code cleanup at videofragment 2017-10-23 19:39:43 +02:00
Pzqqt
a866014deb Update strings.xml 2017-10-24 01:16:52 +08:00
tibbi
5cd3fdf57f implement the Show Media Count toggle functionality 2017-10-23 17:26:33 +02:00
tibbi
2a2b77fc6b add a string for toggling media count visibility on main screen 2017-10-23 17:04:44 +02:00
tibbi
11e60390cf revert a chinese translation, it messes the string order
This reverts commit 83d4e75f0e.
2017-10-23 17:03:20 +02:00
tibbi
208d005139 update commons to 2.31.1 2017-10-23 12:09:55 +02:00
Tibor Kaputa
d8d11f3ebc Merge branch 'master' into patch-6 2017-10-23 08:42:50 +02:00
Rodrigo
4738d83340 Update strings.xml 2017-10-22 23:29:46 -02:00
Rodrigo
c39ad62fbf Update strings.xml 2017-10-22 23:10:55 -02:00
tibbi
608292a357 update Commons and use its way of getting mimetype of multiple uris 2017-10-22 22:57:53 +02:00
tibbi
a4b24a7deb update Commons for easy runtime permissions handling 2017-10-21 19:40:46 +02:00
xin
38e978a024 Update French translation 2017-10-21 11:18:52 +00:00
tibbi
801c7329f5 updating some German strings 2017-10-20 23:30:34 +02:00
Pzqqt
f0d46fbf76 New chinese translation for v2.16.0 2017-10-20 23:30:30 +08:00
Pzqqt
83d4e75f0e Chinese translation for v2.16.0 2017-10-20 23:14:45 +08:00
tibbi
8759de0227 update commons to 2.30.4 2017-10-19 21:48:16 +02:00
tibbi
e23154d79c update version to 2.16.0 2017-10-19 21:32:22 +02:00
tibbi
f2538baceb updating release notes 2017-10-19 21:31:23 +02:00
tibbi
a8169c4128 update commons to 2.30.1 2017-10-19 21:26:37 +02:00
tibbi
0400612f86 replace some GlobalLayoutListeners with the helper view extension 2017-10-19 21:24:32 +02:00
tibbi
fd6f709aac add a variable name for delete confirmation callback return value 2017-10-19 21:07:24 +02:00
tibbi
0c408f6cf0 add a checkbox for skiping confirmation dialog at delete in a session 2017-10-19 21:03:19 +02:00
tibbi
5441457611 do not finish the actionmode right after a delete attempt, because of saf 2017-10-19 20:25:56 +02:00
tibbi
1d56b2ac8b show a more specific error message when creating .nomedia file fails 2017-10-19 19:18:36 +02:00
tibbi
2dbbc2bbdb add an extra check at creating .nomedia file on the SD card 2017-10-19 19:13:12 +02:00
tibbi
7132e09047 allow selecting Cover photo from any folder 2017-10-19 18:08:37 +02:00
tibbi
021a1cbf74 rewrite the mediapicker dialog, make it work like picking directories 2017-10-19 17:24:14 +02:00
tibbi
906168c6b5 filter out videos from directory cover images immediately 2017-10-19 17:05:59 +02:00
tibbi
ebe0ed68fd update commons to 2.30.0 2017-10-19 16:55:31 +02:00
tibbi
199dbb8cd3 adding some glide related proguard rules 2017-10-19 16:06:54 +02:00
tibbi
7fe9a27b84 fix #141, properly handle extended details view at toggling fullscreen 2017-10-19 15:49:27 +02:00
tibbi
bb9b194d2c recheck extended details if some fields changed 2017-10-19 14:17:38 +02:00
tibbi
d78068d697 display only the wanted extended details fields 2017-10-19 14:14:09 +02:00
tibbi
3f008960de add the dialog for customizing extended details 2017-10-18 23:38:35 +02:00
tibbi
3fffe1eef1 properly show/hide extended details after toggle 2017-10-18 22:00:27 +02:00
tibbi
2e339f08e4 show extended details at photos/videos if appropriate 2017-10-18 21:54:08 +02:00
tibbi
90e3d6c6f5 add a toggle for showing extended details over fullscreen media 2017-10-18 19:34:31 +02:00
tibbi
3033f611a1 allow sorting items by path 2017-10-18 17:56:14 +02:00
tibbi
f85fc7c20b update commons to 2.29.18 2017-10-18 17:42:30 +02:00
tibbi
f015984385 remove a Directory helper function addSize 2017-10-18 17:41:20 +02:00
tibbi
e9cc985206 update Commons to 2.29.17 to update Glide to 4.2.0 2017-10-18 17:33:43 +02:00
Sérgio Marques
d0aca1024c Update strings.xml 2017-10-15 23:10:58 +01:00
datzuma
678d8b2d8e Added Finnish translations 2017-10-14 19:32:37 +03:00
xin
9f1e41d471 Update French translation 2017-10-13 16:51:13 +00:00
ameneghello
589b0d3a75 Updated italian 2017-10-11 16:08:34 +02:00
tibbi
5547679004 improve the hack for proper displaying of media on Android 4 2017-10-07 16:58:56 +02:00
tibbi
0286df5102 update version to 2.15.2 2017-10-06 18:22:39 +02:00
tibbi
f48d408b18 lets show SD card images to Android 4 users too 2017-10-06 18:20:13 +02:00
tibbi
51fb913d0c update Commons and Build tools 2017-10-06 18:00:39 +02:00
tibbi
15fddac3b1 try making the Included Folders placeholders clearer 2017-10-05 22:03:32 +02:00
tibbi
71fa5ec235 minor style update 2017-10-05 19:12:04 +02:00
tibbi
9af74b9096 fetch storage paths asap 2017-10-04 19:27:32 +02:00
tibbi
dd9bef298f minor code cleanup 2017-10-04 19:03:43 +02:00
tibbi
c2ea3ad4bb stop media fetching on pause only if its not our first time there 2017-10-04 18:53:45 +02:00
tibbi
56f513beca fix a glitch at allowing adding multiple items to an email attachment 2017-10-03 20:40:07 +02:00
tibbi
fa7b95e0af fix displaying some special cases of third party images, like Bluemail attachment 2017-10-03 20:29:26 +02:00
solokot
a7bfe814c9 Update strings.xml 2017-10-03 17:08:26 +03:00
solokot
95cfb01828 Update strings.xml 2017-10-03 16:43:27 +03:00
tibbi
74edee735a fix #381, handle media pick intents in Show All Folders content view 2017-10-02 22:47:23 +02:00
tibbi
4203939d62 fix #378, allow adding multiple items as email attachments 2017-10-02 18:27:42 +02:00
gregory678
1d9fadf58e Updates and fixes for 2.15.1 2017-10-02 12:44:26 +02:00
tibbi
0ef76d857c update version to 2.15.1 2017-10-01 09:34:03 +02:00
tibbi
cd75718d56 try adding missing media files in the mediastore by scanning it 2017-10-01 09:16:31 +02:00
tibbi
3a0579c2e8 update commons to 2.29.0 2017-10-01 08:16:00 +02:00
tibbi
cd9f3912e0 update version to 2.15.0 2017-10-01 00:10:36 +02:00
tibbi
95f26a13cf updating Whats new 2017-10-01 00:07:22 +02:00
tibbi
80b6279f83 fix some layout manager glitch at list view with horizontal scrolling 2017-10-01 00:03:17 +02:00
tibbi
e4b77eacb0 fixing some fastscroller glitches 2017-09-30 23:56:28 +02:00
tibbi
6e6af530bf do not clear mMedia if the intent came from the gallery itself 2017-09-30 23:39:04 +02:00
tibbi
b7cb6a5364 make viewPager nullable during fake drag 2017-09-30 22:55:25 +02:00
tibbi
0ef9ff06bf refresh directories instantly after un/pinning 2017-09-30 22:33:58 +02:00
tibbi
5c7dfb87be stop media fetching on the calling activity pause 2017-09-30 22:23:28 +02:00
tibbi
7cc1a9ce17 move the media fetching related functions in a separate class 2017-09-30 22:06:32 +02:00
tibbi
1390d9541c try caching 100 items per folder, up from 40 2017-09-30 21:05:20 +02:00
tibbi
e67253ccae clear selection at folders and media, if content changes 2017-09-30 21:04:21 +02:00
tibbi
50a693d5e6 do not trigger click event at swiping at videos 2017-09-30 20:49:08 +02:00
tibbi
3d674c65ba properly update text color at list view, if it changes 2017-09-30 20:32:58 +02:00
tibbi
73bcad0f68 try using adapterPosition instead of layoutPosition in recyclerView adapters 2017-09-30 20:24:18 +02:00
tibbi
16eb8cde3f update kotlin to 1.1.51 2017-09-30 18:07:26 +02:00
tibbi
99da56deec use a different video icon at list view, without fill 2017-09-29 23:54:23 +02:00
tibbi
1cd68fe9a0 color icons and texts in list views appropriately 2017-09-29 23:46:09 +02:00
tibbi
d89ebec57a remove a redundant function 2017-09-29 23:28:55 +02:00
tibbi
c8c09e0911 add the list view type handling in media activity 2017-09-29 23:22:52 +02:00
tibbi
216e51beff rename photo_video_item to photo_video_item_grid 2017-09-29 22:52:30 +02:00
tibbi
d7eaaa070d show folder path at the list view 2017-09-29 21:57:24 +02:00
tibbi
9947d661a3 refresh the folders at changing view type 2017-09-29 21:47:27 +02:00
tibbi
da00ed8422 add a divider between folders 2017-09-29 21:31:12 +02:00
tibbi
2ee425e21d couple UI updates to the directory list view 2017-09-29 20:24:35 +02:00
tibbi
c9e355eecf adding an initial implementation of directory_item_list 2017-09-28 23:17:53 +02:00
tibbi
2eabff531b hide the menu buttons for changing column count at list views 2017-09-28 21:55:33 +02:00
tibbi
5e733a44c3 use the directory grid view by default 2017-09-28 21:51:14 +02:00
tibbi
74d179f86d minor code style updates 2017-09-28 21:48:08 +02:00
tibbi
9c5c359e4d rename directory_item to directory_item_grid 2017-09-28 21:28:42 +02:00
tibbi
fc3565129d add the dialogs for changing the view type 2017-09-28 21:04:24 +02:00
tibbi
33a4b81279 replace lastModified mediaitem checking with latest media date taken 2017-09-27 23:58:30 +02:00
tibbi
373e06c98f ignore the root folders at fetching media 2017-09-27 23:10:14 +02:00
tibbi
dfdfd88941 fix #181, add fingerprint protection to hidden folder showing 2017-09-27 21:50:42 +02:00
tibbi
80f6df5e29 do not autosave rotated images, related to #372 2017-09-25 23:53:15 +02:00
tibbi
64f8d37544 fix #370, make sure only the proper items are shown in "All media" view 2017-09-25 23:26:26 +02:00
tibbi
d8811d66b8 move some media getting functions in Context extensions 2017-09-25 23:19:17 +02:00
tibbi
fcad1f6fa5 properly hide hidden folders 2017-09-25 23:01:02 +02:00
tibbi
c242f74f9b fix some glitches with incasesensitive paths at directories 2017-09-25 22:55:22 +02:00
tibbi
417c1169f8 just quickly resort directories at sorting change, when possible 2017-09-25 22:34:58 +02:00
tibbi
0da84f2958 change the way directories are grouped and sorted 2017-09-25 21:04:09 +02:00
tibbi
9d9866c1d2 use simple asynctask execute() at fetching directories 2017-09-25 20:42:47 +02:00
tibbi
7a653ec0c6 some code style update at the Directory and Medium classes 2017-09-24 22:51:03 +02:00
tibbi
2640f99e22 update kotlin to 1.1.50 2017-09-23 12:15:41 +02:00
tibbi
faf0aba579 update commons to 2.28.4 2017-09-23 12:15:26 +02:00
tibbi
d3d160ccdc updating some Japanese strings 2017-09-23 10:33:16 +02:00
tibbi
c314d3dad7 updating some Frech string styling 2017-09-20 23:50:28 +02:00
Unknown
11068f5d75 Update Japanese translation 2017-09-20 00:57:38 +09:00
tibbi
aa16084192 use layoutPosition at directory and media adapters 2017-09-18 20:25:03 +02:00
tibbi
07429c7009 update version to 2.14.4 (132) 2017-09-18 10:32:07 +02:00
tibbi
6ed100e204 do not use GlideDecoder at SubsamplingScaleImageView for now 2017-09-18 10:31:45 +02:00
tibbi
de264466fe update version to 2.14.3 2017-09-17 23:05:52 +02:00
tibbi
3c01cb9fb6 update commons to 2.28.0 2017-09-17 22:21:29 +02:00
Tibor Kaputa
4e5b843f7d Merge pull request #366 from anthologist/master
Updated italian
2017-09-17 11:28:22 +02:00
anthologist
fc3363987e Updated italian 2017-09-17 11:25:00 +02:00
tibbi
56a31e6ced fix #326, properly set bottom padding in landscape mode videos 2017-09-17 11:17:51 +02:00
tibbi
2fe1f91c87 moving a toast further 2017-09-17 11:07:14 +02:00
tibbi
ae6ea422ac change the way we get layout position in adapters 2017-09-17 10:50:23 +02:00
tibbi
a64195750f remove some visual glitches at horizontally swiping at the folder thumbnails 2017-09-16 22:31:00 +02:00
tibbi
ea74fcf2c4 disable swipe-to-refresh in horizontal scrolling 2017-09-16 22:13:15 +02:00
tibbi
9247b51194 lets not toast errors if loading fullscreen media fails 2017-09-16 20:37:18 +02:00
tibbi
f7e7d83382 do not force ARGB_8888 format at fullscreen media 2017-09-16 20:20:43 +02:00
tibbi
d09acabdc3 use match_parent height at directories grid 2017-09-16 20:20:25 +02:00
tibbi
8f8dd04920 simplify the squareImageView creation 2017-09-15 23:22:33 +02:00
tibbi
6f3fd675e2 remove some empty spaces 2017-09-15 15:48:18 +02:00
tibbi
0af594ee0b use glide rotate transformation only when needed 2017-09-14 15:40:33 +02:00
Sérgio Marques
7539bf3552 Update strings.xml 2017-09-13 21:29:16 +01:00
tibbi
0ba5262f00 update version to 2.14.2 (130) 2017-09-11 22:47:06 +02:00