Commit Graph

7600 Commits

Author SHA1 Message Date
Raymond Hill 64a82880dc
Make Firefox dev build auto-update 2020-04-16 09:35:58 -04:00
Raymond Hill 08be3a0558
Add CDN URLs for "uBlock filters -- Unbreak" 2020-04-16 09:03:29 -04:00
Raymond Hill bc62892928
New revision for dev build 2020-04-16 08:53:33 -04:00
Raymond Hill 54b68ebd94
Fine tune various visuals
Related feedback:
- e917213e81 (commitcomment-38533349)
2020-04-16 08:49:34 -04:00
Raymond Hill 0bcf04d3dd
Centralize access to browser.storage.local('localStorage')
Related commit:
- 2ac288397c

Instead of having the `localStorage` data being accessed
from different locations, all accesses are now funnelled
to the main process.

Doing so simplifies the code in auxiliary processes and
also remove the need for browser.storage.local.onChanged()
listeners.

No longer using an onChanged() listener also happens to
remove spurious warnings from the Firefox console.
2020-04-15 15:55:29 -04:00
Raymond Hill 572750584c
Make Firefox dev build auto-update 2020-04-15 10:40:26 -04:00
Raymond Hill 9ca43e186e
New revision for dev build 2020-04-15 10:36:15 -04:00
Raymond Hill 1de0e820b8
Replace requestAnimationFrame-if.js with no-requestAnimationFrame-if.js
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/981

To be consistent with no-setTimeout-if.js.

requestAnimationFrame-if.js is deprecated and must no longer be
used, it will be removed in the near future when it's no longer
in use in default filter lists.

no-requestAnimationFrame-if.js is aliased to norafif.js.
2020-04-15 10:06:53 -04:00
Raymond Hill 042935b22a
Ensure element picker's height is not affected by web sites
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/987
2020-04-15 09:46:12 -04:00
Raymond Hill ea87ccfa0d
Make Firefox dev build auto-update 2020-04-14 18:32:13 -04:00
Raymond Hill 64ef9cec5b
New revision for dev build 2020-04-14 11:59:35 -04:00
Raymond Hill efa3c140ab
Fix typo in last commit
Related commit:
- 36711a7c07
2020-04-14 11:57:59 -04:00
Raymond Hill 676fff6843
Make Firefox dev build auto-update 2020-04-14 09:27:21 -04:00
Raymond Hill e11c59e310
New revision for dev build 2020-04-14 09:20:26 -04:00
Raymond Hill 8c1a055bfe
Import translation work from https://crowdin.com/project/ublock 2020-04-14 09:19:31 -04:00
Raymond Hill b20e33ff18
Fine tune CSS to restore intended visuals on fenix 2020-04-14 09:15:36 -04:00
Raymond Hill 36711a7c07
Fix `denyallow` thrown away with pure hostname patterns 2020-04-14 09:10:59 -04:00
Raymond Hill ab324b1374
Make Firefox dev build auto-update 2020-04-13 16:51:04 -04:00
Raymond Hill a399676664
New revision for dev build 2020-04-13 16:42:44 -04:00
Raymond Hill 7f55e5d54d
Fine tune CSS and fix CSS regressions in last commit
Related commit:
- e917213e81

Specifically, intended font size was no longer
set properly for mobile in popup panel.
2020-04-13 16:40:12 -04:00
Raymond Hill 051cb27f9b
Fix syntax highlighting of line continuation
Thix fixes an exception being thrown when the
line being continued is the last one.
2020-04-13 14:26:17 -04:00
Raymond Hill 94935a4b9e
Pure origin filters can't have `denyallow` option
This fixes filters of the form:

  *$[...],denyallow=[...],domain=[...]
  |http://$[...],denyallow=[...],domain=[...]
  |https://$[...],denyallow=[...],domain=[...]
2020-04-13 14:22:21 -04:00
Raymond Hill 415035b42d
Make Firefox dev build auto-update 2020-04-13 09:41:08 -04:00
Raymond Hill b5d8b0a9f0
Import translation work from https://crowdin.com/project/ublock 2020-04-13 09:31:22 -04:00
Raymond Hill a0465c93a0
new revision for dev build 2020-04-13 09:27:24 -04:00
Raymond Hill e917213e81
Sixth pass to re-design the dashboard
Related commits:
- 0662767dd6
- 99b2a0a761
- a8e3118fea
- 453f5450b6
- a45a21f337

This commit focuses on implementing the use of
CSS `var(...)` throughout so as to make it easy
to create themes -- a requirement for uBO to
support a dark theme.

