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

1891 commits

Author SHA1 Message Date
Catfriend1
b8c35bc098 MainActivity: Use GravityCompat
instead of android.view.Gravity
2019-01-20 12:25:55 +01:00
Catfriend1
bb1aa8af50
Welcome wizard: Disable "back" button on keygen slide (fixes #239) (#248) 2019-01-19 22:38:16 +00:00
Catfriend1
d16ba49416
Improve visual hover indication on Android TVs (#246)
* Add drawables: menu white, black; settings_black (fixes #243) (fixes #244)

* Add drawable: button arrow_back

* Add button desc strings: open/close menu

* WIP: Try to fix issue #244

* WIP: Try to fix issue #244 (2)

* WIP: Try to fix issue #244 (3)

* Fix lint

* Add visual indication when hovering share icon in "Show Device ID" dialog (fixes #242)

* Updated de translation
2019-01-19 22:23:27 +00:00
Catfriend1
46f49a4dd7 Add note to prepare-release.bash 2019-01-19 23:22:28 +01:00
Catfriend1
9909bc0e7f Update README.md 2019-01-19 23:17:27 +01:00
Catfriend1
8eb94900ae Update whatsnew 2019-01-19 23:17:17 +01:00
Catfriend1
fdd1a5932a Update APK version to 1.0.0.15 / 1000015 2019-01-19 16:45:35 +01:00
Catfriend1
a8b3e4d2a0
Add WebView for Android TVs (fixes #227) (#225)
* WIP

* AndroidManifest: Add WebViewActivity

* Open WebViewActivity from prefs, move to "Debug" menu

* Add WebViewActivity below SettingsActivity

* Add strings for ssl security notice

* Handle web page links and ssl warnings correctly

* Mention issue tracker URL in pref summary

* Don't use ACTION_VIEW for deeplinks on syncthing's WebUI

* Rename string: report_issue_summary to open_issue_tracker_summary

* Imported translations

* Add "open in browser" drawable

* Add webview_options menu

* Add strings: web page loading, open in browser

* Add option to open webpage in browser on non-TV devices (fixes #227)

* Imported de translation
2019-01-19 14:53:36 +00:00
Catfriend1
c4a3078c9c
Add liberapay badge to README (fixes #237) (#238) 2019-01-19 14:16:49 +00:00
Catfriend1
55eabd4fea Remove unused Activity: RestartActivity 2019-01-19 11:54:01 +01:00
Catfriend1
89212bc956
More Android TV DPAD fixes (fixes #226) (fixes #228) (fixes #230) (fixes #231) (fixes #232) (fixes #233) (#229)
* Fix focus when editing folder (fixes #226)

* Don't show qr code scan button on TV (fixes #230)

* FolderActivity: Prevent accidential scroll by DPAD

* Make DPAD available in Custom Sync Conditions dialog (fixes #231)

* EnhancedEditText: Reformat code

* Remove blank

* DeviceActivity: Move code, set initial focus

* FolderActivity: Fix focus problems on phones with keyboard input (fixes #233)

* DeviceActivity: Set custom sync dialog focus from code (fixes #233)

* DeviceActivity: Use setOnClickListener instead of implementing View.OnClickListener

* fragment_folder: focusableInTouchMode => focusable

* Edit device dialog: Show copy device ID row or edit, scan device row

* Fix unused, outdated refs

* Constants: Static implies final

* Remove double semicolon

* Remove double semicolon

* Remove unused imports

* Remove unnecessary return in void func

* Fix javadoc errors (fixes #234)

* Fix typos

* Fix focus problem on TV/device edit dialog

* Fix create folder dialog focus on TV (fixes #228)
2019-01-19 11:49:41 +01:00
Catfriend1
495c3e9eb6
Fix typos (#236) 2019-01-18 23:26:57 +01:00
Catfriend1
1154fc021e
Fix 20 javadoc errors (fixes #234) (#235)
* Fix unused, outdated refs

* Constants: Static implies final

* Remove double semicolon

* Remove double semicolon

* Remove unused imports

* Remove unnecessary return in void func

* Fix javadoc errors (fixes #234)

* Remove blank

* EnhancedEditText: Reformat code

* Fix imports
2019-01-18 23:06:27 +01:00
Catfriend1
4487857785
Android TV: Handle DPAD input (fixes #194) (#223)
Android TV: Handle DPAD input too (fixes #194)
2019-01-16 09:24:48 +01:00
Catfriend1
cfc1197987
Small translation fixes and updates (#224)
* Add translatable="false" to URLs

* Remove untranslatable strings from other langs

* Updated ru translation

* Updated zh-rCN translation
2019-01-16 02:00:13 +01:00
Catfriend1
a827ee531c Update APK version to 1.0.0.14 2019-01-16 01:10:33 +01:00
Catfriend1
aa57f04e9f Update build.gradle: com.google.code.gson:gson:2.8. 2019-01-16 00:36:50 +01:00
Catfriend1
19ddbeb91e
Add robo script for gplay prelaunch crawler (#221) 2019-01-12 19:55:46 +01:00
Catfriend1
889a88f69f
Add contentDescription to actionShareId (fixes #219) (#220) 2019-01-12 19:52:41 +01:00
Catfriend1
4f4ffac9bb Update APK version to 1.0.0.13 2019-01-12 18:43:44 +01:00
Catfriend1
4dc26dbc7c
Update Dockerfile (#218)
Update Dockerfile
2019-01-12 18:36:35 +01:00
Catfriend1
2ecba33052
Remove welcome slide dots from screen reading (fixes #216) (#217)
* Remove welcome slide dots from screen reading

according to advice from the prelaunch report.

* Try setImportantForAccessibility on TextViews

* Update APK version to 1.0.0.7

* Try setContentDescription

* Update APK version to 1.0.0.8

* Update APK version to 1.0.0.9

* Add meaningful content description

in case a screen reader unintentionally reads out loud

* Update APK version to 1.0.0.10

* Fix type conversion

* Update APK version to 1.0.0.11

* Add views/CustomViewPager

* Use CustomViewPager in FirstStartActivity

* FirstStartActivity: Use CustomViewPager

* Add main menu string for screen readers

* Reformat code

* Try toolbar.setNavigationContentDescription

* Update APK version to 1.0.0.12

* Import de translation
2019-01-12 17:54:08 +01:00
Catfriend1
48c35fd190 Update APK version to 1.0.0.6 / 1000006 2019-01-12 12:34:29 +01:00
Catfriend1
398cbd4880
Update translations (#215)
* Updated zh_CN translation

* Updated ru-RU translation
2019-01-12 12:32:09 +01:00
Catfriend1
337faa8373
Add helper scripts to quickly enable/disable lint (#212)
Requires UnixTools sed.exe on Windows
2019-01-07 21:11:01 +01:00
Catfriend1
66af682ec5 Update helper script for renaming built APKs 2019-01-07 21:06:05 +01:00
Catfriend1
cbd77cad75 Update APK version to 1.0.0.5 / 1000005 2019-01-07 20:51:51 +01:00
Catfriend1
7b82062f54
Detect if another app/process is blocking the tcp port (fixes #193) (#209)
* Add Util#isTcpPortListening (fixes #193)

* Move model/Config.Gui to model/Gui

* Constants: Add default tcp ports

* Add string: webui_tcp_port_unavailable

* Add ConfigXml#getWebGuiBindPort

* Check if webUI tcp port is available before launching native (fixes #193)

Output failure notification if the port is allocated by someone else.

* Settings UI - Valid tcp ports are from 1024 to 65535 (fixes #211)

* Add tcp6 listen port detection, check on connState == LISTEN

* Update translations de
2019-01-07 20:48:04 +01:00
Catfriend1
1b37db6213 Update APK version to 1.0.0.4 / 1000004 2019-01-06 21:18:19 +01:00
Catfriend1
3a6b5e5478
postbuild script - Improve cross-platform compatibility (#208) 2019-01-06 21:12:23 +01:00
Catfriend1
2e034c0239
Update play presentation (#207)
* Add transifex to fulldescription

* Update translations - app/src/main/play - fulldescription

* Update feature_graphic

* Add listing/icon 32-bit png with alpha

* Move tv banner into correct res folder

* Remove tv banner from drawable-nodpi according to lint

* Add banner drawables for alternative dpi

* Move promo graphic

* Add wearScreenshots folder

* Move tvBanner
2019-01-06 19:13:02 +01:00
Catfriend1
839aeb511a Update APK version to 1.0.0.3 / 1000003 2019-01-06 18:11:08 +01:00
Catfriend1
116c5b7cc9
Verify APK certificate hash after build and show release channel (fixes #205) (#206)
* Rename push-to-device.py to postbuild.py
2019-01-06 18:02:59 +01:00
Catfriend1
9f499e8ee0 Add wiki page: Switch-between-releases_Verify-APK-is-genuine 2019-01-06 16:33:12 +01:00
Catfriend1
a984dd038e Update gplay en-GB fulldescription 2019-01-06 04:40:57 +01:00
Catfriend1
e4a7e18157 Update postbuild_rename_apk.cmd helper script 2019-01-06 04:07:07 +01:00
Catfriend1
ae2e1874a4
Fix ANR while processing deleted files (fixes #199) (#204)
* Refactor file event finisher into EventProcessor#onItemFinished

EventProcessor: Add new unhandled event "FolderWatchStateChanged"

* Perform ContentResolver.delete operations asynchronously (fixes #199)
2019-01-06 03:46:04 +01:00
Catfriend1
c96786bcb9
Fix edit folder dialog and resource window leaks (fixes #200) (fixes #202) (fixes #203) (#201)
#200 - Cannot change folder type or pull order in wrapper UI
#202 - User selections are lost if screen rotation changes during folder edit
#203 - Edit folder dialog - AlertDialogs leak on screen rotation
2019-01-06 02:59:31 +01:00
Catfriend1
a1fef79c2e
res/play: Update tvBanner and feature_graphic (fixes #194) (#198) 2019-01-05 15:28:21 +01:00
Catfriend1
5351e23732
Optimize onboarding screen to fit on screens and improve texts (fixes #126) (fixes #192) (#196)
* Update desc_padding to 20dp

* Update dimens

* Update welcome wizard texts

* Remove unused dimen

* Update welcome slide layouts

* Add dimen: grant_button_padding

* Welcome slides: use dimen/dots_height as marginBottom

* Update ic_location

* Add @dimen/welcome_title

* Remove res-auto/autoSizeTextType

Add @dimen/slide_desc

* Add dimen for 540dp TV displays

* Add FirstStartActivity#isRunningOnTV detection

* Updated translations

* Increase default slide_desc textSize to 16sp (fixes #126)

* Add dimens for devics with at least 320dp

* Update dimens defintions

* Detect missing "ignore doze" dialog on Android TV's (fixes #192)
2019-01-05 15:08:10 +01:00
Catfriend1
0664c33551
Add notice to "ignore battery optimizations" welcome slide for nVidia shield TV's (fixes #192) (#195)
* Add wiki article: nVidia Shield TV preparations (fixes #192)

* Update wiki: line breaks

* Add os notice to ignore doze permission welcome slide (fixes #192)

* Add Util#containsIgnoreCase

* Updated translations
2019-01-05 12:25:08 +01:00
Catfriend1
21cd185d75 Imported translation de 2019-01-04 16:27:31 +01:00
Catfriend1
461d65d9b3
Add status light to toolbar in MainActivity to indicate if syncthing is running (fixes #187) (#188)
* SyncthingActivity: Reformat code

* Add status light to toolbar

* MainActivity: Add status light indicating if syncthing is running (fixes #187)

* New colors for status light

* Tri-state status light
2019-01-03 23:47:55 +01:00
Catfriend1
8a2fe3ceec
Properly dismiss usage reporting dialog on orientation change (fixes #184) (#186)
* Add RestApi#isUsageReportingAccepted (fixes #184)

* Add verbose log when usage report question dialog triggers (fixes #184)

* Remove asynchronous requests to determine if user opted-in to usage reporting (fixes #184)

* Check if the config is loaded before evaluating current ur user wish

* Properly dismiss mUsageReportingDialog on orientation change (fixes #184)

- Consolidate createRestartDialog into showRestartDialog
- Remove unused var mBatteryOptimizationsDialog
2019-01-03 18:37:01 +01:00
Catfriend1
27e98b675b
Add privacy policy statement for the Syncthing-Fork wrapper (#185) (fixes #78) 2019-01-03 13:53:48 +01:00
Catfriend1
b9214dbcde
Update README.md (#183) 2019-01-03 12:31:34 +01:00
Catfriend1
8919a26083
Add network_security_config.xml (fixes #180) (#181) 2019-01-03 10:25:18 +01:00
Catfriend1
74ab89fb4e
Settings: Split gui tcp port and bind address (fixes #168) (#179)
* Settings: Split gui tcp port and bind address (fixes #168)

Reorder SettingsActivity pref init code according to settings order derived from UI.

* Start browser after adb forward

from helper script.

* Remove unused translation strings

* Updated translations - shortdescription
2019-01-02 18:56:27 +01:00
Catfriend1
755483e9ed Update shortdescription
de-DE, en-GB
2019-01-02 14:46:12 +01:00
Catfriend1
df6bcdcc73 Update contact website 2019-01-02 14:43:02 +01:00