111 Commits

Author SHA1 Message Date
Nils Maier
9ffc96de4d Purge ourselves from history and sessions
Closes #66
2019-09-06 09:57:24 +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
9cac48f439 Make all tabs work again 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
56098a382e Actually get most recent window 2019-09-03 13:23:00 +02:00
Nils Maier
4d48a2c395 Implement locale switcher 2019-09-03 08:24:29 +02:00
Nils Maier
3cf30aaf08 Use _ version of language codes
Closes #50
2019-09-03 08:24:29 +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
392681c1b7 Fix multi-filters
Closes #43
2019-09-02 13:33:38 +02:00
Nils Maier
d4024a16ad Delay updates while queue is running
Closes #42
2019-09-02 13:16:39 +02:00
Nils Maier
28e6866db8 Use currentWindow instead of WINDOW_ID_CURRENT 2019-09-02 04:06:28 +02:00
Nils Maier
7185964649 emulate must use correct window
Closes #41
2019-09-02 04:02:50 +02:00
Nils Maier
7a71ae5f37 Also split ui locales by _ 2019-09-02 00:24:11 +02:00
Nils Maier
4d72ac4534 Notifications galore 2019-08-31 23:08:12 +02:00
Nils Maier
98ebb160f9 Silence a console.log 2019-08-29 19:37:09 +02:00
Nils Maier
d1cc406f05 select: frontend/backend mappings were out of sync
Closes #27
2019-08-29 19:36:06 +02:00
Nils Maier
a425a786ef Do not log "custom" 2019-08-29 08:14:22 +02:00
Nils Maier
fe61f6176c Load custom translations
Part of #14
2019-08-27 03:02:17 +02:00
Nils Maier
48bde9cfdb Create contextual menus first 2019-08-26 20:43:34 +02:00
Nils Maier
29fd59c8fd Increase recent lists to 15
Because why not?!
Also closes #15
2019-08-26 19:51:30 +02:00
Nils Maier
544b7d522c less of any 2019-08-26 19:50:06 +02:00
Nils Maier
976c57c043 i18n: rely less on exceptions 2019-08-26 02:57:06 +02:00
Nils Maier
572bab27a0 menu handlers are not necessary promises 2019-08-26 02:40:54 +02:00
Nils Maier
8235af22db Implement own locale loader
Why?
* Because i18n sucks multi-browser, especially on Chrome.
* What's more, this will allow overlaying "incomplete" locales with
  missing strings over the base locale and get a semi-translated one,
  which probably is better than nothing.
* Additionally we kinda need that implementation anyway for node-based
  tests.
* Also, while not currently implemented, it could allow (hot) reloading
  of locales, or loading external ones, which would help translators,
  or providing an option to the user to choose a locale.
* And finally, not calling i18n will avoid the "context switch" into
  browserland.

Some implementation details:
* Before code can use a locale, it has to be loaded. Sadly sync loading
  is not really supported. So `await locale` or `await localize`.
* Background force reloads locales right now, and caches them in
  localStorage. Windows will look into localStorage for that cache.
* The locale loader will not verify locales other than some rudimentary
  checks. It is assumed that shipped locales where verified before
  check-in.
2019-08-26 02:37:27 +02:00
Nils Maier
c7c111e1c0 Option to hide contexts
Closes #4
2019-08-25 23:22:47 +02:00
Nils Maier
a9a811d96b Oops 2019-08-25 23:14:54 +02:00
Nils Maier
801eaa819b Egalize menu and popup 2019-08-25 23:01:36 +02:00
Nils Maier
d6539c5f96 Add .custom to newly created filters too 2019-08-25 22:31:20 +02:00
Nils Maier
a89acad0c9 Proper types for localize and $ 2019-08-25 22:30:07 +02:00
Nils Maier
af8b05d20c Allow the browserAction button to be turbo again
Closes #13
2019-08-25 21:31:38 +02:00
Nils Maier
176060183e Select the proper turbo list 2019-08-25 20:55:54 +02:00
Nils Maier
26cd8e8a00 Actually store the last-type 2019-08-25 20:55:44 +02:00
Nils Maier
a9df98c2f6 Overhault fast filter matching
Closes #11
2019-08-25 20:55:26 +02:00
Nils Maier
112d37deb0 Reduce load size of popup 2019-08-25 14:27:54 +02:00
Nils Maier
2f282d3a4b Implement All Tabs actions
Closes #3
2019-08-24 07:30:34 +02:00
Nils Maier
7bfffd7598 Rely on startNext to invoke maybeNotifyFinished
Closes #6
2019-08-24 06:34:37 +02:00
Nils Maier
545d78ad61 Implement a popup menu for the browserAction
Closes #10
2019-08-24 06:28:18 +02:00
Nils Maier
0463471704 It is Port.sender.id these days 2019-08-24 02:52:48 +02:00