There is still work to do regarding converting
uBO's CSS to completely support `var(...)` but
being able to start using theming will help
complete and fine tune CSS `var(...)` support.

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/401
2020-04-13 09:19:58 -04:00
Raymond Hill cb08c978f0
Make Firefox dev build auto-update 2020-04-11 12:00:40 -04:00
Raymond Hill 2b04434fb7
New revision for dev build 2020-04-11 11:53:20 -04:00
Raymond Hill e4065ec05c
Import translation work from https://crowdin.com/project/ublock 2020-04-11 11:41:33 -04:00
Raymond Hill 0662767dd6
Fifth pass to re-design the dashboard
Related commits:
- 99b2a0a761
- a8e3118fea
- 453f5450b6
- a45a21f337

Fine tuned previous work.

Started the use of variable-based color values.
2020-04-11 11:32:43 -04:00
Raymond Hill 1d1f4ce0b9
Make Firefox dev build auto-update 2020-04-10 18:41:12 -04:00
Raymond Hill 9aab96bfda
New revision for dev build 2020-04-10 18:31:20 -04:00
Raymond Hill ebf7ade6b1
Import translation work from https://crowdin.com/project/ublock 2020-04-10 18:27:48 -04:00
Raymond Hill 99b2a0a761
Fourth pass to re-design the dashboard
Related commits:
- a8e3118fea
- 453f5450b6
- a45a21f337

Roughly, the changes in this commit:
- Make it easier to implement a dark theme eventually:
  - Flatten the look of buttons
  - Remove the use of `opacity` style property as a
    color modifier
- Some work toward removing dependency on FontAwesome
  font
2020-04-10 18:17:12 -04:00
Raymond Hill a7dc0de98f
Update kbd shortcuts only if kbd shortcuts pane is enabled
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/386#issuecomment-611806957
2020-04-10 17:25:36 -04:00
Raymond Hill 9e7dd7a2c3
Make Firefox dev build auto-update 2020-04-09 10:15:46 -04:00
Raymond Hill c4652e7af7
Restore old version; just ignore travis spurious warnings
Trying to be nice and mind travis warnings just
broke everything. Whoever who can make sense
of travis build stuff is welcome to fix all this.
2020-04-09 10:04:06 -04:00
Raymond Hill 5d5545e733
Attempt to unbreak after last changes... 2020-04-09 09:58:57 -04:00
Raymond Hill 4ca602e9dc
Attempt to unbreak after last changes 2020-04-09 09:55:32 -04:00
Raymond Hill bc500a5fe8
New revision for dev build 2020-04-09 09:37:23 -04:00
Raymond Hill b1cf3c46a7
Import translation work from https://crowdin.com/project/ublock 2020-04-09 09:36:34 -04:00
Raymond Hill a8e3118fea
Third pass to re-design the dashboard
Related commits:
- 453f5450b6
- a45a21f337

This commit fixes parts of the re-design not
rendering as intended as per <https://github.com/brampitoyo>'s
feedback screenshots.

The dashboard tab buttons have been converted to
`span` tags (from `a` tags), thus eliminating
the unwanted side effect of the text being
rendered as unvisited links (blueish).

The font size intended for touch screens was not
taking effect due to bad cut & paste.

Other minor adjustments to improve consistency
in spacing.
2020-04-09 09:20:29 -04:00
Raymond Hill 923e9fd8f6
Fix travis config file to eliminate warnings 2020-04-09 09:19:53 -04:00
Raymond Hill c17afddb28
Make Firefox dev build auto-update 2020-04-08 11:00:53 -04:00
Raymond Hill 6c1d5ccb93
New revision for dev build 2020-04-08 10:30:16 -04:00
Raymond Hill 03739ab96b
Add `minimal-scale` in meta tag 2020-04-08 10:23:40 -04:00
Raymond Hill 5a2e5cfe86
Import translation work from https://crowdin.com/project/ublock 2020-04-08 10:22:38 -04:00
Raymond Hill bf2d38ccf3
Add CDN URLS for `ublock-filters`
Related commit:
- 4687c60bf9
2020-04-08 10:12:50 -04:00
Raymond Hill 4687c60bf9
Support fetching assets from CDNs when auto-updating
This commit add the ability to fetch from CDN servers
when an asset is fetched as a result of auto-update.

If an asset has a `cdnURLs` entry in `assets.json`,
the asset will be auto-updated using one of those
CDN URLs. When many CDN URLs are specified, those
URLs will be shuffled in order to spread the bandwidth
across all specified CDN servers. If all specified CDN
servers fail to respond, uBO will fall back to usual
`contentURLs` entry.

The `cdnURLs` are used only when an asset is
auto-updated, this ensures a user will get the more
recent available version of an asset when manually
updating.

The motivation of this new feature is to relieve
GitHub from acting as a CDN (which it is not) for
uBO -- an increasing concern with the growing adoption
of uBO along with the growing size of key uBO assets.
2020-04-08 09:57:55 -04:00
Raymond Hill 2b5e281c31
Make Firefox dev build auto-update 2020-04-06 14:40:28 -04:00