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

1637 commits

Author SHA1 Message Date
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
Catfriend1
8a5e5d7e47
Update play descriptions (#47)
* Update play - app title and contact email

* Update apk version to 4157 - 0.14.51.rc3.1
Update EN, DE play descriptions to indicate the fork

* Add fork notice to all languages
2018-09-14 20:19:08 +02:00
Catfriend1
88f5a49a99
Update syncthing to v0.14.51-rc.3 (#45) 2018-09-14 18:29:52 +02:00
Catfriend1
fdcafc6d1b
Update syncthing to v0.14.51-rc.2 (#43)
* Update syncthing to v0.14.51-rc.1

* Update syncthing to v0.14.51-rc.2

* Update fdroid metadata

* Update python build script
Use prebuilt go binaries from google and check SHA-256
after downloading requires files from google.
2018-09-13 09:57:31 +02:00
Catfriend1
9a8a43d273 Bumped version to 0.14.50.rc2.6 / 4154 2018-09-01 22:40:14 +02:00
Catfriend1
8f159a00ef
Update README.md 2018-09-01 22:36:56 +02:00
Catfriend1
836624a93f
Rename app to "Syncthing-Fork" (#42)
* Rename app to "Syncthing-Fork"
* Update com.github.catfriend1.syncthingandroid.yml for F-Droid
* Update README.md
* Updated whatsnew
2018-09-01 22:33:13 +02:00
Catfriend1
850cad223c
Fix type of "mIgnoreListContent" in FolderActivity (#41)
App worked okay, but the type was wrong. Better fix it.
Verified working after fix.
2018-08-28 08:49:19 +02:00
Catfriend1
609cf1fffe Bumped version to 0.14.50.rc2.5 / 4153 2018-08-26 13:04:33 +02:00
Catfriend1
19991abd0d
Support in-app editing of folder's ignore list items (fixes #19) (#40)
* Read ignore list from REST
* Add write back of ignore list via REST endpoint call
* Disable the edit ignore EditText when a new folder is created to preserve existing ".stignore" contents
2018-08-26 13:02:37 +02:00
Catfriend1
bad36c4809
Fix override changes button not showing (fixes #38) (#39) 2018-08-26 10:47:55 +02:00