Soul Dark
22fdc823f2
修复ConfigForm不安全代码。链接分隔符支持空格。
7 years ago
voq
f24c0e9872
Merge pull request #1130 from voq/master
Auto register hotkeys
7 years ago
celeron533
79f33bc326
Simplify the temp folder mechanism: portable mode is back
- Portable mode ON: executable file's folder
- Portable mode OFF: current user's temp folder
8 years ago
Opportunity
70ec5df5b0
Add temp folder path selection ( #1827 )
* Translation
* Environment Variables support
8 years ago
celeron533
b7e30318cd
Add plugin CLI arguments support
8 years ago
celeron533
5a78ee9212
Add square bracket for SIP002 IPv6 (RFC3986)
8 years ago
celeron533
55c19187c7
Refine URL parser
- Bring back the legacy parser
- Refine SIP002 logic
8 years ago
celeron533
77a93a9140
Fix the issue "unable to add server from URL"
Base64 code ended with '=' cause the Uri invalid to parse.
Simplified the logic.
8 years ago
Raif Atef
f04b497d79
SIP002 and SIP003 support
8 years ago
celeron533
081bbaf011
Fix #1301 . Configuration is not fully initialized and cause NullReferenceException crash
8 years ago
Syrone Wong
816651ebdc
Save user wininet settings as another config file
9 years ago
Syrone Wong
54335d4889
capture non-whitespace chars for ss url tag
9 years ago
Syrone Wong
43672a8bda
allow to add multiple servers via ss url
invalid URLs will be ignored
9 years ago
Syrone Wong
7408a75f0e
drop OTA; add AEAD config
9 years ago
noisyfox
f66638d14c
Don't check and throw exception in a display function. We should check this at input side.
9 years ago
noisyfox
b7b92a4af9
Very rarely used regex, do not compile
9 years ago
noisyfox
22d8cdeff7
Add secret in local pac url.
9 years ago
noisyfox
65b9c9f5fa
Allow check pre-release version
9 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>
9 years ago
Syrone Wong
6d01cb074e
Add optional tag support for ss url ( #917 )
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 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.
9 years ago
noisyfox
6df3250a9f
Fix crash on startup when user manually deleted servers from gui-config.json
9 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>
9 years ago
noisyfox
964f681d3b
Fix default font error.
9 years ago
noisyfox
b63bab0d1a
Refine LogViewerConfig. Don't store window size in main settings file
9 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>
9 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.
9 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>
9 years ago
Syrone Wong
33b2ca8c8a
Refactor
- Only use one instance of LogForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
d3c6039c61
Refine Proxy config
- Move to seperate model
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
破娃酱
d73b77ff88
fix ss URL bug with no padding base64 ( #700 )
9 years ago
金黎明
6116388262
日志窗口支持记录最大化显示状态
9 years ago
Syrone Wong
50de65624c
Refine user-friendly server name
Forgot to consider domain name.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
4fcddc3e82
Check server IP address validity and log it
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
10 years ago
Syrone Wong
dc591413ce
Merge branch 'dev_proxy' of https://github.com/Noisyfox/shadowsocks-windows into Noisyfox-dev_proxy
10 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
10 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>
10 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>
10 years ago
noisyfox
2307c9515e
add proxy settings
10 years ago
Gang Zhuo
d310377c49
Merge pull request #551 from kimw/disable_statistics
Disable StatisticsStrategy by default.
10 years ago
kimw
5b1cf36a67
Disable StatisticsStrategy by default.
10 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.
10 years ago
icylogic
8f175c481e
filter out meanless data.
10 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.
10 years ago
icylogic
7914d704d9
finish basic calculation
10 years ago
icylogic
7a3f946913
fix databinding
10 years ago
icylogic
e0e0f646b0
fix the chart
10 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
10 years ago
Licshee
687f397ae3
using StringEx
10 years ago
icylogic
bec1f808b3
add an option for Ping tests (disabled by default) and improve the readability of the code
10 years ago