Commit Graph

52 Commits

Author SHA1 Message Date
FelisCatus
4e0b8975bd Fix bare catch statement in coffee. 2018-08-20 18:29:07 -07:00
FelisCatus
48239e5e50 Fix test of FixedProfile to allow proxy and auth objects. 2017-09-20 16:13:36 -07:00
FelisCatus
06e7ad67f0 Use object return types when possible on Firefox with auth. Fix #1172. 2017-09-20 13:43:09 -07:00
FelisCatus
b1c261c39c Support notes in rule lists. 2017-09-20 11:20:14 -07:00
FelisCatus
6c66169781 Update coffeelint to 1.16.0 and ignore some rules. Fix #967.
line_endings disabled due to git autocrlf.
indentation disabled due to bug with function argument wrapping.
2017-03-25 20:12:04 -04:00
FelisCatus
bf3df2b707 Handle IPv6 address brackets correctly in bypass list. Fix #998. 2017-02-26 00:57:43 -05:00
FelisCatus
fcb063a464 Check profile update content and improve error messages. Fix #159, #903. 2016-10-25 01:09:24 -04:00
FelisCatus
d489e2eeaf Generate correct isInNetEx calls. See #67. 2016-10-24 22:36:34 -04:00
FelisCatus
8dcad1697e Support IpCondition in omega-web. Fix #705. 2016-10-23 01:42:56 -04:00
FelisCatus
5090ebf323 Add WeekdayCondition and TimeCondition to omega-web. Fix #513. 2016-03-17 21:10:48 +08:00
FelisCatus
63938d0e15 Support selecting individual .days in WeekdayCondition. 2016-03-17 19:24:49 +08:00
FelisCatus
482c6f6340 Add test to WeekdayCondition and TimeCondition 2016-03-17 18:44:14 +08:00
FelisCatus
b67790eb83 Pass <local> to target browser as-is. Avoid <local> in default config.
See the added comments as well as #443 for discussion.

Newly created proxy profiles will have 127.0.0.1, ::1 and localhost in
bypass list by default, instead of <local> in hope that fewer users
will be trapped in the IPv6 literals gotcha.
2016-03-17 16:18:25 +08:00
FelisCatus
5d26aa29a7 Lock coffeelint to ~1.11.1 to avoid function indentation issue.
See: https://github.com/clutchski/coffeelint/issues/525
Fix #672.
2016-03-17 13:51:54 +08:00
FelisCatus
4bdc62ddff Add number conversion, validation and fallback for parsing conditions.
Fix #710.
2016-03-08 15:48:47 +08:00
FelisCatus
55fba179f0 Escape back slashes in shExp2RegExp. Add unit tests. Fix #473. 2015-05-22 21:55:41 +08:00
FelisCatus
6ec929dc06 Update ipv6 3.x to ip-address 4.0.0. Fix #459. Fix #460. 2015-05-17 11:10:10 +08:00
FelisCatus
bf555dc568 Fix #418 RuleListProfile.directReferenceSet when .ruleList is null. 2015-05-01 14:50:19 +08:00
FelisCatus
4ebcf74828 Don't mess with domain names in compiled IP conditions. Fix #392. 2015-04-19 19:03:59 +08:00
FelisCatus
a9c85e00a2 Add compatible PAC result for SOCKS5 in Safari. Fix #391. 2015-04-14 22:03:59 +08:00
FelisCatus
9d91588dbb Fix #390 included PAC with trailing comments. 2015-04-14 22:02:11 +08:00
FelisCatus
dfccf9b3ca Mark UglifyJS and jQuery UI as vendored for linguist. 2015-03-14 19:13:31 +08:00
FelisCatus
0ae801e716 Use publicsuffixlist for base domain extraction. Fix #276. 2015-02-28 00:59:37 +08:00
FelisCatus
806f3215e8 Try to use base domain names when adding conditions. Fix #276. 2015-02-17 22:43:08 +08:00
FelisCatus
75ecb9aa46 Allow editing switch profiles as omega rule list. Fix #80. 2015-02-09 21:41:29 +08:00
FelisCatus
054d1c8b58 Improve error handling for rule lists. 2015-02-09 13:56:18 +08:00
FelisCatus
ec5a35682c Add SwitchyOmega rule list format. Fix #71. 2015-02-08 22:34:37 +08:00
FelisCatus
56457519ab Add str and fromStr for every condition type. 2015-02-08 21:28:01 +08:00
FelisCatus
a145d4f6a5 Add options syncing (using chrome.storage.sync). 2015-01-22 19:25:49 +08:00
FelisCatus
df9fbc4958 Fix compiling of IpCondition related to IPv6 address. Fix #67. 2015-01-15 15:22:51 +08:00
FelisCatus
54eaf96634 Change npm dev script to use two-step npm link. 2015-01-14 18:28:28 +08:00
FelisCatus
590c3baed9 Fix anaylze for HostWildcardCondition involving trimAsterisk. Fix #158. 2015-01-04 14:27:05 +08:00
FelisCatus
0c6d9dde3c Try to update profile after proxy is applied. Fix #148. 2015-01-02 21:31:50 +08:00
FelisCatus
8e56c4f883 Implement rule list exporting. Fix #99. 2015-01-01 21:25:08 +08:00
Xiaolan.Lee
39d05ae018 Bugfix: Export pac from a FixedProfile without bypass list do not work.
If a fixedProfle without any bypass list, pac generation will fail. This cause
export pac failure, and switch profile which refer to this fixedprofile also not
work properly.
2014-12-23 18:10:26 +08:00
FelisCatus
1d747a21bd Fix urlWildcard2HostWildcard host part matching regex. #80. 2014-12-22 18:21:12 +08:00
FelisCatus
bcce56320c Fix a few compatibility issue with upgrade. Fix #81, #80 2014-12-20 12:52:22 +08:00
FelisCatus
623982607c Show warnings instead of panic if some profile is missing. 2014-12-15 21:10:54 +08:00
FelisCatus
17427ae13f Fix a few issues related to upgrading. 2014-11-27 19:59:03 +08:00
FelisCatus
6c8b478d1a Correctly handle CIDR notation in BypassCondition. 2014-11-07 17:30:12 +08:00
FelisCatus
144b213348 Migrate UrlWildcard to HostWildcard if possible on upgrade. 2014-11-07 16:06:03 +08:00
FelisCatus
e988fa7c1c Show profile details tooltip for popup menu and browserAction. 2014-11-07 15:38:34 +08:00
FelisCatus
79eb0b53fe Prefer dynamic virtual profile icons. 2014-10-27 22:44:46 +08:00
FelisCatus
bf82d5a55a Add VirtualProfile type. Fix #47. 2014-10-25 23:41:39 +08:00
FelisCatus
2c8acfebbe Do case-insensitive match on BEGIN/END for SwitchyRuleList. Fix #48.
And also, set the default section to WILDCARD for better compatibility.
2014-10-20 21:01:30 +08:00
FelisCatus
cdd3bda2cd Allow attaching a RuleListProfile to a SwitchProfile. 2014-10-04 15:35:50 +08:00
FelisCatus
3465f34056 Raise a validation error for invalid RegExp in regex condition. Fix #36. 2014-10-03 15:00:21 +08:00
FelisCatus
3b9ddfc6c5 Support PAC profiles with file: URLs. Fix #29. 2014-09-25 21:18:17 +08:00
FelisCatus
a008e492b0 Escape all non-ascii chars in generated PAC script. 2014-09-24 11:33:09 +08:00
FelisCatus
a75f002d82 Change profile color of "system" to black. 2014-09-23 18:48:11 +08:00