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

1796 commits

Author SHA1 Message Date
Catfriend1
3bd1c753a6 Root only - Temporarily increase fs.inotify.max_user_watches to 128K (fixes #1208) (#1209)
Forum discussion: https://forum.syncthing.net/t/android-failed-to-set-up-inotify-handler-please-increase-inotify-limits/11924/15
2018-08-07 18:22:15 +01:00
Catfriend1
4b7024bf8a Add "receiveonly" folder type to UI and model (fixes #1210) (#1211) 2018-08-07 13:14:21 +01:00
Catfriend1
6a04d640bd
Improve run conditions and run conditions UI (#1189)
* WIP - Extend run condition monitor functions

* WIP - Better run conditions UI

* WIP - Allow applying run conditions to foreground and background
execution of the syncthing app

* WIP - Add mobile data run condition

* WIP - Fix RunConditionMonitor#onSharedPreferenceChanged

* WIP - Directly go to SettingsActivity#Run_Conditions screen
after the "change run condition" button has been clicked in
StateDialogActivity during STATE_DISABLED

* Disable Syncthing in flight mode (fixes #1173)
... and allow to enable it on phone that have problems
detecting wifi connection if the user manually enables
one during flight mode.

* Add run condition "Run on metered wifi" (fixes #937)

* Improve string

* Add run condition "Respect Android Auto-sync data quick toggle" (fixes #588)

* Remove SharedPreferences.OnSharedPreferenceChangeListener

* Added SyncthingService#reEvaluateRunConditions

* Implement mPendingRunConditions in SettingsActivity
to queue run condition changes until the user leaves
the preferences screen after making changes. (fixes #1196)

* Rename reEvaluateRunConditions to evaluateRunConditions
according to review

* Fix implementation of ContentResolver.removeStatusChangeListener

* Reordered run conditions
wifi, metered wifi, wifi whitelist, mobile data

* Review 1/2

* Fix logic for metered/non-metered wifi run condition

* Remove PreferenceScreen dividers on API level > 21

* Revert "Remove PreferenceScreen dividers on API level > 21"

This reverts commit ec037b02e4.

* Detect changes made to wifi connections in android's data usage dialog
related to the metered wifi flag.

* Review - Minor string improvements
Removed unused variable from RunConditionMonitor
Move always_run_in_background pref to pref category
"Behaviour".

* Review - "Start service automatically on boot" string

* Remove unused strings
2018-08-02 10:50:21 +02:00
Catfriend1
cdaf8e69c5
Add welcome wizard slides on first start requesting permissions (#1176)
* Prepare welcome wizard related to issues
https://github.com/syncthing/syncthing-android/issues/1129
https://github.com/syncthing/syncthing-android/issues/622

* Add drawables and texts

* Disable scrolling the ViewPager, we have buttons for that

* Add welcome wizard code
Ask for storage and location permission
Location permission is required to run the app
Recheck storage permission on each app start, if revoked the
welcome slides show again.

* Review

* Review - Do not quit the app when storage permission is not granted

* Review - Minor string improvements
2018-08-01 20:10:31 +02:00
Catfriend1
b50fcf1fa1
Fix races during config access, add missing null check (fixes #1194) (#1195)
* Fix race during config reload and missing null check
in FolderListFragment and DeviceListFragment (fixes #1194)

* Review - synchronize(mConfigLock) when mConfig is accessed

* Review - add two breaks in RestApi
in removeFolderInternal, removeDeviceInternal
2018-07-29 18:25:56 +02:00
Catfriend1
5426e750ef
Fix sending wrongly encoded commands into the unix subshell (fixes #1198) (#1199)
* Fix sending wrongly encoded commands into the unix subshell (fixes #1198)

This reverts commit 7541fa978e.
2018-07-28 01:05:41 +02:00
Catfriend1
b99d6d47d4 Revert "Disable write test to work around (ref #1198)"
This reverts commit a9a863ace9.
2018-07-28 00:54:48 +02:00
Audrius Butkevicius
815f945bb4 Bumped version to 0.10.13 2018-07-27 20:38:00 +01:00
Audrius Butkevicius
f5bec66232 Imported translations 2018-07-27 20:34:59 +01:00
Audrius Butkevicius
a9a863ace9 Disable write test to work around (ref #1198) 2018-07-27 20:30:15 +01:00
Catfriend1
d0dbb695eb Implement mPendingRunConditions in SettingsActivity to queue run condition changes until the user leaves the preferences screen after making changes. (fixes #1196) 2018-07-26 23:52:36 +01:00
Audrius Butkevicius
20922055db
Fix NPE in FolderActivity#onOptionsItemSelected (fixes #1190) (#1191) 2018-07-26 21:01:37 +01:00
Catfriend1
d78b86f5b4 Fix missing blank line 2018-07-26 10:24:58 +02:00
Catfriend1
aad57de03d Initialize mFolder.type to FOLDER_TYPE_SEND_RECEIVE
according to the switch element having android:checked=false
by default in the xml layout.
2018-07-26 10:23:16 +02:00
Catfriend1
9382685fc9 More Log 2018-07-26 10:16:11 +02:00
Catfriend1
69913ebead Add paranoid safety checks to FolderActivity#onOptionsItemSelected (fixes #1190) 2018-07-25 14:02:02 +02:00
Audrius Butkevicius
7cfe0855bb Bumped version to 0.10.12 2018-07-24 21:52:18 +01:00
Audrius Butkevicius
ecb6200503 Imported translations 2018-07-24 21:47:51 +01:00
Audrius Butkevicius
8abcc58bad Updated Syncthing to v0.14.49 2018-07-24 21:37:42 +01:00
Catfriend1
02b6f987eb Refactor DeviceStateHolder and its receivers into RunConditionMonitor (#1187) 2018-07-24 20:10:10 +01:00
Catfriend1
6ead66b359 Add options button "undo ingoring devices and folders" (fixes #938) (#1185) 2018-07-18 18:11:11 +01:00
Catfriend1
765bc4a984 Add error description UI on folder error (fixes #965) (#1182) 2018-07-18 07:42:12 +01:00
Catfriend1
b8511cfd41 Add "Override changes" UI button (fixes #396) (#1183) 2018-07-18 07:20:26 +01:00
Audrius Butkevicius
988bbb0893
Move build script to python (#1184) 2018-07-18 00:17:58 +01:00
Catfriend1
88535ed16f Remove shell boilerplate code (fixes #1181) (#1180) 2018-07-17 10:26:33 +01:00
Catfriend1
40b16cb065 Implement proper permission handling using SAF (fixes #1160) 2018-07-15 22:34:25 +01:00
Catfriend1
23f407ed74 Add pull order to folder create and edit UI (fixes #677) (#1178) 2018-07-08 11:32:03 +01:00
Catfriend1
53aec6a313 Fix recurring device, folder accept notifications, add ignore action (fixes #679) (#1177) 2018-07-07 19:35:18 +01:00
Catfriend1
b9f45f5162 remove duplicate line (#1175) 2018-06-30 11:14:50 +01:00
Catfriend1
d83060975c Fix warning about missing write perm in root mode (fixes #1165) (#1166) 2018-06-24 11:37:06 +01:00
Catfriend1
1442eb9fce Fix multiple chances of a usage reporting dialog NPE (fixes #1154) 2018-06-20 22:47:13 +01:00
Catfriend1
bea4bc3d01 Create or restore fragments before setAdapter (fixes #1162) 2018-06-20 21:16:34 +01:00
nobikik9
31d3aba636 Add randomization to default camera folder name (fixes #1159) 2018-06-20 18:50:21 +01:00
Catfriend1
1a6db23281 Show meaningful error message if config file is missing (fixes #1156) (#1157) 2018-06-18 00:06:44 +01:00
Catfriend1
0f954c07fb Rename RestApi.restart to RestApi.saveConfigAndRestart (#1158) 2018-06-18 00:02:45 +01:00
Catfriend1
73e32ce5d0 Fix NPE during addDeviceViewAndSetListener#deviceView.setChecked (#1153) 2018-06-17 22:32:57 +01:00
Catfriend1
9ecc9d79d8 Fix NPE in DrawerFragment if syncthing is terminated (fixes #1148) (#1149) 2018-06-17 22:32:13 +01:00
Catfriend1
eb1266508f Fix ClassCastException in SyncthingService onCreate (fixes #1150) 2018-06-17 22:01:54 +01:00
Catfriend1
b93da522e1 Fix static leak in LogActivity#AsyncTask (#1142) 2018-06-17 19:35:05 +01:00
Catfriend1
6122c8befa Fix leak in SyncthingService.StartupTask (fixes #1135) 2018-06-17 19:05:04 +01:00
Catfriend1
64e3684d04 Rename sttrace_cache variable (#1136) 2018-06-17 19:01:07 +01:00
Catfriend1
f2064ab3b1 Fix static leak in SettingsActivity#TestRootTask (#1141) 2018-06-17 17:27:55 +01:00
Catfriend1
585191bd66 Fix static leak in ShareActivity#CopyFilesTask (#1140) 2018-06-17 17:06:07 +01:00
Catfriend1
691edabaf6 Rename sttrace pref to debug_facilities_enabled (fixes #1133) 2018-06-17 11:04:09 +01:00
Catfriend1
2b360dab54 FolderActivity - fix NPE - don't update if removed (fixes #1143) 2018-06-16 14:25:36 +01:00
Catfriend1
3cb13b68f5 Remove unused class PostScanRequest (#1139) 2018-06-15 08:03:51 +01:00
Martin Carpella
436070db45 Add ext/ to .gitignore (#1132) 2018-06-12 19:57:09 +01:00
Martin Carpella
a82aa49f52 Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
Catfriend1
2125910407 Fix lint "unused quantity translations" (#1130) 2018-06-10 12:17:02 +01:00
Audrius Butkevicius
e9da786efa Bumped version to 0.10.11 2018-06-10 00:12:45 +01:00