Commit Graph

2827 Commits

Author SHA1 Message Date
Raymond Lai a89a6047f5 Fix CryptUtilEspressoTest and UtilsHandlerTests failures
Third in the series. :(
2022-04-27 00:32:24 +08:00
Raymond Lai e5694330d8 Fix CryptUtil behaviour for SDK < 18
At SDK < 18, no AES key can be obtained from keystore, hence causing CryptUtilEspressoTest.testEncryptDecryptLegacyMethod() to fail. This fixes the problem by adding quirk to ensure plain I/O is still in place without causing crashes.
2022-04-26 12:47:30 +08:00
Raymond Lai 0cfd78c9ce Fix Robolectric test failure
Our lowest supported version is SDK 14, while SecretKeygen.getSecretKey() lowest supported is SDK 18. This changes verification to allow nulls to pass through for devices lower than API 18.

Still throw failure if using devices below SDK 14.
2022-04-25 23:16:12 +08:00
Vishal Nehra 9f5f02d1a5 Bump version number 2022-04-25 04:40:54 +05:30
Vishal Nehra 8d69a335a3 Merge branch 'release/3.7' into transifex-translations 2022-04-25 04:26:24 +05:30
Vishal Nehra 13144c4215 Fix cloud properties dialog 2022-04-25 04:20:43 +05:30
Vishal Nehra 020ac2b33b Merge pull request #3269 from TeamAmaze/feature/amaze-utils
Integrate amaze utils transfer and analyse in navigation drawer
2022-04-25 03:46:43 +05:30
Vishal Nehra 158539c2c6 Merge pull request #3279 from TeamAmaze/emmanuelmess/fix/columns_preference
Fix columns for grid layout for MainFragment
2022-04-25 03:40:51 +05:30
Vishal Nehra 702a63fb20 Merge pull request #3273 from TeamAmaze/bugfix/ssh-connection-pool-fix-subpath
Fix SSHConnectionPool with subdirectories in URI
2022-04-25 03:24:43 +05:30
EmmanuelMess d2dda030c9 Fix columns for grid layout for MainFragment 2022-04-24 11:47:51 -03:00
Vishal Nehra 3e2c80b42b Merge pull request #3241 from DoozyDoz/bugfix/status_bar_color
Bugfix/status bar color
2022-04-24 04:56:05 +05:30
Vishal Nehra 056ed8b393 Fix build failure 2022-04-24 03:28:01 +05:30
Vishal Nehra e58a26b91d Merge pull request #3254 from TeamAmaze/bugfix/3035
Exception handling for 7z entries without timestamps
2022-04-24 03:17:59 +05:30
Vishal Nehra 298e84a664 Fix comment 2022-04-24 03:16:59 +05:30
Vishal Nehra e0a505738b Merge pull request #3242 from DoozyDoz/bugfix/search_crush
[bugfix] searching for hidden files crushes app
2022-04-24 03:05:40 +05:30
Vishal Nehra e8b19411cd Fix comments 2022-04-24 03:00:23 +05:30
Vishal Nehra caae50bca8 Merge pull request #3271 from TeamAmaze/bugfix-2321
Fixes NPEs
2022-04-24 02:49:46 +05:30
Vishal Nehra 006b8620c4 Fix formatting 2022-04-24 02:48:52 +05:30
Vishal Nehra a1e3f27e03 Remove AU download dialog 2022-04-24 02:23:35 +05:30
Vishal Nehra c346b3f27a Add label to individual util viewers 2022-04-24 01:48:48 +05:30
Vishal Nehra 7c1d5ddab5 Fix build issue 2022-04-23 19:44:25 +05:30
Vishal Nehra 389da42e64 Integrate amaze utils video/audio/documents viewer intent filter 2022-04-23 19:35:27 +05:30
Raymond Lai 1171f75569 Fix SSHConnectionPool with subdirectories in URI
This is to allow sharing connections having the same connection credentials and host, but with different paths. Also fixes problem that thumbnails on SSH servers cannot be generated.
2022-04-23 20:41:40 +08:00
VishnuSanal a7136cd6c8 fixes #3160 2022-04-23 16:19:17 +05:30
VishnuSanal e7b47cae15 fixes #3154 2022-04-23 16:06:00 +05:30
VishnuSanal 358f3c2143 fixes #2321 2022-04-23 15:27:56 +05:30
Vishal Nehra 3bf2e22874 Add exception check for deeplinks 2022-04-22 05:10:30 +05:30
Vishal Nehra b36f177fb1 refactor code 2022-04-22 04:59:09 +05:30
Vishal Nehra 5e6aa72533 Integrate amaze utils transfer and analyse in navigation drawer 2022-04-22 04:57:16 +05:30
Vishal Nehra 8ed27aa2f9 Merge pull request #3264 from TeamAmaze/emmanuelmess/fix/blank_screen
Fix empty fragment on start MainActivity
2022-04-21 02:47:35 +05:30
Emmanuel 89d63cd06b Merge pull request #3257 from TeamAmaze/bugfix/3247 2022-04-19 19:41:37 -03:00
EmmanuelMess 96c7b7b368 Fix empty fragment on start MainActivity 2022-04-18 21:45:35 -03:00
Emmanuel 9f4c159807 Merge pull request #3190 from EmmanuelMess/emmanuelmess/fix/compressor_npe 2022-04-18 18:05:28 -03:00
Raymond Lai 380b7e4f2e Modify regex to parse ls/stat output
Fixes #3247.

Some *box implementations (toybox?) would use extra space characters to format file list outputs. Hence we update the regex to split values with one or more spaces instead of one only.
2022-04-16 12:07:03 +08:00
Raymond Lai 3f191b8351 Exception handling for 7z entries without timestamps
Fixes #3035.

For 7z archives having entries with no timestamp,
- they will show as 00:00:00 1970-01-01 when in file manager view
- they will have last modified date = current timestamp on extracting
2022-04-15 00:41:31 +08:00
Doozy a71fc44391 code cleanup 2022-04-04 17:52:48 +03:00
Raymond Lai 4b2d4f3b2d Fix at encrypt save as dialog, tapping the info button have no response
Fix problem at #3182: https://github.com/TeamAmaze/AmazeFileManager/pull/3182#issuecomment-1077663402

Additionally, added a contentIsHtml flag at AlertDialog.show() as the aze encryption format description is composed of HTML.
2022-04-04 13:17:33 +08:00
Raymond Lai 551756092e Fix incorrect reference to class
ShadowCryptUtil should have been ShadowPasswordUtil. No idea why it's not propagated :(
2022-04-01 22:57:08 +08:00
Doozy 446e653566 [code quality fix] removed unused imports 2022-03-28 17:53:56 +03:00
Doozy 9e931bd357 [bugfix] searching for hidden files crushes app 2022-03-28 17:06:58 +03:00
Doozy c05ee4e8a7 [bugfix] persist navigation bar color 2022-03-28 15:38:57 +03:00
Doozy cc2bb7ede6 [bugfix] navigation bar color not respecting theme 2022-03-28 12:30:00 +03:00
Vishal Nehra 3cf6d723b8 Merge pull request #3231 from TranceLove/bugfix/2165
Remove existing SMB and SSH path before inserting a new one
2022-03-27 03:06:03 +05:30
Vishal Nehra a908ab7c78 Merge pull request #3226 from Fros1er/bugfix/2587
fix issue #2587 and #3223, modified sharing behaviour when using clou…
2022-03-27 02:50:04 +05:30
Raymond Lai 1f3fe47685 Remove existing SMB and SSH path before inserting a new one
Fixes #2165.

Also brought back this upsert behaviour for History paths in #1607.
2022-03-24 09:41:03 +08:00
Raymond Lai 40cb12c1c0 AESCrypt support
Fixes #2841.

- Split PasswordUtil and SecretKeygen away from CryptUtil
- CryptUtil code refactoring to reduce duplication
- Add AESCrypt support. Code is Kotlintized with adaptations to Android platform
2022-03-20 23:49:59 +08:00
Fros1er eec6b16770 fix issue #2587 and #3223, modified sharing behaviour when using cloud connection 2022-03-19 00:21:49 +08:00
EmmanuelMess 37bb105ef8 Fix strings and toast times for extraction errors 2022-03-16 12:43:39 -03:00
EmmanuelMess c86e96fd7f Fix tests 2022-03-16 12:43:39 -03:00
EmmanuelMess 5ab46c3263 Better error message for missing decompressors/extractors 2022-03-16 12:43:39 -03:00