Commit Graph
59 Commits
Author SHA1 Message Date
Mygod 07ab938719 Prevent createProfile returns null 2016-08-17 12:52:21 +08:00
Mygod f7303e1564 Revert "Promote default settings to kcptun"
This reverts commit 99ff47bd5f.

See discussion at: https://github.com/shadowsocks/kcptun/pull/1
2016-08-16 22:36:18 +08:00
Mygod 99ff47bd5f Promote default settings to kcptun 2016-08-16 22:16:25 +08:00
Mygod a9a6e1c1a6 Track caught exceptions (#810) 2016-08-16 21:26:10 +08:00
Mygod 9b07239ced Refine default kcpcli 2016-08-16 14:02:16 +08:00
Mygod 5c7174fc5e Add default kcpcli 2016-08-16 11:49:14 +08:00
Mygod 984e75ae99 Fix incorrect handling of default values on database upgrade 2016-08-09 04:34:51 +08:00
Max Lv b9a33cf1db Add KCP support (#788)
Add KCP support for shadowsocks.

KCPTUN should be setup on a different port to avoid conflicts with Shadowsocks' UDP support.
2016-08-04 23:43:18 -05:00
Mygod 360b425d47 Fix #767 2016-07-18 14:37:18 +08:00
Mygod c480137dec Remove .aidl.Config and persisting SharedPreferences (#742)
Previously a profile can exist in the following forms:

* `.database.Profile` used for everything backend;
* `.ShadowsocksSettings` which uses Preferences to provide UI to tweak settings;
* `.aidl.Config` used for IPC;
* `<data dir>/shared_pref/com.github.shadowsocks_preferences.xml` which exists for no apparent reason.

Thus long code block can be seen whose purpose is simply converting the data from one form to another. This commit intends to remove the latter two by:

1. Using profile ID and take advantage of fs r/w lock SQLite uses for IPC and better extensibility;
2. Stop persisting redundant fields in the preferences file and update database directly.
2016-07-05 01:07:09 -05:00
Mygod d350088153 Refine updateCurrentProfile 2016-06-17 13:01:09 +08:00
Mygod 28ea9dd807 Use app.* instead of ShadowsocksApplication.*
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod a1871f792d Fix building 2016-05-21 17:51:10 +08:00
Mygod e05abd7c24 Support one-time authentication in ss urls for sharing (#644)
This commit implements the new ss protocol proposed here: https://github.com/shadowsocks/shadowsocks-org/issues/16
2016-04-14 16:51:36 -07:00
Mygod 555f4f6854 Refine #609 2016-03-16 22:31:07 +08:00
Mygod 06deb4bbcb Add option: bypass China only
Fix #569.

It could have worked without upgrading database by using an option called `bypass-china-only`. But I think we will get better readability this way.
2016-02-08 15:44:10 +08:00
Mygod bf135107d8 Fix individual and userOrder not updated when upgrading from <12 2015-12-27 10:26:00 +08:00
Max Lv 9feb5bd96a Fix an issue when updating database from version < 12 2015-12-27 10:01:23 +08:00
Mygod a5ef0cd6f3 Fix upgrading database from 13 2015-12-25 23:27:38 +08:00
Mygod 0d582f2392 Update profile default values 2015-12-25 22:03:15 +08:00
Mygod eadb95ca2d Fix creating profiles 2015-12-25 17:43:18 +08:00
Mygod 164becfed0 Implement dragging to move profiles 2015-12-25 15:51:18 +08:00
Max Lv 63569a4448 fix a crash when upgrading database 2015-12-07 17:15:28 +08:00
Mygod ad831aa1f4 Persist package names in individual/proxied 2015-12-06 21:20:30 +08:00
Mygod 118aa1271c Fix bypass not copied 2015-11-24 18:12:24 +08:00
Max Lv 8b0b39cba7 fix #444 2015-11-24 13:23:16 +08:00
Max Lv 050007b49b fix an issue when upgrading database 2015-11-24 10:42:57 +08:00
Max Lv ff23bae671 fix #424 2015-11-21 11:59:05 +08:00
Mygod f4401f8b93 Optimize DBHelper 2015-11-18 22:24:25 +08:00
Mygod 14414c644d Copy feature settings from the current profile to the new profile.
And fix #432.
2015-11-18 21:40:33 +08:00
Max Lv 6749afd263 add TrafficMonitor 2015-11-12 12:10:38 +08:00
Mygod 6f6cb461ed Fix ParserActivity 2015-11-10 21:02:42 +08:00
Mygod 42c5a01d3e Fix default configuration 2015-11-10 20:25:10 +08:00
Mygod a14d3ea99c Fix crashing bug 2015-11-10 18:40:18 +08:00
Mygod b05adbdd43 Remove redundant Global Proxy 2015-11-09 20:32:22 +08:00
Mygod 5f0b1a50b2 Add NumberPickerPreference 2015-11-09 17:29:10 +08:00
Mygod 51e155c940 Add more material design (3) 2015-11-09 01:58:36 +08:00
Mygod 4906ce8af5 Support switching to NAT/VPN without restarting the app 2015-11-08 18:46:42 +08:00
Mygod d111bc8282 Using SAM 2015-10-04 15:13:16 +08:00
Mygod 3605e18db2 Update dependencies 2015-10-04 13:43:08 +08:00
Max Lv b272d7ab71 fix #368 2015-09-28 13:07:47 +08:00
Max Lv 3512542043 fix #366 2015-09-25 09:43:09 +08:00
Max Lv 2a3ffd768c update shadowsocks-libev 2015-09-21 14:03:02 +08:00
Max Lv 5aae822cdd add qr code 2015-04-29 13:06:27 +08:00
Max Lv 014692cb84 udpate default settings 2014-11-17 09:44:11 +08:00
Max Lv 9a724cd063 fix #148 2014-11-16 21:35:54 +08:00
Max Lv c65baf0377 fix a build error 2014-03-02 11:22:04 +08:00
Max Lv 9218ee42c1 fix the database issue 2014-03-01 11:39:47 +08:00
Max Lv a89ca2d154 add udp dns option 2014-02-28 20:14:47 +08:00
Max Lv 97b107eb3f fix #47 backup the entire database 2014-02-18 19:45:24 +08:00