Commit Graph

1523 Commits

Author SHA1 Message Date
Felix Ableitner 79f6f8fafa Imported translations 2017-10-19 12:40:27 +09:00
Felix Ableitner f8a41ff4b7 Don't call startForegroundService if app is not running in background (fixes #972) 2017-10-19 12:35:17 +09:00
Felix Ableitner 18c419b2ed Revert build script changes
This reverts commits 5749b98b92,
9559d0c2d9,
536c826fbb
2017-10-19 12:09:53 +09:00
Felix Ableitner 5749b98b92 Update build instructions 2017-10-17 17:32:16 +09:00
Felix Ableitner 9559d0c2d9 Divide project into submodules, compile with Clang 2017-10-17 12:59:13 +09:00
Felix Ableitner 536c826fbb Merge branch 'cgo-build' 2017-10-17 09:14:17 +09:00
Felix Ableitner 1660479b6e Build Syncthing with CGO and target android (fixes #873) 2017-10-17 09:13:06 +09:00
Felix Ableitner 9840076f31 Update release scripts 2017-10-11 12:55:12 +09:00
Felix Ableitner 432c666c0d Bumped version to 0.9.16 2017-10-11 12:33:26 +09:00
Felix Ableitner 5edeae4b08 Imported translations 2017-10-11 12:32:56 +09:00
Felix Ableitner 8e75a88b6a Try to fix notification not showing (ref #966) 2017-10-11 12:26:08 +09:00
Felix Ableitner ee0e361101 Improve error handling if config can't be opened 2017-10-10 21:52:31 +09:00
Felix Ableitner 4941d7e412 Use startServiceForeground() on Android 8 (fixes #963) 2017-10-10 21:52:28 +09:00
Felix Ableitner cefd9dcfc0 Don't disable all settings when Syncthing is disabled 2017-10-09 13:11:15 +09:00
Felix Ableitner 0b5649be98 Fix publish script and Travis build 2017-10-08 15:27:09 +09:00
Felix Ableitner 7171402cbe Merge branch 'publish-script' 2017-10-08 15:08:01 +09:00
Felix Ableitner d74aba261d Add publish release script 2017-10-08 15:06:52 +09:00
Felix Ableitner a25579dc4e Bumped version to 0.9.15 2017-10-08 15:04:03 +09:00
Felix Ableitner 4a4caa8d47 Update dependencies 2017-10-08 15:03:18 +09:00
Felix Ableitner 102b274707 Imported translations 2017-10-08 15:00:10 +09:00
Felix Ableitner c56a7d022a Updated Syncthing to v0.14.39-rc.1 2017-10-08 14:49:17 +09:00
Felix Ableitner 1aa6bc4af3 Show button to open logs if Syncthing takes long to load (ref #687) 2017-10-07 02:35:40 +09:00
Felix Ableitner d58a3c9634 Improve logging 2017-10-07 02:02:27 +09:00
Felix Ableitner 1fd86211dc Moved Syncthing constants to seperate file 2017-10-04 17:44:56 +09:00
Felix Ableitner 4c2b325676 Move all notification handling into common file 2017-10-04 00:40:59 +09:00
Felix Ableitner e184c43c3a Use Dagger to inject SharedPreferences 2017-10-04 00:19:30 +09:00
Felix Ableitner 61d1119889 Improve log activity title 2017-10-03 22:46:23 +09:00
Felix Ableitner f1102dcc02 Add more translations for Google Play listing 2017-10-03 18:35:11 +09:00
Felix Ableitner e6c9960d0b More refactoring 2017-10-02 17:22:34 +09:00
Felix Ableitner be1be9746e Refactor DeviceStateHolder and receivers 2017-10-02 15:59:14 +09:00
Felix Ableitner 9ad854defb Delete unit tests (they were terribly written) 2017-10-02 15:59:11 +09:00
Felix Ableitner 4e32d60278 Refactor SyncthingService, moving killSyncthing() to background 2017-10-02 15:11:54 +09:00
Felix Ableitner 84ae6953da Hide language preference on Android 24+ (fixes #952)
Reason copied from F-Droid:
Android 24 and later provides tons of languages, and a way to rank
multiple languages instead of choosing one.  The Languages pref is a
big hack and can be problematic, so its better to disable it when its
not needed.  This will make it so it is no longer possible to set
F-Droid to a language that the system does not support.
2017-09-29 03:21:55 +09:00
Felix Ableitner 32be8ba207 Merged ToolbarActivity into SyncthingActivity 2017-09-27 22:02:12 +09:00
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