1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 12:51:16 +00:00
Commit graph

56 commits

Author SHA1 Message Date
Catfriend1
a7e6fb9118 Support Variable Size Blocks (VSB) (#1270)
* Support Variable Size Blocks (VSB) (fixes #153) (#156)

* ConfigXml/Folder - Add "useLargeBlocks"

* Update folder model defaults

* UI for Variable Size Blocks (VBS) (fixes #153)

* Prepare model/Folder for Syncthing 1.0.1
2019-02-12 22:21:39 +00:00
Audrius Butkevicius
160e2bd66e
Imported translations 2019-02-11 20:08:56 +00:00
Martin Carpella
700c55e9d3 Show reasons for disabled service in notification dialog (#1264) 2019-01-21 21:05:45 +00:00
Catfriend1
346cc35237 Fix Syncthing getting killed by ActivityManager when started using Intent (fixes #1247) 2019-01-09 21:49:58 +00:00
Simon Frei
b27c19c838 Imported translations 2018-11-20 08:53:06 +01:00
Audrius Butkevicius
81ba1fd9f6 Imported translations 2018-10-03 19:45:56 +01:00
Catfriend1
54daf43d6f Fix phone plugged to charger detection (#27) 2018-10-03 19:41:15 +01:00
Audrius Butkevicius
544e8c11d7
0.10.14 release (#1233)
* Updated Syncthing to v0.14.50

* Allow forcing a version in a release

* Imported translations

* Bumped version to 0.10.14
2018-10-03 19:40:22 +01:00
Licaon_Kter
4428ac869f Keep Wi-Fi naming consistent (#1213) 2018-08-09 07:47:52 +01:00
Audrius Butkevicius
cd2df3b117 Imported translations 2018-08-07 19:18:16 +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
Audrius Butkevicius
f5bec66232 Imported translations 2018-07-27 20:34:59 +01:00
Audrius Butkevicius
ecb6200503 Imported translations 2018-07-24 21:47:51 +01: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
691edabaf6 Rename sttrace pref to debug_facilities_enabled (fixes #1133) 2018-06-17 11:04:09 +01:00
Audrius Butkevicius
8284c015c7 Imported translations 2018-06-10 00:08:16 +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
950e3734ed fix Lint warning
about extraneous text in resource file folder fragment
2018-05-31 11:59:02 +02:00
Catfriend1
a1383c7a60 Add sttrace option dialog (#1109) 2018-05-31 00:43:05 +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
Lokesh Krishna
c43ee663a2 Support for adaptive icons (#1095)
* Moved launcher icons from drawable to mipmap

* Added alternative drawable resource

* Added background and foreground layers

* Changed refernce in manifest to mipmap

* Updated background
2018-05-23 12:42:10 +01:00
Licaon_Kter
cb286490ed Make current proxy text clearer (#1093) 2018-05-21 21:03:04 +01:00
Catfriend1
e800286bc1 Fix build lint warnings (#1087) 2018-05-11 12:23:02 +01:00
Audrius Butkevicius
b8d9326cc7 Imported translations 2018-05-09 18:57:37 +01:00
Catfriend1
d5da9d7883 UI - improve fileWatcher explanation (#1077) 2018-05-06 10:45:08 +01:00
Audrius Butkevicius
9ae02d30eb Imported translations 2018-05-03 21:40:13 +01:00
Audrius Butkevicius
5d5bbd4653 Imported translations 2018-04-29 23:23:38 +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
9b56c96be0 Imported translations 2018-03-14 16:29:45 +09:00
8f324a866d Imported translations 2018-03-09 20:04:22 +09:00
8a0b010773 Externalize string 2018-02-24 16:33:18 +09:00
a2b3a1b4d6 Imported translations 2018-01-25 16:00:25 +09:00
edb3958573 Imported translations 2017-12-27 03:04:11 +09:00
e5e5b26d38 Imported translations 2017-12-05 21:07:00 +09:00