Syrone Wong
04ed25e16f
Add timeout support for server and forward proxy
Also, fix typo in ProxyForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Noisyfox
35fc73b58b
Add HTTP proxy support in forward proxy ( #745 )
* Add HTTP proxy support in forward proxy
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
* Typo
* Throw exception if forward proxy not supported.
8 years ago
Syrone Wong
99bdec334c
Add global hotkey support ( #724 )
Design:
Use the plain string for both config and hotkey parsing
and make use of KeyConverter, ModifierKeysConverter
to make it more rubust.
Find corresponding label (to display operation result) and callback (to do the real work) based on textbox name. In this case, they should be named as `<Feature-Name><Control-Name>`.
ShowLogsTextBox,
ShowLogsLabel,
ShowLogsCallback.
If this requirement doesn't meet, throw an exception at runtime.
Logic:
How to input keys:
1. put focus in the corresponding textbox
2. press the key combination you want to use
3. when you think it is ready, release all keys
4. the textbox shows your input
How to change keys:
1. put focus in the corresponding textbox
2. press BackSpace to clear content
3. re-input new one
How to deactivate:
1. clear content in the textbox
2. press OK button
Meaning of label color:
- Green: this combination is not occupied by other programs and register successfully
- Yellow: this combination is occupied by other programs and you have to change to another one
- Transparent without color: initial status
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
33b2ca8c8a
Refactor
- Only use one instance of LogForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
d3c6039c61
Refine Proxy config
- Move to seperate model
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Noisyfox He
6a3e06cdb3
Merge branch 'master' of https://github.com/shadowsocks/shadowsocks-windows.git into dev_proxy
# Conflicts:
# shadowsocks-csharp/Controller/Service/TCPRelay.cs
# shadowsocks-csharp/Controller/ShadowsocksController.cs
# shadowsocks-csharp/View/MenuViewController.cs
8 years ago
Syrone Wong
fb3fcdb90d
Add verbose logging to log every connection
Note:
- Added a configuration entry, user should add this
by hand or reset from scratch.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
2307c9515e
add proxy settings
9 years ago
Licshee
687f397ae3
using StringEx
9 years ago
kimw
1ee07d196a
save bandwidth in config file per shadowsocks server
9 years ago
kimw
f9bd1c9150
featured: save bandwidth in config.json file
9 years ago
kimw
c2095b5ad7
migrated SimpleJson => Newtonesoft.Json, and of cause removed SimpleJson source files.
9 years ago
kimw
0b16ef7445
Merge upstream
# Conflicts:
# README.md
# shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs
# shadowsocks-csharp/Controller/Service/PACServer.cs
# shadowsocks-csharp/Controller/Strategy/SimplyChooseByStatisticsStrategy.cs
# shadowsocks-csharp/Data/cn.txt
# shadowsocks-csharp/Model/Configuration.cs
# shadowsocks-csharp/Model/LogViewerConfig.cs
# shadowsocks-csharp/View/LogForm.Designer.cs
# shadowsocks-csharp/View/LogForm.cs
# shadowsocks-csharp/View/MenuViewController.cs
9 years ago
icylogic
4684af053e
Merge branch 'master' into feature/statistics_ui
9 years ago
kimw
0eee5cd98f
add feature: save LogForm's config into json file.
9 years ago
Gang Zhuo
00ccb52bef
Add an option for checking updates
9 years ago
kimw
0a733c61b8
fixed: standardize Logging usage
1. Add Logging.Info()
2. Console.WriteLine() -> Logging.Info()
3. Console.WriteLine() in exceptions -> Logging.LogUsefulException()
9 years ago
icylogic
4e1b140dd9
Add Json.Net and separate out Statistics Configuration file
Import Json.Net since it's difficult for SimpleJson to deal with nested type.
9 years ago
kimw
79e9a23d94
add feature: save LogForm's config into json file.
9 years ago
icylogic
bf1c79304e
Basic user controls
9 years ago
icylogic
0e4f0f17cd
Add availability statistics service and a simple strategy
Strategy: Simply Choose By Statistics
9 years ago
clowwindy
01c059c4e3
fix server index problem
10 years ago
clowwindy
a0e79f37bc
fix #235
10 years ago
clowwindy
4afd5faf3f
add load balancing
10 years ago
clowwindy
f9f49552ae
add port check for 8123
10 years ago
Gang Zhuo
e0612854d6
support online pac, see https://github.com/shadowsocks/shadowsocks-csharp/issues/163
10 years ago
clowwindy
09d57ef0c0
revert
10 years ago
Sharuru
7918cb4bd2
Show current mode in tray menu
10 years ago
clowwindy
444fabaa79
local port now is the same for different servers
10 years ago
clowwindy
e878b41519
implement ssurl scan
10 years ago
clowwindy
c40e908d05
remove CheckRemark
10 years ago
clowwindy
e943247150
update texts
10 years ago
clowwindy
5ed49ac6b6
add global mode
10 years ago
clowwindy
3b5777d830
lint code
10 years ago
kookxiang
c75941fe14
config path
10 years ago
clowwindy
e4ff27a1fc
share over LAN
10 years ago
wzxjohn
fc53a07203
change function to C# style
Change the first letter of function to upper case letter to fit C# code
style
10 years ago
wzxjohn
b5eac341b3
revert
10 years ago
wzxjohn
ac21a0960f
add config lock
Add a lock on config form to avoid accidental changes
10 years ago
clowwindy
c26c1dddd4
remarks should be plural
10 years ago
Sharuru
197ddd3d78
Add remark function
10 years ago
clowwindy
f0b2cb49a4
auto focus IP textbox
10 years ago
clowwindy
afa46b63b7
implement removing server and saving
10 years ago
clowwindy
ac1172c3ec
implement adding server
10 years ago
clowwindy
4c7f393003
half way done
10 years ago
clowwindy
04a4427cff
update namespace
10 years ago
clowwindy
28b582590a
update namespace
10 years ago
clowwindy
0a21d8a4ae
compat
10 years ago
clowwindy
0eb0e8c9e6
use gui-config.json from shadowsocks-gui
10 years ago