ansuz
c715334616
stub a test on the checkup page
3 years ago
ansuz
45d2eb0267
Merge branch 'soon' of github.com:xwiki-labs/cryptpad into support-categories
...
and include some tweaks for the checkup page
* sort errors above warnings
* improve messages for new tests
3 years ago
ansuz
c111364024
add two new tests to diagnose unavailability of uploaded blocks and blobs
3 years ago
ansuz
1e2a059074
lint compliance
3 years ago
ansuz
7c3d563453
WIP support for customized and translated legal info
3 years ago
ansuz
1a18eafb7f
checkup page improvements
...
* removed a redundant test
* more descriptive error messages
* more useful return values in failed tests
* xhr reuse where possible for faster test completion
* guard against typeerrors caused by undefined CSP
* display server token value in summary if present
3 years ago
ansuz
d781d3bba2
lint compliance
3 years ago
ansuz
6196e81953
WIP checkup tests
3 years ago
ansuz
6a62e28c60
include option upgradeURL CSP in checkup page tests
3 years ago
ansuz
7b6c8b83ef
stricter websocket CSP and tests to match
3 years ago
ansuz
c0686dad99
fix merge conflict
3 years ago
ansuz
19863b8fb0
Merge branch 'soon' into checkup
3 years ago
ansuz
0f46869217
WIP update recommended production CSP values
3 years ago
ansuz
383684d339
add new, very specific tests for CSP to the checkup page
3 years ago
ansuz
cc1137b96b
more WIP checkup
3 years ago
ansuz
ee92ddb813
more WIP checkup
3 years ago
ansuz
2e14e8e930
more WIP checkup
3 years ago
ansuz
f2ead5b588
more WIP checkup
3 years ago
ansuz
d736e22c3b
more WIP checkup
3 years ago
ansuz
876132fc76
more WIP checkup
3 years ago
ansuz
39f1530969
more WIP checkup
3 years ago
ansuz
521097e3ad
more WIP checkup
3 years ago
ansuz
937b0b450f
better checkup test
3 years ago
ansuz
8eefeace43
WIP checkup improvements
3 years ago
ansuz
5835721322
Updated checkup page tests
...
1. check that /api/config is reachable from the sandbox domain
2. check that interest-cohort rules are present rather than strict comparison of expected headers
3 years ago
ansuz
f9be929eb9
check for unnecessarily permissive CSP
3 years ago
yflory
8f0543c3f3
Prepare possible OO migration
3 years ago
ansuz
a2e6f0a1c4
disable outdated tests
3 years ago
ansuz
b8d6af7891
adjust CSP headers for printing from OnlyOffice
...
* allow outer to load resources from the sandbox (for fonts)
* test whether the expected CSP values are present on the checkup page
* simplify the nodejs server a bit
3 years ago
ansuz
04234aa1f4
fix a typo in a class
3 years ago
ansuz
7647a60219
guess OS version on checkup page
3 years ago
ansuz
a20bfbf6c1
lint compliance
3 years ago
ansuz
dd53b6fa72
constrain table width in checkup summaries
3 years ago
ansuz
613868bbde
fix safari-specific warnings in checkup
3 years ago
ansuz
b6cc4ef8cf
test browser-dependent SharedArrayBuffer support in checkup
...
include debugging information in final report
for when browser vendors inevitably break APIs again
3 years ago
ansuz
5f32a38f3e
Merge branch 'soon' into main
3 years ago
ansuz
921da962d0
narrow exceptions for use of localhost in checkup
3 years ago
ansuz
6578b66ba6
convert a warning to an error
3 years ago
ansuz
c774a5d06e
time out if checkup test #7 doesn't call back in 30s
3 years ago
ansuz
3095526066
remove some notes that have been addressed
3 years ago
ansuz
3b44c09bc4
check COOP headers for multiple endpoints
...
and improve some error reporting in the checkup RPC
3 years ago
ansuz
4a147815f6
disable server_tokens test until an easy solution is in place
3 years ago
ansuz
433470cf40
check that server responses don't contain 'Server' headers
...
if they do, check that the server is NGINX.
3 years ago
ansuz
e143873a20
display the currently set FLoC header in the checkup page's warning message.
...
Addresses #757
3 years ago
ansuz
2bd659a9b5
test whether the instance configured to use HTTPS for the main and sandbox domains
3 years ago
ansuz
1fe57c7e03
lint compliance and minor refactor
4 years ago
ansuz
24e181ab9a
elaborate on some messages in the checkup page
4 years ago
ansuz
8ecf7a70c4
lint compliance and dead code removal
4 years ago
ansuz
cba66d5db3
close websockets when the checkup is complete
4 years ago
ansuz
9c3dc7aa9c
simplify some tests on the checkup page
4 years ago