1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00
Commit graph

1827 commits

Author SHA1 Message Date
Catfriend1
0f135c1ed2 Poll faster on "modern" devices 2019-03-06 01:18:00 +01:00
Catfriend1
044404e9f0 Fix lint 2019-03-06 01:09:49 +01:00
Catfriend1
9ab2f280e0
Add "folder is unshared" status label (fixes #347) (#351)
* res/colors: Add text_orange

* strings: Add state_unshared

* Imported de translation

* Add "folder is unshared" status label (fixes #347)
2019-03-06 00:58:34 +01:00
Catfriend1
ce213b9c9e model/Folder: Add getDeviceCount 2019-03-06 00:47:50 +01:00
Catfriend1
8873111510 FoldersAdapter: Merge getLocalizedState into updateFolderStatusView 2019-03-06 00:44:26 +01:00
Catfriend1
f679ca2cc5
Show Android Open File Limit (fixes #346) (#350)
* Show Android Open File Limit (fixes #346)

* Imported de translation
2019-03-06 00:12:37 +01:00
Catfriend1
226b84a5d9
MainActivity/DeviceList: Improve "no devices configured" UI text (#349)
* Add string: no_devices_configured

* Imported de translation

* Add newline

* Import de translation
2019-03-05 23:58:34 +01:00
Catfriend1
9187280687
Enable largeBlocks for new folders by default (fixes #300) (#301)
* Enable largeBlocks for new folders by default (fixes #300)

* Remove duplicate code to set folder defaults on creation
2019-03-05 23:46:11 +01:00
Catfriend1
5151c3485b
Add model/Folder#CopyOwnershipFromParent (fixes #286) (#287)
* Add model/Folder#CopyOwnershipFromParent (fixes #286)

See https://github.com/syncthing/syncthing/pull/5479/files

* Fix typo, update doc ref

* Update ConfigXml
2019-03-05 23:40:42 +01:00
Catfriend1
c1abb476b6
Update SyncthingNative to v1.1.0 (#348)
* Use go stable instead of 1.9 for travis (#1283)

* Restore modules

* Update Syncthing submodule to v1.1.0

* Update .gitignore

* Update whatsnew
2019-03-05 23:23:52 +01:00
Catfriend1
30d493a206 Update APK version to 1.1.0.1 / 1010001 2019-03-05 23:04:35 +01:00
Catfriend1
e1f85548fb
Add folder dialog: "Tap to add device" if no devices are present (fixes #344) (#345)
* Add folder dialog: "Tap to add device" if no devices are present (fixes #344)

* Update string: devices_list_empty

* Add service/TestData

* activity_folder/layout: Make devicesContainer selectable from DPAD

* Imported de translation
2019-03-05 23:01:06 +01:00
Catfriend1
22a302d940 Add service/TestData 2019-03-05 22:59:42 +01:00
Catfriend1
675de8a53b Update whatsnew 2019-02-28 08:38:22 +01:00
Catfriend1
09585e213a
Update status tab text "not allowed to run on mobile data", clarify meaning (fixes #340) (#343)
* Update string reason_mobile_data_disallowed (fixes #340)

* Updated de translation
2019-02-28 08:32:23 +01:00
Catfriend1
3c2e7ddf76
fragmentManager: commitAllowingStateLoss (fixes #321) (#342) 2019-02-28 08:20:01 +01:00
Catfriend1
f9f93a37ce Update APK version to 1.0.1.9 2019-02-24 19:27:25 +01:00
Catfriend1
c6cf442d7a
Add Binary Eye barcode scanner support (fixes #325) (#339)
* Add Binary Eye barcode scanner support (fixes #325)

* Remove "Barcode Scanner" app as preferred choice (fixes #325)

* Add app recommendation: "Binary Eye"

* Imported de translation

* Updated whatsnew
2019-02-24 19:16:20 +01:00
Catfriend1
92a77dc0a5 Update wiki: Sync N first files
ref #cc76014207
2019-02-24 16:23:32 +01:00
Catfriend1
46054d1c36 Update APK version to 1.0.1.8 2019-02-24 16:13:52 +01:00
Catfriend1
9933294ac5
Publish listings on GPlay (#338)
* Update build.gradle

* Remove unsupported translations

* Update publish-release.sh

* Update APK version to 1.0.1.7

* build.gradle: errorOnSizeLimit = false

* publish_release.sh: Add gradlew publishListingRelease

* Imported string translations

* Updated gplay translation: de_DE

* Add unsupported translations to .gitignore
2019-02-24 16:01:56 +01:00
Catfriend1
5c22110af6 Update README and whatsnew 2019-02-24 14:23:53 +01:00
Catfriend1
b17752aa5a Add label to explain why Syncthing Options are greyed out (fixes #337) 2019-02-24 14:22:56 +01:00
Catfriend1
180dbe6824 Updated gplay translations 2019-02-24 14:04:19 +01:00
Catfriend1
94918bb832 Imported string translations: nl, ru 2019-02-24 14:03:12 +01:00
Catfriend1
0d50bca3d8
Download Support Bundle (fixes #330) (#332)
* http/GetRequest: Add URI_DEBUG_SUPPORT

* Add ConfigXml#getGui

* Update model/Gui

* Add strings en-GB

* Add pref: webUIDebugging

* SettingsActivity: Add mWebUIDebugging, KEY_WEBUI_DEBUGGING

* Add pref button: downloadSupportBundle

* Add string: download_support_bundle_title

* Update string: webui_debugging_summary

* WIP

* WIP

* Use DownloadManager instead

* Revert "Use DownloadManager instead"

This reverts commit f2b24f5f295b27dd4d1aa2bed7bd2a08afce2159.

* Try sending auth to browser - unsafe

* Revert "Try sending auth to browser - unsafe"

This reverts commit 53523aad2e65147c99ee590cd0722c0e221fad8f.

* Add RestApi#downloadSupportBundle (fixes #330)

* Add SettingsActivity#onDownloadSupportBundleClick (fixes #330)

* FileUtils: Move getExternalStorageDownloadsDirectory code into separate function

* RestApi#downloadSupportBundle: Add callback for result UI

* SettingsActivity: Add UI to show if bundle download succeeded (fixes #330)

* Add strings for success, failure, in progress

* Add comment

* Imported de translation
2019-02-24 13:47:56 +01:00
Catfriend1
4ef5853b88 FileUtils: Move getExternalStorageDownloadsDirectory code into separate function 2019-02-24 13:30:54 +01:00
Catfriend1
cc76014207 Add wiki: Sync N first files, "get N movies for watching" (fixes #336) 2019-02-24 13:29:13 +01:00
Catfriend1
06526c5547
Update model/Gui to syncthing v1.0.1 (#334)
* Update model/Gui

* Add ConfigXml#getGui
2019-02-24 11:53:05 +01:00
Catfriend1
e9dbda73e7 Update wiki (fixes #333) 2019-02-24 11:48:14 +01:00
Catfriend1
a1d2884eef Update APK version to 1.0.1.5 2019-02-19 08:34:27 +01:00
Catfriend1
cdcdc3c1c8
Add pref to enable verbose logging (#303)
* Add prefs: verbose_log, expert_mode

* Update prefs in Constants

* Add service.AppPrefs

* Update fragments to read verbose log pref

* Update classes with context or inject to read verbose log pref

* Inherit ENABLE_VERBOSE_LOG from RestApi to Completion

* Restart whole app if verbose log pref was changed

* A line too much

* Revert expert mode pref (DELTA REVERT)
2019-02-19 08:14:21 +01:00
Catfriend1
53d3c13403 MainActivity: Remove setOffscreenPageLimit (fixes #327) (fixes #321) 2019-02-19 08:02:28 +01:00
Catfriend1
88677c9638
Send a shutdown POST request first (fixes #320) (#323)
* Move notificationHandler shutdown from RestApi to SyncthingService

* http/PostRequest: Add shutdown uri

* Add RestApi#shutdown to post a shutdown request (fixes #320)

* SyncthingService#shutdown: Send a shutdown POST request first in case the kill via shell fails (fixes #320)
2019-02-12 02:22:34 +01:00
Catfriend1
cf94716059 Move notificationHandler shutdown from RestApi to SyncthingService 2019-02-12 02:02:42 +01:00
Catfriend1
e468f5a29c
Safeguard the buggy ViewPager (fixes #321) (#322) 2019-02-12 01:53:09 +01:00
Catfriend1
30efd903b5
Allow changing suggested path for new folder (fixes #309) (#318)
* Add pref: Suggested new folder root (fixes #309)

* Fix NPE in offline config reader (fixes #316)

after folder has been created while Syncthing was not running

* Fix language pref and root pref

* Fix action bar not showing on sub-prefs screen (fixes #317)

on Android < 7

* Add DATA, MEDIA to FileUtils#getExternalFilesDirUri (fixes #309)

* SettingsActivity: Remove pref "SuggestNewFolderRoot" on API < 21

* Update Constants

PREF_SUGGEST_NEW_FOLDER_ROOT_DATA, PREF_SUGGEST_NEW_FOLDER_ROOT_MEDIA

* Update FolderActivity#onPathViewClick (fixes #309)

to respect PREF_SUGGEST_NEW_FOLDER_ROOT_DATA

* Imported de translation
2019-02-12 00:24:26 +01:00
Catfriend1
ca17291561 Fix action bar not showing on sub-prefs screen (fixes #317)
on Android < 7
2019-02-10 13:53:39 +01:00
Catfriend1
3a7705bde6 Fix NPE in offline config reader (fixes #316)
after folder has been created while Syncthing was not running
2019-02-10 13:53:16 +01:00
Catfriend1
cfa6ce4e3b Update APK version to 1.0.1.4 / 1000104 2019-02-09 19:02:02 +01:00
Catfriend1
c130bdb7fc
Rename the misleading "Syncthing is disabled" (fixes #314) (#313)
* SettingsActivity: Remove duplicate strings

syncthing_disabled_title, syncthing_disabled

* Remove string: syncthing_disabled_title

* Remove string translations

* Update string: syncthing_disabled

* Updated all translations
2019-02-09 18:47:59 +01:00
Catfriend1
7bd253ab0e
Add device dialog: Implement refresh button and help (fixes #310) (#311)
* Add drawable ic_refresh_black_24

* Add device: Add refresh button to dialog

* Add device dialog: Implement refresh button (fixes #310)

Always show "No devices discovered label" and refresh button if no device ID had been entered yet.

* Update model/Options for SyncthingNative 1.0.1

* Add ConfigRouter#getOptions

* Add ConfigXml#getOptions

* Update README.md

* Add string: local_discovery_disabled

* Add device dialog: Show notice if local discovery is disabled

and explain how to enable it.

* Add device dialog: Show helpful text if no devices were discovered locally

* Updated de translation
2019-02-09 18:26:54 +01:00
Catfriend1
e5a033a64d
Add ConfigRouter#getOptions (#312)
* Add ConfigRouter#getOptions

* Add ConfigXml#getOptions
2019-02-09 17:42:41 +01:00
Catfriend1
3e6266b446 Update model/Options for SyncthingNative 1.0.1 2019-02-09 17:40:41 +01:00
Catfriend1
e833cd699c Update README.md 2019-02-09 17:40:12 +01:00
Catfriend1
6b50c598ca Rename fragment_folder to activity_folder 2019-02-09 15:58:23 +01:00
Catfriend1
b99d03f9b9 Rename fragment_device to activity_device 2019-02-09 15:56:25 +01:00
Catfriend1
5a980dfa0b Update APK version to 1.0.1.3 / 1000103 2019-02-08 18:53:12 +01:00
Catfriend1
1163b1ec83
Add locally discovered devices to the "add device" dialog (fixes #305) (#306)
* ENABLE_TEST_DATA

* http/GetRequest: Add URI_SYSTEM_DISCOVERY

* Add model/DiscoveredDevice

* Add RestApi#getDiscoveredDevices (fixes #305)

* Add DeviceActivity#asyncQueryDiscoveredDevices in onServiceConnected (fixes #305)

* Add strings

* Add layout: item_discovered_device_form

* Add discoveredDevicesTitle, discoveredDevicesContainer to "add device" dialog (fixes #305)

* Revert "ENABLE_TEST_DATA"

This reverts commit b2efe73b9b4f7e9d4db8cc50cb48a5422f78c084.

* Fix lint error

* Updated de translation
2019-02-08 18:35:45 +01:00
Catfriend1
f5bb5473e6 Update APK version to 1.0.1.2 / 1000102 2019-02-05 23:48:58 +01:00