1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-25 15:42:53 +00:00
Commit graph

714 commits

Author SHA1 Message Date
M66B
f0d0e5a65c Refresh screen on phone state permission revoked 2015-12-01 17:28:13 +01:00
M66B
d441b29234 Refresh screen after import 2015-12-01 17:25:07 +01:00
M66B
8bb0b9e256 Added phone state listener + permission checks 2015-12-01 17:14:22 +01:00
M66B
2c2480f052 Check runtime permissions (Android M) 2015-12-01 16:17:28 +01:00
M66B
b412495a8c More technical/debug info 2015-12-01 15:57:19 +01:00
M66B
3f0e9fc6f2 Crowdin sync 2015-12-01 12:53:18 +01:00
M66B
1a92d2e373 Crowdin sync 2015-12-01 10:01:33 +01:00
M66B
28a4606847 Crowdin sync 2015-12-01 08:54:49 +01:00
M66B
bf0602c80b Crowdin sync 2015-12-01 08:38:46 +01:00
M66B
aa313166f3 Categorize settings 2015-12-01 08:35:13 +01:00
M66B
9a1bc3320e Crowdin sync 2015-12-01 08:10:08 +01:00
M66B
4b8f2efea4 Crowdin sync 2015-11-30 19:07:03 +01:00
M66B
470c1288cd Simplifications, debug info for national roaming 2015-11-30 16:05:08 +01:00
M66B
9434139c6e Crowdin sync 2015-11-30 14:03:07 +01:00
M66B
722646102f Reload rules on national roaming change 2015-11-30 14:02:00 +01:00
M66B
77152b2116 Crowdin sync 2015-11-30 13:11:39 +01:00
M66B
966a2a30bb Donation terms & conditions 2015-11-30 13:08:51 +01:00
M66B
ddedea958d Crowdin sync 2015-11-30 13:01:19 +01:00
M66B
b20770b995 Added setting to ignore national roaming 2015-11-30 12:57:50 +01:00
M66B
37a52245ce crowdin sync 2015-11-30 08:15:52 +01:00
M66B
0dfff8d8ed Fixed RTL support 2015-11-29 21:41:39 +01:00
M66B
6d8da86f39 Crowdin sync 2015-11-29 21:06:53 +01:00
M66B
807a2d4bd9 Crowdin sync 2015-11-29 15:55:14 +01:00
M66B
e1ca35f6fb Fixed typo 2015-11-29 15:29:56 +01:00
M66B
088e2f16bf Crowdin sync 2015-11-29 14:26:25 +01:00
M66B
a7073bc7b9 Define features 2015-11-29 11:37:19 +01:00
M66B
77ad420b10 Crowdin sync 2015-11-29 11:32:22 +01:00
M66B
bdb6e4a09f Better support for devices without telephony (e.g. tablets) 2015-11-29 11:30:27 +01:00
M66B
59d887a739 Lollipop required 2015-11-29 09:01:24 +01:00
M66B
5efb3e18ba Prevent crash 2015-11-29 08:34:04 +01:00
M66B
59c1aa6a17 Crowdin sync 2015-11-28 16:17:15 +01:00
M66B
dbc5955260 Let the service manage the wakelocks 2015-11-28 16:15:55 +01:00
M66B
3a5ad079b3 0.45 stable 2015-11-28 08:39:49 +01:00
M66B
01dadb9801 Revert "Notify app added"
Closes #183
Refs #182

This reverts commit 97c38d1d0a.

Conflicts:
	app/build.gradle
2015-11-28 08:28:24 +01:00
M66B
bdc6333af5 Workaround restart problems 2015-11-27 20:55:51 +01:00
M66B
97c38d1d0a Notify app added
Refs #182

