Commit Graph

277 Commits

Author SHA1 Message Date
FelisCatus
227e189a73 Make chrome.contextMenus and some browserAction APIs optional. 2017-08-18 20:58:01 -04:00
FelisCatus
8618b405a6 Fix potential race condition for proxyScriptLoaded event. 2017-08-11 22:25:14 -04:00
FelisCatus
657ec9876c Bump version to 2.5.1. 2017-08-06 00:09:37 -04:00
FelisCatus
7bc8655421 Remove redundant map files, prettify HTML and remove unused lib files. 2017-08-05 22:03:30 -04:00
FelisCatus
53cd3c5d24 Improve version number to 2.5.0. 2017-08-02 23:02:51 -04:00
FelisCatus
1e06ede549 Remove downloads permission from archive (unneeded for Chromium). 2017-08-02 22:57:44 -04:00
FelisCatus
9978279d00 Move more stuff into src/ for target-chromium. 2017-08-02 22:46:08 -04:00
FelisCatus
7a46271487 Use new brower.proxy.register/unregister API when possible. 2017-07-31 16:33:44 -04:00
FelisCatus
9e016bff4b Bump version to 2.4.17. 2017-07-31 16:02:03 -04:00
FelisCatus
7a3ac05cd5 Fall back in case of error in popup openOptions. 2017-07-31 16:00:08 -04:00
FelisCatus
db2d2e4d00 Bump version to 2.4.16. 2017-07-20 19:05:20 -04:00
FelisCatus
fa39d89a7a Bump version to 2.4.15. 2017-07-20 19:02:30 -04:00
FelisCatus
6616c15272 Update angular to 1.6.5. 2017-07-05 16:17:53 -04:00
FelisCatus
2b05317813 Bump version to 2.4.13. 2017-07-05 16:02:09 -04:00
FelisCatus
852e811f5a Update angular to 1.6.4, which breaks a lot of things. 2017-06-10 13:47:53 -04:00
FelisCatus
22f52125d7 Remove hack for HTTP / HTTPS proxy types since they work now. Fix #1062. 2017-06-01 01:57:52 -04:00
FelisCatus
1b524ea326 Bump version to 2.4.11. 2017-06-01 01:11:01 -04:00
FelisCatus
d2d9d69eb6 Properly document the issues with MOZ proxy return values. #1062. 2017-06-01 01:10:35 -04:00
FelisCatus
ab6425371c Use minified version for libraries where possible. 2017-06-01 01:10:35 -04:00
FelisCatus
b9ff15a875 Add options_ui for options page. 2017-06-01 01:10:35 -04:00
FelisCatus
7e9bafb9a9 Remove ftp scheme from permissions (unrecognized by Firefox). 2017-06-01 01:10:35 -04:00
FelisCatus
4b38034536 Disable PAC support for webext and remove unsafe-eval. 2017-06-01 01:10:35 -04:00
FelisCatus
4dca36a45f Fix SOCKS5 servers. 2017-06-01 01:10:35 -04:00
FelisCatus
f421810959 Implement proxy script for WebExtensions. #102. 2017-06-01 01:10:35 -04:00
FelisCatus
d65c29f34d Ignore about: and moz- URLs in a few places. 2017-06-01 01:10:35 -04:00
FelisCatus
35cdb7ed6b Use browser.downloads.download to export files if available. 2017-06-01 01:10:35 -04:00
FelisCatus
8d040f9402 Adapt to browser.storage if available. Disable proxy for now.
Added feature detection for some other chrome.* APIs.
2017-06-01 01:10:35 -04: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
f68c54fbae Fix getPageInfo error when request monitor is disabled. 2017-03-18 10:10:33 -07:00
FelisCatus
823d66b00e Do not refresh active tab if disabled. Fix #1022. 2017-03-17 18:18:38 -07:00
FelisCatus
9d71c91634 Add a mini-popup page with the menu only.
This allows the popup to load faster for most cases. If advanced
features are used, the user will be redirected to the full popup page.
2017-03-15 19:01:06 -07:00
FelisCatus
bdb24d9c88 Bump version to 2.4.3. 2017-03-11 23:50:32 -05:00
FelisCatus
d5bce8153e Add about page. Fix #1008. Fix #298. 2017-03-11 21:35:35 -05:00
FelisCatus
80b668a47e Do not modify the update URL if it contains a query string. Fix #1000. 2017-03-01 01:26:21 -05:00
FelisCatus
31a39397c3 Bump version to 2.4.2. 2017-03-01 01:16:03 -05:00
FelisCatus
0f61f18c91 Retry setting icon with legacy sizes if it fails. Fix #1003. 2017-03-01 00:45:42 -05:00
FelisCatus
cc95e49b6f Support legacy sizes for the action icon. Fix #1003. 2017-03-01 00:26:19 -05:00
FelisCatus
da7d258e2e Bump version to 2.4.0. 2017-02-26 20:54:04 -05:00
FelisCatus
e8ad1a4a4b Log error when drawing icon once for debugging. 2017-02-26 20:46:25 -05:00
FelisCatus
e0d400cc8f Do not setIcon if icon cannot be drawn. Fix #715. 2017-02-26 20:40:25 -05:00
FelisCatus
964155ed36 Use action icons with no padding for browser action. #803 2017-02-26 20:18:54 -05:00
FelisCatus
a335a6d555 Try to draw action icons of size 16, 24, 32. #803. 2017-02-26 03:13:04 -05:00
FelisCatus
56db37d4d9 Update canvas drawing algorithm with larger icon. Fix #803. 2017-02-26 02:45:45 -05:00
FelisCatus
bf3df2b707 Handle IPv6 address brackets correctly in bypass list. Fix #998. 2017-02-26 00:57:43 -05:00
FelisCatus
f602511c58 Start working on 2.3.23. 2017-01-10 17:52:01 -08:00
FelisCatus
87c6cd4e69 Start working on 2.3.22. 2016-10-26 11:09:04 -04:00
FelisCatus
9b8de4c582 Add URL reference back to options class. Fix #908. 2016-10-26 10:50:30 -04:00
FelisCatus
120da442ee Start working on 2.3.21. 2016-10-26 00:32:42 -04:00
FelisCatus
7b0a9e9333 Try to bypass cache when using Download Profile Now button. Fix #886. 2016-10-25 01:17:18 -04:00
FelisCatus
fcb063a464 Check profile update content and improve error messages. Fix #159, #903. 2016-10-25 01:09:24 -04:00
FelisCatus
f658ef9e6c Trim profile name when upgrading from SwitchySharp. Fix #778 2016-05-26 13:58:54 +08:00
FelisCatus
8e11e388f8 Start working on 2.3.20. 2016-03-17 21:59:29 +08:00
FelisCatus
1e7a507e92 Start working on 2.3.19. 2016-03-17 21:44:19 +08:00
FelisCatus
5090ebf323 Add WeekdayCondition and TimeCondition to omega-web. Fix #513. 2016-03-17 21:10:48 +08:00
FelisCatus
45a8ad2f15 Convert proxy.host to lowercase for ProxyAuth matching. Fix #727. 2016-03-17 16:31:23 +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
72f8499e98 Remove useless omega-i18n copy task. 2016-03-17 13:54:37 +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
fe50d76ce5 Start working on 2.3.18. 2016-03-08 16:30:57 +08:00
FelisCatus
b558f8d724 Start working on 2.3.17. 2015-09-07 18:45:47 +08:00
FelisCatus
a5a7d6ddae Start working on 2.3.16. 2015-06-18 12:36:20 +08:00
FelisCatus
f0e266a524 Enable fa locale for the Chromium Extension. 2015-06-18 12:35:50 +08:00
FelisCatus
50e18fc63c Start working on 2.3.15. 2015-05-29 21:11:32 +08:00
FelisCatus
a7fa690e94 Change <local> to OmegaPac.Conditions.localHosts in Chromium. Fix #443.
This works around the issue where Chromium incorrectly bypasses all IPv6
address literals when given <local> in bypass list. See #443.
2015-05-28 17:34:15 +08:00
FelisCatus
97de45e892 Move report issue and error log to browserAction context menu.
Also adds context menu item for toggling Quick Switch. Fix #464.
The context menu can be opened by right-clicking the browserAction icon.
2015-05-28 16:56:23 +08:00
FelisCatus
8f71270f1d Fix a bug where failed resources cannot be added as rules in some cases.
currentProfileCanAddRule is now correctly set regardless of page info.

