Commit Graph

49 Commits

Author SHA1 Message Date
hensm
14999a4f57 TSLint compliance 2020-02-15 06:06:57 +00:00
hensm
4d6e59ec68 Replace legacy UA with hybrid Firefox/Chrome UA 2020-02-11 01:21:44 +00:00
hensm
5e4c8d20f4 Allow empty frame ID when opening receiver selector from tools menu 2020-01-30 23:28:49 +00:00
hensm
c676184898 Implement receiver action listeners 2020-01-26 16:05:36 +00:00
hensm
741379ca72 Add match patterns to knownApps 2020-01-26 14:11:34 +00:00
hensm
f2bb46d7c4 Add option to enable/disable the backup bridge daemon connection 2020-01-23 16:46:45 +00:00
hensm
f6e09ca687 Replace remaining console calls with logger calls 2020-01-23 01:14:57 +00:00
hensm
7f84b90431 Enable strict mode for extension build 2020-01-23 00:58:33 +00:00
hensm
81fc98dcc6 Add app launch path to loadSender 2020-01-16 01:36:00 +00:00
hensm
c522343eb8 Fix media casting handling unified receiver selector 2020-01-14 05:02:59 +00:00
hensm
d4f71e7dcf Unify receiver selector launching and allow switching to app media type 2020-01-14 02:56:53 +00:00
hensm
a23ae9efa8 Show app name in receiver selector if known based on app ID 2020-01-13 23:12:09 +00:00
hensm
164cde97bb Add missing options type 2020-01-13 20:20:24 +00:00
hensm
d65c607479 Implement initial media overlay 2020-01-12 12:08:29 +00:00
hensm
b3b14f782d Remove obsolete restricted hosts 2019-09-30 19:28:56 +01:00
hensm
aa10be339b Refine page media type availability 2019-09-30 11:24:02 +01:00
hensm
d1dd2b188c Add TypedStorageArea 2019-09-30 10:40:53 +01:00
hensm
14d3b2c833 Fix unused parameters 2019-08-16 21:12:44 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
hensm
fa966cac4e Simplify stringify util function 2019-08-16 07:36:14 +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
9e196465e5 Allow mediaCast sender to run in background context 2019-07-27 07:57:49 +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
c16566cfad Add bridge application name to options storage 2019-05-17 15:03:27 +01:00
hensm
964f54a06b Add lib/options module for typed/easier options storage access 2019-05-17 14:53:43 +01:00
Matt Hensman
474dbad1aa Add snap support (#60)
* Initial app daemon implementation

* Pass script path to child bridge processes

* Change WebSocket server port

* Fix error sending message whilst WebSocket connection is closing

* Initial ext daemon connection implementation
2019-05-15 11:30:30 +01:00
hensm
11f87d20ae TSLint compliance 2019-04-10 06:53:18 +01:00
hensm
7a36160bf2 Add additional type info to messageRouter 2019-04-10 05:34:17 +01:00
hensm
d0129f66b7 Fix __onGCastApiAvailable being called early 2019-03-21 14:37:36 +00:00
hensm
0449e3cdf3 TSLint compliance 2019-03-19 16:30:37 +00:00
hensm
410d6a267b Remove compat scripts and move API URL redirection to contentSetup 2019-03-14 09:42:00 +00:00
hensm
870a759251 Redirect cast extension chrome-extension:// URLs to regular API URL 2019-03-13 07:51:38 +00:00
hensm
8cef999afb Convert ext lib to typescript 2019-02-27 16:46:09 +00:00
hensm
3ea943c509 Convert ext main.js -> main.ts 2019-02-26 19:28:52 +00:00
hensm
b7571791e2 Switch from babel to typescript for initial ext conversion 2019-02-25 14:34:27 +00:00
hensm
db7edb70bb Message response doesn't need to be in message format 2019-02-24 17:33:13 +00:00
hensm
48c5a21e98 Move window centering to utils 2019-02-15 08:21:54 +00:00
hensm
98bd2f2ab3 Replace downloads list with updater tool 2019-02-14 05:00:03 +00:00
hensm
d4d55ea59e Add bridge downloads to options page 2019-02-12 09:06:57 +00:00
hensm
da17c6df0d Change message subject format and rename some messages 2019-02-11 18:52:01 +00:00
hensm
e42766097f Check bridge compat before initializing cast shim 2018-12-13 19:50:47 +00:00
hensm
771233040f Add semver compatibility checking 2018-12-12 20:27:30 +00:00
hensm
c24c6412c0 Add bridge debug info to options page 2018-12-11 23:11:01 +00:00
hensm
b63ddb9df9 Remove obsolete lib directory 2018-06-09 12:03:55 +01:00
hensm
d815fb7af0 Initial commit 2018-06-08 04:56:02 +01:00