Test version: http://netguard.me/NetGuard-v0.44-2015112702-release.apk
2015-11-27 19:59:00 +01:00
M66B
cdc953f6e7 Crowdin sync 2015-11-27 13:58:03 +01:00
M66B
bbb0232dee Add version code to debug info again 2015-11-27 13:55:09 +01:00
M66B
3edf8549fb Make version codes comparable 2015-11-27 13:53:13 +01:00
M66B
91843c9c2f Always update widget state
Refs #181
2015-11-27 13:48:48 +01:00
M66B
2e6bda828a Catch VPN prepare exceptions widget (2)
refs #181
2015-11-27 13:44:22 +01:00
M66B
e0bcbf54ac Added prepared to logcat 2015-11-27 13:39:04 +01:00
M66B
b6056df9ed Catch VPN prepare exceptions widget
Refs #181
2015-11-27 13:32:17 +01:00
M66B
f00dc6a373 Disable NetGuard if VPN dialog fails 2015-11-27 09:26:34 +01:00
M66B
3291ecc501 Assume metered when no connectivity 2015-11-27 08:27:29 +01:00
M66B
88aca8be36 Update pending intents
Refs #181
2015-11-27 08:23:18 +01:00
M66B
5c50ab8fe1 Fixed cancelling logcat 2015-11-27 08:02:05 +01:00
M66B
b9600233f0 Use storage framework to store logcat 2015-11-26 20:34:03 +01:00
M66B
a2cbcb16b2 0.44 stable 2015-11-26 08:47:01 +01:00
M66B
b4ca593b86 Crowdin sync 2015-11-26 08:42:04 +01:00
M66B
84ba096715 Added IAB safe guards 2015-11-26 08:41:20 +01:00
M66B
ed893c8329 Simplification 2015-11-26 08:34:33 +01:00
M66B
2f42e18b2e Show disconnected state 2015-11-25 21:09:00 +01:00
M66B
a516cc0007 Low/highlight rule conditions too 2015-11-25 20:52:56 +01:00
M66B
a396215f57 0.43 beta 2015-11-25 20:06:55 +01:00
M66B
cf171d730e Highlight metered connection
Fixes #179
2015-11-25 20:05:17 +01:00
M66B
eb380a8e84 Layout improvements
Refs #177
2015-11-25 11:06:44 +01:00
M66B
b00a284cb7 Fixed sending feedback when IAB not available 2015-11-25 09:29:31 +01:00
M66B
757a43c775 0.42 beta 2015-11-25 08:42:08 +01:00
M66B
bbce9e14e9 Can it be more subtle?
Test version:
http://www.netguard.me/NetGuard-v0.41-release-subtle.apk
2015-11-25 08:41:24 +01:00
M66B
9a7d2fcc86 Crowdin sync 2015-11-24 20:16:56 +01:00
Ivan
a9dd053d0f Update strings.xml
Update
2015-11-24 22:11:10 +03:00
M66B
ad3672bde6 Gray background for unchanged rules 2015-11-24 18:43:56 +01:00
M66B
c5316320d0 Check if prepared for widget on 2015-11-24 16:33:18 +01:00
M66B
87769405f3 Upgrade after importing 2015-11-24 12:00:22 +01:00
M66B
bd0aef5a34 0.41 beta 2015-11-24 11:38:54 +01:00
M66B
34cc8e1951 Do not release wakelock on destroy
11-24 11:23:06.613 17818 17864 I NetGuard.Service: wakelock=false
11-24 11:23:28.191 17818 17818 I NetGuard.Main: Destroy

--- wakelocks are being released

11-24 11:23:28.213   792  9532 I ActivityManager: Killing 17818:eu.faircode.netguard/u0a500 (adj 16): remove task
11-24 11:23:28.271   792  2662 W ActivityManager: Scheduling restart of crashed service eu.faircode.netguard/.SinkholeService in 10300ms
11-24 11:23:28.920   792   805 I ActivityManager: Start proc 29215:eu.faircode.netguard/u0a500 for broadcast eu.faircode.netguard/.Widget
11-24 11:23:28.959 29215 29215 W System  : ClassLoader referenced unknown path: /data/app/eu.faircode.netguard-1/lib/arm
11-24 11:23:28.962 29215 29215 I NetGuard.App: Create version=0.40
11-24 11:23:28.963 29215 29215 I NetGuard.Widget: Received Intent { act=eu.faircode.netguard.APPWIDGET_ON flg=0x10000010 cmp=eu.faircode.netguard/.Widget bnds=[828,300][1044,549] }
11-24 11:23:28.976 29215 29215 I NetGuard.Service: Create
11-24 11:23:28.982 29215 29215 I NetGuard.Service: Restart
11-24 11:23:28.983 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false

