1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 08:11:17 +00:00
Commit graph

28 commits

Author SHA1 Message Date
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
6ead66b359 Add options button "undo ingoring devices and folders" (fixes #938) (#1185) 2018-07-18 18:11:11 +01:00
Catfriend1
b8511cfd41 Add "Override changes" UI button (fixes #396) (#1183) 2018-07-18 07:20:26 +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
1a6db23281 Show meaningful error message if config file is missing (fixes #1156) (#1157) 2018-06-18 00:06:44 +01:00
Catfriend1
165c136bea Multiple fixes (fixes #871, fixes #1115, fixes #1116)
Handle storage permissions
Fix multiple processes being started.
2018-06-02 20:49:55 +01:00
Catfriend1
d1cb58fc7e Fix some lint warnings (#1112) 2018-06-01 22:00:29 +01:00
Catfriend1
53fc6fdd3c Reduce syncthing restart requests (#1099) 2018-05-29 20:35:49 +01:00
Catfriend1
b14a1aa177 fix parseInt exception - fixes https://github.com/syncthing/syncthing… (#1097)
* fix parseInt exception - fixes https://github.com/syncthing/syncthing-android/issues/1090
If the user enters an invalid integer, a message is shown telling
the accepted value range.

* fix min value
2018-05-24 19:07:40 +01:00
Licaon_Kter
cb286490ed Make current proxy text clearer (#1093) 2018-05-21 21:03:04 +01:00
Catfriend1
d5da9d7883 UI - improve fileWatcher explanation (#1077) 2018-05-06 10:45:08 +01:00
Catfriend1
b7f0c02238 Add pause support for folders and devices (fixes #856) 2018-04-29 23:17:27 +01:00
Catfriend1
030ef4ee7b Add proxy settings to settings UI (fixes #766) 2018-04-29 16:49:59 +01:00
Catfriend1
69885e2aa2 Adjust folder rescan interval (#1069) 2018-04-28 16:44:55 +01:00
Catfriend1
f6f09515c5 Send an alternative intent on folder open (fixes #838) 2018-04-27 22:52:53 +01:00
Catfriend1
299b556923 Migrate to built in fs notifications, add restart on wakeup toggle
* Added UI experimental option to enable/disable FolderObserver

* Disable android watcher by default.

* WIP - dismiss file watcher notification

todo - SyncthingRunnable has to run and migrate the config v27>28 before the file watcher notification can be dismissed.

* fix object type

* remove unackednotifications instead of altering it

* removed extra blank lines

* fix removeChild

* updated syncthing to v0.14.47-rc.2

* WIP - log remove of unackedNotificationID

* WIP - improved config migration 27>28

Prevent generating the unackedNotification fsWatcher in WebGUI by manual bumping the config version to #28.

* fix typo

* WIP - polish version bump code

* syncthing/imsodin-debugAndroidWatch

* update syncthing to v0.14.47-rc.3

* fix NPE on first app start

* fix pref condition

* add ConfigXML support for fsWatcher transition

Added UI experimental option to enable/disable FolderObserver

Disable android watcher by default.

WIP - dismiss file watcher notification

todo - SyncthingRunnable has to run and migrate the config v27>28 before the file watcher notification can be dismissed.

fix object type

remove unackednotifications instead of altering it

removed extra blank lines

fix removeChild

updated syncthing to v0.14.47-rc.2

WIP - log remove of unackedNotificationID

WIP - improved config migration 27>28

Prevent generating the unackedNotification fsWatcher in WebGUI by manual bumping the config version to #28.

fix typo

WIP - polish version bump code

syncthing/imsodin-debugAndroidWatch

update syncthing to v0.14.47-rc.3

fix NPE on first app start

fix pref condition

* updated syncthing to v0.14.47+3d02fcd notify-fix

* updated ConfigXml, FolderObs explanation, st 0.14.47-rc.4

* fixed string escape

* add restartOnWakeup setting to the UI

* restartOnWakeup = false by default on first app start and config generation

* improved logging of restartOnWakeup option to produce meaningful logs

* restartOnWakeup enabled by default
see discussion in https://github.com/syncthing/syncthing-android/issues/368

* PR improved according to review

* fix intendation - Atom Tab Indent = 4

* move configXml migration to separate function

* changeLocalDeviceName only affects "self device" - fixes https://github.com/syncthing/syncthing-android/issues/1059

* revert changeLocalDeviceName fix

* fixed changed result in migrateSyncthingOptions

* improved dismissing unackedNotificationID

* extend folder settings UI by fsWatcherEnabled checkbox

* remove FolderObserver

+ Constant.PREF_USE_TOR according to AudriusButkevicius' review added instead of static strings

* remove folderchange listener

* WIP - temporary - restApi logging

for better understanding whats going on

* prevent removingthe wrong unackedNotificationID

* fix build

* give me more log

* fix PostConfig REST request not working

due to missing fields in the folder model

* remove unused string

toast_folder_observer_stack_overflow using AndroidStudio

* fix typo

* trigger rebuild

* fix UI icon

* Revert to Syncthing to 0.14.46 and cherry-pick

* improved code according to review

* fix translation indent
2018-04-27 21:24:47 +01:00
Catfriend1
203dfc753f Add UI support for delta index resets (fixes #1060) 2018-04-27 20:57:15 +01:00
Martin Carpella
7194e25a5c Use separate notification channel while monitoring run conditions (#1046) 2018-03-28 22:52:36 +01:00
Martin Carpella
7ab45a9d88 Request ACCESS_COARSE_LOCATION on Android 8.1 (fixes #999) 2018-03-28 22:04:25 +01:00
8a0b010773 Externalize string 2018-02-24 16:33:18 +09:00
0350ff5f40 Implement notification channels (fixes #966) 2017-12-04 12:29:30 +09:00
485d76163e Revert "Revert build script changes"
This reverts commit 18c419b2ed.
2017-10-24 14:55:28 +09:00
18c419b2ed Revert build script changes
This reverts commits 5749b98b92,
9559d0c2d9,
536c826fbb
2017-10-19 12:09:53 +09:00
9559d0c2d9 Divide project into submodules, compile with Clang 2017-10-17 12:59:13 +09:00