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

2413 commits

Author SHA1 Message Date
2c631eed1f Allow setting STTRACE parameters via app settings. 2014-09-25 02:29:19 +03:00
a8b9950101 Get support-v4-preferencefragment via maven dependency instead of submodule. 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
26eb4e6e98 Updated PreferenceFragment library. 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
19d3399288 Use hardcoded version names for gradle dependencies.
Also added notes in Readme on how to update dependencies and submodules.
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
1ed4db8684 Improved development notes. 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
9384223937 Updated syncthing to v0.9.18. 2014-09-25 02:03:20 +03:00
44da61281f Merge pull request #126 from Cathryne/master. 2014-09-21 13:02:25 +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
fb9154c541 Updated syncthing to v0.9.17. 2014-09-19 17:04:49 +03:00
7488f3e61e Bumped version to 0.4.17. 2014-09-17 20:31:51 +03:00
fcb305fa63 Updated syncthing to v0.9.16. 2014-09-17 20:31:17 +03:00
5ba2920b6a Avoid text overlap for long repository ID or node name (fixes #113). 2014-09-16 12:13:24 +03:00
fcf3fbee55 Added feature graphic. 2014-09-13 16:22:31 +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