Syrone Wong
1c8f4168cf
do not popup if we have fake Base64 strings
8 years ago
Syrone Wong
43672a8bda
allow to add multiple servers via ss url
invalid URLs will be ignored
8 years ago
Allen Zhu
84b69d3dff
Chart Refactor ( #1019 )
* Rename variable 'traffic' to 'trafficPerSecondQueue' and 'trafficInfoQueue'
* Remove class QueueLast<T> by using linq Queue.Last()
* Slight changes, such as rename, move several variables from function domain to class domain to improve performance.
Logic remains the same.
* Update the logic of copying queue from Controller to View.
* Move the TrafficInfo declaration into LogForm class
Overwise, the VS UI designer does not work.
8 years ago
Syrone Wong
7408a75f0e
drop OTA; add AEAD config
8 years ago
Syrone Wong
f9ed9174cc
Fix crash when reading pac user rules
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
dd269ac89d
Revert "Remove privoxy"
This reverts commit 0d4d01af3b
.
8 years ago
noisyfox
09d89b424d
Revert "First working built-in http proxy"
This reverts commit 5ba0dffa5d
.
8 years ago
noisyfox
efe6d5ba81
Revert "http -> shadowsocks protocol directly"
This reverts commit b04c59d8e6
.
8 years ago
noisyfox
7a39c2c71f
Revert "Logging exception"
This reverts commit 566a0fcfa5
.
8 years ago
noisyfox
76fbd808e3
Add menu item to copy local pac url
8 years ago
noisyfox
566a0fcfa5
Logging exception
8 years ago
noisyfox
b04c59d8e6
http -> shadowsocks protocol directly
No more http->socks5 transform.
8 years ago
noisyfox
5ba0dffa5d
First working built-in http proxy
8 years ago
noisyfox
0d4d01af3b
Remove privoxy
8 years ago
noisyfox
264b91d6b0
Fix a problem that forward proxy settings are saved twice
Fix #926
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
noisyfox
17c60bf9cc
Don't UpdateSystemProxy before SaveConfig.
Otherwise we will update proxy twice.
8 years ago
noisyfox
b63bab0d1a
Refine LogViewerConfig. Don't store window size in main settings file
8 years ago
noisyfox
4b49431800
Parse dest address before connect to SS server.
This gives us the possibility to chose SS server based on dest address.
8 years ago
Syrone Wong
8fcb66b6ff
Refine RNG usage
- Create instance once, bind it to ShadowsocksController
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
4bd9fd8a6b
Replace treewide polipo with privoxy
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
破娃酱
59c315d465
new traffic chart style ( #704 )
* new traffic chart style
- remove invoke
- force to set AxisY.Maximum not zero
- format LogForm.cs
* avoid data race
8 years ago
noisyfox
ed54b249db
Close services while closing listener.
Now it will close all existing TCP relay connections
while reloading the listener.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
a7b0ce5bcb
Use atomic long read.
Signed-off-by: noisyfox <timemanager.rick@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
d3acb3e681
Refine verbose logging handling
I can't wait until PR #604 get merged, do it manually.
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
Syrone Wong
6a8a09983e
Merge fixes from @GangZhuo , close #478 ( #638 )
Squashed commit of the following:
commit e280c2385c
Merge: 579039f
87aa9eb
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Wed Mar 16 04:02:27 2016 -0400
Merge remote-tracking branch 'origin/master'
commit 579039fe40
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:45:23 2016 +0800
log unhandle exception
commit 8d863f1d5f
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:44:54 2016 +0800
fix Availability Statistics
commit b3ce1c698a
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:07:54 2016 +0800
tiny refactor
commit 0f7d39e27e
Merge: bd7078a
b01aced
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 20:02:58 2016 +0800
Merge remote-tracking branch 'origin/master'
commit bd7078aa4f
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 20:01:58 2016 +0800
tiny refactor
commit 49adb95b6e
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 03:44:26 2016 -0500
log more Ping information for debug
commit 2aa0620ddd
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 03:04:10 2016 -0500
reduce 3rd packages
[solve conflicts and squash to make history clean]
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Allen Zhu
b0f71c43f5
Add traffic chart and traffic icon support ( #595 )
* Implement the line chart on Log View window for inbound/outbound traffic per second
* Implement dynamic tray icon to indicate Inbound and Outbound
* Refine linechart
* Bugfix for dynamic icon
* Refine chart presentation
* Change the data points' type for more accurate calculation
* Tweak inbound/outbound indicator image for tray icon
9 years ago
noisyfox
95d4e3a0c0
Add proxy support
9 years ago
noisyfox
2307c9515e
add proxy settings
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
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
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
a8ffc60d31
updated StringEx to 0.2, in favor of s.NonWhiteSpaceLines()
9 years ago
Licshee
4a45d60c40
more reliable & maintainable extension methods
9 years ago
Licshee
0e2c28c9b0
.
9 years ago
Licshee
0c7597cdf4
moar
9 years ago
Licshee
859474b577
misc improve
9 years ago
icylogic
aef4b86c91
refactor AvailabilityStatistics to singleton
9 years ago
icylogic
7599704d1f
add speed to statistics
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