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

12 Коммитов

Автор SHA1 Сообщение Дата
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
Hanna Jones c9eba769e7
Use external CSS files from .styles.scss source (#5489) 2023-05-16 11:21:56 -07:00
Tasos Katsoulas 6aa67722d1
Configure DefinePlugin 2022-10-14 16:54:19 +03:00
Leo McArdle 0a7ef58935
add high-dpi and webp images 2022-10-14 16:53:50 +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
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 3ee63f0408 configure whitenoise to recognize webpack files 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 4ca5c12e4a replace nunjucks_precompile with webpack loader (#4981)
https://github.com/mozilla/sumo/issues/972
2022-01-06 16:55:27 +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