1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-02-04 16:14:41 +00:00
Commit graph

123 commits

Author SHA1 Message Date
49d053f6bc Clarified root option warning (fixes #688). 2016-06-27 19:14:31 +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
b4e2c44ab2 Added "enable relaying option (fixes #616). 2016-06-12 22:24:09 +02:00
12997d6b36 Added support for folder labels. 2016-05-04 03:41:55 +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
Lars K.W. Gohlke
10f8f849dd fix stale bug report link 2016-04-10 16:07:14 +02:00
17ff8e7f83 Moved donate link to app settings. 2016-04-03 21:08:22 +02:00
67b97435e9 Changed donate link to Syncthing website.
Also removed tip4commit badge from Readme.
2016-04-03 20:23:02 +02:00
f9c8a7dc8c Show notification if new folders is shared to local device (fixes #295). 2016-03-19 21:50:26 +01:00
9636c2ae91 Moved root to experimental settings, removed confirm dialog. 2016-02-20 20:21:13 +01:00
Martin Carpella
74b374a16e Experimental setting to keep a wakelock while Syncthing native binary is running 2016-02-18 23:23:20 +01:00
776a746740 Removed device ID placeholder which is not needed any more. 2016-02-08 22:34:59 +01:00
5733d95fa5 Fixed string formatting warnings. 2016-02-08 21:56:52 +01:00
09eb5b6b84 Only show folder percentage while syncing (fixes #555). 2016-02-07 19:11:07 +01:00
c280657861 Added notification for connection from unknown device 2016-01-23 19:04:39 +01:00
13870c0424 Allow empty device names. 2016-01-21 23:11:46 +01:00
7a1ec346f1 Improved delete folder/device strings (fixes #536). 2016-01-17 23:01:21 +01:00
af9c1421cd Added restart icon to drawer (fixes #420). 2015-12-22 15:54:13 +01:00
218b489b5e Removed folder ID restriction (fixes #519). 2015-12-16 19:01:35 +01:00
Martin Carpella
73c993dcd9 Add restriction for allowed WiFi SSIDs when WiFi-only sync 2015-12-10 19:34:06 +01:00
Martin Carpella
19c54ae3f5 Add warning that exported private key may be stored in an unsafe location 2015-11-17 23:02:58 +01:00
89d524c70f Added warning dialog for "sync as root". 2015-11-16 13:57:41 +01:00
35a7e1bf02 Removed unused resources. 2015-11-13 23:57:04 +01:00
7b67325fd4 Added storage permissions request, refactored MainActivity (fixes #483). 2015-11-13 23:57:04 +01:00
George Venios
aad7f2be6a Updated device details styling.
Made actionmode bar overlay the toolbar.
Updated UI for device edit/create fragment to match the folder one.
Refactored FolderFragment to match DeviceFragment.
Improvements for Details styles and item heights.
2015-10-15 00:43:07 +01:00
George Venios
a76bc00eb9 Fixing introduced lint errors/warnings. 2015-09-12 13:47:52 +01:00
George Venios
7629ddbdcd Changed accent colours in app and dialogs. 2015-09-12 13:46:37 +01:00
George Venios
c924578e14 Fixed grid/keyline alignment. 2015-09-12 13:46:27 +01:00
George Venios
97039cf337 Fixing toolbar height on old APIs 2015-09-12 13:46:26 +01:00
George Venios
d54e1aa47c Ditched deprecated actionbar APIs and moved to Toolbar.
Also:
Corrected styling of the tab layout to match previous implementation.
App now follows material convention for side drawer overlapping the app bar.
2015-09-12 13:46:19 +01:00
George Venios
eb4f633130 Updated side nav to match material spec.
Icons and drawable paddings to be updated.
2015-09-12 13:46:16 +01:00
George Venios
455859700e Changing alert dialog buttons to default accent colour as orange denotes caution.
See https://www.google.com/design/spec/components/dialogs.html#dialogs-specs
2015-09-12 13:46:13 +01:00
George Venios
dda0e48fda Improving content margin on tablets and using support library dimensions for everything possible.
Ref #404.
2015-09-12 13:46:11 +01:00
George Venios
11ab6cee57 Migrating FolderFragment from preferences to views.
Implementing new form design following material design conventions and current best practices. Ref #404.
Upped minSDK to 11. Fixes #448.
2015-09-12 13:46:11 +01:00
819a3ffc66 Only ask for root permissions once the setting is changed (fixes #457).
This means that the root preference will also be shown to users
that haven't rooted their phone.
2015-09-11 22:36:21 +02:00
3986198fa4 Show confirm dialog before config import/export (fixes #456). 2015-09-11 17:25:43 +02:00
George Venios
2455a1d10f Added newlines at the end. 2015-08-05 22:53:51 +01:00
George Venios
f425cf995a Made styles, themes and colours more closely follow material design guidelines. 2015-08-03 00:27:29 +01:00
George Venios
2522b70a89 Updated accentColor.
Fixes #438.
2015-08-02 17:23:57 +01:00
George Venios
79c9ffd90a Fixed low contrast between tab indicator and background. 2015-08-02 17:10:56 +01:00
George Venios
90b5d2ff9a Fixing weird dialog background on versions earlier than Lollipop.
Standardised theme names.
Renamed styles.xml to themes.xml to keep these separate.
Fixes #425.
2015-08-02 16:03:39 +01:00
6431f5c22d Change name of default folder to *device*-photos (fixes #418). 2015-07-07 14:33:09 +02:00
54820d20f4 Added option to show normal priority notification (fixes #366). 2015-07-07 10:23:19 +02:00
cb6a3fc884 Close Add Folder/Device Activity after "Create" (fixes #417). 2015-07-07 02:10:12 +02:00
7daba5789c Fixed crash if folder state is "error". 2015-07-07 01:45:47 +02:00
3ac46c3536 Added material design colors. 2015-07-03 17:29:11 +02:00
90e640b904 Removed unused strings. 2015-06-19 19:41:31 +02:00
5a0870d21a Fixed crash if config could not be opened. 2015-06-17 15:01:57 +02:00
e2e10a8794 Use bytes per second instead of bits per second. 2015-06-15 16:19:46 +02:00