Commit Graph

24 Commits

Author SHA1 Message Date
hensm
59dc806d31 Remove experimental media overlay 2022-04-15 07:50:57 +01:00
hensm
d7592d5806 Remove remaining native receiver selector code 2022-03-15 06:27:53 +00:00
hensm
41d8edcab4 prettier: Re-format .ts files 2021-08-31 08:28:23 +01:00
hensm
ab00bcdd6a Remove native receiver selector 2021-05-26 17:40:46 +01:00
hensm
d478742c4b Switch to eslint and fix issues 2021-04-26 05:36:55 +01:00
hensm
2fa49298ee Fix weird whitespace 2021-04-25 06:42:51 +01:00
hensm
15c6b66dee Remove storage onChanged listener on unload to fix console spam 2021-04-25 05:16:23 +01:00
hensm
18204f225f Add restricted whitelist mode 2020-06-28 00:14:36 +01:00
hensm
ff0847441b Add daemon host extension option 2020-03-26 20:13:00 +00:00
hensm
78d8516287 Add options to switch bridge backup WebSocket server port 2020-02-26 16:31:18 +00:00
hensm
2eeaff4c15 Add typed messaging 2020-02-18 07:37:20 +00:00
hensm
14999a4f57 TSLint compliance 2020-02-15 06:06:57 +00:00
hensm
f2bb46d7c4 Add option to enable/disable the backup bridge daemon connection 2020-01-23 16:46:45 +00:00
hensm
7f84b90431 Enable strict mode for extension build 2020-01-23 00:58:33 +00:00
hensm
164cde97bb Add missing options type 2020-01-13 20:20:24 +00:00
hensm
d1dd2b188c Add TypedStorageArea 2019-09-30 10:40:53 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
hensm
8c9ac7b1d5 Move some background modules to a separate folder and fix init order 2019-07-28 06:18:13 +01:00
hensm
36b391606a Update all dependencies 2019-07-28 03:22:02 +01:00
hensm
a046ba9022 Add options checks for waitForConnection and closeIfFocusLost 2019-07-26 03:39:13 +01:00
hensm
b213a8d85c Fix missing options 2019-07-26 00:14:47 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
fc4f2d2e81 Move options update handling to lib/options module 2019-05-18 11:53:20 +01:00
hensm
964f54a06b Add lib/options module for typed/easier options storage access 2019-05-17 14:53:43 +01:00