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

1891 commits

Author SHA1 Message Date
Catfriend1
15ec6a900b Merge branch 'master' of https://github.com/Catfriend1/syncthing-android 2019-05-11 12:07:05 +02:00
Catfriend1
af42b41975 Update APK version to 1.1.3.1 / 1010301 2019-05-11 12:05:36 +02:00
Catfriend1
6d3e9a3099
Support SecScanQR barcode scanner (#414)
Ref.:
- https://github.com/Fr4gorSoftware/SecScanQR/issues/28
- https://f-droid.org/en/packages/de.t_dankworth.secscanqr/
2019-05-11 12:04:33 +02:00
Catfriend1
c1901876d5 Update SyncthingNative to v1.1.3 2019-05-11 11:39:38 +02:00
Catfriend1
78f94a272f Imported play translations 2019-05-11 11:37:17 +02:00
Catfriend1
c9c6d2d58c Imported translations 2019-05-11 11:37:08 +02:00
Catfriend1
0f32ff99df Exclude more unnecessary log lines 2019-04-27 13:35:23 +02:00
Catfriend1
a5c5a50643 Update APK version to 1.1.1.3 / 1010103 2019-04-27 13:09:11 +02:00
Catfriend1
596b8756da Update README, whatsnew 2019-04-27 13:08:56 +02:00
Catfriend1
2dfecdde62 Add wiki article: Nokia-HMD-phone-preparations.md 2019-04-27 13:04:21 +02:00
Catfriend1
ab1fffe8d2
Disable DuraSpeed on HMD Global phones (fixes #404) (#410)
* AndroidManifest: Add WRITE_SETTINGS, WRITE_SECURE_SETTINGS permissions

* Disable DuraSpeed on HMD Global phones (fixes #404)

* lint: Ignore ProtectedPermissions
2019-04-27 12:51:21 +02:00
Catfriend1
0ad977fb4e
Shorten logcat excerpts (fixes #364) (#412)
* Dump 15 mins of log history

* Exclude OS stuff from log (fixes #364)

* Remove milliseconds from log

* Remove (whitespace_PID)

* Remove "beginning of main/system" from log
2019-04-27 12:49:20 +02:00
Catfriend1
eb35171286
Hourly sync - Sync immediately when app starts (fixes #393) (#411) 2019-04-27 10:49:51 +02:00
Catfriend1
0ca5d851f2
Show notification badge if user interaction is required (fixes #406) (#408)
Ref.: Android 8.0
2019-04-27 09:09:42 +02:00
Catfriend1
38f94ce34c Add screen reader labels (fixes #390)
activity_recent_changes.xml
activity_tips_and_tricks.xml
2019-04-14 18:08:20 +02:00
Catfriend1
f297766d64
Add dark theme (fixes #400) (#399) (#401)
* Squash-merge from darkTheme1

* Imported de translation
2019-04-14 17:22:05 +02:00
Catfriend1
b401a8cfff Add comment 2019-04-14 16:42:26 +02:00
Catfriend1
37aaf5c740 Update README, whatsnew 2019-04-14 16:36:43 +02:00
Catfriend1
0a113f5b05 Update APK version to 1.1.1.2 / 1010102 2019-04-14 16:36:14 +02:00
Catfriend1
6e83b7c66d
Add ConfigRouter#getGui, updateGui (fixes #403) (#402)
* ConfigXml: Add updateGui

* ConfigRouter: Add getGui, updateGui

* ConfigXml: "apiKey" => "apikey"

* RestApi: Add updateGui
2019-04-14 16:31:46 +02:00
Catfriend1
4f461dce8a
Update SyncthingNative to v1.1.1 (#395)
* Update SyncthingNative to v1.1.1

* Update APK version to 1.1.1.1 / 1010101

* Update README.md

* Update whatsnew
2019-04-02 02:31:48 +02:00
Catfriend1
5f3a6b8056
Revert build tools back to 28.0.3 (#391)
* travis.yml: Revert build tools back to 28.0.3

* build.gradle - Revert build tools back to 28.0.3
2019-03-30 08:43:53 +01:00
Catfriend1
622e4657b0 Update README.md 2019-03-29 01:25:08 +01:00
Catfriend1
1a27af289f Update APK version to 1.1.0.7 / 1010007 2019-03-29 01:24:53 +01:00
Catfriend1
976d9f9bad
Add option to trigger sync every hour (fixes #15) (#387)
* AndroidManifest: Add SyncTriggerJobService

* Add Constants#isRunningOnEmulator

* Add Constants: WAIT_FOR_NEXT_SYNC_DELAY_SECS, TRIGGERED_SYNC_DURATION_SECS

* WIP: Schedule Job in BootReceiver

* Add Util/JobUtils

* Util/JobUtils: Improve log text

* Add service/SyncTriggerJobService

scheduled by JobScheduler. See JobUtils#scheduleSyncTriggerServiceJob for more details.

* RunConditionMonitor: Add SyncTriggerReceiver

via LocalBroadcastReceiver.

* BootReceiver: Add ToDo

* Add pref: PREF_RUN_ON_TIME_SCHEDULE

* Fine tune debug constants - time intervals

* JobUtils: In seconds please

* Add strings: en-GB

* RunConditionMonitor: Implement hourly sync time frames (fixes #15)

* Imported translation: de

* Fix lint: .JOB_SCHEDULER_SERVICE, API 21 instead of 23

* JobUtils: Noop on Android API level before 21 (L)

* Fix lint: RequiresApi(21) for SyncTriggerJobService

* Hide pref "run on time schedule" on Android < 5.x

* JobUtils: Show time of grace in brackets when logged

* BootReceiver: Realign comment, remove unnecessary code
2019-03-29 01:07:56 +01:00
Catfriend1
3e248fa2b3 Fix back arrow in TipsAndTricks activity on Android 4.4 not working (fixes #389) 2019-03-29 00:13:51 +01:00
Catfriend1
ecb379d379 SettingsActivity: findPreference - cast category result to PreferenceScreen 2019-03-28 23:57:04 +01:00
Catfriend1
90f9eccb64 Add Constants#isRunningOnEmulator 2019-03-28 22:44:09 +01:00
Catfriend1
e54cb80262 Update whatsnew 2019-03-28 22:43:52 +01:00
Catfriend1
48a6dc663a Update build.gradle
com.github.triplet.gradle:play-publisher:1.2.0 => 1.2.2
com.github.ben-manes:gradle-versions-plugin:0.15.0 => 0.21.0
2019-03-25 17:13:26 +01:00
Catfriend1
e946d65abc Update APK version to 1.1.0.6 / 1010006 2019-03-25 10:38:12 +01:00
Catfriend1
172617457c Update README/whatsnew 2019-03-25 10:36:41 +01:00
Catfriend1
999b7d8626
Build with Android NDK 19c (#384)
* Update NDK from r18 to r19c

* Add syncthing/quick_clean.cmd

* Fix typo

* Update syncthing/quick_clean.cmd

* Remove make_standalone_toolchain for NDK 19c
2019-03-25 10:15:48 +01:00
Catfriend1
304cf72c42
Show notification if SDcard is full (fixes #381) (#382)
* Add string: notification_out_of_disk_space

* Show notification if SDcard is full (fixes #381)

* Imported de translation

* Handle event: FolderErrors "insufficient space in basic" (fixes #381)
2019-03-23 16:57:25 +01:00
Catfriend1
fc5a99cd5c Show total downloaded and uploaded bytes (fixes #377)
Rename "Connections.Connection c" to "Connections.Connection total"
2019-03-23 14:38:52 +01:00
Catfriend1
030a7c7bc3
RecentChanges List: Add refresh button (fixes #361) (#380)
* Add drawable: ic_refresh_white_24

* Add menu: recent_changes_list

* Add strings: no_recent_changes, refresh

* Update layout: activity_recent_changes

Add TextView if no recent changes were returned by Syncthing's REST API

* Add refresh button to recent changes dialog (fixes #361)

Add text notice if no recent changes were returned by Syncthing's REST API.
Update built-in test data generation.

* Fix lint

* Fix lint: RelativeLayout => LinearLayout

* Imported de translation
2019-03-23 14:02:04 +01:00
Catfriend1
fa030319ff
Suggest new folder creation on primary storage (fixes #376) (#379)
if no external sdcard has been found.
2019-03-23 12:36:50 +01:00
Catfriend1
bde917d244
Raise targetSdk to 28 (#378)
Raise targetSdk to 28
2019-03-23 11:59:41 +01:00
Catfriend1
5755ed45ad AndroidManifest: Add permission ACCESS_FINE_LOCATION
Required for Android Q
2019-03-23 11:56:40 +01:00
Catfriend1
205576d9e0 WifiSsidPreference: Catch java.lang.SecurityException
See changes in Android Q, https://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks()
2019-03-23 11:52:51 +01:00
Catfriend1
1ca258877c Update APK version to 1.1.0.5 / 1010005 2019-03-17 14:22:17 +01:00
Catfriend1
030c557be1 Imported translations: sv, zh-rCN 2019-03-17 14:12:26 +01:00
Catfriend1
8bf63e4498 Update README and whatsnew 2019-03-17 14:01:11 +01:00
Catfriend1
3a188d457c
Patch wrong tls alignment for Android Q compatibility (fixes #370) (#374)
* Patch go wrong tls alignment for Android Q compatibility (fixes #370)

* Remove wrong x86 patch

* Incorporate @kvaster's Android Q patch into build script (fixes #370)

Thanks for the contributon!

* Update build script for Python 2 compatibility

* Second attempt for python 2
2019-03-17 13:58:50 +01:00
Catfriend1
2486612270 Build SyncthingNative with Go 1.12.1 2019-03-16 13:40:50 +01:00
Catfriend1
e42283524c Update APK version to 1.1.0.4 / 1010004 2019-03-11 22:17:11 +01:00
Catfriend1
d0773a5876 Update README / whatsnew 2019-03-11 22:09:53 +01:00
Catfriend1
9649c4fda3 Imported de translation 2019-03-11 19:29:51 +01:00
Catfriend1
b28394bc8f
Create folder dialog - trim folder label (fixes #367) (#368)
* FolderActivity: Trim folder label (fixes #367)

* Only trim if EXTRA_FOLDER_LABEL extra was set
2019-03-11 18:30:44 +01:00
Catfriend1
7a12674a88
Workaround cleanup of the folder marker by Huawei, Xiaomi firmware (fixes #131) (#363)
* WIP - preCreateFolderMarker

* Revert "WIP - preCreateFolderMarker"

This reverts commit 2a4db47f869334a0b4c7aab3073360e43cfbc218.

* Revert accidential syncthing upstream ref change

* Create .stfolder and DO_NOT_DELETE.txt within it (fixes #131)

* Refactor folder marker creation code into FolderActivity#preCreateFolderMarker (fixes #131)
2019-03-11 15:41:57 +01:00