Syrone Wong
7408a75f0e
drop OTA; add AEAD config
8 years ago
noisyfox
f66638d14c
Don't check and throw exception in a display function. We should check this at input side.
8 years ago
noisyfox
b7b92a4af9
Very rarely used regex, do not compile
8 years ago
noisyfox
22d8cdeff7
Add secret in local pac url.
8 years ago
noisyfox
65b9c9f5fa
Allow check pre-release version
8 years ago
Syrone Wong
355ab0e63d
Use UTF-8 encoding for optional tag in ss url ( #918 )
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
6d01cb074e
Add optional tag support for ss url ( #917 )
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
206e0b8cb5
Fix a null ref
if user manually deleted the whole 'configs' field in gui-config.json.
Which won't crash the app but will lost all other configs.
8 years ago
noisyfox
6df3250a9f
Fix crash on startup when user manually deleted servers from gui-config.json
8 years ago
Syrone Wong
c25e70e888
hotkey: Refine system proxy mode switching logic
Merge 'Switch to PAC' and 'Switch to Global'
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
964f681d3b
Fix default font error.
8 years ago
noisyfox
b63bab0d1a
Refine LogViewerConfig. Don't store window size in main settings file
8 years ago
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
破娃酱
d73b77ff88
fix ss URL bug with no padding base64 ( #700 )
8 years ago
金黎明
6116388262
日志窗口支持记录最大化显示状态
8 years ago
Syrone Wong
50de65624c
Refine user-friendly server name
Forgot to consider domain name.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
4fcddc3e82
Check server IP address validity and log it
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
dc591413ce
Merge branch 'dev_proxy' of https://github.com/Noisyfox/shadowsocks-windows into Noisyfox-dev_proxy
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
3b5d38658f
Minor bugfixes ( #647 )
* Drop unused variable to suppress warning in LogForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* Fix IPv6 displaying
It is a little ugly, send a PR if you can find a better way.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
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
Gang Zhuo
d310377c49
Merge pull request #551 from kimw/disable_statistics
Disable StatisticsStrategy by default.
9 years ago
kimw
5b1cf36a67
Disable StatisticsStrategy by default.
9 years ago
Mygod
9c7b100f2b
Support one-time authentication in ss urls for sharing
This commit implements the new ss protocol proposed here:
https://github.com/shadowsocks/shadowsocks-org/issues/16
Also removes a TODO in Server.cs. You are welcome.
9 years ago
icylogic
8f175c481e
filter out meanless data.
9 years ago
icylogic
a99fef37d3
track multiple servers at the same time
Correct AvailabilityStatistics's behavior under special strategies like "LoadBalance", which may switch the server several times in a short period.
9 years ago
icylogic
7914d704d9
finish basic calculation
9 years ago
icylogic
7a3f946913
fix databinding
9 years ago
icylogic
e0e0f646b0
fix the chart
9 years ago
icylogic
2086b5900d
Merge remote-tracking branch 'upstream/master' into feature/statistics_ui
# Conflicts:
# shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs
# shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs
# shadowsocks-csharp/View/StatisticsStrategyConfigurationForm.cs
9 years ago
Licshee
687f397ae3
using StringEx
9 years ago
icylogic
bec1f808b3
add an option for Ping tests (disabled by default) and improve the readability of the code
9 years ago
icylogic
ce67551d31
migrate to record data model
9 years ago
Gang Zhuo
fcec167c72
revert save bandwidth
Some bugs on Save Bandwidth. Maybe commit again after all is ok.
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
9194b0325f
avoid warning message while compile
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
Gang Zhuo
8a6249c4a3
revert Newtonsoft.Json
9 years ago
Gang Zhuo
8bc9a7911b
remove reference of Newtonsoft.Json
9 years ago
Gang Zhuo
29d70acfb5
replace 'one_time_auth' to 'auth'
9 years ago
icylogic
4684af053e
Merge branch 'master' into feature/statistics_ui
9 years ago
Gang Zhuo
f7c9f2049c
default font name
9 years ago
Gang Zhuo
a070c3c986
small fix
9 years ago