Commit graph

414 commits

Author SHA1 Message Date
tibbi
75405a1413 make sure the dialogs are cancelable by clicking outside 2016-12-04 14:58:13 +01:00
tibbi
3eb48cb3b1 remember the scroll state when browsing between folders 2016-12-04 00:29:55 +01:00
tibbi
7c1ede4f4a add some non null assertion 2016-12-03 23:47:12 +01:00
tibbi
6d7363fced dont always recreate the list, just update the items 2016-12-03 23:44:42 +01:00
tibbi
b7b0eb463a lets actually allow deleting folders 2016-12-03 23:38:57 +01:00
tibbi
46999432d9 avoid deleting whole sd card content by mistake 2016-12-03 22:48:54 +01:00
naofum
371baa2893 Updated Japanese 2016-11-30 23:39:46 +09:00
tibbi
0d5199a298 added Spanish translation to app description 2016-11-28 21:33:54 +01:00
Sérgio Marques
18a5bb8b34 Fix typo 2016-11-26 15:45:07 +00:00
Sérgio Marques
d8d2252e25 Portuguese update 2016-11-26 15:44:19 +00:00
tibbi
96d85ef4bd adding playstore strings 2016-11-24 23:39:12 +01:00
tibbi
7e31883818 updating the Spanish translation 2016-11-22 21:26:35 +01:00
tibbi
d1823072a9 update filepicker to 1.5.2 2016-11-22 21:25:21 +01:00
tibbi
756ff2dd2d use android.app.AlertDialog for dialogs so they are styled properly 2016-11-22 21:04:39 +01:00
tibbi
83647b0e8f remove Long extension 2016-11-20 23:13:27 +01:00
tibbi
d0c424e904 update kotlin to 1.0.5-2 2016-11-20 23:10:36 +01:00
tibbi
9a555cc2f9 add copy/move 2016-11-20 23:06:24 +01:00
tibbi
9ea00c32f2 small touchlistener update 2016-11-20 22:54:21 +01:00
tibbi
205a6d26d5 add deleting 2016-11-20 22:35:32 +01:00
tibbi
037d0108d4 add renaming 2016-11-20 22:20:49 +01:00
tibbi
5848c68dbe remove an unneeded line 2016-11-20 21:57:29 +01:00
tibbi
cdb60a4341 make sure only the proper items are selected 2016-11-20 21:54:45 +01:00
tibbi
732fca704c add file sharing 2016-11-20 21:37:08 +01:00
tibbi
6e88949363 add properties dialog 2016-11-20 19:12:11 +01:00
tibbi
7115330e97 adding kotlin license 2016-11-20 18:22:06 +01:00
tibbi
701fb8f0e9 replace butterknife license with the BigNerdRanch multiselector 2016-11-20 17:45:02 +01:00
tibbi
e6815ed959 allow selecting multiple items 2016-11-20 17:27:54 +01:00
tibbi
978b74adc1 change the files listview to recyclerview 2016-11-20 16:55:46 +01:00
tibbi
9d9b987abf update filepicker to 1.5.0 + minor cleanup 2016-11-20 16:45:38 +01:00
tibbi
5a76dd5db2 convert ItemsFragment to kotlin 2016-11-20 16:25:49 +01:00
tibbi
f5257a0c8a adding Spanish translation 2016-11-19 11:49:43 +01:00
tibbi
bebb7c8824 refresh the list at copy too 2016-11-17 17:41:11 +01:00
tibbi
f4f2adde24 editing renameItemDialog style so its not that indented 2016-11-17 17:06:19 +01:00
tibbi
24b56c9360 fix #26, crashes at scanning modified files 2016-11-15 20:09:14 +01:00
tibbi
66968bb623 simplify the config creation 2016-11-14 18:55:17 +01:00
tibbi
bdfc472f84 convert Constants to kotlin 2016-11-13 18:31:23 +01:00
tibbi
f2e1d559ae move Utils in the proper folder 2016-11-13 18:25:37 +01:00
tibbi
ded29d555c move the new config to the proper place 2016-11-13 17:50:00 +01:00
tibbi
58578ee36d convert config to kotlin 2016-11-13 17:44:19 +01:00
Sérgio Marques
7212bd7b69 Update strings.xml 2016-11-13 11:17:02 +00:00
tibbi
8b5d031e85 add filepicker and fileproperties licenses 2016-11-13 12:10:36 +01:00
tibbi
ea5e918ea4 convert aboutactivity to kotlin 2016-11-13 12:06:25 +01:00
tibbi
b08e62ff66 fix an italian string 2016-11-12 23:32:32 +01:00
tibbi
0f9af2ba0b remove an unused function 2016-11-12 23:29:00 +01:00
tibbi
21a5f8d685 let the user know if some files couldnt be copied / moved 2016-11-12 21:47:01 +01:00
tibbi
e556a9cdec interface renaming 2016-11-12 19:52:00 +01:00
tibbi
c66c86f04c updating a copy dialog initialization 2016-11-12 19:10:40 +01:00
tibbi
aad62d56ae use the copytask from filepicker library 2016-11-12 19:03:20 +01:00
tibbi
2055e9701b Merge branch 'master' of github.com:SimpleMobileTools/Simple-File-Manager 2016-11-12 17:50:05 +01:00
tibbi
868a76f137 update the copy/move process a bit 2016-11-12 17:49:23 +01:00
anthologist
d3c52b2e52 Update strings.xml 2016-11-12 17:23:15 +01:00
tibbi
44465393f5 update a write permissions check 2016-11-12 16:45:46 +01:00
tibbi
4f582b1bc2 use the extension function for scanning files 2016-11-12 16:38:25 +01:00
tibbi
624fa69e80 fix #22, remove some unused properties strings 2016-11-12 16:31:42 +01:00
tibbi
a6d3d4f814 Merge branch 'master' of github.com:SimpleMobileTools/Simple-File-Manager 2016-11-12 16:27:03 +01:00
tibbi
3812023561 small Utils cleanup 2016-11-12 16:26:42 +01:00
Sérgio Marques
ed2a06fe7a Update strings.xml 2016-11-12 15:15:39 +00:00
tibbi
065de047b3 move some helper functions in SimpleActivity 2016-11-12 16:03:25 +01:00
tibbi
7d30c4ec9a convert 3 simple activity to kotlin 2016-11-12 15:55:38 +01:00
tibbi
8d3b54b661 remove the custom write permissions dialog 2016-11-12 15:45:55 +01:00
tibbi
7ab4c01010 replace some functions with extension helpers 2016-11-12 15:43:06 +01:00
tibbi
75231e8f9b update filepicker to 1.3.15 2016-11-12 15:42:47 +01:00
tibbi
d8a91f1301 a minor Move correction 2016-11-11 22:56:17 +01:00
tibbi
227ef72786 some Portuguese corrections 2016-11-11 22:47:16 +01:00
tibbi
888d2758b6 correcting a function 2016-11-11 22:45:26 +01:00
tibbi
1d8c45643f move a couple helper function to extensions 2016-11-11 22:40:12 +01:00
tibbi
5569bd06b5 a few more Move adjustments 2016-11-11 21:09:31 +01:00
tibbi
7b4a6b401d use Rename at Move if the source and destination are on the same storage 2016-11-11 20:14:34 +01:00
tibbi
2222c88650 couple copy adjustments 2016-11-11 19:15:24 +01:00
tibbi
08338f3d7a show a success toast after successufull copy 2016-11-11 18:39:29 +01:00
tibbi
36d31ba0ce remove a file.canwrite() check, it doesnt work properly 2016-11-11 18:38:17 +01:00
tibbi
0f3bb7334e humanize the paths displayed at the copy dialog 2016-11-11 18:29:53 +01:00
Sérgio Marques
ed5458a808 Portuguese update 2016-11-10 00:02:30 +00:00
tibbi
3ce7d682b6 simplify the copydialog constructor 2016-11-08 22:00:42 +01:00
tibbi
59fa340c5a fix some file operations without having SD card 2016-11-07 23:54:35 +01:00
tibbi
71b027ccfb add some more characters to allowed file names 2016-11-06 23:29:47 +01:00
tibbi
485c5bad56 allow brackets at filenames 2016-11-06 21:18:45 +01:00
tibbi
b7cbb833fb remove the optional mustBeWritable parameter from the file picker 2016-11-06 17:48:10 +01:00
tibbi
abe00f6368 add a dialog prefix to the write permission layout 2016-11-06 16:24:32 +01:00
tibbi
1818beefa3 add a missing id 2016-11-06 15:45:29 +01:00
tibbi
60a8f1f054 fix copying multiple items 2016-11-05 23:35:01 +01:00
tibbi
ac1991c887 fix copy dialog title 2016-11-05 23:29:25 +01:00
tibbi
2057c14dea check the new permission at copying to SD card 2016-11-05 22:56:29 +01:00
tibbi
62a665493f check if destination file already exists 2016-11-05 22:20:11 +01:00
tibbi
44e268b441 add an image about the Kitkat new write permission thing 2016-11-05 22:07:04 +01:00
tibbi
479c3c6c4e ensure there is no duplicate '/' at copy path 2016-11-05 20:50:19 +01:00
tibbi
ff23ac8da6 if paths are on different storage at Move, lets just copy 2016-11-05 20:45:41 +01:00
tibbi
119db82a16 use renaming instead of Move only if both paths are on same storage 2016-11-05 20:40:29 +01:00
tibbi
1de7985652 do not allow copying items in themselves 2016-11-05 20:27:19 +01:00
tibbi
5b79b025ce fix recursive copying 2016-11-05 20:23:32 +01:00
tibbi
2422b0fd53 adding missing function params 2016-11-05 19:37:44 +01:00
tibbi
7d08cd8653 add directory copying on SD card 2016-11-05 19:37:03 +01:00
tibbi
f8e855ec15 fix copying files to sd card 2016-11-05 19:14:28 +01:00
tibbi
68e5b4cf79 convert CopyTask to kotlin 2016-11-05 18:52:31 +01:00
tibbi
ccbed84377 do not require a writable folder at the copy tasks FilePickerDIalog 2016-11-05 18:39:44 +01:00
tibbi
8354107091 correct file/directory creating on sd cards 2016-11-05 18:22:26 +01:00
tibbi
4b56761751 correct deleting files on SD card 2016-11-05 18:06:55 +01:00
tibbi
20fb58ddbe create a helper function for getting the documentfile 2016-11-05 17:58:27 +01:00
tibbi
b6cd6e39eb fix file renaming on sd card 2016-11-05 16:33:32 +01:00
tibbi
b3e0dceff6 check android version too ad editing SD card content 2016-11-05 16:09:01 +01:00
tibbi
e511702fd5 add a check for writing to SD card for Android 5+ 2016-11-05 15:54:24 +01:00
tibbi
8849f56c10 convert Utils to kotlin 2016-11-05 14:10:56 +01:00
tibbi
0ff6db0bb3 remove some nontranslatable strings from the italian translation 2016-11-03 21:58:55 +01:00
tibbi
187dc0647c fix #19, wrong dialog title 2016-11-03 21:56:08 +01:00
tibbi
c3a2aba66a use the FileProperties dialog from bintray 2016-11-03 21:53:39 +01:00
tibbi
b0727ac19c readd the italian translation fixes 2016-11-01 18:43:13 +01:00
tibbi
39346c0bec update filepicker to 1.3.3 2016-10-30 20:20:22 +01:00
tibbi
261ed5eeac remove the option to show the full path 2016-10-30 19:11:06 +01:00
tibbi
b425ab9a34 allow changing the storage in the main activity 2016-10-30 17:49:27 +01:00
tibbi
b1c9822179 request WRITE_EXTERNAL_STORAGE + cleanup 2016-10-30 17:35:32 +01:00
tibbi
22b3c3f5cc convert MainActivity to kotlin 2016-10-30 17:30:12 +01:00
tibbi
e96bbfb127 update filepicker to 1.3.0 2016-10-30 17:21:48 +01:00
tibbi
3dbd198628 move CopyDialog in a separate file 2016-10-30 14:12:24 +01:00
tibbi
78b14915a4 use the main constructor at CreateNewItemDialog 2016-10-30 11:48:21 +01:00
tibbi
10d9653560 move the rename dialog in a separate file 2016-10-30 11:42:35 +01:00
tibbi
ee059eb319 update icons once more to make them brighter 2016-10-29 11:16:58 +02:00
tibbi
18bd64f273 update the directory and file icons so they are visible in dark theme 2016-10-29 10:58:46 +02:00
tibbi
895ca43502 let Glide handle filetype and icon, to improve the scroll performance 2016-10-28 23:51:27 +02:00
tibbi
8f4dd6e282 show a different toast for missing new item name 2016-10-28 23:21:48 +02:00
tibbi
6a2841a48e move CreateNewItem dialog into an own file 2016-10-28 23:19:02 +02:00
tibbi
5be76578a4 updating filepicker to 1.1.0 2016-10-28 20:16:40 +02:00
tibbi
d3666b13e7 use the new FilePicker for selecting the folder 2016-10-25 20:12:09 +02:00
tibbi
7eeda1a2af include the filepicker project via gradle 2016-10-25 19:07:02 +02:00
mueller-ma
2d3e69479a Update strings.xml 2016-10-25 11:28:58 +02:00
mueller-ma
2f69117057 Translated some strings to german 2016-10-25 10:32:31 +02:00
tibbi
72ac444ceb add artist and album to audios and videos if available 2016-10-16 23:44:46 +02:00
tibbi
3badc5432c display the path, size and total files cnt at multiple items selected 2016-10-16 22:44:09 +02:00
tibbi
592b9c1f70 show an empty dialog at pressing Properties with multiple items selected 2016-10-16 22:19:48 +02:00
tibbi
1b4ff76566 display the Properties menu button at multiple items selected too 2016-10-16 22:15:26 +02:00
tibbi
3d123098a9 simplify the properties dialog title by always saying "Properties" 2016-10-16 21:49:54 +02:00
tibbi
5cbc13885a move the Last modified date and time formatting to an extension 2016-10-16 21:44:01 +02:00
tibbi
7571ffc124 do not show the filename at full file path 2016-10-16 21:38:38 +02:00
tibbi
48454140f2 lets require only a file path, instead of FileDir for getting the properties 2016-10-16 21:37:06 +02:00
tibbi
d55df91c6c remove the duplicate top margin at properties dialog 2016-10-16 21:25:23 +02:00
tibbi
64462670cd change last modified format to use dots 2016-10-16 21:14:41 +02:00
tibbi
2b726248de inflate all property items as needed 2016-10-16 21:13:48 +02:00
tibbi
b4f22ae877 do not count hidden items size if we are not showing them 2016-10-16 20:20:58 +02:00
tibbi
86126e48c2 reset the scroll state at toggling displaying hidden items 2016-10-16 19:58:13 +02:00
tibbi
82018feee6 rewrite PropertiesDialog to not be a dialogfragment 2016-10-16 19:56:55 +02:00
tibbi
faf721a9b1 handle gif and video thumbnails too 2016-10-16 19:30:00 +02:00
tibbi
81a4dd0621 display a photo thumbnail at images 2016-10-16 19:13:05 +02:00
tibbi
4b80fbd26b simplify some property getting 2016-10-16 19:07:38 +02:00
tibbi
f866f01ddf display video resolution at videos 2016-10-16 17:53:02 +02:00
tibbi
259ec1a0e7 rename resolution to imageResolution 2016-10-16 17:47:18 +02:00
tibbi
23eb81b056 reduce the paddings between property items 2016-10-16 17:47:05 +02:00
tibbi
10b29b13b0 display duration of audio and video files 2016-10-16 17:38:55 +02:00
tibbi
6aaca003a9 add a couple more helper functions about files 2016-10-16 17:32:48 +02:00
tibbi
61dee85c0d save and restore the lists scroll state 2016-10-16 17:02:19 +02:00
tibbi
b45e526fa7 display image resolution at the properties dialog 2016-10-16 16:19:34 +02:00
tibbi
fd00b26f9b add a helper function to determine if the file is an image 2016-10-16 15:58:44 +02:00
tibbi
424ca7dfb5 simply the properties dialog 2016-10-16 15:48:31 +02:00
tibbi
93f3fafd58 properly display the size of files in the properties dialog 2016-10-16 15:25:31 +02:00
tibbi
b3c619c28d rename SelectFolderDialog to PickFolderDialog 2016-10-15 12:01:56 +02:00
tibbi
07d4b84e52 return the result of SelectFolderDialog as uri data 2016-10-13 23:38:59 +02:00
tibbi
d3567b0b95 rename setInitialBreadcrumb to setBreadcrumb 2016-10-12 23:39:32 +02:00
tibbi
af8b43a6f6 do not finish the Options mode at Properties and Share btns 2016-10-12 20:32:37 +02:00
tibbi
46a20095d8 require a double Back press to exit the app 2016-10-11 23:44:48 +02:00
tibbi
d463ffdb4a allow navigating up with Back button until theres no more breadcrumbs 2016-10-11 23:33:30 +02:00
tibbi
483b433dda show full path at breadcrumbs if set so 2016-10-11 22:47:51 +02:00
tibbi
899255fc68 move breadcrumbs to views folder 2016-10-11 22:18:07 +02:00
tibbi
6d230260d8 show hidden items at SelectFolderDialog when selected so 2016-10-11 22:04:40 +02:00
tibbi
413eed3329 couple more resourec edits here and there 2016-10-11 21:14:15 +02:00
tibbi
727acce7ff couple more misc changes 2016-10-11 20:57:43 +02:00
tibbi
8b260a7c7b prefix all library resources with smtfp 2016-10-11 20:41:21 +02:00
tibbi
0d9d0b8b1c move the library files in a separate folder + misc changes
- dont do such commits at home
2016-10-11 20:09:31 +02:00
tibbi
9d2f8ca4b4 copy a part related to file picking into a separate module 2016-10-10 23:18:53 +02:00
tibbi
f14b488dfc move icon coloring into an extension 2016-10-10 21:05:42 +02:00
tibbi
40b547921d move the kotlin files in a separate kotlin folder 2016-10-10 20:47:00 +02:00
tibbi
f7d9fcedd3 rescan items after copy/move too 2016-10-09 16:51:43 +02:00
tibbi
4dff81bc4a Merge branch 'master' of github.com:SimpleMobileTools/Simple-File-Manager 2016-10-09 16:39:38 +02:00
tibbi
c57f3aaf54 rescan the files or folders after rename or delete 2016-10-09 16:39:26 +02:00
YSmhXQDd6Z
cdeccd6a8a Create strings.xml 2016-10-02 21:45:52 +00:00
tibbi
033f99a063 add some missing italian strings 2016-10-02 20:22:36 +02:00
tibbi
8271ec141b use proper path at the initial breadcrumbs 2016-10-02 20:09:30 +02:00
tibbi
0c30f58f81 compare the items in an incasesensitive way 2016-10-01 11:18:28 +02:00
anthologist
61f7e74011 Update strings.xml 2016-09-27 21:50:31 +02:00
tibbi
ccb2f00014 convert ItemsAdapter to kotlin 2016-09-08 22:57:07 +02:00
tibbi
bb371a3cc9 convert FileDirItem to kotlin 2016-09-08 22:00:52 +02:00
tibbi
de71cef1d2 rewrite SelectFolderDialog to kotlin 2016-09-08 21:18:23 +02:00
tibbi
c0e3c20c42 add some missing strings in other languages 2016-09-07 20:49:41 +02:00
tibbi
b4569ec615 allow displaying empty folder at changing copy destination 2016-09-07 20:39:43 +02:00
tibbi
176828a61b refix deleting items 2016-09-06 23:03:14 +02:00
tibbi
38f73c8849 display subfiles count of directories 2016-09-06 22:59:31 +02:00
tibbi
0fe69a1682 format last modified time to human readable format 2016-09-06 22:47:52 +02:00
tibbi
e5fe28cbc5 add directory size calculation to properties dialog 2016-09-06 22:07:05 +02:00
tibbi
3aaa5308ed display property placeholders on the dialog 2016-09-06 20:42:42 +02:00
tibbi
3b9c6971fe display an empty properties dialog on info click 2016-09-05 23:19:31 +02:00
tibbi
1be4ccb92e minor refactoring 2016-09-05 22:47:31 +02:00
tibbi
8f5959920d add an Info cab button 2016-09-05 22:44:20 +02:00
tibbi
c22d4c5189 convert showFullPath to a local variable 2016-09-05 22:17:29 +02:00
tibbi
6afd28e41b add toggling between displaying full / not full path 2016-09-05 21:09:02 +02:00
tibbi
252803eaa6 add a switch for showing full folder paths 2016-09-05 20:47:49 +02:00
tibbi
7416c22c32 do replace /external/sdcard with "home" 2016-09-05 20:26:01 +02:00
tibbi
82019c770f rename Copy cab item to Copy/Move 2016-09-05 20:07:59 +02:00
tibbi
82045524c3 do not replace the root folder with "home" 2016-09-05 20:03:43 +02:00
tibbi
35ce30804a flip some check conditions 2016-09-04 23:04:56 +02:00
tibbi
a904a76bd8 hide hidden files and folders if set so 2016-09-04 22:57:52 +02:00
tibbi
40a41bcff6 open the proper folder at selecting a target one 2016-09-04 22:44:42 +02:00
tibbi
3ed2fc8d8a move the SelectFolder dialog handling in a separate file 2016-09-04 21:57:37 +02:00
tibbi
e3f465aab1 remove the non translatable german strings 2016-08-29 22:24:03 +02:00