Catfriend1
84290ff560
Revert build.gradle to use guava:23.6-android
...
Reason: Crash on Android 5.x
2018-10-27 16:34:08 +02:00
Catfriend1
6ee9f26fb7
Fix lint issues after build.gradle update ( #115 )
...
* Update build.gradle
Remove unused menu resource
Insert constant instead of static string
Obey new wakelock tag naming rule
* Add annotations - importantForAutofill
2018-10-27 16:21:03 +02:00
Catfriend1
e0bf5589db
Incorporate feedback from issue #110 (1) + (3) ( #114 )
...
* Fix issue 110 (3) - remove checkmark
in per object sync conditions dialog
* Fix UI glitches, feedback issue #110 (1)
* Stop onscreen keyboard popping up
when FolderActivity starts
* RunConditionMonitor - Add more logging
* Always save UI state back to prefs
in SyncConditionsActivity until we abandon global run conditions.
2018-10-27 15:52:20 +02:00
Catfriend1
ba45aa9e82
Update build tools to 28.0.3 / gradle 4.6
...
Android Studio 3.1.2
2018-10-27 15:09:05 +02:00
Catfriend1
39e1329f41
Follow-Up to issue 108 "IllegalStateEx" workaround ( fixes #108 ) ( #113 )
...
* MainActivity updateViewPager - Add isServiceActive
* Add numPages, setOffscreenPageLimit (fixes #108 )
* Fix numPages
2018-10-26 17:23:25 +02:00
Catfriend1
6712ca657d
Fallback to built-in path selector ( fixes #111 ) ( #112 )
...
* Fallback to built-in path selector (fixes #111 )
* Update APK version to 0.14.51.11 / 4174
2018-10-25 16:20:23 +02:00
Catfriend1
334f24f027
Update APK version to 0.14.51.10 / 4173
2018-10-23 09:22:50 +02:00
Catfriend1
e94495f40b
Add bug notice ( closes #108 ) ( #109 )
...
* Add bug notice (fixes #108 )
* Update strings
* Updated translations
2018-10-23 09:19:13 +02:00
Catfriend1
f3dac90124
Add tip - Workaround for device disconnected on Huawei
...
* Update APK version to 0.14.51.9 / 4172
* Add tip - Workaround for device disconnected on Huawei
2018-10-22 08:49:32 +02:00
Catfriend1
200f50e940
Add offline "Tips & Tricks" library ( fixes #91 ) ( #102 )
...
* Add TipsAndTricks activity
* Add TipListAdapter
* Fix lint
* Fix typo
* Fix toolbar
* Fix layout
* Add onClick listener
* Add tips
* Update APK version to 0.14.51.8 / 4171
* Update README.md and whatsnew
* Fix Android 4.x compatibility
* Imported translations
2018-10-21 20:50:52 +02:00
Catfriend1
5fbd99619e
Add dialog if no compatible file manager was found ( fixes #97 ) ( #98 )
...
Added a dialog to suggest a compatible open-source file-manager app if none is found.
Updated translations
2018-10-21 12:59:47 +02:00
Catfriend1
78b1af9d02
Update README and translations
2018-10-16 10:26:44 +02:00
Catfriend1
f8692f02ef
Add individual sync conditions for devices ( #96 )
...
* SyncConditionsActivity - Rename "folder" to "object" as it can mean a folder or device.
* Implement per-device sync conditions
* Default custom wifi whitelist to "all enabled"
* Update APK version to 0.14.51.7 / 4170
* Add checkbox "use Wi-Fi whitelist" in global run conditions
* Rename variable
2018-10-16 10:18:15 +02:00
Catfriend1
b84d4da34f
Default global pref PREF_RUN_ON_WIFI to true ( #95 )
...
in SyncConditionsActivity, according to definition in app_settings.xml
2018-10-15 01:13:14 +02:00
Catfriend1
f6f90c9c2b
Allow specifying different sync conditions per folder ( fixes #57 ) ( #66 )
...
* WIP - https://github.com/Catfriend1/syncthing-android/issues/57
* Add sync conditions activity
* Update folder edit layout
Implement SyncConditionsActivity stub
* Add dialog open logic
* Fix UI glitches
* Update APK version to 0.14.51.4 / 4167
* Revert "Update APK version to 0.14.51.4 / 4167"
This reverts commit 47bc4aa9ba219c134047765cc2fb49a9fa651fbe.
* Implement WiFi Ssid Whitelist UI
* Read per-folder sync conditions from prefs
* Implement onCheckedChange listeners
* Implement saving object sync conditions
* Remove early draft stuff
* Implement per folder master switch for custom sync conditions
* FolderActivity - More log
* Improve generation of object-specific constants
* Added onSyncPreconditionChanged to RunConditionMonitor
* Fix UI glitch
* Fix non-harming typos
* Refactor "on mobile data" sync condition
* Refactor "on wifi" sync condition
* Refactor "on whitelisted wifi" sync condition
* Refactor "on metered wifi" sync condition
* Refactor RunConditionMonitor#decideShouldRun
* RunConditionMonitor - Rename variables
* Pause/Unpause folders using RunConditionMonitor events
* Implement RunConditionMonitor#SyncConditionResult
* Fix lint - use editor.apply instead of editor.commit
* Updated translations
* Add null check in RestApi
* Fix missing explanation text
* Fix german translation
* Update APK version to 0.14.51.6 / 4169
* Update whatsnew
2018-10-15 00:29:52 +02:00
Catfriend1
c5a436fb61
Update APK version to 0.14.51.5 / 4168
...
Updated whatsnew
2018-10-13 11:58:56 +02:00
Catfriend1
b63eeb002b
Remove pref "advanced_folder_picker", make it default to enabled ( fixes #92 ) ( #94 )
...
Remove shared pref "advanced_folder_picker" and make it default to enabled - only relevant for Android 4.x
2018-10-13 11:54:00 +02:00
Catfriend1
85daca6eb7
Preserve xml encoding on read, parse and save ( fixes #88 ) ( #89 )
...
* Preserve xml encoding on read, parse and save (fixes #88 )
2018-10-11 22:42:34 +02:00
Catfriend1
f9145b9fd5
Update APK version to 0.14.51.4 / 4167
2018-10-10 02:48:21 +02:00
Catfriend1
6030d6105c
QA: Remove unused format string
2018-10-10 02:37:50 +02:00
Catfriend1
28040869e6
Tell user if location is disabled but "run on selected" WiFi is enabled ( fixes #16 ) ( #87 )
...
* Tell user if location is disabled but "run on selected" WiFi is enabled.
* Update status tab while user looks at the UI and syncthing is disabled
* UI: Offer a solution
2018-10-10 02:16:38 +02:00
Catfriend1
12bc08c6dd
Implement import/export of the index database ( fixes #83 ) ( #84 )
...
* Add export of index database
* Add import of index database
* Shutdown service before export and restart it afterwards.
* Do not import database if it doesn't exist on sdcard
* Do not attempt to delete the database export directory on export if it does not exist.
* Return to MainActivity after successful export
* Import/Export using an AsyncTask
* Fix compatibility with Android 5.x
2018-10-10 01:06:25 +02:00
Catfriend1
79d0d7cc4c
Fix notification not being cancelled on app shutdown ( #81 )
...
Fix notification not being cancelled on app shutdown if the app was continously in DISABLED state.
2018-10-08 05:19:52 +02:00
Catfriend1
c224bcb04a
Fix service.startForeground on Android 8+ ( fixes #18 ) ( fixes #80 ) ( #79 )
...
* Add push APK to device after build script
* Fix typo in SyncthingService comment
* Refactor SettingsActivity - updatePersistentNotification
Call updatePersistentNotification after the settings screen was left and not when the user toggles the alwaysRunInBackgroundAsAService checkbox.
* Automatically start app if push-to-device is enabled
* Remove PREF_NOTIFICATION_TYPE
* Only push APK to device if build succeeded
* Fix notifications and foreground service start/stop
* Use startForegroundService on Android 8+
* Fix startActivity called from non-Activity context (fixes #80 )
* Fix comment
2018-10-08 05:00:59 +02:00
Catfriend1
cd3bca5141
Update APK version to 0.14.51.3 / 4166
2018-10-07 18:30:02 +02:00
Catfriend1
2021ef6806
Disable wakelock experimental option on Android 6+ ( #77 )
2018-10-07 18:28:46 +02:00
Catfriend1
466fc971dd
Add launcher icon indicating a debug build ( #76 )
2018-10-07 17:33:41 +02:00
Catfriend1
ecd8e7cd21
Update APK version to 0.14.51.2 / 4165
2018-10-07 15:34:36 +02:00
Catfriend1
c83422bb28
Update build.gradle to CompileSdkVersion 28 ( #74 )
2018-10-07 15:32:55 +02:00
Catfriend1
c57f53bd33
Add mdpi drawables ( #75 )
2018-10-07 15:13:49 +02:00
Catfriend1
fa6e4f4fd8
Update syncthing to v0.14.51
...
Update APK version to 0.14.51.1 / 4164
2018-10-04 18:34:10 +02:00
Catfriend1
9b8b04c105
Update syncthing to v0.14.51.rc4 ( #72 )
...
Update APK version to 0.14.51.rc4.1 / 4163
2018-09-29 23:09:41 +02:00
Catfriend1
7188f0a923
Support python3 during build - Install MinGit on-demand on Windows ( #69 )
...
* Build with python3 - Replace urllib
* Fix build.gradle cleanNative
* Update README.md
* build-syncthing - Install MinGit on demand if missing on Windows
2018-09-23 14:36:49 +02:00
Catfriend1
1f3abb127b
Update NDK to android-ndk-r18 ( #68 )
...
* Update NDK to android-ndk-r18
* Update build.gradle, resolve lint warnings
2018-09-22 19:19:18 +02:00
Catfriend1
73775a116d
Improve building wrapper and native binaries on Windows and Linux
...
* Do not ask for root if root is disabled in settings
* Show error in UI when libSyncthing.so is missing
* build-syncthing - Install Go on demand on windows
* build-syncthing - Install Android NDK on demand on windows
* Update README.md
* Update APK version to 0.14.51.rc3.6 / 4162
2018-09-22 18:31:36 +02:00
Catfriend1
0203aebc40
Allow stopping the service manually when running as a service ( #65 ) ( fixes #63 )
...
Allow stopping the service manually when running as a service in extraordinary cases to avoid the user has to reboot the phone (fixes #63 )
2018-09-20 23:39:02 +02:00
Catfriend1
0ed501c362
Update Play/FDroid screenshots for en-GB ( #64 )
...
* Update APK version to 0.14.51.rc3.5 / 4161
* Update Play/FDroid screenshots for en-GB
2018-09-20 22:44:48 +02:00
Catfriend1
d1feb89082
Updated APK version to 0.14.51.rc3.4 / 4160
2018-09-17 09:15:17 +02:00
Catfriend1
38db4d9c32
Add import/export for app settings (SharedPreferences) ( #61 )
...
* Add export of SharedPreferences app settings
Add import/export to drawer
* Add import for app settings (SharedPreferences)
Move last_sync_id pref to Constants.java
* Add drawer icon for import / export feature
* Start or stay stopped according to run conditions after import
* Close SettingsActivity after sharedPref import
2018-09-17 09:13:07 +02:00
Catfriend1
3bb227379c
Update README.md
2018-09-16 12:04:25 +02:00
Catfriend1
861d92b855
Updated APK version to 0.14.51.rc3.3 / 4159
...
Updated whatsnew
2018-09-15 22:40:45 +02:00
Catfriend1
3eab8fe132
Speed up syncthing startup and reduce log spam ( #60 )
2018-09-15 22:26:16 +02:00
Catfriend1
ebb26d6a4b
Fix home volume not recognized on Android 8 ( fixes #58 ) ( #59 )
...
* Fix home volume not recognized on Android 8 (fixes #58 )
* Fix Downloads volume not recognized on Android 8
2018-09-15 22:06:32 +02:00
Catfriend1
cc0a35dc4e
Fix android.view.ViewRootImpl$CalledFromWrongThreadException ( #56 )
2018-09-15 21:09:15 +02:00
Catfriend1
6e3899f7e0
Fix UI glitch - folder type explanation not updating ( fixes #53 ) ( #54 )
2018-09-15 20:37:56 +02:00
Catfriend1
23c9663023
Fix crash when ignoring devices or folders ( fixes #50 ) ( #52 )
...
Fix unignoring devices and folders
Improve performance of RestApi#getDevices
2018-09-15 20:16:20 +02:00
Catfriend1
d084026548
Updated APK version to 0.14.51.rc3.2 / 4158
2018-09-15 12:52:16 +02:00
Catfriend1
3f93ec3ca4
Update Play screenshots de-DE ( #51 )
...
* Remove play language de_DE
* Update Play screenshots de-DE
2018-09-15 12:49:34 +02:00
Catfriend1
5e13fc2edd
Update README.md
2018-09-14 21:17:20 +02:00
Catfriend1
bdce748ac4
Fix parsing connectionServiceStatus ( #49 )
...
* Catch failures on gson-parsing SystemInfo
* Fix parsing connectionServiceStatus on recent syncthing version
* Add SystemStatusConnectionServiceStatusElement to model
2018-09-14 21:05:51 +02:00