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

131 commits

Author SHA1 Message Date
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
a201cd8789 Turned DeviceFragment and FolderFragment into activities 2016-11-11 00:37:27 +09:00
4f41eb7b06 Turned SettingsFragment into activity 2016-11-10 23:55:55 +09:00
f005fcd1d2 Request user to disable battery optimization for Syncthing 2016-11-10 22:57:18 +09:00
cc7a130c1d Renamed syncthing package to service 2016-10-31 18:25:55 +09:00
0f870bb216 Moved BootReceiver into receiver package 2016-10-31 18:24:04 +09:00
78891498e8 Moved receiver classes to seperate package 2016-10-31 18:16:30 +09:00
1facd5bb30 Revert "Added WRITE_MEDIA_STORAGE permission (fixes #719)."
This reverts commit 66597e9425.
2016-09-21 07:52:51 +09:00
d464010ee5 Added seperate first start activity 2016-09-07 03:02:18 +02:00
17530bab6b Revert "Disable sync if Android sync setting is disabled (fixes #588)."
This reverts commit 2daa601e36.
2016-08-24 22:30:49 +02:00
66597e9425 Added WRITE_MEDIA_STORAGE permission (fixes #719). 2016-08-18 13:21:44 +02:00
2daa601e36 Disable sync if Android sync setting is disabled (fixes #588). 2016-08-16 17:20:35 +02:00
bb17c53d4c Fixed lint warnings. 2016-04-26 22:54:27 +02:00
Matthias Leonhardt
b9919adccd Added a IntentService to receive Broadcast-Intents to remotely control / configure the app.
MainActivity: Moved binding-functions to onPause() and onResume() so that the SyncThingService is only bound to the activity if the activity is active.

New class AppConfigReceiver:
Support start and stop of the SyncThingService
- restarting a running service again should not be an issue
- stop service only if "always run in background"-mode is disabled. Otherwise show a notification indicating this.

Instrumentation-tests:
- Added tests for AppConfigReceiver
- Extended MockContext to also consume stopService commands.
- testGetReadableTransferRate: Apparently the return-values have changed a bit. Adjusted the asserts to the current return-values.

SycthingService:
Added code for thread-safety in case the service still starting when it should be stopped. Then PollWebGuiAvailableTaskImpl is active and waits for the Synthing-API to become active. So that and onDestroy have to be synchronized.
Added a stopSelf() in PollWebGuiAvailableTaskImpl.onPostExecute() in case mStopScheduled was active.

Commented my change in the javadoc at onDestroy. Put a reference to that comment to .onPostExecution()
2016-03-25 21:13:51 +00:00
Martin Carpella
74b374a16e Experimental setting to keep a wakelock while Syncthing native binary is running 2016-02-18 23:23:20 +01:00
Martin Carpella
73c993dcd9 Add restriction for allowed WiFi SSIDs when WiFi-only sync 2015-12-10 19:34:06 +01:00
7546568ca9 Added fullBackupContent attribute to manifest. 2015-12-03 16:33:33 +01:00
George Venios
aad7f2be6a Updated device details styling.
Made actionmode bar overlay the toolbar.
Updated UI for device edit/create fragment to match the folder one.
Refactored FolderFragment to match DeviceFragment.
Improvements for Details styles and item heights.
2015-10-15 00:43:07 +01:00
George Venios
90b5d2ff9a Fixing weird dialog background on versions earlier than Lollipop.
Standardised theme names.
Renamed styles.xml to themes.xml to keep these separate.
Fixes #425.
2015-08-02 16:03:39 +01:00
cb6a3fc884 Close Add Folder/Device Activity after "Create" (fixes #417). 2015-07-07 02:10:12 +02:00
3ac46c3536 Added material design colors. 2015-07-03 17:29:11 +02:00
6daa429a4d Cleaned up build.gradle. 2015-06-28 17:43:43 +02:00
79a0958926 Explicitly set installLocation (ref #405). 2015-06-23 21:36:58 +02:00
457831fbe3 Bumped version to 0.6.4. 2015-06-19 20:21:36 +02:00
97b03f97a5 Fixed various lint warnings. 2015-06-19 20:15:35 +02:00
693eb6c246 Bumped version to 0.6.3. 2015-06-15 17:14:46 +02:00
b547c943d0 Added TV compatibility (fixes #402). 2015-05-30 11:01:38 +02:00
7ed77e079c Bumped version to 0.6.2. 2015-05-24 13:12:17 +02:00
41ad260035 Bumped version to 0.6.1. 2015-05-15 21:14:27 +02:00
Lode Hoste
6496666bf2 Bump Android version number 2015-05-06 08:10:28 +02:00
Lode Hoste
0c13d8e106 Support opening LogActivity in debug package 2015-04-23 08:28:43 +02:00
Lode Hoste
6be050c43d Add log window (fixes #311). 2015-04-23 08:27:22 +02:00
329f073106 Increased target sdk version to 22. 2015-04-08 15:47:39 +02:00
832c7fdf72 Bumped version to 0.5.28. 2015-04-06 00:40:23 +02:00
Lode Hoste
d322249606 Fix back arrow in actionbar for Android 4.1+ 2015-03-25 17:19:10 +01:00
Lode Hoste
aa8cd0a26c Bumped version to 0.5.27. 2015-03-24 21:21:26 +01:00
3558060fe0 Bumped version to 0.5.26. 2015-03-23 00:31:35 +01:00
1665c04e37 Bumped version to 0.5.25. 2015-03-23 00:03:44 +01:00
Lode Hoste
c396646c36 Bumped version to 0.5.24.
Releases go through Jenkins now
2015-03-21 13:26:01 +01:00
Lode Hoste
47c0b132ff Bumped version to 0.5.23. 2015-03-21 11:45:09 +01:00
4868694643 Bumped version to 0.5.22. 2015-03-21 01:12:42 +01:00
7b54ce59b1 Bumped version to 0.5.21. 2015-03-17 22:39:09 +01:00
c128612e68 Bumped version to 0.5.20. 2015-03-14 21:19:58 +01:00
a3b7241c1e Bumped version to 0.5.19. 2015-03-14 15:14:50 +01:00
9c91f3f1d0 Bumped version to 0.5.18. 2015-03-08 23:33:36 +01:00
9120094c95 Bumped version to 0.5.17. 2015-02-22 21:01:02 +01:00
59d92913ec Bumped version to 0.5.16. 2015-01-21 20:45:51 +01:00
2d935b5485 Bumped version to 0.5.15. 2015-01-14 12:07:56 +01:00
9d6e5b6552 Bumped version to 0.5.14. 2015-01-12 11:50:34 +01:00
cdd17b675b Bumped version to 0.5.13. 2014-12-10 19:29:03 +02:00