--- service is recreated

11-24 11:23:28.984 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false
11-24 11:23:28.985 29215 29233 I NetGuard.Service: Executing intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=false
11-24 11:23:29.000 29215 29233 I NetGuard.Service: Starting wifi=true metered=false/true roaming=false interactive=true
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Predefined com.google.android.apps.adm blocked=false roaming=false
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Relation com.android.vending related=com.google.android.gms,com.android.providers.downloads
11-24 11:23:29.022 29215 29233 D NetGuard.Service: Relation com.android.chrome related=com.android.providers.downloads
11-24 11:23:29.578 29215 29233 I NetGuard.Service: Allowed=9 blocked=164
11-24 11:23:29.597   792  2662 I Vpn     : Established by eu.faircode.netguard on tun0
11-24 11:23:29.610 29215 29233 I NetGuard.Service: wakelock=false

-- executing second start

11-24 11:23:29.610 29215 29233 I NetGuard.Service: Executing intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=start vpn=true
11-24 11:23:29.610 29215 29233 E NetGuard.Service: java.lang.RuntimeException: WakeLock under-locked NetGuard wakelock
11-24 11:23:29.610 29215 29233 E NetGuard.Service: java.lang.RuntimeException: WakeLock under-locked NetGuard wakelock
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.PowerManager$WakeLock.release(PowerManager.java:1157)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.PowerManager$WakeLock.release(PowerManager.java:1128)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at eu.faircode.netguard.SinkholeService$ServiceHandler.handleMessage(SinkholeService.java:97)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.Looper.loop(Looper.java:148)
11-24 11:23:29.610 29215 29233 E NetGuard.Service: 	at android.os.HandlerThread.run(HandlerThread.java:61)

-- under locked, because wakelocks were released

