Commit Graph
2092 Commits
Author SHA1 Message Date
Mygod ae171a7084 Refine spacing 2017-11-18 01:06:38 -08:00
Mygod 987b545cb2 Fix missing padding for traffic counter 2017-11-18 00:58:05 -08:00
Mygod 5505c78fdc Refine 'Replace CardView with normal list view' 2017-11-18 00:53:17 -08:00
Max Lv f59f7137f1 Replace CardView with normal list view 2017-11-18 16:06:37 +08:00
Mygod f4eeab0548 Remove apps VPN mode option for Android 4.4 2017-11-17 19:20:05 -08:00
Mygod 3f92857e52 Recommend to use Always-on VPN on Android 7+ 2017-11-17 18:38:22 -08:00
Mygod 7154f9fdba Fix a null dereferencing exception 2017-11-16 22:05:53 -08:00
Max Lv b510e0ab58 Fix #1452 2017-11-16 21:56:47 -08:00
Max Lv c5e9e6a81c Update the string 2017-11-16 20:10:12 -08:00
Mygod 5ad2e9a55d Update mbedtls to 2.6.1 2017-11-16 01:29:22 -08:00
Mygod dea3aa1c19 Update libsodium to 1.0.15 2017-11-16 01:26:15 -08:00
Mygod 2733d61003 Update libevent to 2.1.8 2017-11-16 01:24:42 -08:00
Mygod 42e930391f Output more information on failure of preparing VpnService
Fix #1424.
2017-11-15 21:02:20 -08:00
Mygod e0bf727bf4 Add missing parentheses 2017-11-15 00:40:14 -08:00
Mygod b1c8d3c617 Fix proxy notification not displaying on screen on in Android 4.4 2017-11-15 00:37:24 -08:00
Mygod 59a6eaac56 Remove ACTION_USER_PRESENT listener on API 26+
This is removed since we can't change notification priority dynamically since API 26 and this also prevents an extraneous system notification.

NB: After this change, `visible` doesn't have any observable effect on API 26+.
2017-11-15 00:10:53 -08:00
Mygod c6bb913ba2 Lift default notification priority for VPN service
Priority has been lifted from IMPORTANCE_MIN to IMPORTANCE_LOW. This change only impacts Android 8.0 and higher.

Fixes #1431. Also fixes https://github.com/shadowsocks/shadowsocks-android/issues/1037#issuecomment-338367917.
2017-11-14 23:50:06 -08:00
Max Lv 265ecc0406 Merge pull request #1446 from shadowsocks/transproxy
Implement Proxy-Only Mode and Transproxy Mode
2017-11-13 09:11:53 +08:00
Mygod fb2fdd5dea Remove extra spaces
As suggested by @wongsyrone.
2017-11-12 16:10:25 -08:00
Mygod 99e5cb8579 Update issue_template.md 2017-11-12 15:57:06 -08:00
Mygod e1a51b0d22 Add tutorial for using transproxy mode 2017-11-12 15:42:32 -08:00
Mygod 79f40b8812 Implement connection test for proxy modes 2017-11-12 14:50:19 -08:00
Mygod 13ef297a03 Change default DNS port to 5450 to avoid conflicts with Orbot 2017-11-12 14:22:11 -08:00
Mygod 967f198131 Always initialize previousPosition 2017-11-11 01:42:51 -08:00
Mygod b72fb267e3 Prevent fragment recreations 2017-11-11 01:36:34 -08:00
miyon 86ebbd0db5 fix fragment called onstart twice on click back
Removed irrelevant changes.
2017-11-11 01:08:56 -08:00
Mygod 725fb04f3f Implement proxy mode and transproxy mode
* NAT mode is replaced by transproxy mode;
* BaseService classes are moved into bg package and refactored in order to minimize duplicate code;
* Local port is moved out of per-profile settings, along with hardcoded DNS port and transproxy (redsocks) port;
* Reset is removed since the only possible clean-up needed can be performed by using force stop in app info;
* Comparing version code before extracting assets is replaced with a more robust approach: comparing update time.

NB: the only code that involves su now is for toggling TFO.
2017-11-11 00:06:58 -08:00
Mygod 6678fd9541 Revert "Replace NAT mode with local SOCKS5 mode. #1441"
This reverts commit 7fb19c40af.
2017-11-10 19:31:55 -08:00
Max Lv 7fb19c40af Replace NAT mode with local SOCKS5 mode. #1441 2017-11-09 19:02:38 -08:00
Max Lv 6c49a1aa4e Bump version 2017-11-08 23:54:06 -08:00
Mygod 4292b177ad Update faq.md 2017-10-28 11:45:39 -07:00
Mygod 274505db00 Update travis to use build tools 27 2017-10-28 00:17:36 -07:00
Mygod 6fa1c822ef Update platform target to 8.1 (API level 27) 2017-10-28 00:16:05 -07:00
Mygod e79a93545b Fix the magic bug in sbt
https://stackoverflow.com/a/24860931/2245107
2017-10-25 16:57:44 -07:00
Mygod 9075d079d2 Remove support for external scanners
I decided to remove this feature because I saw that Google Authenticator is doing the same: https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2

Also fix #1407.
2017-10-20 21:03:51 -07:00
Mygod bc0b503098 Fix DNS leakage
Fix #1397. Tested via dnsleaktest.com.
2017-10-20 20:57:05 -07:00
Mygod 81b7add2dd Improve go-clean script 2017-10-20 20:49:38 -07:00
Mygod 55ab8b4be7 Update dependencies 2017-10-20 20:15:54 -07:00
Mygod c1cd7e2ca1 Fix #1410 2017-10-20 11:05:39 -07:00
Mygod a2df7a7efa Add Xposed related issues to FAQ
Fixes #1414.
2017-10-20 10:47:28 -07:00
Max Lv 918eec4394 Revert to previous AdView 2017-10-03 07:01:18 -07:00
Max Lv 2b787d5072 Update golang 2017-09-24 21:37:35 -07:00
Max Lv 2cae9384ee Fix #1387 2017-09-24 21:23:08 -07:00
Max Lv c007313268 Update shadowsocks-libev 2017-09-14 19:21:43 -07:00
Max Lv 9c1a640baf Refine #1379 2017-09-14 18:10:57 -07:00
Max Lv ae3bcd7405 Update faq.md 2017-09-14 13:01:21 +08:00
Max Lv 2a3c9f91a3 Update badvpn 2017-09-07 02:21:21 -07:00
Max Lv bb25df8692 Bump version v4.2.5 2017-09-06 18:48:02 -07:00
Max Lv e8b5953701 Merge pull request #1364 from Mygod/url-rules
Rewrite network ACLs
2017-09-04 15:29:20 +08:00
Mygod b8d7ade44d Rewrite network ACLs
* A cleaner format;
* Provides better behavior when importing a non-compatible ACL;
* Supports importing URL from a imported file with up to 10 layers.
2017-09-03 17:32:32 -07:00