Commit Graph

1339 Commits

Author SHA1 Message Date
Felix Ableitner 953f5e1e82 Update Travis CI to Android 26 sdk 2017-09-27 16:25:11 +09:00
Felix Ableitner 653e54eb77 Fix crash when showing device ID if field is not set 2017-09-27 13:13:51 +09:00
Felix Ableitner dbd8818707 Properly check if file manager intent can be handled 2017-09-27 13:07:54 +09:00
Felix Ableitner 94d72d768f Attempt to fix NPE when calling SyncthingService.getApi().isConfigLoaded() 2017-09-27 12:50:35 +09:00
Felix Ableitner 8e1dfe875e Fix crash in MainActivity.onSaveInstanceState() 2017-09-27 12:35:34 +09:00
Felix Ableitner bdec750b34 Prevent crashes when dismissing dialogs 2017-09-27 12:25:18 +09:00
Felix Ableitner 9ca1c8acd5 Revert "Poll web gui more frequently"
This reverts commit 5741928324.
2017-09-27 09:43:45 +09:00
Felix Ableitner 3e85a5c182 Automatically restart app after update (fixes #845) 2017-09-27 09:31:48 +09:00
Felix Ableitner dca4c32723 Simplify DeviceStateHolder code 2017-09-27 08:53:21 +09:00
Felix Ableitner 5c97251ffa Rework run conditions (fixes #540) 2017-09-26 23:15:44 +09:00
Felix Ableitner 42a87031f1 Added "edit ignores" button (fixes #881) 2017-09-26 21:19:14 +09:00
Felix Ableitner 3f0be34f3e Remove unneeded explicit view casts 2017-09-26 21:19:14 +09:00
Felix Ableitner 5aed81a8f3 Also show disabled dialog in WebGuiActivity and ShareActivity (fixes #955) 2017-09-26 21:19:14 +09:00
Alexander Lochmann 267c2598f8 A fix for issue #953 (#954)
* A fix for issue #953

* Cleanup: Moved parts of the run method to sub-methods

* Moved code to aux methods

* Identation fixed

* Rephrased the comment about using exec

* Avoid using inline if-statements when possible
2017-09-25 16:33:44 +09:00
Felix Ableitner 328b3ef273 Don't disable root in SyncthingRunnable until it is stopped (ref #949) 2017-09-21 12:27:06 +09:00
Alexander Lochmann f6cfab0a5f Fix root permission issues (fixes #812)
* Provided fix for issue #812

Check permissions of config.xml before reading or writing from/to it.
If the permissions are wrong, assume root magic is going on, and fix it.

* Various fixes regarding coding guideline

- Fixed whitespaces
- Moved aux method to bottom of file
- Added Javadoc-like comments

* SettingsActivity: Use onClickListener for the useRoot Checkbox

* Moved fixAppDataPermissions() to class Util

* Removed obsolete shell commands

* Implemented Nutomic's changes
2017-09-21 12:22:20 +09:00
Felix Ableitner f4d534df8e Change "sync only" to "run only" (fixes #928) 2017-09-20 23:39:45 +09:00
Alexander Lochmann acf088a845 Changed misleading title of sttrace option (#951)
* Changed misleading title of sttrace option

The sttrace preference field just takes a list of facilities
as an input (https://docs.syncthing.net/dev/debugging.html).
Calling it 'Debug Options' might be misleading since Syncthing
offers way more debugging options than just sttrace.
Naming it 'STTRACE options' makes it clear for the user what
he or she should enter.

* Reverted german translation for sttrace_title
2017-09-20 20:28:11 +09:00
Felix Ableitner e9710cebee Change minimum Android version to 4.0, update dependencies 2017-09-20 12:12:28 +09:00
Felix Ableitner ee14aa321d Bumped version to 0.9.14 2017-09-20 01:38:38 +09:00
Felix Ableitner 5c9464c4a5 Imported translations 2017-09-20 01:38:11 +09:00
Felix Ableitner ec985aad9c Force updating translations for release (fixes #947) 2017-09-20 01:34:20 +09:00
Felix Ableitner e127437bf1 Updated Syncthing to v0.14.38 2017-09-20 01:08:49 +09:00
Felix Ableitner 648dd0f885 Remove empty translation file 2017-09-19 19:10:03 +09:00
Felix Ableitner abd7668926 Add workaround for AlertDialog crash 2017-09-18 12:52:15 +09:00
Felix Ableitner bc30b79fde Prevent starting multiple instances of MainActivity (fixes #943) 2017-09-11 13:14:56 +09:00
Felix Ableitner e371269ada Bumped version to 0.9.13 2017-09-06 00:07:13 +09:00
Felix Ableitner 226b503a97 Imported translations 2017-09-06 00:06:54 +09:00
Felix Ableitner a65b62fda5 Updated Syncthing to v0.14.37 2017-09-06 00:02:20 +09:00
Felix Ableitner 6857118305 Start Syncthing service earlier 2017-09-05 11:48:30 +09:00
Felix Ableitner 7b95baa2a3 Update dependencies 2017-09-05 09:07:19 +09:00
Felix Ableitner 52a7cc5972 Try to fix WindowManager$BadTokenException crashes on Android 7 2017-09-05 00:54:35 +09:00
Felix Ableitner 5741928324 Poll web gui more frequently 2017-09-04 16:16:37 +09:00
Felix Ableitner d8a872e592 Improve ConfigXml code 2017-09-04 16:14:33 +09:00
Felix Ableitner 76ca22526b Disable all hashing benchmarks in Syncthing (ref syncthing/syncthing#4348) 2017-09-04 15:54:39 +09:00
Felix Ableitner 7e37c14a82 Various lint fixes 2017-09-04 13:43:27 +09:00
Felix Ableitner 2f195cec3b BCrypt password hashing wasn't released, no need for migration 2017-09-04 12:56:22 +09:00
Felix Ableitner 679841a6ac Start up config handling at app startup 2017-09-04 10:55:11 +09:00
Felix Ableitner f4e1b077d3 Move StrictMode handling into SyncthingApp class 2017-09-04 02:07:04 +09:00
Felix Ableitner 3ddf526679 Add option to start directly into web gui (fixes #578) 2017-09-04 02:06:35 +09:00
Felix Ableitner f2071be81c Allow setting arbitary environment variables (fixes #788) 2017-08-25 20:12:14 +09:00
Felix Ableitner 31721af0c3 Dont crash if request ignore battery optimizations is not supported 2017-08-25 18:57:13 +09:00
Felix Ableitner 4c8a98d169 Make sure dialog is showing before dismissing 2017-08-25 18:50:42 +09:00
Felix Ableitner e89ec17c9f Remove unused variable from SyncthingRunnable 2017-08-25 18:41:22 +09:00
Felix Ableitner 204eb194ad Fix NPE if activity is null 2017-08-25 17:10:40 +09:00
Felix Ableitner d3d00ff1d9 Sort language names alphabetically and capitalize (fixes #935) 2017-08-15 13:06:07 +09:00
Felix Ableitner 2f1d5f1ff2 Dont hardcode web gui URL 2017-07-21 12:18:02 +09:00
Felix Ableitner a9b80fbdc4 Webview improvements (respect back button, open external links in browser)
ref https://github.com/syncthing/syncthing/issues/4264
2017-07-21 01:43:28 +09:00
Felix Ableitner c13828b734 Delete unused strings 2017-07-19 13:40:12 +09:00
Unrud 2b0e70ca97 Remove custom user and password (fixes #868) (#923)
This removes the ability to set a custom user and password.
The user is always set to "syncthing" and the password to the API key.
This ensure that the web GUI works and makes sure that the web GUI is protected.
2017-07-19 13:21:50 +09:00