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