11-24 11:23:34.070 12346 12346 D Finsky  : [1] AppCrashProxy.onCreate: Sending feedback for crashed eu.faircode.netguard to com.google.android.gms
11-24 11:23:37.810   792   805 E ActivityManager:  +0% 29215/eu.faircode.netguard: 0% user + 0%
11-24 11:24:41.708   792   805 E ActivityManager:   0.2% 29215/eu.faircode.netguard: 0.1% user + 0% kernel / faults: 9 minor
11-24 11:25:42.400 29215 29215 I NetGuard.Service: Received Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 }
11-24 11:25:42.402 29215 29215 W NetGuard.Service: Wakelock not held
11-24 11:25:42.404 29215 29215 I NetGuard.Service: Start intent=Intent { cmp=eu.faircode.netguard/.SinkholeService (has extras) } command=reload vpn=true
2015-11-24 11:32:58 +01:00
M66B
2c5313f526 0.40 beta 2015-11-24 11:11:41 +01:00
M66B
90598c2a79 Added some logging 2015-11-24 10:54:43 +01:00
M66B
6565938101 Refactoring 2015-11-24 10:44:02 +01:00
M66B
9010ac3dc3 Handle service restart 2015-11-24 10:42:45 +01:00
M66B
31a4eba948 Crowdin sync 2015-11-24 08:39:14 +01:00
M66B
190a73aa49 Removed yields 2015-11-23 12:17:36 +01:00
M66B
06bd30e676 0.39 beta 2015-11-23 11:54:26 +01:00
M66B
d240694797 Reload rules when comming from idle mode (Android M) 2015-11-23 11:44:59 +01:00
M66B
fcac4fec03 Report IAB errors 2015-11-23 11:05:44 +01:00
M66B
ab6d65152d Fixed log level 2015-11-23 11:05:16 +01:00
M66B
ac637888e5 Prevent bug reporting from crashing NetGuard 2015-11-23 10:58:22 +01:00
M66B
84df549beb Disable NetGuard on start, reload, stop errors 2015-11-23 10:58:05 +01:00
M66B
1115a94a97 Increase interactive delay to 2,5 seconds 2015-11-23 10:11:54 +01:00
M66B
37559ae4ca Updated contributing section 2015-11-23 09:23:41 +01:00
M66B
9710d60eb8 Crowdin sync 2015-11-23 08:42:11 +01:00
M66B
e613966d35 Workaround handover problems 2015-11-23 08:34:47 +01:00
M66B
22f3d0766a Fix labels 2015-11-22 23:07:25 +01:00
M66B
01474a3701 Fix bug reporting 2015-11-22 21:27:57 +01:00
M66B
2dc3251dc2 Some Android versions even let VpnService.prepare throw an exeption ... 2015-11-22 20:30:29 +01:00
M66B
69d29bc12f Crowdin sync 2015-11-22 18:17:24 +01:00
M66B
9970416b45 Upgrade when versions different 2015-11-22 18:16:32 +01:00
M66B
54b105a292 Remove bug dialog
It doesn't work if there is no activity running
(requires system alert permission)
2015-11-22 18:14:42 +01:00
M66B
b08a1c3980 Cleanup 2015-11-22 14:12:17 +01:00
M66B
6c51a0be3c Shorten texts 2015-11-22 08:53:23 +01:00
M66B
b347cbe41b Crowndin sync 2015-11-22 08:49:56 +01:00
M66B
c3219a339a Synchronized with Crowdin 2015-11-21 16:29:42 +01:00
M66B
f8a438971c Switch to Gradle 2.5, experimental build tools 2015-11-21 14:52:00 +01:00
M66B
22d6f7e035 Graddle build tools update 2015-11-21 13:56:45 +01:00
Marco
1d989c307d Updated italian translation 2015-11-21 11:04:13 +01:00
M66B
c0e48b95aa Upgrade before displaying, prevent synchronization issues 2015-11-21 10:53:03 +01:00
M66B
5a76b33489 Crowdin sync 2015-11-21 10:44:42 +01:00
M66B
acd034569e Crowdin sync 2015-11-21 10:07:49 +01:00
M66B
3fad37abe8 Crowdin sync 2015-11-21 09:56:41 +01:00
M66B
29258ce20a When screen on Wi-Fi/mobile 2015-11-21 09:48:33 +01:00
M66B
e3f8e7d22c Material design expander 2015-11-21 08:01:07 +01:00
M66B
84854f27ff Fixed French translation 2015-11-21 03:21:55 +01:00
M66B
96f53088ce Crowdin baseline 2015-11-21 03:07:18 +01:00
ContactFront
008edef103 Update strings.xml 2015-11-20 19:02:01 -05:00
M66B
9968111906 Logcat count down gimmick 2015-11-20 21:16:10 +01:00
licaon-kter
d8027265b1 Updated Romanian translation
Oh, missed 0.37.
2015-11-20 14:58:49 +02:00
M66B
3d94bf20cb 0.37 beta 2015-11-20 11:37:51 +01:00
M66B
1a8a9446d4 Send logcat if crash report not available 2015-11-20 11:36:39 +01:00
M66B
08a4e40b52 Simplifications 2015-11-20 11:34:23 +01:00
M66B
94e8d5c71b Added crash reporting 2015-11-20 10:10:22 +01:00
ContactFront
39f34c4cb8 Update strings.xml 2015-11-19 23:46:42 -05:00
Marco
9155379873 Merge branch 'master' of https://github.com/M66B/NetGuard 2015-11-19 17:50:02 +01:00
Marco
8d568e2aa1 updated italian strings 2015-11-19 17:49:54 +01:00
M66B
9bb65d711f Fixed summary disappearing 2015-11-19 17:23:34 +01:00
M66B
878ba1eeec Changed IAB logic
Still crashing:

