Commit Graph
1766 Commits
Author SHA1 Message Date
630d7b2cea fix: avoid truncated prints (#275)
* fix change print enconding to base64 #104

Signed-off-by: Jan Guegel <jan@guegel.eu>

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* use ensureBackgroundThread to avoid ANR on large files

Signed-off-by: Jan Guegel <jan@guegel.eu>

---------

Signed-off-by: Jan Guegel <jan@guegel.eu>
Co-authored-by: Jan Guegel <jan@guegel.eu>
Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
2025-09-28 13:17:40 +05:30
223e644f36 fix: request permission in SaveAsActivity on first-run (#271)
* Fix "Replace characters on save as function, FileNotFoundException" #250

* Update CHANGELOG.md

update changelog

* Update app/src/main/kotlin/org/fossify/filemanager/activities/SaveAsActivity.kt

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* Merge branch 'FossifyOrg:main' into main

Signed-off-by: Jan Guegel <jan@guegel.eu>

* Update CHANGELOG.md

* fix PR Feedback

Signed-off-by: Jan Guegel <jan@guegel.eu>

* fix duplicated code by moving it to SimpleActivity.kt

Signed-off-by: Jan Guegel <jan@guegel.eu>

* moved handleStoragePermissions() to SimpleActivity.kt from MainActivity.kt
introduced tryInitFileManager() to SaveAsActivity.kt
removed const MANAGE_STORAGE_RC from MainActivity.kt

Signed-off-by: Jan Guegel <jan@guegel.eu>

* adjusted toast in try catch in storage permission action

Signed-off-by: Jan Guegel <jan@guegel.eu>

* catch ActivityNotFoundException with fallback of SecurityException

Signed-off-by: Jan Guegel <jan@guegel.eu>

* Apply suggestions from code review

thanks for the feedback!

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* remove indent

Signed-off-by: Jan Guegel <jan@guegel.eu>

* adjust changelog

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

---------

Signed-off-by: Jan Guegel <jan@guegel.eu>
Co-authored-by: Jan Guegel <jan@guegel.eu>
Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

Refs: https://github.com/FossifyOrg/File-Manager/issues/85
2025-09-27 13:15:56 +05:30
055bfbd3b8 fix: sanitize filenames before saving (#270)
* Fix "Replace characters on save as function, FileNotFoundException" #250

* Update CHANGELOG.md

update changelog

* Update app/src/main/kotlin/org/fossify/filemanager/activities/SaveAsActivity.kt

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

---------

Co-authored-by: Jan Guegel <jan@guegel.eu>
Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

Refs: https://github.com/FossifyOrg/File-Manager/issues/250
2025-09-26 12:28:58 +05:30
Naveen Singh fb3384fb08 fix: trust the system to check whether a file is a directory (#261)
Condition was originally introduced in 12b96e159d

Refs: https://github.com/FossifyOrg/File-Manager/issues/80
2025-09-15 10:33:51 +05:30
Matheus Campos 8b76e7f28a chore(l10n): update Spanish (American) translations
Currently translated at 6.8% (3 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/es_US/
Via: Weblate
2025-09-01 19:04:31 +05:30
GaucovyAero 0bee809420 chore(l10n): update Slovak translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/sk/
Via: Weblate
2025-09-01 19:04:31 +05:30
Kfir Pshititsky 2b51c3f2fa chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-09-01 19:04:31 +05:30
Kfir Pshititsky 1b03d62494 chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-09-01 19:04:31 +05:30
Naveen Singh da8202ee2d fix: set progress after computing total size (#253)
Refs: https://github.com/FossifyOrg/File-Manager/issues/251
2025-08-26 02:26:13 +05:30
Naveen Singh 31d4fdbf4f refactor(settings): remove color customization lock and add thank you button (#252) 2025-08-25 04:02:37 +05:30
Quentin PAGÈS 259d185b95 chore(l10n): update Occitan translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/oc/
Via: Weblate
2025-07-12 16:12:30 +05:30
Quentin PAGÈS c69d10b8fe chore(l10n): update French translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/fr/
Via: Weblate
2025-07-12 16:12:30 +05:30
Quentin PAGÈS 21637a6d8a chore(l10n): update Occitan translations
Currently translated at 81.8% (36 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/oc/
Via: Weblate
2025-07-12 16:12:30 +05:30
Ismail Choudhury ac4be152ed chore(l10n): update English (United Kingdom) translations
Currently translated at 2.2% (1 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/en_GB/
Via: Weblate
2025-07-12 16:12:30 +05:30
Quentin PAGÈS e52a9bc776 feat(l10n): add Occitan translations
Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/oc/
Via: Weblate
2025-07-12 16:12:30 +05:30
jonnysemon d8500c0c2a chore(l10n): update Arabic translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ar/
Via: Weblate
2025-07-12 16:12:30 +05:30
AND 81276fe6c0 chore(l10n): update Macedonian translations
Currently translated at 4.5% (2 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/mk/
Via: Weblate
2025-07-12 16:12:30 +05:30
Naveen Singh 70ad7a07bc chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/pt_BR/
Via: Weblate
2025-07-12 16:12:30 +05:30
Petri Hämäläinen ec0f0f7893 chore(l10n): update Finnish translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/fi/
Via: Weblate
2025-07-12 16:12:30 +05:30
elid 0b208bf63b chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-07-12 16:12:30 +05:30
Naveen Singh 141010a523 fix: save timestamp when compressing items (#232)
* fix: save timestamp when compressing items

See: https://github.com/FossifyOrg/File-Manager/issues/189

* style: reformat code

* chore: update baselines

* docs: update changelog
2025-07-12 15:58:50 +05:30
Naveen Singh 986d7d5215 feat: handle ACTION_OPEN_DOCUMENT intent (#229)
See: https://github.com/FossifyOrg/File-Manager/issues/213
2025-07-04 20:36:50 +05:30
dependabot[bot]andNaveen Singh 24122e36f8 chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0 (#215)
* chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0

Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 3.0.5 to 4.0.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/3.0.5...4.0.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(i18n): generate locale config automatically

One can be maintained in-app if missing translations become a problem.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-25 15:45:35 +05:30
elid 416cf9675a chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-06-06 18:43:17 +05:30
mastoduy d3fe0f8bc4 chore(l10n): update Vietnamese translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/vi/
Via: Weblate
2025-06-06 18:43:17 +05:30
Vaclovas Intas 8151b2dd00 chore(l10n): update Lithuanian translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/lt/
Via: Weblate
2025-06-06 18:43:17 +05:30
elid f9f37718de chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-06-06 18:43:17 +05:30
Bora Atıcı ba605b59e3 chore(l10n): update Turkish translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/tr/
Via: Weblate
2025-06-06 18:43:17 +05:30
abdelbasset jabrane bd7d2204ee chore(l10n): update Arabic translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ar/
Via: Weblate
2025-06-06 18:43:17 +05:30
Flavio F. M 9dad0da353 chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/pt_BR/
Via: Weblate
2025-05-26 15:15:51 +05:30
109247019824 6f96f85d1a chore(l10n): update Bulgarian translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/bg/
Via: Weblate
2025-05-26 15:15:51 +05:30
Yurt Page f3c01f4846 chore(l10n): update Russian translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ru/
Via: Weblate
2025-05-26 15:15:51 +05:30
elid 45f9b5c261 chore(l10n): update Hebrew translations
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/he/
Via: Weblate
2025-05-26 15:15:51 +05:30
Timur Erofeev ef23996ced fix: preserve timestamps when decompressing ZIP files
* Preserve modified date when unzip files.

* Preserve modified date when unzip files via actions menu

- Additionally handle the case with 0 last modified time.
2025-05-25 07:50:35 +05:30
Naveen Singh 94924bd19c chore(deps): bump org.fossify.commons to 2.0.1 (#181) 2025-05-21 14:02:25 +05:30
19f0a2ad35 fix: resolve proper filename when saving a shared file (#86)
* Fix filename when saving a shared file

Previously, the code used the last path component of the content URI,
but that isn't necessarily the filename -- it can be a numeric ID.

Switch to the helper function getFilenameFromContentUri(), which uses
ContentResolver to read the DISPLAY_NAME column. (If that fails, we
fall back to the last component of the content URI as before, because
we don't have anything better to use.)

Also improve the way the MIME type is determined. Previously it was
just based on the file extension. Switch to first query the
ContentResolver, then try the type of the Intent (which is supposed to
be set to the MIME type of the data for ACTION_SEND, but may be set to
"*/*" if the type is unknown), and only then fall back to using the
file extension.

Fixes #37.

* style: shorten lines

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-05-21 12:03:10 +05:30
97dcf30b47 fix: save state when rotating screen (#111)
* Fixed Text File Editor losing unsaved changes when rotating screen

* style: replace state variable with constant

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-05-21 11:45:09 +05:30
Agnieszka CandNaveen Singh 5dae7f82f5 fix: allow editing JSON files (#105)
Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
2025-05-21 10:50:54 +05:30
68c00dc3c0 fix(ui): prevent SwipeRefreshLayout from intercepting child touch events (#173)
* Fix accidental rendering of swipe refresh indicator.

* Fix scroll up in Files tab.

* Update app/src/main/kotlin/org/fossify/filemanager/views/MySwipeRefreshLayout.kt

Fix grammar after copy paste.

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* docs(changelog): add links

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-05-20 19:02:15 +05:30
Naveen Singh 2fe8b22fd4 fix: enable pull-to-refresh based on preference (#177)
See: https://github.com/FossifyOrg/File-Manager/issues/136
2025-05-20 09:27:29 +05:30
Agnieszka C 8df0412e11 fix: use zip file name when decompressing directory (#120) 2025-05-14 23:22:18 +05:30
Agnieszka C 25cfd43655 fix: restore temporarilyShowHidden flag on startup (#169) 2025-05-14 23:12:48 +05:30
Naveen Singh 73e9080b67 feat(ui): replace checkboxes with material switches (#170)
* feat(ui): replace checkboxes with material switches

See: https://github.com/orgs/FossifyOrg/discussions/78

* docs(changelog): replace checkboxes with switches
2025-05-14 16:55:46 +05:30
abdelbasset jabrane 6e97c28536 Translated using Weblate (Arabic)
Currently translated at 79.5% (35 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ar/
2025-05-07 08:42:15 +05:30
LucasMZ 699e3ec836 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/pt_BR/
2025-05-07 08:42:15 +05:30
solokot 31e7920991 Translated using Weblate (Russian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ru/
2025-05-07 08:42:15 +05:30
Romeostar 991a99a46e Translated using Weblate (Russian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/ru/
2025-05-07 08:42:15 +05:30
cat 6a786d5f25 Translated using Weblate (Danish)
Currently translated at 100.0% (44 of 44 strings)

Translation: Fossify/File-Manager
Translate-URL: https://hosted.weblate.org/projects/fossify/file-manager/da/
2025-05-07 08:42:15 +05:30
Naveen Singh df9249f989 refactor(build): rename prepaid product flavor to gplay 2025-05-05 19:45:16 +05:30
Naveen Singh 127a820c25 Merge branch 'master' into open_data_obb_system_app 2025-04-06 17:38:24 +05:30