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

1540 commits

Author SHA1 Message Date
Unrud
2b0e70ca97 Remove custom user and password (fixes #868) (#923)
This removes the ability to set a custom user and password.
The user is always set to "syncthing" and the password to the API key.
This ensure that the web GUI works and makes sure that the web GUI is protected.
2017-07-19 13:21:50 +09:00
b2a3c7465c Bumped version to 0.9.12 2017-07-19 13:16:45 +09:00
efd3f291f0 Imported translations 2017-07-19 13:16:30 +09:00
749c29591a Various lint fixes 2017-07-19 13:12:55 +09:00
9813163020 Imported translations 2017-07-19 12:44:45 +09:00
7f2a6d6ec2 Updated Syncthing to v0.14.32 2017-07-19 12:39:10 +09:00
f7032a832b Update dependencies 2017-07-19 12:37:47 +09:00
e8073599ae Add preference to change app language (fixes #742) 2017-07-19 12:24:45 +09:00
Unrud
6718811c29 Show error when folder is out of sync (#925)
* Show error when folder is out of sync

* Translate status_outofsync

Copied from Syncthing GUI

* Colorize status message of folders
2017-07-19 11:18:37 +09:00
Unrud
596bc1c49d Show global file count and size 2017-07-18 17:41:59 +02:00
Unrud
45fb92c248 Fix calculation of sync progress (fixes #866) 2017-07-18 17:41:58 +02:00
Unrud
fd69477e6c Remove TargetApi annotations
They are not used correctly and suppress important linter warnings. (e.g. ea8621cfc3)
2017-07-18 17:41:57 +02:00
Unrud
d119517614 Don't access devices/folders when config is not loaded (fixes #876) (#924) 2017-07-18 12:33:20 +09:00
Unrud
ea8621cfc3 Check battery saving on Android 5.0 (#921)
isPowerSaveMode and ACTION_POWER_SAVE_MODE_CHANGED were added in API level 21.
2017-07-17 12:31:56 +09:00
Unrud
a3deb81c72 Fix network broadcasts on Android 7.0 (fixes #783) (#918) 2017-07-17 12:24:53 +09:00
Unrud
b09abf320e Verify certificates of web GUI (#919)
The check of the SDK version is wrong.
2017-07-17 12:24:06 +09:00
d4fc8d3605 Fix some other default values 2017-07-06 15:15:32 +09:00
e4ba5be843 Set proper default value for autoNormalize (fixes #915) 2017-07-06 15:07:58 +09:00
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