Граф коммитов

110 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 3b08bf735c
Replace selectize with tom-select 2024-10-31 13:45:12 +02:00
dependabot[bot] 85fcf965fc
Bump serve-static and browser-sync
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Updates `serve-static` from 1.13.2 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.13.2...v1.16.2)

Updates `browser-sync` from 3.0.2 to 3.0.3
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/changelog.js)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 18:45:56 +00:00
dependabot[bot] 070f57dad5
Bump webpack from 5.76.0 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 10:40:45 +00:00
Ryan Johnson 2576d1f41f
allow articles to have restricted visibility (#5604)
* add ability to restrict visibility of documents

* include visible docs only in documents_for and topics_for

* restrict wiki API by visibility

* update document queries to account for user visibility

* updates to readouts

* use unrestricted instead of visible for weekly review digest

* review revision view should account for visibility

* fix media.documents request in media.html

* restrict based on groups only

* improve article restriction UI with selectize

* adjust UI messages
2024-02-01 08:46:43 -08:00
dependabot[bot] d1c0bc6586
Bump axios and browser-sync
Removes [axios](https://github.com/axios/axios). It's no longer used after updating ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Removes `axios`

Updates `browser-sync` from 2.29.1 to 3.0.2
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v2.29.1...v3.0.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 19:58:02 +00:00
Mathieu Leplatre 34f094f583
Enable endpoints and logging from our Dockerflow standard (#5794)
* Enable endpoints and logging from our Dockerflow standard
2023-11-29 11:11:30 +02:00
dependabot[bot] 36ce705de5
Bump postcss from 8.4.25 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 23:22:14 +00:00
dependabot[bot] bfc5ba15ad
Bump graphql from 16.6.0 to 16.8.1
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 17:48:44 +00:00
dependabot[bot] 80c67e6192
Bump stylelint from 15.1.0 to 15.10.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.1.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.1.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 22:24:17 +00:00
dependabot[bot] 00a3ab353b
Bump nunjucks from 3.2.3 to 3.2.4 (#5443)
Bumps [nunjucks](https://github.com/mozilla/nunjucks) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/mozilla/nunjucks/releases)
- [Changelog](https://github.com/mozilla/nunjucks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mozilla/nunjucks/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: nunjucks
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 10:22:55 -07:00
Ryan Johnson 2ed9536028 upgrade mozilla protocol package 2023-03-29 10:36:40 -07:00
Tasos Katsoulas d5130ce72b
Merge pull request #5424 from mozilla/dependabot/npm_and_yarn/webpack-5.76.0
Bump webpack from 5.75.0 to 5.76.0
2023-03-28 17:48:00 +03:00
dependabot[bot] 84a99a4d79
Bump ua-parser-js and browser-sync
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) to 1.0.34 and updates ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Updates `ua-parser-js` from 1.0.2 to 1.0.34
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/1.0.34/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/1.0.2...1.0.34)

Updates `browser-sync` from 2.27.11 to 2.29.1
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v2.27.11...v2.29.1)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 22:15:37 +00:00
dependabot[bot] 3288cc07c4
Bump webpack from 5.75.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 22:15:26 +00:00
Ryan Johnson 7d4ee22406 update stylelint and stylelint-config-recommended-scss 2023-02-13 11:31:30 -08:00
Ryan Johnson 83bd9db2e5 ensure node version > 18 2023-02-13 10:12:34 -08:00
Ryan Johnson 765eae44d3 upgrade packages 2023-02-13 10:12:34 -08:00
Ryan Johnson 97af90fbc2 update by semver using npm update --save 2023-02-13 10:12:34 -08:00
Ryan Johnson 90259a3ff6 remove react and @babel/plugin-transform-react-jsx 2023-02-09 16:51:59 -08:00
dependabot[bot] cc10a8cd26
Bump qs and browser-sync
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies need to be updated together.


Updates `qs` from 6.2.3 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.2.3...v6.11.0)

Updates `browser-sync` from 2.27.10 to 2.27.11
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v2.27.10...v2.27.11)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 08:44:03 +00:00
Tasos Katsoulas b6dc08a4e2
Introduce urql client 2022-10-14 16:54:19 +03:00
Leo McArdle b05b8eb3b7
add svelte html pre-rendering 2022-10-14 16:53:49 +03:00
Leo McArdle e8d178c936
ensure (s)css is handled properly by svelte (#5023)
involved some re-jigging of our scss files to ensure that unnecessary
bits of css weren't imported into svelte components when attempting to
import mixins or variables, as well as ensure imports are resolvable
by svelte-preprocess
2022-10-14 16:53:49 +03:00
Leo McArdle 3800193c73
svelte scaffolding for contribute pages (#5019) 2022-10-14 16:53:49 +03:00
Tasos Katsoulas ecdae52ff3
Merge pull request #5219 from mozilla/dependabot/npm_and_yarn/nanoid-and-mocha-3.3.1
Bump nanoid and mocha
2022-09-26 13:35:31 +03:00
dependabot[bot] 1882420fd0
Bump engine.io and browser-sync
Bumps [engine.io](https://github.com/socketio/engine.io) and [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies needed to be updated together.

Updates `engine.io` from 3.5.0 to 6.2.0
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/3.5.0...6.2.0)

Updates `browser-sync` from 2.27.7 to 2.27.10
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v2.27.7...v2.27.10)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 14:07:38 +00:00
dependabot[bot] aadcc8ecbb
Bump nanoid and mocha
Bumps [nanoid](https://github.com/ai/nanoid) and [mocha](https://github.com/mochajs/mocha). These dependencies needed to be updated together.

Updates `nanoid` from 3.1.30 to 3.3.1
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

Updates `mocha` from 9.1.3 to 9.2.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.3...v9.2.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 14:07:13 +00:00
smith cdff6d5422
[1079] Upgrade jQuery (#5196)
* [1079] Upgrade jQuery

Upgraded many files to comply with jQuery event listener changes, upgraded to latest jQuery.

* [1079] - Update jQuery

Repaired some find/replace artifacts (errors!!) in six js files.

* [1079] Fix package lock issues

* Removed jquery-migrate

Co-authored-by: Smith Ellis <smitheq@smitheq-42lg75.lan>
2022-08-15 13:00:54 +03:00
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 1458e71103 do gzip and brotli compression in webpack 2022-03-10 15:08:23 +02:00
Leo McArdle f96a54adce
upgrade node to lts, and upgrade dependencies (#4977)
remove unused dependencies
2022-01-11 15:43:26 +00:00
Leo McArdle a582a1a9cd update styleguide to work with webpack
https://github.com/mozilla/sumo-project/issues/894
2021-12-17 13:07:09 +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 a0607bd898 remove Modernizr 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 4ecb30b8ea import jquery (automatically), jquery-ui and jquery plugins
this allows webpack to handle our dependency tree for jquery and jquery-related modules, rather than requiring us to do it manually
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 e25c549972 fix webpack imports in mocha tests
https://github.com/mozilla/sumo-project/issues/895
2021-12-16 11:23:17 +00:00
Leo McArdle af190ca93c optimise png/svg in webpack 2021-12-16 11:23:17 +00:00
Leo McArdle e016a742ba enable loading images from webpack in django 2021-12-16 11:23:17 +00:00
Leo McArdle 3134dec758
Merge branch 'master' into webpack 2021-10-18 13:56:24 +01:00
Tasos Katsoulas f6c6a60bb8
Bump npm packages.
* postcss, locutus, path-parse, color-string
2021-09-02 14:49:59 +03:00
Leo McArdle a5d506f2bc
Merge branch 'master' into webpack 2021-08-04 12:11:20 +01:00
Leo McArdle 6fa71d4ecd
remove moment.js (#4863)
https://github.com/mozilla/sumo-project/issues/921
2021-08-04 11:57:11 +01:00
Leo McArdle 4f0f4dcbf2
update docs to match our new frontend stack (#4860)
https://github.com/mozilla/sumo-project/issues/885
2021-08-04 11:52:54 +01:00
Leo McArdle 6d795dbc6a
remove django-pipeline (#4855)
https://github.com/mozilla/sumo-project/issues/884
2021-07-28 12:32:54 +01:00
Leo McArdle 8b3dd6ce28
fix npm install-related commands (#4845)
prepare_django_assets.js was still referenced in the npm postinstall hook
2021-07-19 16:40:00 +01:00
Tasos Katsoulas 5e4e5bafac
Remove prepare_django_assets script
* Add nvmrc into the project
* Set engines in package.json
2021-07-14 15:21:02 +03:00
Leo McArdle bfcd6bb250
replicate existing postcss setup in webpack (#4840)
https://github.com/mozilla/sumo-project/issues/877
2021-07-13 14:34:23 +01:00