Leo McArdle
4703755e26
support windows 11 in browserdetect ( #4998 )
...
rewrite BrowserDetect to support multiple detection methods (ua, hints, remote troubleshooting)
rewrite AAQSystemInfo to remove duplicated UA parsing, and rely on BrowserDetect instead
modify RemoteTroubleshooting to use async
remove unused/unusable fields from AAQ config (device and plugins)
https://github.com/mozilla/sumo/issues/966
2022-03-15 13:53:42 +00:00
Leo McArdle
5ddcb2c68e
remove globals from eslint config not being used any more
2021-12-17 17:12:18 +00:00
Leo McArdle
97a7514315
fix tests to work with webpack
...
run tests through webpack first, then mocha
reorganise webpack config files
2021-12-17 12:51:02 +00:00
Leo McArdle
8e66941f01
remove showfor from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
a0607bd898
remove Modernizr
2021-12-17 12:51:02 +00:00
Leo McArdle
ac69c6c521
remove rickshaw entrypoint, importing it instead
2021-12-17 12:51:02 +00:00
Leo McArdle
b9e244ed50
remove remoteTroubleshooting from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
031054affa
remove AAQSystemInfo from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
3d078070de
remove Marky from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
5d65503a2a
remove BrowserDetect from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
9355b502a3
remove k from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
f258bc1808
import protocol everywhere it's required
...
move imports into one file to make this easier, currently the design of protocol makes it unfeasible to import a specific module rather than the whole lot
2021-12-17 12:51:02 +00:00
Leo McArdle
1e3f86fa61
remove KBox from the global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
5ce83cf8eb
remove diff_match_patch_uncompressed library from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
dc6c36855b
remove dialogSet from global scope
...
move function into seperate file to avoid circular import
2021-12-17 12:51:02 +00:00
Leo McArdle
763334448f
remove Rickshaw from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
5728bba2a2
remove Mozilla.UITour from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
6d953ef8ea
remove _dntEnabled from global scope
...
update dnt-helper.js from source, move into libs folder
2021-12-17 12:51:02 +00:00
Leo McArdle
6b7aed4f1d
remove URLify from global scope
2021-12-17 12:51:02 +00:00
Leo McArdle
f18c0e9c4d
only import required underscore functions
...
this requires updating the library
2021-12-17 12:51:02 +00:00
Leo McArdle
458e03e275
remove eslint-disable-line comments
2021-12-17 12:51:02 +00:00
Leo McArdle
1446f60f9c
lint js for various import related rules, add to pre-commit
2021-12-17 12:51:02 +00:00
Leo McArdle
4dbcc061b1
update eslint to support es2021 syntax
2021-12-17 12:51:02 +00:00
Leo McArdle
4b6326c378
remove moment.js from webpack ( #4856 )
...
https://github.com/mozilla/sumo-project/issues/921
2021-08-04 12:38:45 +01:00
Leo McArdle
8c774bec27
expose globals in webpack
...
this should get our js working properly
over time we can go through and remove these vars from the global scope,
instead importing them only in the files they're needed,
and take full advantage of what webpack has to offer
2021-07-12 16:37:48 +01:00
Leo McArdle
17ca00e233
use eslint to find globals we need to add to webpack ( #4826 )
...
fix some js not using var where it should
2021-06-21 13:08:36 +01:00