Attention ! Gitlab fournissant maintenant nativement des certificats Let’s Encrypt aux domaines personnalisés des Gitlab Pages, nous avons coupé notre service qui le faisait automatiquement pour vous.

Il est impératif, pour que votre domaine personnalisé continue à avoir un certificat Let’s Encrypt à jour, d’activer la fonctionnalité native dans les paramètres de votre projet. Cette activation remplacera votre certificat actuel par un nouveau certificat Let’s Encrypt géré par Gitlab.

Voir les détails sur https://docs.framasoft.org/fr/gitlab/gitlab-pages-le.html

Verified Commit bd7c97b3 authored by Luc Didry's avatar Luc Didry

Improve tests: test burn_after_reading mode

parent 44507ccf
Pipeline #82884 passed with stages
in 3 minutes and 23 seconds
......@@ -20,7 +20,7 @@ my $msg = to_json {
"name" => "foobar.txt",
"type" => "text/plain",
"delay" => "0",
"del_at_first_view" => 0,
"del_at_first_view" => 1,
"id" => undef,
"i" => 0
};
......@@ -109,7 +109,7 @@ sub test_upload_file {
->send_ok($msg.'XXMOJOXX'.$encrypted)
->message_ok
->message_like(qr@"created_at":\d+@)
->message_like(qr@"del_at_first_view":false@)
->message_like(qr@"del_at_first_view":true@)
->message_like(qr@"delay":"0"@)
->message_like(qr@"duration":\d+@)
->message_like(qr@"i":0@)
......@@ -150,7 +150,7 @@ sub test_download_file {
->message_like(qr@"part":0@)
->message_like(qr@"i":0@)
->message_like(qr@"id":null@)
->message_like(qr@"del_at_first_view":0@)
->message_like(qr@"del_at_first_view":1@)
->message_like(qr@"delay":"0"@)
->message_like(qr@"name":"foobar\.txt"@)
->message_like(qr@"size":7@)
......@@ -159,6 +159,15 @@ sub test_download_file {
->message_like(qr@$encrypted_rgx@)
->send_ok(to_json({ended => true}))
->finish_ok;
# The file is not supposed to be available anymore
$t->websocket_ok('/download/'.$ws_msg->{short})
->send_ok(to_json({part => 0}))
->message_ok
->message_like(qr@"msg":"Error: the file existed but was deleted\."@)
->message_like(qr@"success":false@)
->send_ok(to_json({ended => true}))
->finish_ok;
}
sub auth_test_suite {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment