1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 12:51:16 +00:00
Commit graph

554 commits

Author SHA1 Message Date
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
2eabee9eb5 Removed unneeded testStartService() case and dead code (fixes #302).
We don't really need this test, as testBindService() does basically
the same thing.
2015-04-08 17:59:39 +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
4e8dba4819 Fixed unit test compilation errors. 2015-04-01 23:20:36 +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
Lode Hoste
396b05006c Wrap onApiChange in runOnUiThread (fixes #312). 2015-03-27 17:20:04 +01:00
0a07f4546b Merge pull request #303 from Zillode/fix-back-arrow
Fix back arrow in actionbar for Android 4.1+
2015-03-27 00:33:17 +01:00
ee0ff1c5ca Merge pull request #306 from Zillode/fix-illegal-dismiss
Clear dialog reference when dismissed (fixes #305).
2015-03-26 23:08:20 +01:00
Lode Hoste
4f98061325 Removed redundant code, CheckBoxPreference automatically updates its value 2015-03-25 20:04:04 +01:00
Lode Hoste
5278a8ca00 Clear dialog reference when dismissed (fixes #305). 2015-03-25 19:42:20 +01:00
Lode Hoste
d322249606 Fix back arrow in actionbar for Android 4.1+ 2015-03-25 17:19:10 +01:00
Lode Hoste
1bd24e64e0 Reset mRestartPostponedmRestartPostponed when ST was restarted 2015-03-24 23:22:57 +01:00
Lode Hoste
e89e579b6c Don't spam the device with retries and gradually increase the sleep time 2015-03-24 22:44:12 +01:00
Lode Hoste
ad65198f70 Do not request data when finishing 2015-03-24 22:43:24 +01:00
Lode Hoste
87f3ea9687 Update FoldersAdapter unit test 2015-03-24 22:27:51 +01:00
Lode Hoste
fadd22148a Check current state (and wait a bit longer) in the SyncthingService unit test 2015-03-24 22:26:17 +01:00
Lode Hoste
aa8cd0a26c Bumped version to 0.5.27. 2015-03-24 21:21:26 +01:00
Lode Hoste
7588638842 Imported translations. 2015-03-24 21:21:03 +01:00
Lode Hoste
2f0d4354c4 Try a bit harder to succeed the Rest call (currently FCs on fail) 2015-03-24 20:52:01 +01:00
Lode Hoste
6151dd1d41 Properly update device preferences (fixes #294). 2015-03-24 20:48:53 +01:00
Lode Hoste
771ff06345 Show loading dialog when restarting Syncthing 2015-03-24 19:55:27 +01:00
Lode Hoste
918c6c4e92 Fix NPE when closing filehandle to export configuration 2015-03-24 18:40:09 +01:00
Lode Hoste
8e014ce0cd Retry GET requests at least 10 times 2015-03-24 00:54:45 +01:00
Lode Hoste
c2a5ecb43e Support 'unknown' folder state 2015-03-24 00:08:46 +01:00
2de8d391bf Unhide dialogs (fixes #289, #290). 2015-03-23 23:23:27 +01:00
Lode Hoste
d73b430cf8 Only access the version information when the SyncthingService is active (fixes #292). 2015-03-23 16:16:20 +01:00
3558060fe0 Bumped version to 0.5.26. 2015-03-23 00:31:35 +01:00
3cea511c88 Don't use isFinished(), as it's not available on older devices. 2015-03-23 00:29:45 +01:00
1665c04e37 Bumped version to 0.5.25. 2015-03-23 00:03:44 +01:00
590f7db10d Imported translations. 2015-03-23 00:03:29 +01:00
fb2b6a21c4 Merge branch 'Zillode-fix-npe-device-edit' 2015-03-22 23:22:35 +01:00
a3d93a69ca Merge pull request #284 from Zillode/fix-invalid-token
Maintain&check reference to GUI before changing it
2015-03-22 22:50:32 +01:00
Lode Hoste
cf8ed62485 Minor fix for DevicesAdapterTest 2015-03-22 22:36:32 +01:00
Lode Hoste
02043095a6 Make sure the mFolder reference is valid (fixes #271). 2015-03-22 22:36:32 +01:00
Lode Hoste
fa39e17d51 Make sure the mDevice reference is valid (fixes #268 and #267). 2015-03-22 22:36:32 +01:00
Lode Hoste
c885445b51 Do not modify gui if it is destroyed 2015-03-22 21:06:26 +01:00
Lode Hoste
bab2243424 Disable ST upgrade in runnable (fixes #276). 2015-03-22 14:22:06 +01:00
db0da97cc4 Update summary on compression setting. 2015-03-22 11:14:17 +01:00
d5bbaafdb4 Don't need to replace /sdcard/ with proper path any more.
FolderPickerActivity always uses the correct path.
2015-03-22 00:57:22 +01:00
b780fb57f0 Removed API key generation as syncthing does this automatically now. 2015-03-22 00:53:26 +01:00
092c0f4cc9 Set notification as ongoing. 2015-03-21 22:23:38 +01:00
bd7346191f Also check for 401 status code in case GUI password is set (fixes #261).
This seems to break the web GUI, which apparently does not support
authentification.
2015-03-21 22:10:48 +01:00
1703194b02 Check if timer is null. 2015-03-21 21:48:24 +01:00
2bac0d9504 Add FolderObservers in background thread (fixes #262). 2015-03-21 21:42:33 +01:00
6f4741daee Fixed syncthing API calls being sent after shutdown (fixes #258). 2015-03-21 21:21:21 +01:00
Lode Hoste
c396646c36 Bumped version to 0.5.24.
Releases go through Jenkins now
2015-03-21 13:26:01 +01:00
Lode Hoste
47c0b132ff Bumped version to 0.5.23. 2015-03-21 11:45:09 +01:00
4868694643 Bumped version to 0.5.22. 2015-03-21 01:12:42 +01:00
04fe2593db Imported translations. 2015-03-21 01:12:18 +01:00
Lode Hoste
2b9a79bdad Persistent=false should be repeated for all subpreferences, a global persistent flag would have been too easy... (fixes #256) 2015-03-20 01:30:49 +01:00
7b54ce59b1 Bumped version to 0.5.21. 2015-03-17 22:39:09 +01:00
403ccd8d8d Imported translations. 2015-03-17 22:38:53 +01:00
Lode Hoste
c3e4ff4cb1 Set announce color green if at least one is connected (fixes #249) 2015-03-17 22:35:51 +01:00
b7459c9ded Fixed crash when navigating to folder without read permissions (fixes #244). 2015-03-17 01:03:32 +01:00
Lode Hoste
ca2ca8553a Compression is now a string instead of a boolean (fixes #239) 2015-03-16 19:43:31 +01:00
c128612e68 Bumped version to 0.5.20. 2015-03-14 21:19:58 +01:00
96a266e7fd Fixed NPE when JSON parsing fails. 2015-03-14 21:19:27 +01:00
a3b7241c1e Bumped version to 0.5.19. 2015-03-14 15:14:50 +01:00
9cff099dab Imported translations. 2015-03-14 15:13:51 +01:00
c90f35e395 Ignore active network info for wifi state (fixes #235). 2015-03-14 12:05:54 +01:00
e43ca2adfc Fix possible NullPointerException in FolderObserver. 2015-03-14 11:51:02 +01:00
8edf8201e3 Explicitly set UTF-8 encoding when sending data (fixes #228). 2015-03-13 20:18:31 +01:00
703578aeb5 Added preference categories. 2015-03-10 23:44:01 +01:00
beb9dc54a4 Added toast regarding external storage usage on Kitkat and higher (ref #225). 2015-03-10 22:05:28 +01:00
527d40e670 Added config import/export (fixes #143). 2015-03-10 21:47:32 +01:00
97a324b4b5 Use Kibibyte units to be consistent with syncthing. 2015-03-10 21:18:25 +01:00
1a85bd54e7 Also replace IPv6 announce server address with domain (fixes #231). 2015-03-10 19:19:20 +01:00
9c91f3f1d0 Bumped version to 0.5.18. 2015-03-08 23:33:36 +01:00
aa35b8ae46 Imported translations. 2015-03-08 23:33:20 +01:00
3e517cd81d Show all directories in /storage/ in folder picker by default. 2015-03-06 20:36:02 +01:00
c20d63a687 Added summary to advanced folder picker option. 2015-03-06 20:36:02 +01:00
d043153a1f Explicitly shut down syncthing on exit. 2015-03-06 20:35:41 +01:00
293fae2be9 Fixed lint warnings. 2015-02-27 23:47:08 +01:00
add57da804 Fixed test compilation. 2015-02-27 23:38:38 +01:00
c06e9ac992 Create a new config file if parsing fails (fixes #201). 2015-02-27 23:22:18 +01:00
9ed5fe0c20 Refresh drawer items when opening (fixes #217).
Also close the drawer when navigating away.
2015-02-27 22:57:28 +01:00
7f5dd1d988 Added Transifex language map, moved translation files. 2015-02-22 22:15:37 +01:00
9120094c95 Bumped version to 0.5.17. 2015-02-22 21:01:02 +01:00
1361e1ecaa Imported translations. 2015-02-22 21:00:43 +01:00
59d92913ec Bumped version to 0.5.16. 2015-01-21 20:45:51 +01:00
42ebf28c6d Imported translations. 2015-01-21 20:45:15 +01:00
5c11c426ab Move menu items to drawer (fixes #110). 2015-01-20 19:08:57 +01:00
8d676855da Only show "add folder/device" in that tab, and hide either in drawer (ref #110). 2015-01-20 02:16:34 +01:00
d7d35eb61e App settings improvements (fixes #134, ref #122).
- removed options that aren't available in web GUI
- added options for local node name, announce servers and usage report
2015-01-20 00:43:47 +01:00
fea483764d Use sdcard directory as home for web GUI folder picker (fixes #163).
If this causes problems on older devices, we can use the old path
based on API version.
2015-01-19 22:13:52 +01:00
fd861cdee9 Show files in folder picker (fixes #167). 2015-01-19 22:08:50 +01:00
535b1f6108 Fixed announce server status display (fixes #189). 2015-01-19 21:46:34 +01:00
1506541796 Replace (newly formatted) announce server address with IP (fixes #191). 2015-01-19 21:19:06 +01:00
2d935b5485 Bumped version to 0.5.15. 2015-01-14 12:07:56 +01:00
9d6e5b6552 Bumped version to 0.5.14. 2015-01-12 11:50:34 +01:00
94ccf0349e Imported translations. 2015-01-12 11:46:52 +01:00
cdd17b675b Bumped version to 0.5.13. 2014-12-10 19:29:03 +02:00
85e0fff03b Imported translations. 2014-12-10 19:28:10 +02:00
c903d9d1d0 Don't show notification when syncthing binary crashes, just log. 2014-12-10 19:21:47 +02:00
bb28972f00 Bumped version to 0.5.12. 2014-12-07 11:36:28 +02:00
036e515b0b Updated translations. 2014-12-07 11:26:33 +02:00
65a45d7408 Fixed various test cases. Also removed slow/unreliable tests. 2014-12-01 07:36:58 +02:00
ab184aee48 Reload GUI when restarting from web GUI (fixes #188). 2014-12-01 07:04:14 +02:00
3a48be14fd Bumped version to 0.5.11. 2014-11-30 19:16:46 +02:00
3c5db37af1 Imported translations. 2014-11-30 19:16:30 +02:00
293c512d7f Bumped version to 0.5.10. 2014-11-21 19:15:32 +02:00
f11309153b Bumped version to 0.5.9. 2014-11-17 15:21:24 +02:00
699ef0f1b1 Fixed crash in FolderPickerActivity (fixes #177). 2014-11-17 15:20:13 +02:00
201bc9ecae Log syncthing restarts. 2014-11-17 15:09:21 +02:00
c8f0df35fa Allow opening folder in other app by long clicking (fixes #175).
Unfortunately, there is no folder mime type that seems to work
with popular file managers, so we use '*/*', which means the list
contains a lot of apps that don't make sense.
2014-11-12 23:38:33 +02:00
e131849171 Fixed wrong devices being checked for a node (fixes #89).
Also, don't show the local device in device selection.
2014-11-12 23:09:07 +02:00
65199cbe23 Bumped version to 0.5.8. 2014-11-12 19:32:59 +02:00
43bf43a214 Imported translations. 2014-11-12 19:32:32 +02:00
f3ad255c7c Use correct announce server port for new installs. 2014-11-12 19:29:49 +02:00
fa3898f8f4 Fixed crash in FolderObserver if folder can't be accessed (fixes #180). 2014-11-05 19:11:34 +02:00
1202651411 Bumped version to 0.5.7. 2014-11-04 12:40:14 +02:00
87fd57bf83 Added advanced folder picker (fixes #170). 2014-10-28 13:57:40 +02:00
8b563da25d Fix create/pick folder being shown when folder roots are shown (fixes #173). 2014-10-28 13:32:05 +02:00
df48d75127 Use syncthing -generate flag instead of copying own config file. 2014-10-26 03:32:23 +03:00
84355c2dcf Fixed crash when values is read from RestApi before fully initialized (fixes #159). 2014-10-26 02:47:37 +03:00
6bb99f2ae4 Fix device sync percentage (fixes #161). 2014-10-26 02:17:12 +03:00
28cdb78e15 Bumped version to 0.5.6. 2014-10-24 13:27:19 +03:00
b6fd4d0113 Use the same AppCompat theme on all API levels (fixes #172).
Also, I accidently deleted res/values-11/ and res/values-21/ in
443c8e9. Stupid me.
2014-10-23 14:00:32 +03:00
6fe20213e5 Fixed wrong xml tag being used. 2014-10-23 13:27:28 +03:00
04dc0c92ff Added workaround for .stfolders not being created (fixes #168). 2014-10-23 13:26:48 +03:00
c82cdd49e2 Allow choosing folders on external storage with Android 4.4+ (fixes #29). 2014-10-22 10:18:11 +03:00
7db845a474 Use correct (deprecated) language codes for string resources. 2014-10-21 11:45:50 +03:00
07e0e422a9 Bumped version to 0.5.5. 2014-10-19 16:38:21 +03:00
be60f9833f Imported translations. 2014-10-19 16:37:58 +03:00
443c8e96d4 Updated target to Android 5.0, use material design, updated dependencies. 2014-10-18 14:58:23 +03:00
af8f4858a7 Lint fixes. 2014-10-18 13:09:48 +03:00
bc02c50bcf Removed leftover comment. 2014-10-16 23:23:45 +03:00
f4565c1bb0 lenientMtimes option seems to be false in some cases. 2014-10-16 13:21:03 +03:00
322a297c5e Properly validate folder ID (fixes #156). 2014-10-16 11:34:38 +03:00
42c8898c80 Set PendingIntent on crash notification to avoid IllegalArgumentException. 2014-10-15 16:56:31 +03:00
caf718e2fe Change default rescan interval to 0 to disable scanner. 2014-10-15 15:26:34 +03:00
cbefc60c3c Bumped version to 0.5.4. 2014-10-14 22:21:45 +03:00
c9e670157b Made all settings translatable. 2014-10-14 20:10:22 +03:00
25be5539fc Read both stdoud and stderr for logging. 2014-10-14 17:28:43 +03:00
e7cc3b1a10 Bumped version to 0.5.3. 2014-10-14 16:24:21 +03:00
2364c9d748 Imported translations. 2014-10-14 16:24:01 +03:00
a000eda4e4 Set lenientMtimes option on all folders (fixes #146).
See syncthing/syncthing#831.
2014-10-14 15:02:50 +03:00
560d7bf97a Save and restore folder/device settings on screen rotate (fixes #152). 2014-10-12 17:58:58 +03:00
8d0518fa09 Show notification while syncthing is active (closes #136). 2014-10-12 16:45:05 +03:00
3e0b2138ae Bumped version to 0.5.2. 2014-10-12 16:01:15 +03:00
9940f5c437 Fixed deleting folders not working. 2014-10-12 16:00:57 +03:00
9f307e24fe Imported translations. 2014-10-12 15:35:53 +03:00
60815355ca Localize folder states. 2014-10-12 13:55:36 +03:00
8d781844a2 Use inSyncBytes instead of localBytes to calculate sync progress (fixes #93).
Also rename variable to clarify.
2014-10-12 13:46:26 +03:00
77eaffa4b7 Show app version in settings (fixes #138). 2014-10-10 14:12:02 +03:00
47cc76a9fd Do not crash if folder does not exist (fixes #148). 2014-10-10 14:00:13 +03:00
48188b845c Added introducer option. 2014-10-10 13:42:53 +03:00
1b34bd9d48 Fixed add folder not working (fixes #147). 2014-10-10 13:30:44 +03:00
12f7b3dbe2 Fixed crash when receiving file move or create event (fixes #144). 2014-10-09 00:17:07 +03:00
fe295009ca Bumped version to 0.5.1. 2014-10-08 21:38:48 +03:00
e7d21c4f05 Imported translations. 2014-10-08 21:36:31 +03:00
e7fb1c08ec Rename Repository -> Folder, Node -> Device. 2014-10-08 21:35:27 +03:00
e620bc8588 Bumped version to 0.5.0. 2014-10-07 12:25:51 +03:00
590637be7e Imported translations. 2014-10-07 12:22:42 +03:00
c588604ba8 Fixed syncthing restart (fixes #137). 2014-10-07 12:20:26 +03:00
235eb39c23 Bumped version to 0.5.0-beta7. 2014-10-01 13:12:16 +03:00
d96ab6f9c5 Imported translations. 2014-10-01 13:05:29 +03:00
f383393ce4 Added functionality to manually stop sync (fixes #131).
This functionality can not be used together with wifi/charging settings.

By default, this is set so that syncthing is only active when requested,
and can be stopped by the user.
2014-10-01 13:01:47 +03:00
e76f354ddd Added verbose logging for battery/network receivers. 2014-09-29 01:26:40 +03:00
93f1f9ae05 Bumped version to 0.5.0-beta6. 2014-09-29 00:49:08 +03:00
8338378d2d Imported translations. 2014-09-29 00:48:43 +03:00
91872c36c6 Updated crash message. 2014-09-29 00:47:44 +03:00
377615a1aa Test fixes, removed RestAPI tests that require activity.
These tests could not be executed reliably, not even using activity tests.
2014-09-29 00:43:59 +03:00
98d63a177f Fixed actionbar back buttons in web GUI and settings. 2014-09-28 21:10:46 +03:00
ac289dfa30 Added logging for syncthing enable/disable. 2014-09-28 21:01:42 +03:00
78680eceb1 Moved syncthing shutdown hack to updateState() so it's invoked on every start. 2014-09-28 20:57:47 +03:00
2b5435c1e8 Start syncthing with STNORESTART flag.
This avoids the problem where an occupied GUI start lets syncthing-android
start, but API calls fail silently.
2014-09-28 20:42:15 +03:00
bd281abade Revert commits that set API key via parameter instead of config.
This reverts commits 84afda30a0 and
d81af707ec.
2014-09-28 20:39:18 +03:00
467dad0438 Added app description to manifest. 2014-09-25 13:54:25 +03:00
6d697ecac7 Bumped version to 0.5.0-beta5. 2014-09-25 02:30:47 +03:00
33491bb40f By default, sync under all conditions (ref #127).
This is so the user knows *why* syncthing disables itself.
2014-09-25 02:30:47 +03:00
879616a715 Dismiss "disabled" dialog when syncthing is available again (ref #127). 2014-09-25 02:30:47 +03:00
9ea8af4774 Do not immediately finish() activity after creating or deleting repo/node.
This caused problems with restart dialogs ("activity has leaked window").
Instead, the activity is finished anyway as soon as the syncthing API
becomes unavailable due to restarting.

We will have to revisit this when syncthing does not need to be restarted
any more.
2014-09-25 02:30:47 +03:00
ccfd28abbc Added compression preference to node settings. 2014-09-25 02:30:47 +03:00
875b6b8c8d Added incoming rate limit preference. 2014-09-25 02:30:47 +03:00
2363d92f22 Added per-repo rescan interval setting.
The default is 86400 (one day), because this shouldn't be needed with the
previous addition of inotify.
2014-09-25 02:30:47 +03:00
924be98aaa Added inotifiy support. 2014-09-25 02:30:47 +03:00
913d251353 Removed rescan interval from app settings. 2014-09-25 02:30:47 +03:00
9bce53590c Bumped version to 0.5.0-beta4. 2014-09-25 02:30:47 +03:00
56063c577a Fixed crash when changing app preferences (fixes #125). 2014-09-25 02:30:47 +03:00
1733091e4b Do not require full translation for release. 2014-09-25 02:30:47 +03:00
5b394bf373 Bumped version to 0.5.0-beta3. 2014-09-25 02:30:47 +03:00