11-19 09:18:19.688 28800 28800 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'com.google.android.finsky.protos.Acquisition$AutoDismissTemplate com.google.android.finsky.protos.Acquisition$PostAcquisitionPrompt.autoDismissTemplate' on a null object reference
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.SuccessStep.getLayoutResId(SuccessStep.java:75)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.PurchaseFragment.onStateChange(PurchaseFragment.java:31066)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.fragments.SidecarFragment.notifyListener(SidecarFragment.java:255)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.fragments.SidecarFragment.setState(SidecarFragment.java:250)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.CheckoutPurchaseSidecar.confirmAuthChoiceSelected(CheckoutPurchaseSidecar.java:631)
11-19 09:18:19.688 28800 28800 E AndroidRuntime: 	at com.google.android.finsky.billing.lightpurchase.purchasesteps.SuccessStepWithAuthChoices.onClick(SuccessStepWithAuthChoices.java:5156)
2015-11-19 09:21:52 +01:00
M66B
bb00f41ab8 Show number of allowed/blocked packages in notification summary 2015-11-18 19:33:48 +01:00
M66B
efd1fb93bb Showing app version in debug mode 2015-11-18 19:08:04 +01:00
M66B
95fe0a11a2 IAB version 3 2015-11-18 17:57:42 +01:00
M66B
0ece612508 Simplification 2015-11-18 17:48:54 +01:00
M66B
caaf936bcb Check VpnService.Builder.establish result 2015-11-18 15:25:32 +01:00
M66B
2dd8b060b2 Dim less 2015-11-18 09:05:43 +01:00
M66B
ebf867a7a1 0.36 stable
Play store only release
2015-11-18 08:42:32 +01:00
M66B
cc9ee25568 Default allow for new installations
M0r0n control
2015-11-18 08:42:19 +01:00
M66B
7088545565 0.35 stable 2015-11-17 21:06:39 +01:00
M66B
62ee4681b0 Fixed crash 2015-11-17 21:05:55 +01:00
M66B
5d3a5076e4 Support = FAQ
Revert "Added menu FAQ"

This reverts commit 3f1615b633.
2015-11-17 16:24:13 +01:00
M66B
7cfa70c2ac Updated FAQ
Refs #164
2015-11-17 16:19:19 +01:00
licaon-kter
2d426aa96e Updated Romanian translation 2015-11-17 15:42:50 +02:00
M66B
ec453bd799 Updated Dutch translation 2015-11-17 14:31:10 +01:00
M66B
3f1615b633 Added menu FAQ
Closes #161
2015-11-17 14:26:26 +01:00
M66B
5b5ebb4741 0.34 stable 2015-11-17 10:45:59 +01:00
M66B
738dd7d659 Fixed reloading rules 2015-11-17 10:44:08 +01:00
M66B
56f8db475b 0.33 stable 2015-11-16 17:58:14 +01:00
Marcel Bokhorst
e63f5cc8bd Merge pull request #159 from marco-scavuzzo/master
updated italian translation
2015-11-16 17:57:28 +01:00
User99gmxat
06e5978516 Update strings.xml 2015-11-16 17:42:57 +01:00
Marco
033cccfa81 updated italian translation 2015-11-16 14:58:20 +01:00
Ivan
c6480127e9 Update strings.xml
Update
2015-11-16 11:38:35 +03:00
M66B
3864602760 0.32 stable 2015-11-16 08:24:46 +01:00
ContactFront
24d6c827b2 Update strings.xml 2015-11-15 16:30:54 -05:00
licaon-kter
53876d95c1 Wifi is Wi-Fi, right? 2015-11-15 21:18:48 +02:00
licaon-kter
3502328f4d Update Romanian translation 2015-11-15 20:55:56 +02:00
M66B
7c6a351ed3 Updated texts 2015-11-15 17:44:21 +01:00
M66B
39442fe1b7 Added WiFi debug indication 2015-11-15 17:13:25 +01:00
M66B
557397bd39 Include settings in debug info 2015-11-15 16:58:15 +01:00
M66B
b68f93118f Updated Dutch translation 2015-11-15 16:48:51 +01:00
M66B
fe7ef2367c Add technical info, removed action bar indicators 2015-11-15 16:39:59 +01:00
User99gmxat
2d988eeba7 Update strings.xml 2015-11-15 14:24:48 +01:00
Marco
5a575a5dbf Updated italian translation 2015-11-15 12:17:12 +01:00
licaon-kter
29af81beff Update Romanian translation 2015-11-15 12:07:41 +02:00