1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-24 05:11:15 +00:00
Commit graph

663 commits

Author SHA1 Message Date
Martin Carpella
7ab4f4d835 Experimental "Run as foreground service" setting 2016-07-14 00:01:00 +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
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
Unrud
3899abf454 Use folderLabel from FolderRejected events
Show folder label in notification and
preset value for new folder.
2016-06-13 01:13:32 +02:00
b4e2c44ab2 Added "enable relaying option (fixes #616). 2016-06-12 22:24:09 +02:00
d29b675a1e Use expandable notification for new device/folder (fixes #614). 2016-06-12 22:15:36 +02:00
650550c573 Imported translations. 2016-06-12 15:19:42 +02:00
c48cd2c3f3 Merge pull request #662 from lkwg82/syncthing-version
Syncthing version
2016-06-10 16:34:43 +02:00
Lars K.W. Gohlke
6a337bd443 fixes RestApi options for 'listenAddress' 2016-06-09 23:52:00 +02:00
Lars K.W. Gohlke
1aafb38764 adds display of syncthing version in main drawer 2016-06-09 08:55:49 +02:00
d0efdca1e8 Imported translations. 2016-05-25 14:51:49 +02:00
573533a35f Fixed device toggle (fixes #647). 2016-05-19 11:40:55 +09:00
6403756ef2 Imported translations. 2016-05-18 12:10:20 +09:00
1fba3dd53e Updated Syncthing to v0.13.0-beta.4, adjusted to API changes. 2016-05-07 06:22:54 +02:00
12997d6b36 Added support for folder labels. 2016-05-04 03:41:55 +02:00
cc74cd1fcf Fix crash in case DrawerFragment is opened early (fixes #629). 2016-04-26 23:08:35 +02:00
bb17c53d4c Fixed lint warnings. 2016-04-26 22:54:27 +02:00
Martin Carpella
cfac1d3a61 Fix checks for intent actions (fixes #625) 2016-04-26 20:01:50 +02:00
d70302d502 Fixed unit tests, removed adapter tests. 2016-04-24 23:01:02 +02:00
Matthias Leonhardt
b9919adccd Added a IntentService to receive Broadcast-Intents to remotely control / configure the app.
MainActivity: Moved binding-functions to onPause() and onResume() so that the SyncThingService is only bound to the activity if the activity is active.

New class AppConfigReceiver:
Support start and stop of the SyncThingService
- restarting a running service again should not be an issue
- stop service only if "always run in background"-mode is disabled. Otherwise show a notification indicating this.

Instrumentation-tests:
- Added tests for AppConfigReceiver
- Extended MockContext to also consume stopService commands.
- testGetReadableTransferRate: Apparently the return-values have changed a bit. Adjusted the asserts to the current return-values.

SycthingService:
Added code for thread-safety in case the service still starting when it should be stopped. Then PollWebGuiAvailableTaskImpl is active and waits for the Synthing-API to become active. So that and onDestroy have to be synchronized.
Added a stopSelf() in PollWebGuiAvailableTaskImpl.onPostExecute() in case mStopScheduled was active.

Commented my change in the javadoc at onDestroy. Put a reference to that comment to .onPostExecution()
2016-03-25 21:13:51 +00:00
b1eee1b1be Fixed various lint warnings. 2016-04-21 23:16:10 +02:00
493dd80a04 Imported translations. 2016-04-21 23:04:41 +02:00
Martin Carpella
284d9bd7d3 Add checks for null-SSID (fix for #620) 2016-04-19 22:39:27 +02:00
f4c15a98e6 Update Syncthing URL on restart if it was changed (fixes #442). 2016-04-10 17:29:05 +02:00
6a686cdb95 Don't force crash in release mode (fixes #595). 2016-04-10 17:07:03 +02:00
Lars K.W. Gohlke
10f8f849dd fix stale bug report link 2016-04-10 16:07:14 +02:00
7f090e3653 Handle exit code 137 caused by SIGKILL.
Also don't restart Syncthing twice (via loop and via intent).
2016-04-04 23:11:32 +02:00
17ff8e7f83 Moved donate link to app settings. 2016-04-03 21:08:22 +02:00
ac7d410db4 Use proper namespace for intent actions and extras. 2016-04-03 20:45:22 +02:00
67b97435e9 Changed donate link to Syncthing website.
Also removed tip4commit badge from Readme.
2016-04-03 20:23:02 +02:00
09bba7140a Use integer constants for usage reporting. 2016-04-01 22:53:03 +02:00
b75f025238 Set correct value after usage report was accepted (fixes #606). 2016-04-01 22:03:17 +02:00
0f4f24a501 Updated translations. 2016-03-30 22:36:47 +02:00
9ed5859f40 Also include stdout in Syncthing crash exception. 2016-03-26 18:42:37 +01:00
8a85edfac1 Imported translations. 2016-03-24 12:35:22 +01:00
a04a05b8e8 Added workaround for samsung 4.2 crash (fixes #591). 2016-03-22 12:16:35 +01:00
02c93dee6e Don't reset scroll position when updating device/folder list (fixes #579). 2016-03-20 19:28:25 +01:00
deda1582df Removed unneeded compatibility functions, moved sorting into fragments. 2016-03-20 19:12:49 +01:00
494f98ee5c Use TimeUnit for update interval. 2016-03-20 18:03:12 +01:00
e7433fa392 Fix FolderFragment to show all devices. 2016-03-19 21:59:53 +01:00
e459cadeef Cleaned up SettingsActivity. 2016-03-19 21:57:00 +01:00
ab19944383 Change constants from repo/node to folder/device. 2016-03-19 21:53:35 +01:00
f9c8a7dc8c Show notification if new folders is shared to local device (fixes #295). 2016-03-19 21:50:26 +01:00
0891109c42 Don't duplicate devices in FoldersFragment (fixes #587). 2016-03-19 18:32:43 +01:00
76f97bd75d Imported translations. 2016-03-16 22:34:35 +01:00
567e332651 Merge pull request #581 from syncthing/change-exit
Don't use Process#exit() to avoid exit code 9.
2016-03-16 22:01:26 +01:00
1a7f24411e Merge pull request #584 from DevFactory/release/general-code-quality-fix-1
General code quality fix-1
2016-03-15 23:08:27 +01:00