1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-29 14:21:31 +00:00
Commit graph

183 commits

Author SHA1 Message Date
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
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
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
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
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
Audrius Butkevicius
8284c015c7 Imported translations 2018-06-10 00:08:16 +01:00
Catfriend1
e9eef4332b Refactor SyncthingService (lifecycle), DeviceStateHolder, RestApi, multiple fixes (#1119) 2018-06-09 23:39:42 +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
6a4c99848d Cache available debug facilities and fall back to hardcoded list (fixes #1113, fixes #504) 2018-06-01 22:02:37 +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
b33d966eff Don't log config (fixes #1107) 2018-05-29 19:57:26 +01:00
a3d49970ee
Merge pull request #1105 from Catfriend1/fixDoubleBinaryStarts
remove duplicate SyncthingRunnable start trigger (fixes #1104)
2018-05-27 23:55:58 +02:00
Catfriend1
5815d8f056 Rename variables (ref#1102) 2018-05-27 20:57:12 +01:00
Catfriend1
17098106eb Merge branch 'master' of https://github.com/syncthing/syncthing-android into fixDoubleBinaryStarts 2018-05-27 21:34:03 +02:00
Catfriend1
6fc81918e9 Replace "grep" with java code (fixes #887) (#1102) 2018-05-27 20:28:35 +01:00
Catfriend1
2e908783ff Cleanup code duplications in FirstStartActivity (ref #622) 2018-05-27 19:58:02 +01:00
Catfriend1
976b47532e remove duplicate SyncthingRunnable start trigger
fixes issue https://github.com/syncthing/syncthing-android/issues/1104
2018-05-27 20:51:43 +02:00
Catfriend1
ec626cd9fe Fix loading text (#1101) 2018-05-26 16:44:45 +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
533557c135 Fix crash in settings onApiChange call (fixes #1084) 2018-05-10 18:13:49 +01:00
Audrius Butkevicius
49853d77fc Update whatsnew 2018-05-09 19:43:39 +01:00
Audrius Butkevicius
df7d8c138e Fixup translations 2018-05-09 19:42:18 +01:00
Audrius Butkevicius
e25bfe3e04 Bumped version to 0.10.10 2018-05-09 19:26:46 +01:00
Audrius Butkevicius
b8d9326cc7 Imported translations 2018-05-09 18:57:37 +01:00
Catfriend1
f13ed587d7 Fix incorrect remote device syncing status UI (fixes #1062) 2018-05-09 18:54:58 +01:00
Catfriend1
7e3c6c0b8f Reread the config on configSaved event (fixes #1078) 2018-05-07 13:47:05 +01:00
Catfriend1
cb1575b890 Fix chromium running multiple times in the background (fixes #1064) 2018-05-07 08:47:07 +01:00
Catfriend1
d5da9d7883 UI - improve fileWatcher explanation (#1077) 2018-05-06 10:45:08 +01:00
Audrius Butkevicius
16223f4c61 Shorten whats new 2018-05-03 22:00:04 +01:00
Audrius Butkevicius
8482ea610b Bumped version to 0.10.9 2018-05-03 21:44:11 +01:00
Audrius Butkevicius
9ae02d30eb Imported translations 2018-05-03 21:40:13 +01:00
Catfriend1
71c9cadce9 Bypass system proxy for local webgui access (fixes #440) 2018-05-02 23:11:09 +01:00
Catfriend1
3738f609ba Correct device renaming, save config via temp file (fixes #1059) 2018-04-30 21:32:49 +01:00
Catfriend1
22e03d65da Fix DevicesAdapter NullPtr exception (#1075) 2018-04-30 07:01:46 +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
Audrius Butkevicius
638789c7b1
Update minSdk to 16 (#1067) 2018-04-27 23:29:25 +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
Audrius Butkevicius
f8f3f723e4
Roll out to beta track by default 2018-04-18 23:46:20 +01:00
Audrius Butkevicius
285797f89b Bumped version to 0.10.8 2018-04-10 23:33:30 +01:00
Audrius Butkevicius
66ee130e7d
Docker image, and windows builds (#1049) 2018-04-09 21:13:25 +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
c4336569e5 Bumped version to 0.10.7 2018-03-14 23:13:05 +09:00
e9d7355656 Bumped version to 0.10.6 2018-03-14 16:31:45 +09:00
9b56c96be0 Imported translations 2018-03-14 16:29:45 +09:00
db840ab1cf Bumped version to 0.10.5 2018-03-09 20:05:19 +09:00
8f324a866d Imported translations 2018-03-09 20:04:22 +09:00
8a0b010773 Externalize string 2018-02-24 16:33:18 +09:00
Catfriend1
6a31e9d78e
Fix root startup of libsyncthing.so binary
Call suOut.flush on starting the syncthing binary using root
Fixes issue https://github.com/syncthing/syncthing-android/issues/1005
2018-02-23 16:58:13 +01:00
18075f7151 Bumped version to 0.10.4 2018-01-28 01:07:42 +09:00
Andrey D
a0a40b6f17
MainActivity.java: Don't show Usage Reporting dialog if aready decided 2018-01-26 09:41:55 +02:00
a989e4df97 Bumped version to 0.10.3 2018-01-25 17:00:17 +09:00