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

907 commits

Author SHA1 Message Date
a231601295 Changed gui update interval to 2 seconds 2017-01-31 12:42:18 +09:00
1d6fc644ca Don't crash when opening folder on Android 7 (fixes #831) 2017-01-26 02:32:40 +09:00
94bad4c98a Fixed crash when setting rate limit 2017-01-23 21:27:22 +09:00
b01eb9a877 Fixed typo 2017-01-23 11:14:23 +09:00
ea747f220c Imported translations 2017-01-22 18:51:49 +09:00
Paul Annekov
1170d8ceb1 Click region of Open folder button (#830)
* increased folder button size

* increased folder button size

* code formatting
2017-01-10 23:27:39 +07:00
9526eeb748 minDiskFreePct should be a float (fixes #829) 2017-01-08 23:00:22 +09:00
0780d606d9 Fixed crash when adding a new device 2017-01-08 21:53:25 +09:00
618945c5bf Use volley for API requests (fixes #827) 2017-01-08 21:53:25 +09:00
1814479b47 Add ARMv8 Syncthing binary for faster hashing on new devices 2017-01-05 12:31:08 +09:00
5153502e4a Improved handling of Syncthing exit codes 2016-12-28 13:24:25 +09:00
3e4effa7c6 Added padding for folder button 2016-12-26 09:33:50 +09:00
f2498920f0 Dont crash if no file manager installed (fixes #822) 2016-12-26 09:33:28 +09:00
81af50a8be Changed GUI update interval to 1 second (fixes #820) 2016-12-23 11:43:16 +09:00
bb61358b4a Always set ignorePerms when creating a new folder (fixes #821) 2016-12-23 11:36:35 +09:00
4a30bd51ae Tread exit code 2 as error (fixes #759) 2016-12-22 17:03:04 +09:00
0539d0b5a0 Set proper default name for local device 2016-12-22 15:14:54 +09:00
1df103cb0f Dont allow adding duplicate folder via notification (fixes #617) 2016-12-22 14:21:55 +09:00
6d6c6beac0 Fixed folder items not being clickable 2016-12-22 14:19:19 +09:00
147f38b37a Improved formatting of LogActivity messages (fixes #797) 2016-12-22 13:19:46 +09:00
22e9187d36 Added mention of task killers in battery optimization dialog (fixes #815) 2016-12-20 16:25:46 +09:00
ea9af597a5 Added button to open folder from list (fixes #770) 2016-12-17 23:34:54 +09:00
e0412ec51b Use data binding for folder items 2016-12-17 23:26:06 +09:00
0858386811 Moved translation files according to removed flavors 2016-12-16 18:36:41 +09:00
c750131657 Imported translations 2016-12-16 16:12:04 +09:00
7dde331454 Store log file on disk for easier access (fixes #811) 2016-12-16 16:06:25 +09:00
92bf84915c Dont crash when rotating screen in settings (fixes #806) 2016-12-12 15:38:50 +09:00
8bcf33b051 Fixed bug where devices were always shown as disconnected (fixes #800) 2016-12-12 15:32:41 +09:00
874e38dc23 Imported translations 2016-12-05 14:20:29 +09:00
46044258a6 Dont crash when setting versioning (fixes #798) 2016-12-05 14:15:21 +09:00
29c9003402 Finish activity after removing device/folder (fixes #796) 2016-12-01 18:15:19 +09:00
9209a8fb6c Fixed some crashes 2016-12-01 18:15:09 +09:00
d2323b5c1d Switch back to default asynctask executor for unlimited queue size 2016-12-01 18:15:09 +09:00
Audrius Butkevicius
6fc9007cf9 Add checkbox for hashing fallback (ref #778) 2016-11-28 23:58:39 +00:00
2dedaaf15f Imported translations 2016-11-26 22:04:40 +09:00
f71017f3c3 Imported translations 2016-11-20 23:21:38 +09:00
8fc957a56b Fix network broadcasts on Android 7 (fixes #783) 2016-11-20 23:10:38 +09:00
113d712d5f Only set short rescan interval on Android 6 (fixes #787) 2016-11-20 13:42:44 +09:00
ac5e35636a Don't force 60s rescan interval on start (fixes #786) 2016-11-19 14:45:19 +09:00
df47050c18 Fixed problems with folder device selection (fixes #782) 2016-11-17 22:44:04 +09:00
dcdb6e1129 Use Gson for connections 2016-11-17 20:01:51 +09:00
a201cd8789 Turned DeviceFragment and FolderFragment into activities 2016-11-11 00:37:27 +09:00
4f41eb7b06 Turned SettingsFragment into activity 2016-11-10 23:55:55 +09:00
9e9397be26 Initialize run conditions with correct enabled state 2016-11-10 23:49:43 +09:00
d9c2442a14 Don't show battery optimization dialog more than once 2016-11-10 23:46:40 +09:00
a3c30f4ac6 Fixed settings not being enabled after restart 2016-11-10 23:39:24 +09:00
2ecca8f1bd Moved restart dialog into SyncthingActivity 2016-11-10 23:35:47 +09:00
f005fcd1d2 Request user to disable battery optimization for Syncthing 2016-11-10 22:57:18 +09:00
c961562c3c Fixed settings behaviour when Syncthing is disabled 2016-11-07 20:01:36 +09:00
8d6ce42297 Merge pull request #780 from Unrud/npe
Fix NPEs
2016-11-06 14:23:08 +09:00
b5140ee831 Deleted duplicate translation files 2016-11-06 14:20:00 +09:00
Unrud
3c78c67817 Fix NPEs 2016-11-06 06:03:55 +01:00
Unrud
390d0784ee Reload URL and API key when importing config
Fixes #777
2016-11-06 00:31:13 +01:00
eb99ed9082 Removed unused resources 2016-10-31 22:22:44 +09:00
9201509d14 Disable "sync on SSIDs" setting if "only sync on wifi" is disabled 2016-10-31 18:31:41 +09:00
8b778bdcb4 Moved BINARY_NAME constant into SyncthingRunnable 2016-10-31 18:27:03 +09:00
cc7a130c1d Renamed syncthing package to service 2016-10-31 18:25:55 +09:00
0f870bb216 Moved BootReceiver into receiver package 2016-10-31 18:24:04 +09:00
a64392922d Reordered RestApi methods 2016-10-31 18:23:38 +09:00
90aa29d81d Also start Syncthing using thread pool 2016-10-31 18:16:30 +09:00
ade637521e Run all API requests in thread pool 2016-10-31 18:16:30 +09:00
2646205620 Improved handling of query parameters 2016-10-31 18:16:30 +09:00
28407d2e94 Use generic listeners for RestApi callbacks 2016-10-31 18:16:30 +09:00
dcd800dc9e Fixed changing Syncthing settings 2016-10-31 18:16:30 +09:00
a263b0c8e2 Fixed folder versioning 2016-10-31 18:16:30 +09:00
337dc146a9 fixed crash when changing settings 2016-10-31 18:16:30 +09:00
60446d4381 Don't crash if global discovery disabled 2016-10-31 18:16:30 +09:00
f60e591a90 Fixed adding/editing folders and devices 2016-10-31 18:16:30 +09:00
4b0ec8b092 We should close URLConnections 2016-10-31 18:16:30 +09:00
66a7cf45db Don't show duplicate restart dialog when changing settings 2016-10-31 18:16:30 +09:00
877cf224a5 Use Gson to parse events 2016-10-31 18:16:30 +09:00
b1af659e79 Don't load folders/devices in onResume() 2016-10-31 18:16:30 +09:00
87f36fcf13 Use Gson to (de-)serialize config, instead of working on raw JSON 2016-10-31 18:16:30 +09:00
fa2879c9f0 Simplified RestTask classes 2016-10-31 18:16:30 +09:00
d222cd7a76 Use lambdas for RestTask callbacks 2016-10-31 18:16:30 +09:00
396370a71b Use Gson to parse devices 2016-10-31 18:16:30 +09:00
9b3968683b Moved getDeviceName() into Device class 2016-10-31 18:16:30 +09:00
9cba4e0ef0 Moved views to seperate package 2016-10-31 18:16:30 +09:00
78891498e8 Moved receiver classes to seperate package 2016-10-31 18:16:30 +09:00
0488324843 Removed DpConverter class 2016-10-31 18:16:30 +09:00
e7e0e061a1 Moved all model classes to seperate package 2016-10-31 18:16:30 +09:00
e74c5b8c47 Moved common functionality to new Util class 2016-10-31 18:16:30 +09:00
3dffc4c900 Use Gson for folder parsing 2016-10-31 18:16:30 +09:00
3309308abe Imported translations 2016-10-31 16:13:26 +09:00
1420ccc1be Fixed crash in folder picker on pre-Kitkat devices (fixes #772) 2016-10-31 09:20:09 +09:00
65c0c2edec Imported translations 2016-10-27 02:07:58 +09:00
a370bd4e77 Improved logging for folder observer creation 2016-10-27 02:02:47 +09:00
Martin Carpella
9373a5fd3f Fix NullPointerException for STGUIASSETS
On devices without SD-card / shared-storage, getExternalFilesDir() may
return null.
2016-10-20 20:48:36 +02:00
bf3fe50461 Fixed broken code 2016-10-20 18:18:09 +09:00
Wulf Weich
6826bd9fe9 Set STGUIASSETS to let user add custom themes without root 2016-10-19 09:57:34 +02:00
931183ffba Improved available roots in FolderPicker (fixes #204) 2016-10-17 17:22:48 +09:00
8f1f5ba76e Mark directory selection item as focusable (fixes #486, #762) 2016-10-17 00:00:42 +09:00
923d700d54 Fixed unit tests 2016-10-10 16:13:39 +09:00
ProactiveServices
8414d0dc76 Permit numbers in debug option 2016-10-08 10:05:08 +01:00
JohnVeness
6ba4683400 Update strings.xml
Pluralise "IDs" to match the rest of the sentence.
2016-10-05 21:39:16 +01:00
f1b6bde6ad Imported translations 2016-10-04 16:59:06 +09:00
licaon-kter
9f6ef7c6af Fix #749 2016-09-30 22:04:47 +03:00
730f9d035f Show menu items with text if possible 2016-09-25 13:16:08 +09:00
5b93948e7b Removed old compatibility code 2016-09-24 17:14:48 +09:00
b707f0e6a3 Added @NonNull annotations 2016-09-23 13:21:23 +09:00
529c8c2fa1 Improved string formatting for drawer 2016-09-23 13:11:36 +09:00
a90b1a674a Moved PRNGFixes to own package 2016-09-23 12:00:27 +09:00
63e8c22129 Replaced deprecated http APIs 2016-09-23 11:52:45 +09:00
b38a152f6a Added workaround for broken inotify on Marshmallow 2016-09-23 09:37:48 +09:00
336aec5251 Replaced deprecated methods 2016-09-22 16:55:13 +09:00
d8a05ed392 Fixed various lint issues 2016-09-21 17:36:03 +09:00
1facd5bb30 Revert "Added WRITE_MEDIA_STORAGE permission (fixes #719)."
This reverts commit 66597e9425.
2016-09-21 07:52:51 +09:00
1b64d79287 Imported translations 2016-09-20 11:28:42 +09:00
1e9c9b4cea Merge branch 'automatic-release' 2016-09-20 11:27:01 +09:00
6b7eb796f0 Fixed unit tests, use Robolectric for some tests 2016-09-20 10:22:13 +09:00
Martin Carpella
ebc0fe88de Fix device completion for v0.14.6 (fixes #736) 2016-09-13 13:57:53 +02:00
ef297a7df1 Added missing icons for previous commit 2016-09-07 13:37:06 +02:00
c60968d207 Improved behaviour for add device/add folder (fixes #650)
- Added confirm dialog when exiting without saving
- Replaced floppy disk icon with checkmark
2016-09-07 12:39:07 +02:00
aefec10f84 Added missing files for previous commit 2016-09-07 03:05:45 +02:00
d464010ee5 Added seperate first start activity 2016-09-07 03:02:18 +02:00
licaon-kter
05abd17d56 Fix typo, add info 2016-08-27 10:31:53 +03:00
50f98e3f69 Set user/password in config instead of removed STGUIAUTH (fixes #704). 2016-08-25 14:23:19 +02:00
80909ca6d2 Imported translations 2016-08-24 22:35:17 +02:00
17530bab6b Revert "Disable sync if Android sync setting is disabled (fixes #588)."
This reverts commit 2daa601e36.
2016-08-24 22:30:49 +02:00
f3abfb15f5 Don't set preference value as summary 2016-08-21 13:36:31 +02:00
926a5a7d21 Fixed crash when stopping service (fixes #725) 2016-08-19 20:54:45 +02:00
aead9213b6 Imported translations 2016-08-19 17:58:16 +02:00
dff3e052af Support TOR connectivity (fixes #589). 2016-08-19 14:07:13 +02:00
77c2d4bd55 Fixed crash when closing DeviceFragment early (reported on GPlay) 2016-08-19 02:54:24 +02:00
972f38755a Fixed possible crash in RestApi (reported on Google Play) 2016-08-19 02:49:55 +02:00
c467ef7792 Mark drawer items as focusable and clickable (fixes #486) 2016-08-19 02:35:42 +02:00
66597e9425 Added WRITE_MEDIA_STORAGE permission (fixes #719). 2016-08-18 13:21:44 +02:00
d33b9a2c56 Fixed wrong Android version constant for isPowerSaveMode() 2016-08-16 17:35:49 +02:00
c1d5bcc4cd Disable Syncthing if battery saving mode is active (fixes #603). 2016-08-16 17:24:23 +02:00
2daa601e36 Disable sync if Android sync setting is disabled (fixes #588). 2016-08-16 17:20:35 +02:00
8cb9105197 Moved shouldRun check into DeviceStateHolder. 2016-08-16 17:15:45 +02:00
45894bacb8 Merge pull request #721 from capi/issue-715
Explain requirement for notification in "Run as foreground" setting (fixes #715)
2016-08-13 14:44:56 +02:00
Martin Carpella
07b628a80b Improve "Run as foreground" setting's description (fixes #715) 2016-08-12 21:21:55 +02:00
Martin Carpella
8d152dc200 Log SSID whitelist for better troubleshooting of #700 2016-08-11 21:39:43 +02:00
dd7966a228 Added confirm dialog to restart button (fixes #716) 2016-08-03 00:58:41 +02:00
2a5374a2a5 Merge branch 'sort-by-label' of https://github.com/xduugu/syncthing-android into xduugu-sort-by-label 2016-08-01 15:45:09 +02:00
a30c5a7d4b Imported translations. 2016-08-01 15:31:33 +02:00
fdb64191ed Imported translations. 2016-07-21 22:40:17 +02:00
ba3623785f Fixed back button not working if disabled dialog is open. 2016-07-21 15:17:50 +02:00
cf1585494f Removed unused FolderFragment/DeviceFragment drawables. 2016-07-20 18:16:53 +02:00
5b9cd28eb8 Fixed crash when opening DevicesFragment (fixes #690).
It seems that the xxxhdpi `active` drawable was corrupted. The old
build tools could still read the drawable, but the new ones
couldn't handle it. Regenerating the drawable fixed the crash.

Also removed `inactive` drawables and xml drawable which weren't
being used.
2016-07-20 18:11:58 +02:00
d22fbc3f38 Merge pull request #694 from capi/foreground-service
Experimental "Run as foreground service" setting
2016-07-14 15:37:56 +02:00
Martin Carpella
7ab4f4d835 Experimental "Run as foreground service" setting 2016-07-14 00:01:00 +02:00
97ea54f716 Removed unneeded quotation marks. 2016-07-13 13:35:26 +02:00
Lars K.W. Gohlke
7e4879a26e fix NPE, when pressing back button on LogActivity (fixes #604) 2016-07-06 02:02:47 +02:00
Cedric Staniewski
3a8346b9a5 Sort folders by label
If the label is empty or unset, use the folder ID in comparision.
2016-07-03 23:02:31 +02:00
49d053f6bc Clarified root option warning (fixes #688). 2016-06-27 19:14:31 +02:00
c49e33818a Imported translations. 2016-06-25 14:25:15 +02:00
Lars K.W. Gohlke
48e19a88bb fix api access to activate/deactive natEnabled
* fix api access to activate/deactive natEnabled

* remove old key and add a single 'nat_enabled' new one

* fixed translation
2016-06-25 14:04:04 +02:00
Unrud
af8ec86843 Make multiple PendingIntents distinguishable
If notifications for multiple new devices or folders are shown, the last Intent was used for all of them.
2016-06-14 18:17:28 +02:00