1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-25 20:31:29 +00:00
Commit graph

887 commits

Author SHA1 Message Date
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
d248017e24 Improve handling of nodes in a repository (fixes #89). 2014-09-25 02:29:20 +03:00
2c631eed1f Allow setting STTRACE parameters via app settings. 2014-09-25 02:29:19 +03:00
ccff3e1718 Use notification instead of dialog if syncthing binary crashes.
This also gets rid of the SYSTEM_ALERT_WINDOW permission.
2014-09-25 02:29:19 +03:00
4886bbe0d1 Changed wifi/power preference names to be easier to understand. 2014-09-25 02:29:19 +03:00
a9f9ef4ff1 Updated welcome dialog (sync can now be paused on mobile data). 2014-09-25 02:29:19 +03:00
84afda30a0 Remove shutdown() hack, which does not work any more with dynamic API keys. 2014-09-25 02:29:19 +03:00
a375619ed7 Various crash and bug fixes, restart manually instead of using API call. 2014-09-25 02:29:19 +03:00
005fc36054 Removed leftover debug logging. 2014-09-25 02:29:19 +03:00
4e254984ca Fixed a possible crash if config has not yet been initialized on startup. 2014-09-25 02:29:19 +03:00
ffefe46eed Various test enhancements:
- added SyncthingServiceTest
- removed permanent notification from SyncthingService (didn't work with unit test)
- renamed TestContext to MockContext
- added MockRestApi
2014-09-25 02:29:19 +03:00
feaaf4c5da Fixed QR code scanning to add node being broken (fixes #106). 2014-09-25 02:29:19 +03:00
30bf0d7bc5 Made MockSyncthingService a complete stub of SyncthingService.
Now all methods are overriden, and throw UnsupportedOperationException
unless used by a test.
2014-09-25 02:29:19 +03:00
d81af707ec Pass API key via command line instead of setting it in config.xml. 2014-09-25 02:29:19 +03:00
c17da6595a Bumped version to 0.5.0-beta2. 2014-09-25 02:29:19 +03:00
1653d409ec Fixed dialogs not shown in MainActivity, added MainActivityTest. 2014-09-25 02:28:58 +03:00
a1ddfbb2db Make sure service also runs in background after first app start.
Previously, it would be stopped when exiting the activity due to no
call to `startService()`.
2014-09-25 02:28:58 +03:00
35d80844fc Fixed repos not being displayed (fixes #100). 2014-09-25 02:28:58 +03:00
b5f38c5c19 Lots of new unit tests, refactoring.
New tests:
RestApiTest
NodesAdapterTest
ReposAdapterTest

Refactored:
extracted PollWebGuiAvailableTask from SyncthingService
some changes in return values/calling behaviour for easier/better testing
2014-09-25 02:28:58 +03:00
7b3d1b4052 Added various unit tests. 2014-09-25 02:28:58 +03:00
2e83305b93 Added unit tests for BroadcastReceivers. 2014-09-25 02:28:58 +03:00
b1749ce7cb Changed code style to use spaces instead of tabs.
It is impossible to add a custom code style in Android Studio that is
stored in the project repository. So change style to something that's
easy to use in practice now rather than later.
2014-09-25 02:28:58 +03:00
c3b027e8b5 Optimized imports, removed unused function, removed assert. 2014-09-25 02:28:05 +03:00
9a0cf429ae Fixed crash on restart. 2014-09-25 02:28:05 +03:00
581e355366 Use correct stream for syncthing output. 2014-09-25 02:28:05 +03:00
49ec0734f5 Added SyncthingActivity to avoid code duplication. 2014-09-25 02:28:05 +03:00
76e87932f9 Use ActionBar icon instead of preference item for delete repo/node. 2014-09-25 02:28:04 +03:00
d78319ee00 Move Activities and Fragments into seperate folders. 2014-09-25 02:28:04 +03:00
d2e0c291b6 Use PreferenceFragments with a wrapper instead of SettingsFragments (fixes #64). 2014-09-25 02:28:04 +03:00
299c901086 Remove catch-all statement. 2014-09-25 02:28:04 +03:00
026f508b18 Use Java 1.7. 2014-09-25 02:28:04 +03:00
766c7967b5 Refactoring of config related functions/constants (moved ConfigXml). 2014-09-25 02:28:04 +03:00
6eeb161036 Removed exit button (closes #6).
This has become useless, as the service would be automatically restarted
whenever a network/battery/boot intent is received.
2014-09-25 02:28:04 +03:00
b0006db5c8 Extracted SyncthingRunnable into seperate file. 2014-09-25 02:28:04 +03:00
690190850e Start automatically on boot (closes #54). 2014-09-25 02:28:04 +03:00
9c4a85b85d Add options to stop sync when not charging or not on wifi (fixes #15). 2014-09-25 02:28:04 +03:00
733940cbdf Bumped version to 0.4.19. 2014-09-25 02:15:11 +03:00
f8924b52a2 Added czech, dutch and chinese translations. 2014-09-25 02:14:23 +03:00
Cathryne
12012d517e prioritize select_folder over create_folder 2014-09-20 20:53:34 +02:00
508f1884ad Bumped version to 0.4.18. 2014-09-19 17:20:26 +03:00
7488f3e61e Bumped version to 0.4.17. 2014-09-17 20:31:51 +03:00
5ba2920b6a Avoid text overlap for long repository ID or node name (fixes #113). 2014-09-16 12:13:24 +03:00
a8869afea9 Do not allow chaning the repo path after repo has been created (ref #29). 2014-09-12 17:49:28 +03:00
fdbb2252ec Bumped version to 0.4.16. 2014-09-12 17:07:09 +03:00
d4368d708b Bumped version to 0.4.15. 2014-09-10 23:15:05 +03:00
9082219e14 Imported German and Italian translations. 2014-09-10 23:14:04 +03:00
a90502dd5c Use correct stream for syncthing console output (fixes #115). 2014-09-07 14:56:55 +03:00
36de750b3f Bumped version to 0.4.14. 2014-09-06 23:45:34 +03:00
5171207ab6 Bumped version to 0.4.13. 2014-09-01 17:08:47 +03:00
f2db156143 Added french and polish translations from Transifex. 2014-09-01 17:08:05 +03:00
06351c945c Bumped version to 0.4.12 2014-08-29 18:06:19 +03:00
b74a6bd151 Fixed *some* repos not being displayed (fixes #100 again). 2014-08-28 19:20:11 +02:00
df14692fdd Bumped version to 0.4.11. 2014-08-27 22:42:19 +02:00
4f9f7f123c Fixed repos not being displayed (fixes #100). 2014-08-27 22:40:54 +02:00
734cbf8d9f Bump version to 0.4.10. 2014-08-27 15:04:35 +02:00
3196cfe8bf Bumped version to 0.4.9. 2014-08-23 14:52:35 +02:00
c092ff659e Bumped version to 0.4.8. 2014-08-18 11:12:33 +02:00
64bad6d0fe Avoid the same node being added multiple times (fixes #65).
When trying to add a node that already exists, the existing node is edited
instead.
2014-08-17 22:26:20 +02:00
6a85fae8ca Fixed error text position in repository item layout (fixes #78). 2014-08-17 03:05:28 +02:00
6c737c6b68 Bumped version to 0.4.7. 2014-08-16 22:34:26 +02:00
Michael Strecke
1b0fe50725 new icons 2014-08-09 01:35:14 +02:00
41b33d6bf6 Bumped version to 0.4.6. 2014-08-07 17:37:30 +02:00
d05081a10c Fixed node status and transmission speed display (fixes #74). 2014-08-07 17:37:09 +02:00
fd5455eff4 Bumped version to 0.4.5. 2014-08-04 19:27:07 +02:00
97bb64643a Adjust announce server port for v0.9.0 (ref #74). 2014-08-04 19:26:48 +02:00
5af2e55878 Log error code on syncthing binary crash for better logcat searchability. 2014-08-03 17:18:00 +02:00
2eece2e350 Fix crash if no QR scanner is available (fixes #71). 2014-08-03 17:00:29 +02:00
44317ba2f0 Bumped version to 0.4.4. 2014-08-03 16:38:04 +02:00
1639123232 Change "Create Node" to "Add Node" (ref #64). 2014-07-28 01:36:45 +02:00
ffb0deaaf9 Added content description for scan QR code icon in "add node" screen. 2014-07-27 21:55:39 +02:00
e5c578a54d Fixed restart dialog disappearing on Activity finish (closes #60). 2014-07-27 01:53:00 +02:00
e7a097d215 Bumped version to 0.4.3. 2014-07-23 15:02:00 +02:00
12db32dcd8 Fix font color problems on pre-Honeycomb (fixes #63). 2014-07-13 16:15:35 +02:00
980bb83c7c Close service connection in FolderPickerActivity. 2014-07-09 23:22:35 +02:00
96dd7bf809 Removed unused variable, use static variable to hold log tag. 2014-07-09 16:07:15 +02:00
3719be19c0 Bumped version to 0.4.2. 2014-07-09 14:39:13 +02:00
0c2378ac94 Added missing QR ImageView drawables. 2014-07-06 23:02:52 +02:00
87daf00867 Added QR code scanner on when adding node (closes #39).
This uses intents, not a built-in scanner, so a seperate app is
required (eg "Barcode Scanner").
2014-07-06 12:08:41 +02:00
6ccf1667e8 Show dialog if syncthing binary crashes instead of just crashing (ref #58). 2014-07-05 19:22:11 +02:00
d46d1d4e48 Use normal theme instead of dialog theme for repo/node settings.
This caused problems as dialogs don't have an ActionBar, and adding
ActionBar explicitly gives problems with old API levels. Closes #51.
2014-07-04 23:03:58 +02:00
3ce26dafb2 Allow copying node ID to clipboard in Drawer and node settings (closes #53). 2014-07-04 21:41:03 +02:00
20d1fcf3e8 Fix drawer clicks leaking through to underlying layout (ref #53). 2014-07-04 17:08:33 +02:00
7b51d8f355 Use minimum priority for ongoing notification. 2014-07-04 13:28:34 +02:00
dfc589d714 Use correct stream for native logging, use tag SyncthingNativeCode, simplify Code. 2014-07-04 01:27:08 +02:00
1c1197b85b Bumped version to 0.4.1. 2014-07-03 23:14:51 +02:00
b63f5bc61e Fix menu items in repo/node settings not showing as actions (ref #49).
This *should* work using `app:showAsAction`, but apparently it does not.
Using `android:showAsAction` gives warnings, but should work on all
platforms that support "showAsAction".
2014-07-03 15:27:40 +02:00
8f5422968a Fixed repo list item layout ids. 2014-07-03 00:33:09 +02:00
1fa5576625 Removed leftover line of code. 2014-07-03 00:32:37 +02:00
205056f0ef Use updated syncthing logo (ref calmh/syncthing#67445a6). 2014-07-01 22:49:55 +02:00
61eba3da1d Change restart handling to show a dialog first (ref #49).
The notification is only shown if the dialog is dismissed, in which
case the dialog won't show up as long as syncthing is not restarted.
2014-07-01 20:51:41 +02:00
50c71c5b45 Updated launcher icon for better quality. 2014-07-01 16:10:57 +02:00
a16505b757 Added file count to repository list item (ref #49). 2014-07-01 16:09:30 +02:00
ad1138e5c5 Fixed ActionBar up button not working in all activities (ref #49). 2014-07-01 13:52:59 +02:00
9806b66f56 Use split ActionBar for FolderPickerActivity. 2014-07-01 11:43:27 +02:00
5fa3400693 Do not hardcode node list item height (ref #49). 2014-06-30 19:05:30 +02:00
2bbc9e9e29 Bumped version to 0.4.0. 2014-06-30 02:20:47 +02:00
28fa7068f1 Fixed lint warnings. 2014-06-30 02:20:32 +02:00
52f84e0ec0 Show toast when trying to access nodes screen in repo settings if no nodes exist. 2014-06-30 02:19:58 +02:00
0a4121e6cf Add ActionBar back button to repo/node settings Activities. 2014-06-30 01:43:55 +02:00
505ec379b6 Share node id from node settings. 2014-06-30 01:43:55 +02:00
505673bf71 Fixed repo size being always 0 (fixes #42). 2014-06-30 01:43:55 +02:00
ca0020b176 Added graphical repo folder picker (closes #40). 2014-06-30 01:43:55 +02:00
35644c355b Fixed changed node settings not applying for repository. 2014-06-30 01:43:55 +02:00
f5249f8918 Rename "repository" to "repo" in code, missing strings from last commit. 2014-06-30 01:43:54 +02:00
c42f8c4ccb Seperate xml files for create/edit repo/node preference screens, externalize strings. 2014-06-30 01:43:54 +02:00
d858e0738d Read syncthing logs from stdout instead of stderr (ref calmh/syncthing@f97dd9d). 2014-06-30 01:43:54 +02:00
5d078fc0c0 Create camera repository on first start (closes #4). 2014-06-30 01:43:54 +02:00
97e46c3f64 Improved handling of first start dialog (fixes #45). 2014-06-30 01:43:54 +02:00
0984ba1b2d Fixed crash on screen rotate and drawer not refreshing after screen rotate. 2014-06-30 01:43:54 +02:00
9d041d0bb3 Add loading dialog on API load (after start or restart).
ref #47
2014-06-30 01:43:54 +02:00
d0e7f57812 Minor refactoring. 2014-06-30 01:43:54 +02:00
dff9156d77 Added proper restart handling (new config data is automatically loaded after restart). 2014-06-30 01:43:54 +02:00
b67c625318 Don't log stdout (unused) by syncthing). 2014-06-30 01:43:54 +02:00
ed4c2dc275 Added missing documentation. 2014-06-30 01:43:54 +02:00
139a6e9b03 Refactor "repository" to "repo" in class/variable names. 2014-06-30 01:43:54 +02:00
c21315b907 Moved classes into util package. 2014-06-30 01:43:54 +02:00
0f3bcc5f30 Adjust input type for GUI password. 2014-06-30 01:43:54 +02:00
61ac81c9b7 Removed unused graphics. 2014-06-30 01:43:54 +02:00
3933740213 Added node and repo settings activities. 2014-06-30 01:43:54 +02:00
2ceca738ea Added more info to repo/node list items. 2014-06-30 01:43:54 +02:00
8e8de14ef5 Fix app icon to open info drawer, code cleanup. 2014-06-30 01:43:54 +02:00
af397b0027 Change "Waiting for GUI" to "Waiting for API" in repo/node lists. 2014-06-30 01:43:54 +02:00
a98e6d6d99 Added local node info fragment in navigation drawer. 2014-06-30 01:43:54 +02:00
72f76108fd Disable HTTPS setting in native GUI (ref #19). 2014-06-30 01:43:54 +02:00
56e0fa3631 Change app theme for consistency with web ui. 2014-06-30 01:43:53 +02:00
19123506cc Fix crash on start after improper shutdown (fixes #16). 2014-06-30 01:43:53 +02:00
d524461634 Added native main activity with tabs for repos and nodes. 2014-06-30 01:43:53 +02:00
7e69c3a354 Preferences code cleanup. 2014-06-30 01:43:53 +02:00
0278210471 Moved SettingsActivity and WebGuiActivity to gui folder. 2014-06-30 01:43:53 +02:00
d3a5b09568 Cancel restart notification on shutdown, minor refactoring. 2014-06-30 01:43:53 +02:00
231f6d4fca Added "restart" notification. 2014-06-30 01:43:53 +02:00
edea290ea6 Add syncthing preferences to app settings. 2014-06-30 01:43:53 +02:00
870c451477 Bumped version to 0.3.10. 2014-06-27 17:59:39 +02:00
29cef17547 Bumped version to 0.3.9. 2014-06-22 23:07:20 +02:00
7b2ef0d6a0 Cleaner solution for Gingerbread problems: use AsyncTask instead of Runnable
ref #18
2014-06-22 18:56:16 +02:00
5ba80e5bfa Revert "Use Runnable instead of AsyncTask to poll for syncthing web gui (fixes #41)."
This reverts commit a215e30098.
2014-06-22 18:12:31 +02:00
b3218c3c2f Bumped version to 0.3.8. 2014-06-19 01:13:25 +02:00
a215e30098 Use Runnable instead of AsyncTask to poll for syncthing web gui (fixes #41).
This works around a  problem with pre-Jellybean devices, where AsyncTask
must be created on the main thread,
2014-06-19 01:13:00 +02:00
08d824a46e Bump version to 0.3.7. 2014-06-15 21:09:39 +02:00
c20c4345bc Add missing change from previous commit. 2014-06-09 23:49:39 +02:00
de898048b7 Fix crash on start after improper shutdown (fixes #16).
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/PostTask.java
	src/main/java/com/nutomic/syncthingandroid/syncthing/RestApi.java
2014-06-09 01:03:01 +02:00
665a081500 Merge branch 'gingerbread_home_threading_fixes' of git://github.com/chr15m/syncthing-android 2014-06-09 00:46:50 +02:00
Chris McCormick
a3965c6b83 Fix for #18 - correctly pass the HOME environment variable in to the syncthing process. 2014-06-08 23:28:15 +02:00
Chris McCormick
726f62061d Part of fix for #18 on Gingerbread - call Looper.prepare() to set up the thread. 2014-06-08 23:24:50 +02:00
aa9485d6d4 Bumped version to 0.3.6 2014-06-08 19:09:33 +02:00
47b652708e Added support for API keys introduced in syncthing v0.8.14. 2014-06-06 21:10:49 +02:00
Michael Strecke
11627089b4 Use "official" path for persistent data
Note: This causes the first start dialog and "generating keys" message to
be shown on first start after update, but all data is actually preserved.
2014-06-05 15:14:51 +02:00
b43804beed Bumped version to 0.3.5. 2014-06-04 19:14:37 +02:00
011e009252 Bump version to 0.3.4. 2014-06-03 13:06:57 +02:00
66cf333725 Real time logging for syncthing binary. 2014-05-28 21:16:12 +02:00
51309ef984 Display options menu only once web gui is online. 2014-05-27 14:51:33 +02:00
1c1b1e6aa6 Use public key instead of config to check for first start.
This lets SyncthingService.isFirstStart() return true for a longer
time (previously, it would return false as soon as the config was copied).
2014-05-27 14:01:08 +02:00
fa749da4a6 Additional info level logging. 2014-05-27 01:24:37 +02:00
a8b84a21e5 Bumped version to 0.3.3. 2014-05-27 00:56:10 +02:00
ce7773bac7 Fixed crash on first start after install. 2014-05-27 00:55:42 +02:00
d6025a5e6b Bumped version to 0.3.2. 2014-05-26 20:22:56 +02:00
bee6270737 Insert missing version 0.3.1 version bump into history. 2014-05-26 20:19:31 +02:00
77b7f3a299 Read web gui url from config instead of hardcoding it. 2014-05-26 20:19:02 +02:00
b1574aaee1 Moved functions accessing syncthing API to new class RestApi. 2014-05-26 20:19:02 +02:00
808ed14b27 Renamed package ".service" to ".syncthing". 2014-05-26 20:19:02 +02:00
ca871a7ba2 Bumped version to 0.3.1. 2014-05-26 20:14:43 +02:00
ebdbb6c5d1 Revert "Set home directory to sdcard instead of app data folder. Fixes #9."
This reverts commit e3219ef80d.

This change seems to cause problems on Android 2.3 devices, which exit with
error "No home directory found". I can't test this myself, and don't know
if it happens for everyone (ref #9).
2014-05-25 22:24:41 +02:00
7ca64b8856 Automatically set ignorePerms attribute on all repos on start. 2014-05-24 00:32:37 +02:00
1e787c9051 Bumped version to 0.3.0. 2014-05-22 14:43:06 +02:00
470213ed29 Removed discovery warning from first start dialog. 2014-05-22 14:41:53 +02:00
8ddd3b1d2f Fix global discovery by using announce server ip instead of hostname.
Old configs are automatically updated.

Also moved initial initial config.xml creation from WebGuiActivity to
SyncthingService.
2014-05-20 14:37:04 +02:00
be2dbaffb1 Fix leftover debug value. 2014-05-19 17:16:07 +02:00
a0881ca8c8 Ignore "version code unused" lint warning
The value is actually read from gradle by getVersionCodeFromManifest().
2014-05-19 01:21:13 +02:00
22f44dffa5 Add log to exception thrown on syncthing error code. 2014-05-18 20:27:31 +02:00
e3219ef80d Set home directory to sdcard instead of app data folder. Fixes #9. 2014-05-16 18:21:50 +02:00
7576e2a47d Improved polling for web gui (fixes #7). 2014-05-15 14:54:21 +02:00
a2a3f189b3 Bumped version to 0.2.0. 2014-05-15 13:19:17 +02:00
c6456b8b1f Force crash if syncthing binary returns error.
Instead of showing the loading screen forever.
2014-05-15 13:16:20 +02:00
15f2d5e43f Fixed lint problems. 2014-05-14 23:02:33 +02:00
0ed561015c Use compat theme. 2014-05-14 22:40:19 +02:00
426e1a5c60 Minor refactoring. 2014-05-14 21:02:01 +02:00
3e8ef39322 Formatting fixes. 2014-05-14 17:25:42 +02:00
95c2f7d98a Do not allow backup.
Data folder contains private key, so one could imitate this node with the
backed up key.
2014-05-14 15:15:51 +02:00
aa82330c94 Add ActionBar back button to settings. 2014-05-14 14:59:05 +02:00
33840d22ea Use preference information style instead of disabling it. 2014-05-14 13:39:52 +02:00
f43b864278 Fix package name declaration. 2014-05-14 13:23:12 +02:00
c53c907a02 Re-organized URI handling. 2014-05-14 13:08:04 +02:00
ef8b424500 Re-organized strings. 2014-05-14 12:00:51 +02:00
9ab75791c1 Added summary for "report issue" settings item. 2014-05-14 11:57:37 +02:00
ff7f6a811c Get version name from Rest API instead of hardcoding it. 2014-05-14 11:29:31 +02:00
6da9b7b8f9 Execute syncthing binary from console instead of loading it as a library.
This makes everything easier, as we can now use standard syncthing releases
instead of custom compiles, and don't have to hardcode the data folder.
2014-05-14 10:35:08 +02:00
11f3c46fa0 Fixed service stopping on Activity exit. 2014-05-13 17:59:52 +02:00
745de67005 Added proper shutdown (using hack). 2014-05-13 11:09:07 +02:00
7a5855fec5 Replaced Notification with NotificationCompat. 2014-05-13 10:53:47 +02:00
d369cd3876 Moved build to gradle. 2014-05-12 18:54:26 +02:00
5e3f097aa4 Create default config on first start. 2014-05-12 16:33:53 +02:00
83dc3a6c65 Use explanation text when waiting for WebView on first start (fixes #3). 2014-05-12 03:08:13 +02:00
1610ce9507 Added settings with syncthing version version, moved "report issue" to settings. 2014-05-11 21:39:40 +02:00
9edbd0ea6d Removed duplicate line. 2014-05-06 23:02:26 +02:00
f58f7cf38f Open Activity on Notification click. 2014-05-06 13:28:57 +02:00
469de1d412 Added first start dialog. 2014-05-06 13:21:58 +02:00
472ccb6bed Added persistent notification while service is running. 2014-05-06 12:58:58 +02:00
f12acb2b9b Added exit button to stop background service. 2014-05-06 12:51:50 +02:00
65bc9c46da Added menu with link to issue tracker. 2014-05-06 12:49:43 +02:00
099645b66b Added text to loading view. 2014-05-06 12:28:46 +02:00
76d7429a58 Changed Activity to show web UI. 2014-05-06 12:03:09 +02:00
9dfa635bed Moved native syncthing library into background thread. 2014-05-05 23:31:21 +02:00
0b075eb60e Removed unneeded create directory code in Java.
This was actually fixed by adding the WRITE_EXTERNAL_STORAGE permission.
2014-05-05 22:48:53 +02:00
b091d430a8 Create syncthing folder on start if it does not exist. 2014-05-05 22:30:57 +02:00
aff927b427 Set up cross compile of syncthing to android (arm) and included it in an app.
Syncthing does not actually work yet, probably because paths are different.
2014-02-22 18:12:05 +01:00