Update officejs support request app for strict CSP
This is a first step to stop using "unsafe" web sections. This updates support request app to not require `script-src: unsafe-eval` and `style-src: unsafe-inline` in the CSP. Dropping `script-src: unsafe-eval` is made possible by using domsugar instead of handlebars for dynamic content. Dropping `style-src: unsafe-inline` by using CSS files instead of inline `style` attributes in the DOM. One minor regression is that the tooltips from the graph on the front page gadget will cause warning because of `unsafe-inline` and not render the series color. This application was also modernized a bit, it now uses the HTML viewer gadget to display post contents and supports translation. See merge request !1821
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#609543
external
|
ERP5.CodingStyleTest-Master |
05:03:57
|
||||||
failed |
#609551
external
|
ERP5.PerformanceTest-Master |
03:39:57
|
||||||
passed |
#609546
external
|
ERP5.UnitTest-Master |
04:50:56
|
||||||
failed |
#609545
external
|
ERP5.UnitTest-Zope2 |
08:21:35
|
||||||
passed |
#609580
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
02:54:49
|
||||||
passed |
#609593
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
03:43:05
|
||||||
passed |
#609602
external
|
Wendelin.UnitTest-Master |
04:31:00
|
||||||
failed |
#609565
external
retried
|
Wendelin.UnitTest-Master |
00:39:13
|
||||||