Catfriend1
596b8756da
Update README, whatsnew
2019-04-27 13:08:56 +02:00
Catfriend1
ab1fffe8d2
Disable DuraSpeed on HMD Global phones ( fixes #404 ) ( #410 )
...
* AndroidManifest: Add WRITE_SETTINGS, WRITE_SECURE_SETTINGS permissions
* Disable DuraSpeed on HMD Global phones (fixes #404 )
* lint: Ignore ProtectedPermissions
2019-04-27 12:51:21 +02:00
Catfriend1
0ad977fb4e
Shorten logcat excerpts ( fixes #364 ) ( #412 )
...
* Dump 15 mins of log history
* Exclude OS stuff from log (fixes #364 )
* Remove milliseconds from log
* Remove (whitespace_PID)
* Remove "beginning of main/system" from log
2019-04-27 12:49:20 +02:00
Catfriend1
eb35171286
Hourly sync - Sync immediately when app starts ( fixes #393 ) ( #411 )
2019-04-27 10:49:51 +02:00
Catfriend1
0ca5d851f2
Show notification badge if user interaction is required ( fixes #406 ) ( #408 )
...
Ref.: Android 8.0
2019-04-27 09:09:42 +02:00
Catfriend1
38f94ce34c
Add screen reader labels ( fixes #390 )
...
activity_recent_changes.xml
activity_tips_and_tricks.xml
2019-04-14 18:08:20 +02:00
Catfriend1
f297766d64
Add dark theme ( fixes #400 ) ( #399 ) ( #401 )
...
* Squash-merge from darkTheme1
* Imported de translation
2019-04-14 17:22:05 +02:00
Catfriend1
b401a8cfff
Add comment
2019-04-14 16:42:26 +02:00
Catfriend1
37aaf5c740
Update README, whatsnew
2019-04-14 16:36:43 +02:00
Catfriend1
0a113f5b05
Update APK version to 1.1.1.2 / 1010102
2019-04-14 16:36:14 +02:00
Catfriend1
6e83b7c66d
Add ConfigRouter#getGui, updateGui ( fixes #403 ) ( #402 )
...
* ConfigXml: Add updateGui
* ConfigRouter: Add getGui, updateGui
* ConfigXml: "apiKey" => "apikey"
* RestApi: Add updateGui
2019-04-14 16:31:46 +02:00
Catfriend1
4f461dce8a
Update SyncthingNative to v1.1.1 ( #395 )
...
* Update SyncthingNative to v1.1.1
* Update APK version to 1.1.1.1 / 1010101
* Update README.md
* Update whatsnew
2019-04-02 02:31:48 +02:00
Catfriend1
5f3a6b8056
Revert build tools back to 28.0.3 ( #391 )
...
* travis.yml: Revert build tools back to 28.0.3
* build.gradle - Revert build tools back to 28.0.3
2019-03-30 08:43:53 +01:00
Catfriend1
1a27af289f
Update APK version to 1.1.0.7 / 1010007
2019-03-29 01:24:53 +01:00
Catfriend1
976d9f9bad
Add option to trigger sync every hour ( fixes #15 ) ( #387 )
...
* AndroidManifest: Add SyncTriggerJobService
* Add Constants#isRunningOnEmulator
* Add Constants: WAIT_FOR_NEXT_SYNC_DELAY_SECS, TRIGGERED_SYNC_DURATION_SECS
* WIP: Schedule Job in BootReceiver
* Add Util/JobUtils
* Util/JobUtils: Improve log text
* Add service/SyncTriggerJobService
scheduled by JobScheduler. See JobUtils#scheduleSyncTriggerServiceJob for more details.
* RunConditionMonitor: Add SyncTriggerReceiver
via LocalBroadcastReceiver.
* BootReceiver: Add ToDo
* Add pref: PREF_RUN_ON_TIME_SCHEDULE
* Fine tune debug constants - time intervals
* JobUtils: In seconds please
* Add strings: en-GB
* RunConditionMonitor: Implement hourly sync time frames (fixes #15 )
* Imported translation: de
* Fix lint: .JOB_SCHEDULER_SERVICE, API 21 instead of 23
* JobUtils: Noop on Android API level before 21 (L)
* Fix lint: RequiresApi(21) for SyncTriggerJobService
* Hide pref "run on time schedule" on Android < 5.x
* JobUtils: Show time of grace in brackets when logged
* BootReceiver: Realign comment, remove unnecessary code
2019-03-29 01:07:56 +01:00
Catfriend1
3e248fa2b3
Fix back arrow in TipsAndTricks activity on Android 4.4 not working ( fixes #389 )
2019-03-29 00:13:51 +01:00
Catfriend1
ecb379d379
SettingsActivity: findPreference - cast category result to PreferenceScreen
2019-03-28 23:57:04 +01:00
Catfriend1
90f9eccb64
Add Constants#isRunningOnEmulator
2019-03-28 22:44:09 +01:00
Catfriend1
e54cb80262
Update whatsnew
2019-03-28 22:43:52 +01:00
Catfriend1
e946d65abc
Update APK version to 1.1.0.6 / 1010006
2019-03-25 10:38:12 +01:00
Catfriend1
172617457c
Update README/whatsnew
2019-03-25 10:36:41 +01:00
Catfriend1
304cf72c42
Show notification if SDcard is full ( fixes #381 ) ( #382 )
...
* Add string: notification_out_of_disk_space
* Show notification if SDcard is full (fixes #381 )
* Imported de translation
* Handle event: FolderErrors "insufficient space in basic" (fixes #381 )
2019-03-23 16:57:25 +01:00
Catfriend1
fc5a99cd5c
Show total downloaded and uploaded bytes ( fixes #377 )
...
Rename "Connections.Connection c" to "Connections.Connection total"
2019-03-23 14:38:52 +01:00
Catfriend1
030a7c7bc3
RecentChanges List: Add refresh button ( fixes #361 ) ( #380 )
...
* Add drawable: ic_refresh_white_24
* Add menu: recent_changes_list
* Add strings: no_recent_changes, refresh
* Update layout: activity_recent_changes
Add TextView if no recent changes were returned by Syncthing's REST API
* Add refresh button to recent changes dialog (fixes #361 )
Add text notice if no recent changes were returned by Syncthing's REST API.
Update built-in test data generation.
* Fix lint
* Fix lint: RelativeLayout => LinearLayout
* Imported de translation
2019-03-23 14:02:04 +01:00
Catfriend1
fa030319ff
Suggest new folder creation on primary storage ( fixes #376 ) ( #379 )
...
if no external sdcard has been found.
2019-03-23 12:36:50 +01:00
Catfriend1
bde917d244
Raise targetSdk to 28 ( #378 )
...
Raise targetSdk to 28
2019-03-23 11:59:41 +01:00
Catfriend1
5755ed45ad
AndroidManifest: Add permission ACCESS_FINE_LOCATION
...
Required for Android Q
2019-03-23 11:56:40 +01:00
Catfriend1
205576d9e0
WifiSsidPreference: Catch java.lang.SecurityException
...
See changes in Android Q, https://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks()
2019-03-23 11:52:51 +01:00
Catfriend1
1ca258877c
Update APK version to 1.1.0.5 / 1010005
2019-03-17 14:22:17 +01:00
Catfriend1
030c557be1
Imported translations: sv, zh-rCN
2019-03-17 14:12:26 +01:00
Catfriend1
8bf63e4498
Update README and whatsnew
2019-03-17 14:01:11 +01:00
Catfriend1
e42283524c
Update APK version to 1.1.0.4 / 1010004
2019-03-11 22:17:11 +01:00
Catfriend1
d0773a5876
Update README / whatsnew
2019-03-11 22:09:53 +01:00
Catfriend1
9649c4fda3
Imported de translation
2019-03-11 19:29:51 +01:00
Catfriend1
b28394bc8f
Create folder dialog - trim folder label ( fixes #367 ) ( #368 )
...
* FolderActivity: Trim folder label (fixes #367 )
* Only trim if EXTRA_FOLDER_LABEL extra was set
2019-03-11 18:30:44 +01:00
Catfriend1
7a12674a88
Workaround cleanup of the folder marker by Huawei, Xiaomi firmware ( fixes #131 ) ( #363 )
...
* WIP - preCreateFolderMarker
* Revert "WIP - preCreateFolderMarker"
This reverts commit 2a4db47f869334a0b4c7aab3073360e43cfbc218.
* Revert accidential syncthing upstream ref change
* Create .stfolder and DO_NOT_DELETE.txt within it (fixes #131 )
* Refactor folder marker creation code into FolderActivity#preCreateFolderMarker (fixes #131 )
2019-03-11 15:41:57 +01:00
Catfriend1
dde8d24e0c
Fix selecting parent folder after "Sharing to Syncthing" subfolder ( fixes #365 ) ( #366 )
...
* folder_picker: Add icon on action bar to select
* Add drawable: ic_arrow_upward_white_24
* layout/folder_picker: Add folder_go_up (fixes #365 )
* Reindent code
* Fix selecting parent folder after "Sharing to Syncthing" subfolder (fixes #365 )
2019-03-11 09:43:50 +01:00
Catfriend1
055a72c390
Imported translations: sv, zh-rCN, zh-rTW
2019-03-10 12:44:52 +01:00
Catfriend1
af1b93b114
Add Constants#FILENAME_STIGNORE
2019-03-10 12:26:45 +01:00
Catfriend1
a594b7c0eb
Update APK version to 1.1.0.3 / 1010003
2019-03-09 23:24:37 +01:00
Catfriend1
fdb748dd53
Update README / whatsnew
2019-03-09 23:10:23 +01:00
Catfriend1
c8502ccbd7
Fix "Share to Syncthing" when user didn't complete welcome wizard ( fixes #354 ) ( #360 )
...
* Add string: complete_welcome_wizard_first
* Imported de translation
* Fix "Share to Syncthing" when user didn't complete welcome wizard (fixes #354 )
2019-03-09 23:02:58 +01:00
Catfriend1
20e6a42ec0
Early merge PR #182
2019-03-09 16:58:17 +01:00
Catfriend1
dff782d735
ConfigXml: Use defaults from model (instead of hardcoded) ( fixes #358 )
2019-03-09 16:43:38 +01:00
Catfriend1
def8773dbb
Add pref to enable expert mode ( fixes #256 ) ( #328 )
...
* 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)
* Add expert mode pref (ref #256 )
* Make ignoreDelete an expert option
* Make pullOrder and ignoreDelete expert options
* Make deviceCompression an expert option
* Import de translation
2019-03-09 16:15:37 +01:00
Catfriend1
dbe7838266
Add UI for "ignoreDelete" folder option ( fixes #356 ) ( #357 )
...
* Add drawable: ic_delete_forever_black_24
* Update ConfigXml
* Update FolderActivity
* Update layout: activity_folder
* Add strings
* Import de translation
2019-03-09 15:52:36 +01:00
Catfriend1
33cafa2073
Update APK version to 1.1.0.2 / 1010002
2019-03-06 02:08:15 +01:00
Catfriend1
e57caf96c2
Use model/Folder defaults for the camera folder ( fixes #352 ) ( #353 )
2019-03-06 01:38:31 +01:00
Catfriend1
4b2dfd3b1b
Update whatsnew
2019-03-06 01:24:00 +01:00
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
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
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
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
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
Catfriend1
bc6f134046
Update Syncthing to v1.0.1 ( #304 )
...
* Update whatsnew
* Update APK version to 1.0.1.1 / 1000101
* Update syncthing submodule to v1.0.1
2019-02-05 23:31:01 +01:00
Catfriend1
697defb1a7
Add screen reader label ( fixes #297 ) ( #298 )
2019-02-03 11:46:13 +01:00
Catfriend1
72709f3cb8
TipsAndTricks: Add "Backup pictures from phone to computer" ( fixes #257 ) ( #299 )
...
* Add tip: tip_ignore_delete (fixes #257 )
* Add strings for tip (fixes #257 )
* Updated de translation
2019-02-03 11:42:18 +01:00
Catfriend1
b239eec38e
Update APK version to 1.0.0.21 / 1000021
2019-02-01 00:07:18 +01:00
Catfriend1
976d4e05c2
Fix deferred native shutdown not working during State.STARTING ( fixes #290 ) ( #296 )
...
Remove SyncthingService#mDestroyScheduled
2019-01-31 23:51:39 +01:00