1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-05 02:31:17 +00:00
Commit graph

389 commits

Author SHA1 Message Date
Catfriend1
9bf0809654 Updated README/whatsnew 2019-08-04 20:06:27 +02:00
Catfriend1
b61c4d8e58
Manifest: Add "android:requestLegacyExternalStorage="true"" (#459)
(fixes #457) - I know this is not the fix everyone wants but it keeps Syncthing-Fork alive a little longer. See issue #457 to know why.
2019-08-04 19:33:47 +02:00
Catfriend1
574fb3eca0
Migrate libraries to AndroidX (#458)
* Manifest: Add "android:requestLegacyExternalStorage="true""

(fixes #457) - I know this is not the fix everyone wants but it keeps Syncthing-Fork alive a little longer. See issue #457 to know why.

* Migrate to AndroidX

* Revert "Manifest: Add "android:requestLegacyExternalStorage="true"""

This reverts commit 7089be89beebd5ec95c9b2fac08d20f65d4da171.
2019-08-04 19:31:08 +02:00
Catfriend1
2c11e82a27
Fix override/revert showing up with no changes on extSdCard synced folders (fixes #454) (#455)
* Update build_and_release.cmd

* Update SyncthingNative_update_and_build.cmd

* Update APK version to 1.2.1.0

* build-syncthing.py: Set version to v1.2.1-preview4-mtime

* model/Folder: Add "rawModTimeWindowS"

* Update Folder.java

* Update ConfigXml.java

* Update SyncthingNative_update_and_build.cmd

* Update build-syncthing.py

* Revert "Update build-syncthing.py"

This reverts commit f8a3a23c458177649cf37c04d9343a93d90cf161.

* Revert "Update SyncthingNative_update_and_build.cmd"

This reverts commit ee892defc3449e716f35ccbabd9018c85b5b69a6.

* Revert "build-syncthing.py: Set version to v1.2.1-preview4-mtime"

This reverts commit a01ceb26343062cf08facb8654a40dd64698beb1.

* Revert "Update SyncthingNative_update_and_build.cmd"

This reverts commit 493da15dd154c6b334bcaf3d714504f603f7a7b8.

* Revert "Update build_and_release.cmd"

This reverts commit b6f47f08498422fc9bf082cbf726cdbfbe14ca0c.
2019-08-04 19:07:26 +02:00
Catfriend1
05c124f049 Imported translations 2019-07-21 15:53:29 +02:00
Catfriend1
aa6367eff0
Optimize memory usage on older phones (#449)
Sources:
- https://dave.cheney.net/tag/gogc
- https://forum.syncthing.net/t/freebsd-memory-usage/13140/13
2019-07-21 15:35:58 +02:00
Catfriend1
61bebd4b50 Update APK version to 1.2.0.8 2019-07-16 08:13:56 +02:00
Catfriend1
b094ae1c0b
ConfigXml: Add null check in getFolders/elementVersioning (fixes #445) (#446) 2019-07-16 08:10:22 +02:00
Catfriend1
950a71ac62
Status tab - add button to "force start" / "force stop" (fixes #394) (#443)
* Add strings: force start/stop

* fragment_status: Add button to UI

* Add strings

* fragment_status: Rename button id

* RunConditionMonitor: Implement BTNSTATE_FORCE_START_STOP

* StatusFragment DRAFT

* Add SegmentedButton

* Add attrs+styles for SegmentedButton

* Update styles.xml

* Update SegmentedButton.java

* Replace forceStartStop button with button group

* Fix lint errors

* StatusFragment: Implement button group

* Update strings.xml

* fragment_status: Remove bottom padding

* Imported de translation

* StatusFragment: Remove unused import

* StatusFragment: Remvoe unused "mStatusFragmentView"

* Update beta.txt
2019-07-14 17:31:41 +02:00
Catfriend1
771cb7ef43 Update README, changelog 2019-07-11 18:00:43 +02:00
Catfriend1
bf161ecb12
Add "roaming" option to run conditions (fixes #177) (#441)
* UI: Add "roaming" run condition

ref: #177

* Settings UI: Add "roaming" run condition

* Update strings.xml

* Handle roaming state in RunConditionMonitor (fixes #177)

* Add "feedback required" notice

* Update strings.xml

* Imported de translation
2019-07-11 18:00:25 +02:00
Catfriend1
388d68fac7
Add "Revert local changes" button to UI (fixes #437) (#439)
* Add icon: ic_cloud_download_red_24

* Update strings.xml

* Add "Revert local changes" button code (fixes #437)

* Update model: FolderStatus - add "receiveOnly*"

* item_folder_list: Add revert UI button

* Update icon: ic_cloud_download_red_24

* Update item_folder_list.xml

* Update icon for the override changes button

* Imported de translation
2019-07-11 15:03:48 +02:00
Catfriend1
35839feeb9
Override changes: Show confirmation dialog (fixes #397) (#436)
* FoldersAdapter: Move code into onClickOverride

* Override changes: Show confirmation dialog (fixes #397)

* Update strings.xml
2019-07-11 13:09:39 +02:00
Catfriend1
6b9745c800
Reduce unnecessary applyCustomRunConditions after service state change (#435)
Ref.: #7e7b2c9850

Improve RunConditionMonitor#updateShouldRunDecision ( 7e7b2c9850)
2019-07-11 12:23:17 +02:00
Catfriend1
e0edf23e38 Update it-IT translation 2019-07-11 10:06:06 +02:00
Catfriend1
40de6c98cb Rename en-GB screenshots (fixes #431) 2019-07-10 08:46:01 +02:00
Catfriend1
83a412d348 Update SyncthingNative to v1.2.0 2019-07-10 08:28:19 +02:00
Catfriend1
03db270fd8 Update whatsnew, README.md 2019-06-19 02:34:38 +02:00
Catfriend1
f01f8d26ba Log: exclude tags "/zygote" and "/dalvikvm" 2019-06-17 20:50:45 +02:00
Catfriend1
107415fd30 Follow-up to fix issue #421
unackedNotificationID=crAutoDisabled
2019-06-17 07:09:32 +02:00
Catfriend1
d8808b2246
Bootstrap play resources for play-publisher 2.2.1
* Update transifex config

* build.gradle: Update play-publisher from 1.2.2 to 2.2.1

Remove unsupported play-publisher flags

* Create .gitattributes

* Move files to new locations

* Delete files from old locations

* Delete build_and_release.cmd

* Rename listing folders

* Create tx_pull_all_translations.cmd

* Add values-et/strings.xml

* Removed languages from transifex

* Fix ca short description length

* Remove unsupported languages

* Imported translations: title

* Remove unsupported languages which are not on transifex from res/values

* Shorten the short play descriptions

* Imported translation for play: zh-CN

* Update .gitignore

* Update tx mappings

* build.gradle: Update deleteUnsupportedPlayTranslations

* Add script: build_and_release.cmd

* Add supported language: tx:no => gplay:no-NO

* Update .tx/config source_lang for play resources

* Add dummy files

* build.gradle: Update dependencies

* build.gradle: Update gradle for Android Studio 3.4.1

* Add resolutionStrategy = 'auto'

* Workaround play-publisher issue 597

ref: https://github.com/Triple-T/gradle-play-publisher/issues/597

* Display generated APK versionCode after build

* Create versions.gradle

* Fix Workaround for GPP left-over process kill

* build.gradle: Calculate versionCode from "versions.gradle"

* Update versions.gradle

* postbuild_rename_apk: Get versionCode from "versions.gradle", copy instead of rename
2019-06-17 06:36:09 +02:00
Catfriend1
7899ff3931
build.gradle: Update dependencies, Update tx config (#428)
* build.gradle: Update play-publisher from 1.2.2 to 2.2.1

* build.gradle: Update dependencies

* Update transifex config

* Update .gitignore

* Update tx mappings

* Add supported language: tx:no => gplay:no-NO

* Update .tx/config source_lang for play resources

* Add resolutionStrategy = 'auto'
2019-06-17 06:32:19 +02:00
Catfriend1
090cb19dd1
prefs/Syncthing: Add "Anonymous crash reporting" checkbox (fixes #421) (#425)
* model/Options: Add crash*, stun* and unackedNotificationID

* ConfigXml: Dismiss unackedNotificationID "crAutoEnabled"

* ConfigXml/getOptions: Add unackedNotificationID, crash*, stun*

* prefs/Syncthing: Add "Anonymous crash reporting" checkbox (fixes #421)

* Imported de translation
2019-06-16 18:58:14 +02:00
Catfriend1
d1f9bdf9f4
Config: Add new values for SyncthingNative v1.2.0 (fixes #421) (#424)
* model/Options: Add crash*, stun* and unackedNotificationID

* ConfigXml: Dismiss unackedNotificationID "crAutoEnabled"

* ConfigXml/getOptions: Add unackedNotificationID, crash*, stun*
2019-06-16 18:39:57 +02:00
Catfriend1
72dc282785 Add folder state "scan-waiting" (fixes #420) 2019-06-15 11:52:48 +02:00
Catfriend1
de6e882a45 Don't open keyboard on "Share to Syncthing"
imported from: https://github.com/syncthing/syncthing-android/pull/1328
2019-06-15 11:38:28 +02:00
Catfriend1
e0fa1dae0f Imported translations 2019-06-15 11:34:56 +02:00
Catfriend1
0eb8ccdda4 Remove config val+UI: userLargeBlocks 2019-06-15 11:33:54 +02:00
Catfriend1
86b39a2b91 Update SyncthingNative to v1.2.0-rc.1 2019-06-15 11:04:02 +02:00
Catfriend1
bd095d7d51 Imported translations 2019-06-05 07:24:03 +02:00
Catfriend1
37fc9aebc5 Update SyncthingNative to v1.1.4 2019-06-05 07:06:49 +02:00
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
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
596b8756da Update README, whatsnew 2019-04-27 13:08:56 +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
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
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