Commit Graph

22 Commits

Author SHA1 Message Date
Mygod
de3226e27a Refine code style 2021-11-26 22:56:38 -05:00
Mygod
b866b6b707 Migrate to emoji2 2021-10-30 00:17:22 -04:00
Mygod
35055bc074 Fix deprecations 2020-08-18 05:02:09 +08:00
Mygod
e8fb62a0b3 Move MAC utils to MacAddressCompat 2020-05-30 02:39:33 -04:00
Mygod
650b06beae Update dependencies and refine code style 2019-09-19 10:36:13 +08:00
Mygod
e85890ecfb Fix hashCode for Client 2019-07-19 11:11:02 +08:00
Mygod
970ba2247b Fix #120 2019-07-19 11:08:42 +08:00
Mygod
7b9502be8a Refine code style 2019-06-10 22:12:31 +08:00
Mygod
965bd13eac Fix nullability issues 2019-05-13 18:41:58 +08:00
Mygod
34d232afd6 Update beta dependencies because it is called beta branch 2019-05-10 13:44:43 +08:00
Mygod
08ab6a54ff Add EmojiCompat 2019-01-31 20:40:24 +08:00
Mygod
4918dfc856 Suppress links for bogon IPs
ipinfo.io does not tell a lot of information about bogon IP addresses, so let us just not show any links at all.
2019-01-26 21:57:58 +08:00
Mygod
d4208affbb Implement MAC lookup (#68)
* Implement MAC lookup

* Refine error processing

* Use long to store MAC consistently

* Link back to macvendors.co

* Undo some havoc

* Do not show mac spans for TV

* Show MAC and IP in a consistent order

* Add IP spans by ipinfo.io

* Add SpanFormatter

* Fix IPv6 ipinfo.io link

* Refine SpanFormatter

* Fix pressing the link
2019-01-26 21:20:40 +08:00
Mygod
94114f7a4b Migrate to LiveData
Benefit includes: no more flush after changing nickname. Yep.
2019-01-26 14:48:27 +08:00
Mygod
48d6307b2b Fix rate not working for polling clients 2018-10-03 15:58:49 +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
4de93c5c02 Move monitors to a separate package 2018-10-02 23:44:06 +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
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
8aa7d6d8c7 Huge refactor for better maintainability 2018-06-01 20:21:05 +08:00
Mygod
efa387fd7a Fix onServiceDisconnected not called 2018-05-09 18:10:22 -07:00
Mygod
dad9bc19e3 Add client count badge 2018-05-09 17:38:49 -07:00