1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 08:11:17 +00:00
Commit graph

312 commits

Author SHA1 Message Date
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