Commit Graph

418 Commits

Author SHA1 Message Date
Mygod
d06ec3e4f7 joinToString before releasing RootSession 2018-10-08 13:27:08 +08:00
Mygod
54ed6eab42 Fix direct boot 2018-10-08 13:23:16 +08:00
Mygod
26043bdefc Fix a deadlock in IpNeighbourMonitor 2018-10-08 13:08:48 +08:00
Mygod
c057785306 Update test libraries 2018-10-08 12:59:12 +08:00
Mygod
a14f324a90 Allow irrelevant info in DefaultNetworkMonitor as well 2018-10-08 12:05:41 +08:00
Mygod
a947023332 2.0.1 2018-10-05 01:26:26 +08:00
Mygod
0d83c17b89 Known issue: client features won't work when upgrading from 1.x w/o shutting down service 2018-10-05 00:50:03 +08:00
Mygod
255cfac486 Add more locks 2018-10-05 00:45:53 +08:00
Mygod
c7e79dfb6a Allow unregister to fail
Race condition might occur when cleaning.
2018-10-04 19:45:54 +08:00
Mygod
722855caf7 Refine code 2018-10-04 16:45:44 +08:00
Mygod
89234b37a4 Create a copy before returning 2018-10-04 16:41:19 +08:00
Mygod
e85d792218 Refine IpNeighbour parsing 2018-10-04 16:34:40 +08:00
Mygod
ed1e1a581e Allow records not found in TrafficRecorder 2018-10-04 16:03:59 +08:00
Mygod
b9d5a63c23 Add synchronization in IpNeighbourMonitor 2018-10-04 15:56:24 +08:00
Mygod
e66025c746 Only care about losing one network 2018-10-04 15:50:58 +08:00
Mygod
395e5da871 Fix InvalidConfigurationError 2018-10-04 15:50:07 +08:00
Mygod
48d6307b2b Fix rate not working for polling clients 2018-10-03 15:58:49 +08:00
Mygod
c0ee5a0b89 2.0.0 2018-10-03 15:14:12 +08:00
Mygod
043fcae56a Fix real-time traffic not accumulating all results 2018-10-03 15:06:37 +08:00
Mygod
913e21328e Misc refinements 2018-10-03 15:02:07 +08:00
Mygod
c573a68ee1 Prevent creating 2 ip link monitors 2018-10-03 14:34:55 +08:00
Mygod
a4e69c5a9b Tell user when blocking won't work 2018-10-03 14:16:31 +08:00
Mygod
249474abb2 Update README 2018-10-03 14:07:37 +08:00
Mygod
f7978a5a2f Handle default network changes 2018-10-03 13:58:57 +08:00
Mygod
408c84f8d7 Fix DNS not updated onLost 2018-10-03 13:54:01 +08:00
Mygod
1eb84bf1a3 Handle duplicated upstreams 2018-10-03 13:46:44 +08:00
Mygod
55405742a8 Fix logging 2018-10-03 13:28:44 +08:00
Mygod
8e09e8cd8a Replace strict mode with fallback upstream interface
Fixes #40. Apparently we can no longer take advantage of default network rules set by Android system since Android 9.0 thanks to this commit: 758627c4d9
2018-10-03 13:02:28 +08:00
Mygod
8e3567954e Remove unused imports 2018-10-02 23:49:46 +08:00
Mygod
4de93c5c02 Move monitors to a separate package 2018-10-02 23:44:06 +08:00
Mygod
9c6183d662 Add dumped stats to debug information 2018-10-02 23:33:57 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
5f5bb063c0 Record stats before exit 2018-10-02 22:41:43 +08:00
Mygod
8419734df8 Ignore extra records coming later
This can happen when the application is terminated incorrectly. Due to how we add routing rules, new client-wise rules are always added to the top. Therefore, we should always assume that the input at the top is the correct one.
2018-10-02 22:36:47 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
16d1eda0d4 Remove obsolete databinding-compiler 2018-09-18 20:11:28 +08:00
Mygod
dbbc27485c Fix exit code 143 not handled 2018-09-18 17:15:38 +08:00
Mygod
82ac2e56e7 No need for extract UI for PIN 2018-09-18 17:11:48 +08:00
Mygod
268376a7d5 Use DialogFragments everywhere 2018-09-18 17:09:50 +08:00
Mygod
204145ef4f Move edit configuration logic out of WifiP2pDialogFragment 2018-09-17 23:35:59 +08:00
Mygod
dbe43624ed Refine layout margin 2018-09-17 23:15:57 +08:00
Mygod
e88474106d Update dependencies 2018-09-17 22:11:33 +08:00
Mygod
f27fdb5ce7 Catch BLUETOOTH permission missing exception 2018-09-17 22:08:31 +08:00
Mygod
d21193ba17 Fix monitor not set 2018-09-15 15:45:37 +08:00
Mygod
c772d82145 Remove duplicated sanity check 2018-09-13 19:10:33 +08:00
Mygod
ce286ccd01 Update dependencies 2018-09-11 18:17:39 +08:00
Mygod
90fdb68857 Update AndroidX 2018-09-09 14:31:33 +08:00
Mygod
c7faa24be9 Use monospace for password 2018-09-08 17:08:20 +08:00
Mygod
e51f639c86 Remove unused string 2018-09-07 15:49:37 +08:00
Mygod
1db6d6e9ad Fix crashes on root missing 2018-09-07 11:35:09 +08:00