yuhan6665
c54d8fa43a
Update dependencies
...
Fix a delegate annotation for Kotlin 1.4
2020-09-25 18:37:29 -04:00
yuhan6665
4abf20fa32
Fix protect() when there is no service
2020-09-20 19:00:14 -04:00
yuhan6665
83aab0f880
Add help link in mode setting
2020-09-18 17:48:54 -04:00
2dust
66ea17877e
Merge pull request #598 from yuhan6665/fix-process
...
Add missing process for ScSwitchActivity
2020-09-12 19:48:04 +08:00
yuhan6665
5bbf40c784
Grey out per-app proxy in proxy only mode
2020-09-11 21:30:08 -04:00
yuhan6665
6d5c23245c
Move version to drawer
...
Make it easier to check version.
Technically, version should not be selectable setting
2020-09-11 21:30:08 -04:00
yuhan6665
b148290211
Add missing process for ScSwitchActivity
2020-09-11 21:29:58 -04:00
2dust
c473f9bb13
Merge pull request #587 from yuhan6665/proxy-mode
...
Proxy only mode
2020-09-06 08:09:10 +08:00
yuhan6665
bebc6fea13
Add mode in settings
2020-09-04 18:19:51 -04:00
yuhan6665
9271857b1e
Remove VPN related logic in toggle components
2020-09-04 18:19:51 -04:00
yuhan6665
7ea78c1840
Make all toggle component run in daemon process
...
This commit make the two process with clear role:
- Daemon process will run proxy core, keep minimum configuration
and long running in the background, support toggle on/off
- Main process will have all UI, all servers configuration
2020-09-04 18:19:51 -04:00
yuhan6665
ac668788b3
Add proxy only service
2020-09-04 18:19:51 -04:00
yuhan6665
adfcf0a5d9
Fix some trivial IDE warnings
2020-09-04 18:19:51 -04:00
yuhan6665
15b5595797
Refactor service
...
Break VpnService so that it only control vpn and tun2socks,
Other function is moved to a singleton service manager.
This code makes it possible to add proxy only service next.
2020-09-04 18:19:51 -04:00
Akatsuki
5a18296cb2
V2RayVpnService.kt: use setMetered
...
setMetered to false let VPN network to inherit its meteredness from its underlying networks.
Revert `addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)`
2020-09-03 02:07:11 +08:00
Akatsuki
1256edbaf5
V2RayVpnService.kt: fix OS marks VPN as metered
...
VPN apps targeting Build.VERSION_CODES.Q or above will be considered metered by default.
Ref:
https://developer.android.com/reference/android/net/VpnService.Builder#setMetered(boolean)
https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn
2020-09-02 13:46:18 +08:00
yuhan6665
e798cb3f42
Fix release build with tun2socks
2020-08-29 12:34:54 -04:00
2dust
b970f0bcff
Merge pull request #574 from yuhan6665/all-outbounds-speed
...
All outbounds speed
2020-08-29 20:33:18 +08:00
yuhan6665
eb8bd13266
Add speed notification for all outbounds
2020-08-28 21:52:44 -04:00
yuhan6665
6bee795c0d
Update target sdk to 29
2020-08-27 20:19:00 -04:00
yuhan6665
d7d7e029e0
Fix compile warnings that will be error in sdk 29
2020-08-27 20:18:59 -04:00
yuhan6665
5e0235cf70
Fix test crash if node is removed
...
This should fix almost all issues when the testing is in progress
and the array is changed. However, there might be uncovered edge
cases since the vmess array is in both process and accessed by
multiple threads.
2020-08-21 19:47:33 -04:00
yuhan6665
b2437279dc
Update UI for custom config
...
- add server address and port
- add share button (full configuration)
- update "Export all config to clipboard" text to indicate
it will not include custom config
2020-08-15 19:37:59 -04:00
yuhan6665
180b5efd93
Enable tcping test for custom config
2020-08-15 19:37:59 -04:00
yuhan6665
dc31380cc2
Refactor EConfigType to be an enum
...
Using enum will simplify logic and conveniently providing Int value
and a String name
2020-08-15 19:37:59 -04:00
2dust
1361e0dacf
Merge pull request #555 from yuhan6665/per-app-list
...
Update latest per-app list
2020-08-15 20:40:10 +08:00
yuhan6665
508102cebe
Update latest per-app list
...
https://github.com/2dust/androidpackagenamelist/blob/master/proxy.txt
2020-08-14 20:45:30 -04:00
ShrdBB
1d86dbb9f3
fix typo in strings.xml
2020-08-14 12:48:46 +08:00
yuhan6665
25ba455656
Add "Android System" in per-app vpn
2020-08-08 23:49:06 -04:00
yuhan6665
6f0f2fdeda
Sanitize project configuration
...
Make project compilable out of box. This commit address
the following:
- remove release key
- fix gitignore for Android Studio temp files
- add gradle wrapper properties
2020-08-07 21:37:00 -04:00
2dust
3c9c9b5a4c
Merge pull request #531 from yuhan6665/emui-notification
...
Fix notification for Emui 4.1
2020-08-06 20:40:45 +08:00
yuhan6665
ca554e6ac4
Fix notification for Emui 4.1
2020-08-02 08:42:04 -04:00
xuezhixin
ec391d8689
exclude ScSwitchActivity from recent list
2020-07-29 16:47:40 +08:00
2dust
6afd4d0549
Update AngConfigManager.kt
2020-07-27 21:00:34 +08:00
2dust
957cf85362
Merge pull request #517 from yuhan6665/bypass-private
...
Bypass private IP at VPN service
2020-07-25 19:42:12 +08:00
2dust
881152e10a
Merge pull request #516 from cpdyj/master
...
add support to new version vmess link
2020-07-25 19:41:46 +08:00
2dust
6e47ebb27a
Merge pull request #484 from DevRyz3n/drag-item-store-config
...
Optimize invoke timing of store config file after dragging item.
2020-07-25 19:41:13 +08:00
2dust
a731e6c360
Merge pull request #453 from yuhan6665/widget
...
Widget
2020-07-25 19:40:39 +08:00
yuhan6665
d1466ba4b2
Bypass private IP at VPN service
2020-07-24 18:12:20 -04:00
iseki
617f28f399
Update AngConfigManager.kt
2020-07-24 11:23:46 +08:00
iseki
c0ec0d9404
Update AngConfigManager.kt
2020-07-24 11:21:20 +08:00
iseki
3419dc8837
add support to new version vmess link
...
some information can be found at: https://github.com/v2ray/discussion/issues/720
2020-07-23 00:51:08 +08:00
yuhan6665
1144183da4
Update notification icon based on traffic
...
Notification icon would be a good indication for current traffic
- going through proxy
- connect directly
- not going through v2rayNG
2020-07-18 18:48:47 -04:00
yuhan6665
5bf2fda990
Measure traffic from outbounds
...
With v2ray-core 4.26.0, traffic can be measured from outbounds.
Stats is shown separately for proxy and direct traffic.
In the future, it is possible to add stats for each server node and
even historic usage graph.
2020-07-18 18:47:59 -04:00
2dust
28639cc388
Merge pull request #468 from yuhan6665/cleanup-config
...
Remove legacy "connectionReuse" in config
2020-07-18 14:01:38 +08:00
2dust
ca254b2aa1
Merge pull request #443 from yuhan6665/resume-speed
...
Fix speed display after screen turns on
2020-07-18 14:00:48 +08:00
2dust
9721879713
Merge pull request #432 from yuhan6665/drawer-ui
...
fix highlight issue in drawer ui
2020-07-18 13:59:47 +08:00
2dust
623c1807c5
Merge pull request #409 from yuhan6665/test-cleanup
...
Tcp test cleanup
2020-07-18 13:58:37 +08:00
2dust
739fa88ba7
Merge pull request #335 from yuhan6665/sub-index
...
Fix selected index when update subscription
2020-07-18 13:58:11 +08:00
yuhan6665
8986710453
Cancel async block when user test tcping again
...
Change async code to use Kotlin coroutine instead of Anko,
since Anko is deprecated and coroutine is the recommanded
approach now.
2020-07-16 19:42:43 -04:00