30 Commits

Author SHA1 Message Date
Nils Maier
2126ae022b Move preroller to it's own class 2019-09-07 18:27:31 +02:00
Nils Maier
c586cd00cc Switch to @Rob--W's CD parser
I "cleaned" up the library according to my personal preferences.
I tend to do this because in the process I need to develop a deeper
understanding of the code, and not because there was nothing wrong
with it.
I deeply appreciate the work that went into creating this library
and releasing it open source 👍

Closes #72
2019-09-07 10:22:09 +02:00
Nils Maier
ee7f470269 Use ranges in preroll to avoid large downloads
This will effectively request the first 2 bytes from a server?
Why 2 bytes? Because a lot of servers are broken when bytes=0-0

Related to #70
2019-09-06 21:56:00 +02:00
Nils Maier
071458e262 Switch preroll to GET
Fixes #70
2019-09-06 20:42:00 +02:00
Nils Maier
2d1f185fcd Disable shelf in chrome
We cannot just disable it for our downloads (reliably)
so disable it completely while we're running.
2019-09-05 07:40:17 +02:00
Nils Maier
216bc590da Do not forget about 405 - Method not allowed 2019-09-04 21:34:52 +02:00
Nils Maier
1c10d8005a Improve PREROLL based on user feedback 2019-09-04 21:27:03 +02:00
Nils Maier
be18f667d9 Trigger the saveQueue before reload 2019-09-04 14:48:35 +02:00
Nils Maier
027b2c4fb1 Saving after preroll may have cause dupes 2019-09-04 14:48:35 +02:00
Nils Maier
2c18ddaaa8 Increase shelf timeout 2019-09-04 14:15:06 +02:00
Nils Maier
994e7ad0a6 Do not wait on downloads to finish prerollling 2019-09-04 14:15:06 +02:00
Nils Maier
95536b36be Do not attempt to restart bg complete 2019-09-04 14:15:06 +02:00
Nils Maier
9c159d5d24 Do not wait for the scheduler on startup 2019-09-04 14:15:06 +02:00
Nils Maier
42ccfd5dc5 Do not abuse serverName to store browserName 2019-09-04 14:15:05 +02:00
Nils Maier
dabf7f8a28 Prerolling and mime detection for some downloads
Only attempt this for a limited subset of downloads for now.
Related #45
2019-09-04 14:15:05 +02:00
Nils Maier
ef6bc840d8 Do not trace 2019-09-04 14:15:00 +02:00
Nils Maier
5a4b8143b2 Remove some any-types 2019-09-03 18:18:07 +02:00
Nils Maier
164aa99eca Initial Chrome support
Part of #35
2019-09-02 18:05:06 +02:00
Nils Maier
0a9155dcec Implement system icons
Closes #44
2019-09-02 14:52:14 +02:00
Nils Maier
d4024a16ad Delay updates while queue is running
Closes #42
2019-09-02 13:16:39 +02:00
Nils Maier
544b7d522c less of any 2019-08-26 19:50:06 +02:00
Nils Maier
7bfffd7598 Rely on startNext to invoke maybeNotifyFinished
Closes #6
2019-08-24 06:34:37 +02:00
Nils Maier
d3c9f8bc89 send Referer-s
Clsoes #7
2019-08-24 02:52:04 +02:00
Nils Maier
4236195ccf Remove the dta tag header 2019-08-24 00:59:45 +02:00
Nils Maier
10ff6f1c11 Set error text when failure to fly 2019-08-24 00:56:41 +02:00
Nils Maier
b0ba8073fc Set error string when failing early 2019-08-21 16:33:07 +02:00
Nils Maier
6b07fa2d08 Handle missing-on-init 2019-08-21 16:15:31 +02:00
Nils Maier
99f7bfcf0a move missing checks into init 2019-08-21 15:46:39 +02:00
Nils Maier
1513f0b022 Fix some typescript issues 2019-08-21 00:16:07 +02:00
Nils Maier
c1e0d7f531 Initial squashed commit 2019-08-20 16:41:37 +02:00