1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-04 18:21:16 +00:00
Commit graph

1922 commits

Author SHA1 Message Date
Matthew Davis
cd41856cf0 fixed typo with send/recv rate limit (#916) 2017-07-06 14:58:59 +09:00
Jessie Chatham Spencer
ab88ca252b Added dialog displaying device ID and QRCode addressing #790 (#912)
* Wip adding dialog.

* Wip adding ImageRequest functionality.

* Got a text converted to a QrCode using the syncthing Api.

* Dialog now shows device ID and QRCode.
The dialog also keeps it state when the device rotates and the copy ID functionality has been moved
to the dialog, from the drawer.

* Moved share device ID functionality to the Device ID dialog.

* Addressed code change requests and added improved dialog layout by @nutomic.
2017-07-06 14:55:18 +09:00
825a62b902 Bumped version to 0.9.11 2017-06-15 18:14:04 +09:00
ed701ca7da Updated Syncthing to v0.14.30 2017-06-15 18:09:24 +09:00
d07245ba91 Fix lint errors 2017-06-15 18:05:48 +09:00
Jessie Chatham Spencer
0c1abb3c9c Added support for all versioning types in the app UI. Addressing #718 (#896)
* Merge branch 'Fix718'
Merged fixes for issues #718, added functionality for all the file versioning types in the app UI.

* Basic theme is working

* GOt dialog working with setREsult.

* Addressed issues raised and fixed orientation change bug.
Adressed issues radied by nutomic:
- Changed the String concatenation so it uses String.format.
- Made members variables private that were not previously private by mistake.
- Changed name from FolderPathTextView to FolderPathTextViewFragment.
- Fixed typo in NumberPickerFragment
- Now uses TImeUnit for time conversion
- Changed from DialogFragment to a dialog themed Activity inorder to have correct themeing.

About the orientation change bug. When the dialog themed activity was open and the orientation was changed, it would cause the background activity(The FolderActivity) to
recreate itself. In the process of recreating itself it would reset the mFolder variable and then reinitialise it in the OnApiChange listener. However the result from the
Dialog was returned before the mFolder had been reinitialised and was still null, so inbetween the result being returned and the mFolder variable being reinitialised the new file versioning
configuration had to be stored and then applied to the mFolder variable in the onApiChange listener. The file versioning configuration is temporarily stored in the mVersioning variable which is
an instance of Folder.versioning.
This error only occurred when using an Activity as a dialog and using the startActivityForResult method for initialisling the activity. Before when using a dialogfragment and an interface to callback to
the parent activity, everything happend in the correct order.

* Fixed versioning dialog lag.
The initial updateFragmentView() is called in onCreate() and the
fragment is only updated when a new file versioning type is selected.

* Removed FolderPathTextViewFragment
The fragment is removed, and a helper method has been added to FolderPickerActivity to create an intent
to the the FolderPickerActivity for result.
2017-06-15 17:44:44 +09:00
941f9aa0c8 Always sort folders (fixes #902) 2017-06-07 17:14:44 +09:00
755e581eb3 MinDiskFree value should be float, not int (fixes #901) 2017-06-07 17:07:23 +09:00
7f6d72d0fa Fetch tags before building Syncthing (fixes #872) 2017-06-07 10:35:45 +09:00
97b3bdb9cc Resize "Save to Syncthing" activity when keyboard is open (fixes #897) 2017-06-02 14:54:15 +09:00
81c7eb3acc Bumped version to 0.9.10 2017-05-30 16:59:42 +09:00
716591ff9c Imported translations 2017-05-30 16:59:11 +09:00
39d6dad005 Updated Syncthing to v0.14.29 2017-05-30 16:54:34 +09:00
770ec6050d Set random folder id when creating new folder (fixes #895) 2017-05-29 12:47:41 +09:00
23deb9a0ea Updated Syncthing to v0.14.28 2017-05-17 13:18:51 +09:00
Jessie Chatham Spencer
d296be02e9 Stopped dialogs from losing state after screen rotation Fixes for: #804 #805 #807. (#884)
* Stopped dialogs from losing state after screen rotation.

 - Used onSaveIntance() to save dialog state while the activity is being recreated.

* Addressed issues raised.
 - Removed empty lines
 - Removed Logging
 - Checked is dialog was null instead of using a boolean to keep track og dialog state.
 - Changed contants to not include package.
2017-05-12 12:47:12 +09:00
anrp
9399762ed9 Fix missing path separator in folder copy target (#883)
* Fix missing path separator in folder copy target

* Update to use direct File constructor
2017-05-01 21:09:15 +09:00
Charles Collins
f5a581ccce changed Folder Master to 'Send Only' (fixes #878)
* changed Folder Master to Receive Changes?

made naming more universal

* changed file_master to correct term

oops, sorry, this should be correct now
2017-04-21 15:06:40 +09:00
83e3338517 On exit code 1, kill Syncthing and retry start (ref #865) 2017-04-11 18:54:27 +09:00
1b194d07b1 Bumped version to 0.9.9 2017-04-11 13:28:31 +09:00
326c187453 Fixed lint errors 2017-04-11 13:27:10 +09:00
55e707e925 Imported translations 2017-04-11 13:24:15 +09:00
0a38df68d0 Updated Syncthing to v0.14.26 2017-04-11 13:18:24 +09:00
9e914e5244 Updated dependencies 2017-04-11 13:17:39 +09:00
71839eb550 Added preference to enable/disable crash notifications 2017-04-11 13:10:05 +09:00
fddc555a31 Handle missing permissions when clicking notification (ref #871) 2017-03-31 12:59:36 +09:00
Paul Annekov
6e1b689fa9 [WIP] Ability to share to syncthing (#843)
* increased folder button size

* increased folder button size

* code formatting

* init

* added copy

* get name from content provider

* implemented file sharing, multiple sharing and display name getter

* putting everything in order

* cancel button added

* ignore existing files, translation, styling

* fixed file copy

* Updated UI, moved copy to background, fixed content:// copying

* Fixed possible crash when displayName == null

* Fixed lint issues, removed ru translations

* Fixed plural params

* Escaped quotes to display them in Toast

* Changed spinner design to material one

* Changed copy code, moved credits to code, fixed members naming

* Fallback to id if label is not set

* Added doc for some methods

* Removed try-catch as there are no exceptions here

* Removed try-catch as there are no exceptions here

* Fixed general exception type

* Removed ShareActivity from recents

* Moved style to appropriate place

* Small fixes for toString()

* Moved credits from comment to javadoc of the class
2017-03-29 16:36:16 +09:00
76b3ddad55 Bumped version to 0.9.8 2017-03-28 00:28:40 +09:00
5db28dfeb8 Imported translations 2017-03-28 00:28:21 +09:00
0d32d18032 Updated Syncthing to v0.14.25 2017-03-28 00:23:04 +09:00
b4e991838e Dont keep entire log file in memory for trimming (ref #862) 2017-03-23 15:44:52 +09:00
d5c70f695c Fixed test 2017-03-21 13:38:43 +09:00
8463c19416 Added option to configure battery saving mode behaviour (fixes #741) 2017-03-21 11:49:52 +09:00
64e51ffe42 Bumped version to 0.9.7 2017-03-11 01:36:23 +09:00
5c4401d5aa Imported translations 2017-03-11 01:35:46 +09:00
30bbcab92c Exclude rc versions from release builds 2017-03-11 01:33:26 +09:00
Audrius Butkevicius
da84070472 Update to Go 1.8, syncthing v0.14.24, fix dns patch for ipv6 (#853)
* Update to Go 1.8, syncthing v0.14.24, fix dns patch for ipv6

* GOARM=8 is no longer valid

* Unset GOARM
2017-03-10 21:34:19 +09:00
245470a9d4 Show notification with info if Syncthing crashes 2017-03-08 15:05:58 +09:00
1be1fbc1fe Increase max length of log file to 10k lines 2017-03-08 14:46:58 +09:00
b5d2ad93a5 Display local state instead of global state 2017-02-27 09:53:25 +09:00
4a775728a5 Added link to Syncthing forum (ref #813) 2017-02-15 10:17:51 +09:00
14d74c6421 Bumped version to 0.9.6 2017-02-07 16:38:04 +09:00
78dd4d707a Imported translations 2017-02-07 16:37:46 +09:00
da5360488a Updated Syncthing to v0.14.22 2017-02-07 16:31:50 +09:00
2c7f935501 Changed gui update interval to 5s just to be sure 2017-02-03 01:01:33 +09:00
a231601295 Changed gui update interval to 2 seconds 2017-01-31 12:42:18 +09:00
caaef41af3 Updated gradle 2017-01-26 11:38:17 +09:00
0a24a25b7c Updated go to 1.7.4 2017-01-26 11:33:55 +09:00
1d6fc644ca Don't crash when opening folder on Android 7 (fixes #831) 2017-01-26 02:32:40 +09:00
4e8142b6b8 Bumped version to 0.9.5 2017-01-23 21:36:24 +09:00