Parse URLs like `chrome://errorpage/?lasturl=` in some browsers. Fix #365.
2015-05-28 14:48:50 +08:00
FelisCatus
807fad5449 Start working on 2.3.14. 2015-05-22 22:06:50 +08:00
FelisCatus
622fd2a4d4 Ignore 127.0.0.1 in web request monitor. Fix #474. 2015-05-22 22:00:23 +08:00
FelisCatus
50df9452ef Copy proxy settings for different schemes instead of reusing. Fix #468. 2015-05-22 21:36:29 +08:00
FelisCatus
c631021cbd Start working on 2.3.12. 2015-04-19 19:53:23 +08:00
FelisCatus
eb8c0b99d8 Handle cases where sync storage is not available. Fix #406. 2015-04-19 19:21:29 +08:00
FelisCatus
fd2801dcfc Start working on 2.3.11. 2015-04-04 18:07:28 +08:00
FelisCatus
53aba6b0ea Handle error when getting a tab that no longer exists. Fix #382. 2015-04-04 17:05:07 +08:00
FelisCatus
974ef69912 Fix memory leak with extension messaging Port. Fix #383. 2015-04-04 16:59:50 +08:00
FelisCatus
2c0da64630 Start working on 2.3.10. 2015-03-14 19:10:36 +08:00
FelisCatus
dab98bb943 Allow clearing remote copy of options in sync storage. Fix #282. 2015-03-14 16:30:26 +08:00
FelisCatus
6781d8c0f8 Start working on 2.3.9. 2015-02-28 13:58:49 +08:00
FelisCatus
16012e355a Remove debugging console.log from web request monitor. Sorry. 2015-02-28 01:00:14 +08:00
FelisCatus
b650ab31b6 Don't count timeoutAbort in obsolete main_frame as errors. 2015-02-28 00:59:37 +08:00
FelisCatus
61856d5eae Refactor WebRequestMonitor#summarizeError, improving efficiency. 2015-02-28 00:59:37 +08:00
FelisCatus
5a7e365896 Add a hard limit on the number of requests tracked per tab. Fix #296. 2015-02-28 00:59:37 +08:00
FelisCatus
2793d5efca Ignore incomplete chunked encoding error in request monitor. Fix #312. 2015-02-28 00:59:37 +08:00
FelisCatus
5e626e8f03 Start working on 2.3.8. 2015-02-27 19:36:05 +08:00
FelisCatus
0ae0ae6e25 Enable cs locale for the Chromium Extension. 2015-02-27 19:36:05 +08:00
FelisCatus
9b18d3194a Fix redirect detection of data: and about: URLs. Fix #293. 2015-02-18 20:05:57 +08:00
FelisCatus
c617f80ea7 Start working on 2.3.7. 2015-02-18 13:52:15 +08:00
FelisCatus
4b70c2df73 Bump version to 2.3.6. 2015-02-18 11:35:50 +08:00
FelisCatus
11749c28fc Improve web request error detection and set badge for updated tabs. 2015-02-18 11:30:00 +08:00
FelisCatus
806f3215e8 Try to use base domain names when adding conditions. Fix #276. 2015-02-17 22:43:08 +08:00
FelisCatus
62133c2d7c Add web request monitor and network error based conditions. Fix #6. 2015-02-17 22:42:33 +08:00
FelisCatus
cc526b819f Add grunt task for compiling gettext PO files for Chromium Extensions. 2015-02-15 21:26:06 +08:00
FelisCatus
83348e6f23 Start working on 2.3.5. 2015-02-14 14:23:52 +08:00
FelisCatus
2422487549 Use && instead of ; for building on Windows. Fix #214. 2015-02-14 12:57:52 +08:00
FelisCatus
3330d54db2 Start working on 2.3.4. 2015-02-11 19:24:52 +08:00
FelisCatus
2f6e9dc280 Disable profile syncing if quota exceeded in sync storage. Fix #272. 2015-02-11 15:29:47 +08:00
FelisCatus
5b27fe9c9b Start working on 2.3.3. 2015-02-11 11:17:27 +08:00
FelisCatus
2d81daa563 2.3.2 Release. 2015-02-09 21:42:46 +08:00
FelisCatus
a54e02b503 Discard reply when applying profile in popup menu.
This would make profile switching appear to be much faster especially
for compiled profiles. Fix #211.
2015-02-09 16:35:14 +08:00
FelisCatus
674f501ada Ignore empty data in profile update. 2015-02-09 11:43:41 +08:00
FelisCatus
6e7b5150c1 Fix a null error for _defaultAction in ChromeTabs. 2015-02-04 12:17:58 +08:00
FelisCatus
49d434b481 Add help and configuration for keyboard shortcut. 2015-02-03 13:44:28 +08:00
FelisCatus
497918e260 2.3.1 Release. 2015-01-30 21:35:04 +08:00
FelisCatus
a496d991ba Support proxy username/password for PacProfile. Fix #190. 2015-01-30 21:30:48 +08:00
FelisCatus
fa66421640 Add 39px icon drawing for browserAction. Fix #41. 2015-01-30 20:16:53 +08:00
FelisCatus
00000e51a6 Bump version to 2.3.0. 2015-01-23 20:05:24 +08:00
FelisCatus
29bebd458c Refactor Options constructor into loadOptions and init methods. 2015-01-22 23:33:26 +08:00
FelisCatus
a145d4f6a5 Add options syncing (using chrome.storage.sync). 2015-01-22 19:25:49 +08:00
FelisCatus
08777f06b3 Start working on 2.2.14. 2015-01-16 20:47:50 +08:00
FelisCatus
54eaf96634 Change npm dev script to use two-step npm link. 2015-01-14 18:28:28 +08:00
FelisCatus
297775ca4f Start working on 2.2.13. 2015-01-11 14:19:25 +08:00
FelisCatus
f8fd10fca8 Start working on 2.2.12. 2015-01-02 21:52:38 +08:00
FelisCatus
2e0e58a42f Start working on 2.2.11. 2015-01-01 22:34:51 +08:00
FelisCatus
8e56c4f883 Implement rule list exporting. Fix #99. 2015-01-01 21:25:08 +08:00
FelisCatus
ca71a9a7d9 Try to revert proxy settings if possible. Fix #140. 2015-01-01 20:18:20 +08:00
FelisCatus
d44a52b593 Start working on 2.2.10. 2014-12-27 19:25:55 +08:00
FelisCatus
811be9102f Change profile icon drawing scheme. Fix #109. See also #107. 2014-12-27 19:20:36 +08:00
FelisCatus
1c9ac7fe71 Start working on 2.2.9. 2014-12-22 19:41:06 +08:00
FelisCatus
73886642bf Add option to enable/disable inspection in context menu. Fix #83. 2014-12-22 19:34:45 +08:00
FelisCatus
35ba0c2253 Start working on 2.2.8. 2014-12-20 14:03:01 +08:00
FelisCatus
a3df567b4d Disable inspectPage for now. 2014-12-20 13:00:59 +08:00
FelisCatus
bcce56320c Fix a few compatibility issue with upgrade. Fix #81, #80 2014-12-20 12:52:22 +08:00
FelisCatus
c4c8971b8e Start working on 2.2.7. 2014-12-19 23:39:49 +08:00
FelisCatus
6d02c442fd Add context menu for inspecting elements. Fix #11. 2014-12-19 23:37:47 +08:00
FelisCatus
b3fada8fac Attach last error message when using the Report Issue link. 2014-12-19 21:27:17 +08:00
FelisCatus
4fa13c686d Add a default shortcut key for browser action. 2014-12-19 21:00:19 +08:00
FelisCatus
44f4644905 Start working on 2.2.6. 2014-12-18 23:10:01 +08:00
FelisCatus
1ccdff1d7b ASCII-encode pacScript for PAC profiles. 2014-12-18 19:44:35 +08:00
FelisCatus
cee374833f Start working on 2.2.5. 2014-12-18 19:43:44 +08:00
FelisCatus
6918abb5b2 Initialize revision of the rulelist profile on upgrade. 2014-12-16 19:51:16 +08:00
FelisCatus
f5789f7fda Ignore empty proxy change details. 2014-12-16 18:45:57 +08:00
FelisCatus
ba8af9f05b Begin to work on 2.2.4. 2014-12-16 18:45:57 +08:00
FelisCatus
e8156da5a3 2.2.3 Release. 2014-12-15 21:12:14 +08:00
FelisCatus
bae39a247c Add Proxy Authentication. Fix #2. 2014-12-11 18:52:09 +08:00
FelisCatus
777ad1c808 2.2.2 Release. 2014-12-06 20:41:14 +08:00
FelisCatus
34f18891ef Use pacScript if possible to avoid downloading pacUrl again. 2014-12-06 20:39:19 +08:00
FelisCatus
7fb69c7cda Add externalApi (cross-extension messaging) support. 2014-12-06 20:34:49 +08:00
FelisCatus
c34e9423f6 2.2.1 Release. 2014-11-28 22:54:08 +08:00
FelisCatus
d16f4a0266 Update SwitchySharp extension id to the one used in CWS. 2014-11-28 22:52:12 +08:00
FelisCatus
ce8d501b0a 2.2.0 Release. 2014-11-28 20:45:57 +08:00
FelisCatus
e2133b3962 Show options page on first run. 2014-11-28 20:45:20 +08:00
FelisCatus
17427ae13f Fix a few issues related to upgrading. 2014-11-27 19:59:03 +08:00
FelisCatus
d8d54f4b43 Add a first-run guide which covers basic usage for options. 2014-11-27 19:36:51 +08:00
FelisCatus
b9d1e27578 2.1.18 Release. 2014-11-13 12:10:37 +08:00
FelisCatus
dd2aff93bc Fix infinite loop in cross-extension messaging. Fix #58. 2014-11-13 12:10:32 +08:00
FelisCatus
a9cf497d81 2.1.17 Release. 2014-11-13 00:48:00 +08:00
FelisCatus
f890993ad6 Fetch options from SwitchySharp if supported. 2014-11-12 23:40:00 +08:00
FelisCatus
c30b3cf8d7 2.1.16 Release. 2014-11-07 17:33:17 +08:00
FelisCatus
51be2b9ff2 Force extension public key (and thus ID) during development. 2014-11-07 16:39:07 +08:00
FelisCatus
a1cb3a9b37 Remove the download failed warning for now. 2014-11-07 16:08:13 +08:00
FelisCatus
144b213348 Migrate UrlWildcard to HostWildcard if possible on upgrade. 2014-11-07 16:06:03 +08:00