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

912 commits

Author SHA1 Message Date
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
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
Faisal Hameed
aee0d616e5 Fixing squid:S2864 - Iterating entrySet insteadof keySet. 2016-03-15 21:19:01 +05:00
9d21902090 Merge pull request #582 from DevFactory/release/default-encoding-should-not-be-used-fix-1
Code quality fix - Classes and methods that rely on the default system encoding should not be used.
2016-03-15 15:15:50 +01:00
Faisal Hameed
fc9c170bb1 Fixing squid:UselessParenthesesCheck -Removing useless parentheses. 2016-03-15 15:42:25 +05:00
Faisal Hameed
1d06411883 Fixing squid:S1943 - Default system encoding should not be used. 2016-03-15 08:18:47 +05:00
b9c76ff062 Shutdown syncthing before importing a config (fixes #570). 2016-03-12 19:46:36 +01:00
fc5827a1df Actually use PID to stop Syncthing. 2016-03-12 19:46:36 +01:00
91f9231501 Don't use Process#exit() to avoid exit code 9.
Process#exit() seems to cause syncthing to return exit code 9 all
the time. Using SIGINT instead always gives a clean exit (at least
on my Android 6 device).
2016-03-12 19:46:31 +01:00
963704778a Replaced deprecated xml attribute. 2016-03-11 22:32:23 +01:00
8cba94fed1 Improve error outout. 2016-03-11 22:24:04 +01:00
8fb1a314b5 Removed legacy code. 2016-03-11 21:39:25 +01:00
115a9b5727 Force crash if Syncthing exits with an error.
This should give us some useful info for all our native crashes.
2016-03-11 01:22:02 +01:00
78789730bd Removed unneeded file. 2016-03-08 00:53:58 +01:00
60d01aea89 Fixed infinite loop when changing folder settings. 2016-03-08 00:51:50 +01:00
23314677fa Imported translations. 2016-03-08 00:37:58 +01:00
90331bb7ab Immediately update GUI after config was changed (fixes #355). 2016-02-26 00:06:49 +01:00
192188fd4e Fixed comparison type. 2016-02-25 14:04:57 +01:00
04043a1174 Improved handling of device addresses (fixes #508). 2016-02-25 13:52:11 +01:00
63a7342bfc Fixed loading of folder and device list items (fixes #556, ref #74). 2016-02-25 12:47:16 +01:00
a15d08cfb3 Moved exit button to static position in drawer (fixes #571). 2016-02-24 23:08:27 +01:00
9636c2ae91 Moved root to experimental settings, removed confirm dialog. 2016-02-20 20:21:13 +01:00
273d24bc15 Disable keep wakelock setting on restart. 2016-02-20 20:19:51 +01:00
5537b19706 Imported translations 2016-02-20 16:51:14 +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
f299ca2d1e Added copy button to device IDs (fixes #559). 2016-02-09 23:01:39 +01:00
af5ba5c0d9 Don't restart before config has been updated (fixes #398). 2016-02-09 22:06:02 +01:00
7117933b6d Added input type field to text inputs (fixes #542). 2016-02-09 21:50:33 +01:00
cda06d8938 Reduce logging and number of retries for HTTP tasks. 2016-02-09 21:11:00 +01:00
6b6efabcc0 Don't spin drawer toggle (fixes #532). 2016-02-09 01:45:24 +01:00
691ca26daa Added share device ID button to drawer, always show scrollbar. 2016-02-08 23:03:20 +01:00
776a746740 Removed device ID placeholder which is not needed any more. 2016-02-08 22:34:59 +01:00
6ea906d056 Optimized imports. 2016-02-08 21:56:52 +01:00
5733d95fa5 Fixed string formatting warnings. 2016-02-08 21:56:52 +01:00
3779b311fd Also use Math.round() for folder percentage. 2016-02-08 21:56:52 +01:00
c5f2abfe07 Use Math.round() instead of cast for device percentage (fixes #197). 2016-02-08 12:22:05 +01:00
09eb5b6b84 Only show folder percentage while syncing (fixes #555). 2016-02-07 19:11:07 +01:00
Martin Carpella
257032fd28 Fix NullPointerException in onNewIntent() 2016-01-23 21:58:21 +01:00
c280657861 Added notification for connection from unknown device 2016-01-23 19:04:39 +01:00
c656c45081 Simplified event handling code. 2016-01-23 17:55:04 +01:00
3d09d43bd4 Improved handling for empty device IDs. 2016-01-23 17:32:52 +01:00
34fead0623 Removed unused compatibility code. 2016-01-23 17:04:02 +01:00
ae8dc76ba9 Check if JSON string is null before parsing. 2016-01-22 23:13:13 +01:00
41943502d4 Display partial ID if device name is empty (fixes #419). 2016-01-21 23:12:14 +01:00
13870c0424 Allow empty device names. 2016-01-21 23:11:46 +01:00
d062f07820 Fixed crash if listener is null (fixes #482). 2016-01-21 22:28:49 +01:00
7a1ec346f1 Improved delete folder/device strings (fixes #536). 2016-01-17 23:01:21 +01:00
Lode Hoste
578d5f4747 Regenerate ic_link_black_24dp_active.png 2016-01-16 20:39:59 +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
98f98fddb9 Fixed possible crash if FolderObserver could not be created. 2015-12-16 01:10:16 +01:00
Martin Carpella
73c993dcd9 Add restriction for allowed WiFi SSIDs when WiFi-only sync 2015-12-10 19:34:06 +01:00
90bfb9f548 Use gradle dependency for zxing. 2015-12-05 15:59:55 +01:00
6eab15a807 Added missing xxxhdpi icons. 2015-12-03 16:38:57 +01:00
7546568ca9 Added fullBackupContent attribute to manifest. 2015-12-03 16:33:33 +01:00
814afaa1fb Removed unused "inactive" graphics for drawer. 2015-12-03 16:31:43 +01:00
f1538c247f Imported translations. 2015-12-03 14:24:59 +01:00
8901821bfb Imported app translations. 2015-11-22 14:36:55 +01:00
684cc445ef Fixed lint warning. 2015-11-22 14:18:35 +01:00
4bdc2e8d54 Restore default announce servers. 2015-11-19 21:40:06 +01:00
cda820aaed Removed code to change web GUI port.
Everyone should have the proper port by now.
2015-11-19 21:24:25 +01:00
08de76b873 Merge pull request #431 from FlashSystems/master
Asynchronous event API
2015-11-19 21:20:15 +01:00
274fcd5f6c Merge pull request #495 from Zillode/golang-1.5
Use CGO to build Syncthing with support for DNS
2015-11-19 21:14:00 +01:00
Lode Hoste
4e1979036a Remove manual DNS resolution of default servers 2015-11-19 20:32:00 +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
994a549447 Integrate gradle plugin for translation uploads (fixes #408, #463). 2015-11-16 22:10:00 +01:00
7d0a9fe436 Fixed menu key drawer open using wrong drawer gravity (fixes #499). 2015-11-16 21:58:00 +01:00
89d524c70f Added warning dialog for "sync as root". 2015-11-16 13:57:41 +01:00
4b7c299cd2 Moved method into SettingsFragment. 2015-11-16 13:11:47 +01:00
FlashSystems
849a8295ab Implementing event API (fixes #251) 2015-11-16 11:09:33 +01:00
5239e57d5c Added missing preference listener (ref #493). 2015-11-15 20:58:57 +01:00
bb886e9b72 Close drawer on back button press (ref #486). 2015-11-15 20:02:07 +01:00
ecbce403ff Merge pull request #496 from brianhlin/master
Check if using discovery servers (#488)
2015-11-15 19:14:36 +01:00
Brian Lin
aef9a43484 Check if using discovery servers (#488) 2015-11-15 11:22:04 -06:00
Martin Carpella
1e64f88269 Fix "Wifi only" / "Charging only" not being applied immediately 2015-11-14 23:49:34 +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
093afbcb13 Improved usage reporting dialog. 2015-11-13 00:53:22 +01:00
Lode Hoste
481b0d616e Imported translations 2015-11-10 23:12:30 +01:00
182e9a9883 Remove unneeded compatibility classes, functions, library.
This should fix the F-Droid build.
2015-11-10 22:47:47 +01:00
2078a0c8cb Imported translations. 2015-11-09 15:16:32 +01:00
Lode Hoste
8443ba179a Correct handling of disconnected devices (fixes #473) 2015-11-09 12:02:39 +01:00
Lode Hoste
e7f347376c Fix empty log view (fixes #470) 2015-11-09 12:02:12 +01:00
Audrius Butkevicius
6deb304b02 Support new UR value (fixes #471) 2015-10-27 18:58:01 +00:00
7530d3e257 Show announce server count (ref #470). 2015-10-26 20:49:48 +01:00
1178b33b0b Imported translations. 2015-10-26 12:14:35 +01:00
af341a80a5 Replace new announce servers. 2015-10-26 12:09:16 +01:00
Mariusz
16a444099c Fix ArrayIndexOutOfBoundsException crash 2015-10-19 23:11:21 +01:00
dc31cd1cb6 Fixed inotify events not passing parameters to Syncthing (ref #465).
The parameters set in RestApi#onFolderFileChanged() were not actually
used by PostTask#doInBackground().
2015-10-15 22:02:29 +02:00
76f90f184c Added extra logging for observer. 2015-10-15 21:58:09 +02: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
6ead7744b0 Fixed lint warnings related to min API change. 2015-09-14 22:53:19 +02:00
George Venios
bb9cd5bf1c Fixing oversights. 2015-09-14 00:42:21 +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
16fa82179d Fix for custom layout dialogs using app theme. 2015-09-12 13:46:37 +01:00
George Venios
98d015c0b7 Disabled number picker wrapping. 2015-09-12 13:46:36 +01:00
George Venios
7e8eff2729 Adding newline. 2015-09-12 13:46:35 +01:00
George Venios
f566be4436 Renamed FoldersFragment. 2015-09-12 13:46:35 +01:00
George Venios
7f9e773eaa DrawerFragment improvements. 2015-09-12 13:46:34 +01:00
George Venios
507e841864 Fixed drawer width. 2015-09-12 13:46:33 +01:00
George Venios
020e593b1a Made loading dialog good look on tablets again. 2015-09-12 13:46:32 +01:00
George Venios
ccea84abab Used light theme for toolbar popups (e.g. action overflow). 2015-09-12 13:46:31 +01:00
George Venios
e166f14fd5 Updated folder picker item styling and margin. 2015-09-12 13:46:31 +01:00
George Venios
4fd61ec866 Updated action icons.
Compressed all icons.
2015-09-12 13:46:30 +01:00
George Venios
e7b1501bee Adding initial content to drawer fragment earlier so it's never empty. 2015-09-12 13:46:28 +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
23ffc8c653 Updated dark icons. 2015-09-12 13:46:25 +01:00
George Venios
6a05def230 Fixed toolbar alignment on pre-Lollipop. 2015-09-12 13:46:19 +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
7a94eb828c Minor update on loading dialog progressbar margin. 2015-09-12 13:46:18 +01:00
George Venios
dcd3688a8e Removed RelativeLayouts from web gui layout.
Also made loading spinners consistently sized.
2015-09-12 13:46:17 +01:00
George Venios
8e04ce3afa Initial replacement of deprecated actionbar tabs with TabLayout.
Still uses default styling.
2015-09-12 13:46:16 +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
e3aa7086c5 Let the framework handle width of the drawer view. 2015-09-12 13:46:15 +01:00
George Venios
424355fff1 Fixed tablet margins for loading dialog. 2015-09-12 13:46:14 +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
7bbd9fcd82 Visually balancing loading dialog. 2015-09-12 13:46:13 +01:00
George Venios
748640240b Fixing dialog accent colour for keep version dialog. 2015-09-12 13:46:12 +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
c4ba3d480b Imported translations. 2015-08-26 23:03:19 +02:00
George Venios
97e309eb08 Renaming a variable to follow convention. 2015-08-05 22:54:21 +01:00
George Venios
2455a1d10f Added newlines at the end. 2015-08-05 22:53:51 +01:00
George Venios
a99bfac063 Made the device list follow material design guidelines. 2015-08-04 00:26:25 +01:00
George Venios
7a6801d392 Made the folder list follow material design guidelines. 2015-08-03 00:28:05 +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
ea94302676 Minor refactoring. 2015-08-03 00:25:28 +01:00
George Venios
ebf885a4bb Improvements on FolderAdapter.
Hide views when empty to preserve screen space.
Made use of the ViewHolder pattern for additional efficiency.
2015-08-03 00:23:05 +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
0ad971f19a Renamed layouts to more effectively group them based on their uses. 2015-08-02 16:04:00 +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
864c5f9196 Don't monitor MODIFY events (fixes #435). 2015-07-27 21:57:13 +02:00
Lode Hoste
8f6c20b929 Fix 'bad mode' error when chmodding with +x 2015-07-24 09:22:05 +02:00
93eeb22473 Removed unused variable. 2015-07-21 14:05:12 +02:00
FlashSystems
cd2d67e93e Bugfix: Request parameters are duplicated over and over if request is repeated. 2015-07-14 19:30:20 +02:00
867e5d1ede Commented original source of readable file size/transfer rate functions. 2015-07-14 01:30:48 +02:00
512b79fff1 Change default compression to metadata only (fixes #421). 2015-07-12 13:04:39 +02:00
74dd373f87 Sort folders and devices lists (fixes #424). 2015-07-09 22:47:50 +02:00
bd2e126b7a Imported translations. 2015-07-07 23:53:51 +02: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
236541a915 Uncheck disabled settings. 2015-07-03 16:28:59 +02:00
6daa429a4d Cleaned up build.gradle. 2015-06-28 17:43:43 +02:00
79a0958926 Explicitly set installLocation (ref #405). 2015-06-23 21:36:58 +02:00
457831fbe3 Bumped version to 0.6.4. 2015-06-19 20:21:36 +02:00
97b03f97a5 Fixed various lint warnings. 2015-06-19 20:15:35 +02:00
90e640b904 Removed unused strings. 2015-06-19 19:41:31 +02:00
83fe0f0bb1 Use AppCompatActivity. 2015-06-19 19:22:53 +02:00
bcb87dbb92 Removed debug code. 2015-06-17 22:03:47 +02:00
1786c6286d Fixed crash if a transfer rate between 1 and 7 b/s was displayed. 2015-06-17 15:53:50 +02:00
74c148b790 Fixed possible crash on shutdown. 2015-06-17 15:02:52 +02:00
5a0870d21a Fixed crash if config could not be opened. 2015-06-17 15:01:57 +02:00
49ab457a91 Don't treat metered network as wifi (fixes #409). 2015-06-15 18:13:22 +02:00
c52ee5a4dc Don't use holo theme for dialogs. 2015-06-15 17:37:11 +02:00
693eb6c246 Bumped version to 0.6.3. 2015-06-15 17:14:46 +02:00
0504f381c5 Imported translations. 2015-06-15 16:59:58 +02:00
e2e10a8794 Use bytes per second instead of bits per second. 2015-06-15 16:19:46 +02:00
97ec3f91eb Use "Restart Now" instead of "OK" (fixes #406). 2015-06-11 01:24:35 +02:00
b547c943d0 Added TV compatibility (fixes #402). 2015-05-30 11:01:38 +02:00
7ed77e079c Bumped version to 0.6.2. 2015-05-24 13:12:17 +02:00
443948292c Imported translations. 2015-05-24 12:48:33 +02:00
86d50d75ff Use optString, added link. 2015-05-23 17:32:38 +02:00
Lode Hoste
9e232254ab Clarify todo comments 2015-05-23 12:46:21 +02:00
2ed6dac071 Display toast if folder observer fails (fixes #326). 2015-05-22 22:33:14 +02:00
c69b37bc5c Show dialog for usage reporting after some time (fixes #273). 2015-05-21 02:35:20 +02:00
9a587505be Fixed global discovery server setting not working. 2015-05-19 19:31:30 +02:00
530c156a9a Added option to toggle persistent notification (fixes #366). 2015-05-19 00:15:09 +02:00
c496a5325b Externalized strings. 2015-05-18 23:49:05 +02:00
ad00368735 Chown syncthing files after disabling root (fixes #395). 2015-05-18 23:46:33 +02:00
924d033474 Check root availability in background. 2015-05-18 23:15:31 +02:00
98b9029c62 Seperate URLs in settings with comma instead of space (fixes #212). 2015-05-18 22:54:21 +02:00
d88828be82 Clean up config import code. 2015-05-18 00:11:17 +02:00
91bd271302 Log API requests as verbose, not warning. 2015-05-18 00:11:17 +02:00
2fb425b441 Added option to run syncthing as root (fixes #48). 2015-05-17 21:12:56 +02:00
f0daeb0cf8 Changed folder picker to show sorted, unique roots (fixes #388). 2015-05-17 17:35:37 +02:00
41ad260035 Bumped version to 0.6.1. 2015-05-15 21:14:27 +02:00
bbdf9cf756 Imported translations. 2015-05-15 20:51:29 +02:00
7e725763d4 Removed lenientMtimes code (not needed any more). 2015-05-15 20:42:12 +02:00
Lode Hoste
6496666bf2 Bump Android version number 2015-05-06 08:10:28 +02:00
Lode Hoste
e317b11c57 Catch missing json field (fixes #291) 2015-05-06 08:09:05 +02:00
Lode Hoste
9ef1474cbe Restart now when importing config (fixes #386) 2015-05-06 08:08:51 +02:00
Lode Hoste
cde276891c Update unit tests 2015-05-05 23:36:45 +02:00
Lode Hoste
75bdc12a0f Enforce single hasher (fixes #384) 2015-05-05 22:03:05 +02:00
Lode Hoste
79f0e2a8dc Fix remaining merge issues 2015-05-05 22:02:31 +02:00
Lode Hoste
e645255e79 Updated translations 2015-05-05 20:39:55 +02:00
Lode Hoste
8ff6a84a4e Limit retries when create the config file 2015-05-05 20:39:25 +02:00
Lode Hoste
07ba64398e Fix TAG warning and update Javadoc
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
2015-05-05 20:36:15 +02:00
Lode Hoste
58d299a18e Capture IOException when file descriptor is closed (fixes #382)
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
2015-05-05 20:34:39 +02:00
Lode Hoste
767177e28d Kill the Syncthing Process before resorting to shell-based kill
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
2015-05-05 20:33:01 +02:00
Lode Hoste
b32ac0b13e Fix lint warnings 2015-05-05 20:24:24 +02:00
Lode Hoste
5d5cf0b903 Streamline SyncthingRunnable
Conflicts:
	src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java
	src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java
	src/main/res/values/strings.xml
2015-05-05 20:21:15 +02:00
Lode Hoste
09331780b3 Cache line separator 2015-05-05 20:06:40 +02:00
Lode Hoste
97bbeadc6a Don't retry if the task was cancelled 2015-05-05 20:06:17 +02:00
Lode Hoste
a447807ff6 Merge branch 'master' of github.com:syncthing/syncthing-android 2015-05-05 20:02:36 +02:00
Lode Hoste
7f7b8cd653 Merge branch 'fix-scanner' of https://github.com/Zillode/syncthing-android into Zillode-fix-scanner
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/fragments/DeviceSettingsFragment.java
2015-05-05 20:00:32 +02:00
Zillode
e77d5a6c12 Merge pull request #376 from Zillode/disable-cache
Clear webview cache (fixes #374)
2015-05-05 19:47:34 +02:00
Zillode
de2c6320af Merge pull request #375 from Zillode/reduce-load
Increase GUI update interval and log get requests (fixes #362)
2015-05-05 19:47:10 +02:00
Lode Hoste
74062e8269 Merge branch 'log' of https://github.com/Zillode/syncthing-android into Zillode-log
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java
2015-05-05 19:45:50 +02:00
Zillode
7c54b762af Merge pull request #369 from Zillode/https
TLS and v0.11.0 Support
2015-05-05 19:43:35 +02:00
Lode Hoste
9d4ede5aff Capture IOException when for closed file descriptor (fixes #382) 2015-05-05 08:35:43 +02:00
Lode Hoste
1e02a10348 Properly initiate the ZXing barcode scanner (fixes #322). 2015-04-29 20:05:25 +02:00
Lode Hoste
3f332e8b8b Clear webview cache (fixes #374) 2015-04-29 19:47:37 +02:00
Lode Hoste
e111d836f0 Increase GUI update interval and log get requests (fixes #362) 2015-04-29 19:43:40 +02:00
Zillode
cdffed64af Merge pull request #370 from Zillode/copy-id
Only copy device ID when finger lifts
2015-04-29 19:32:58 +02:00
Lode Hoste
da4d654721 Support webgui for devices <ICS 2015-04-29 19:30:30 +02:00
Lode Hoste
10cad9ae37 Print stacktrace on error 2015-04-29 19:30:29 +02:00
Lode Hoste
dccbbbbd41 Support HTTP Auth in Webview 2015-04-29 19:30:29 +02:00
Lode Hoste
4146970e64 Update Rest API to v0.11
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/fragments/DeviceSettingsFragment.java
2015-04-29 19:30:17 +02:00
Lode Hoste
1584754e32 Show GetTask progress in log
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java
2015-04-29 19:08:09 +02:00
02a043f76c Removed unneeded code. 2015-04-26 05:48:15 +02:00
e821d2e468 Do not use WeakReference for listeners (fixes #328).
This makes sure listeners are not invoked after being destroyed.

Also call onApiChange() on GUI thread.
2015-04-25 01:50:08 +02:00
Lode Hoste
499309fcc1 Only copy device ID when finger lifts 2015-04-23 23:23:20 +02:00
Lode Hoste
0c13d8e106 Support opening LogActivity in debug package 2015-04-23 08:28:43 +02:00
Lode Hoste
6be050c43d Add log window (fixes #311). 2015-04-23 08:27:22 +02:00
Lode Hoste
df92b179c7 Fix several lint warnings 2015-04-23 08:10:04 +02:00
Lode Hoste
bcbec555cd Update default HTTP configurations to use HTTPS 2015-04-23 08:09:07 +02:00
Lode Hoste
5e0029e208 Update deprecated 8080 port to 8384 2015-04-23 08:07:54 +02:00
Lode Hoste
8f2fe9955a Enable TLS for the WebGUI 2015-04-23 08:03:43 +02:00
Lode Hoste
c7cdfa1ff2 Implement TLS support (fixes #19) 2015-04-23 08:03:24 +02:00
7ddee2f953 Toggle drawer when menu button is pressed (fixes #329). 2015-04-22 23:45:45 +02:00
b9dec163e0 Set invisible placeholder for device ID (fixes #357). 2015-04-20 22:13:38 +02:00
c767259889 Export config to backups/syncthing instead of sd card root (fixes #364). 2015-04-20 21:33:04 +02:00
Zillode
42be1fb26b Merge pull request #338 from Zillode/fix-npe-onreceive
Fix NPE when mVersion or mCurrentAddress is not set
2015-04-09 20:41:16 +02:00
Lode Hoste
18901b03b8 Fix NPE when mVersion or mCurrentAddress is not set 2015-04-09 20:38:36 +02:00
1bc4935463 Fixed bug in FolderObserver, improved tests (ref #337). 2015-04-09 01:23:30 +02:00
8c75a8913d Remove .stfolder generation and moveConfigFiles() (fixes #277). 2015-04-08 23:18:43 +02:00
c6e7ce6025 Set username and random password on first start. 2015-04-08 22:59:49 +02:00
d97288d6a8 Also move persistent=false to Preferences in app settings 2015-04-08 18:00:41 +02:00
329f073106 Increased target sdk version to 22. 2015-04-08 15:47:39 +02:00
Alexander Sosedkin
d7285f1d7c added a proper notification icon 2015-04-06 22:44:21 +06:00
Lode Hoste
cd06ee1269 Update welcoming text (fixes #287). 2015-04-06 13:03:37 +02:00
832c7fdf72 Bumped version to 0.5.28. 2015-04-06 00:40:23 +02:00
1c57175f91 Imported translations. 2015-04-06 00:25:59 +02:00
f110e02718 Fixed possible NPE in SyncthingRunnable (fixes #335). 2015-04-06 00:10:49 +02:00
eb10eaae9d Merge branch 'master' of github.com:syncthing/syncthing-android 2015-04-01 23:06:36 +02:00
3ad1161535 Merge branch 'kill-syncthing' of git://github.com/Zillode/syncthing-android 2015-04-01 22:37:12 +02:00
9265eea6b7 Merge pull request #325 from Zillode/fix-number-exception
Catch invalid input numbers (fixes #324).
2015-04-01 22:33:20 +02:00
Lode Hoste
65e090f6e9 Ensure Syncthing is not running (fixes #92, fixes #96 and fixes #196). 2015-03-31 21:38:19 +02:00
Lode Hoste
87bf40b6a1 Remove the rescan interval setting from the GUI 2015-03-31 19:18:18 +02:00
Lode Hoste
396a46ad12 Catch invalid input numbers (fixes #324). 2015-03-31 19:18:11 +02:00
20853259c5 Merge pull request #314 from Zillode/update-default-port
Update default Syncthing port
2015-03-30 22:01:24 +02:00
Lode Hoste
593a36af55 Update default Syncthing port 2015-03-28 10:54:48 +01:00
46d914bc1e Merge pull request #315 from Zillode/check-act-2
Wrap onApiChange in runOnUiThread
2015-03-27 18:40:18 +01:00
e470be9872 Merge pull request #301 from Zillode/nice-st
Run Syncthing with ionice (fixes #299).
2015-03-27 18:01:45 +01:00
Lode Hoste
5d3e45b8e5 Run Syncthing with ionice (fixes #299). 2015-03-27 17:40:45 +01:00