1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-24 05:11:15 +00:00
Commit graph

282 commits

Author SHA1 Message Date
Lode Hoste
5d5cf0b903 Streamline SyncthingRunnable
Conflicts:
	src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java
	src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java
	src/main/res/values/strings.xml
2015-05-05 20:21:15 +02:00
Lode Hoste
74062e8269 Merge branch 'log' of https://github.com/Zillode/syncthing-android into Zillode-log
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/GetTask.java
2015-05-05 19:45:50 +02:00
Lode Hoste
4146970e64 Update Rest API to v0.11
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/fragments/DeviceSettingsFragment.java
2015-04-29 19:30:17 +02:00
Lode Hoste
6be050c43d Add log window (fixes #311). 2015-04-23 08:27:22 +02:00
Lode Hoste
bcbec555cd Update default HTTP configurations to use HTTPS 2015-04-23 08:09:07 +02:00
b9dec163e0 Set invisible placeholder for device ID (fixes #357). 2015-04-20 22:13:38 +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
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
1c57175f91 Imported translations. 2015-04-06 00:25:59 +02:00
Lode Hoste
87bf40b6a1 Remove the rescan interval setting from the GUI 2015-03-31 19:18:18 +02:00
Lode Hoste
7588638842 Imported translations. 2015-03-24 21:21:03 +01:00
Lode Hoste
c2a5ecb43e Support 'unknown' folder state 2015-03-24 00:08:46 +01:00
590f7db10d Imported translations. 2015-03-23 00:03:29 +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
403ccd8d8d Imported translations. 2015-03-17 22:38:53 +01:00
Lode Hoste
ca2ca8553a Compression is now a string instead of a boolean (fixes #239) 2015-03-16 19:43:31 +01:00
9cff099dab Imported translations. 2015-03-14 15:13:51 +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
aa35b8ae46 Imported translations. 2015-03-08 23:33:20 +01:00
c20d63a687 Added summary to advanced folder picker option. 2015-03-06 20:36:02 +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
1361e1ecaa Imported translations. 2015-02-22 21:00:43 +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
94ccf0349e Imported translations. 2015-01-12 11:46:52 +01: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
036e515b0b Updated translations. 2014-12-07 11:26:33 +02:00
3c5db37af1 Imported translations. 2014-11-30 19:16:30 +02:00
43bf43a214 Imported translations. 2014-11-12 19:32:32 +02:00
87fd57bf83 Added advanced folder picker (fixes #170). 2014-10-28 13:57:40 +02:00
df48d75127 Use syncthing -generate flag instead of copying own config file. 2014-10-26 03:32:23 +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
7db845a474 Use correct (deprecated) language codes for string resources. 2014-10-21 11:45:50 +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
322a297c5e Properly validate folder ID (fixes #156). 2014-10-16 11:34:38 +03:00
c9e670157b Made all settings translatable. 2014-10-14 20:10:22 +03:00
2364c9d748 Imported translations. 2014-10-14 16:24:01 +03:00
8d0518fa09 Show notification while syncthing is active (closes #136). 2014-10-12 16:45:05 +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
77eaffa4b7 Show app version in settings (fixes #138). 2014-10-10 14:12:02 +03:00
48188b845c Added introducer option. 2014-10-10 13:42:53 +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
590637be7e Imported translations. 2014-10-07 12:22:42 +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
8338378d2d Imported translations. 2014-09-29 00:48:43 +03:00
91872c36c6 Updated crash message. 2014-09-29 00:47:44 +03:00
467dad0438 Added app description to manifest. 2014-09-25 13:54:25 +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
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
913d251353 Removed rescan interval from app settings. 2014-09-25 02:30:47 +03:00
1733091e4b Do not require full translation for release. 2014-09-25 02:30:47 +03:00
2c631eed1f Allow setting STTRACE parameters via app settings. 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
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
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
76e87932f9 Use ActionBar icon instead of preference item for delete repo/node. 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
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
9c4a85b85d Add options to stop sync when not charging or not on wifi (fixes #15). 2014-09-25 02:28:04 +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
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
9082219e14 Imported German and Italian translations. 2014-09-10 23:14:04 +03:00
f2db156143 Added french and polish translations from Transifex. 2014-09-01 17:08:05 +03:00
6a85fae8ca Fixed error text position in repository item layout (fixes #78). 2014-08-17 03:05:28 +02:00
Michael Strecke
1b0fe50725 new icons 2014-08-09 01:35:14 +02:00
97bb64643a Adjust announce server port for v0.9.0 (ref #74). 2014-08-04 19:26:48 +02:00
2eece2e350 Fix crash if no QR scanner is available (fixes #71). 2014-08-03 17:00:29 +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
12db32dcd8 Fix font color problems on pre-Honeycomb (fixes #63). 2014-07-13 16:15:35 +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
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
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
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
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
505ec379b6 Share node id from node settings. 2014-06-30 01:43:55 +02:00
ca0020b176 Added graphical repo folder picker (closes #40). 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
9d041d0bb3 Add loading dialog on API load (after start or restart).
ref #47
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
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
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
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
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
51309ef984 Display options menu only once web gui is online. 2014-05-27 14:51:33 +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
3e8ef39322 Formatting fixes. 2014-05-14 17:25:42 +02:00
33840d22ea Use preference information style instead of disabling it. 2014-05-14 13:39:52 +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
d369cd3876 Moved build to gradle. 2014-05-12 18:54:26 +02:00