ACME letsencrypt support, more /help

This commit is contained in:
psyc://psyced.org/~lynX 2016-05-21 17:38:54 +02:00
parent 1cc3dc1dc8
commit c3b7b4f664
5 changed files with 16 additions and 5 deletions

View File

@ -469,7 +469,7 @@ _echo_friendship_removed
|Freundschaft mit [_nick_target] gekündigt.
_info_commands
|Befehle: tell, reply, go, me, [_nick], who, p(eople), log.
|Befehle: t(ell), talk, go, me, [_nick], who, p(eople), log, r(eply), g(reet), bye.
|{_URL_help} bietet Hilfe.
_info_set

View File

@ -714,6 +714,10 @@ _failure_exceeded_limit_users
_failure_unsupported_execute_person
|Sorry, [_nick] hasn't defined any commands for you.
_info_commands
|Commands: t(ell), talk, go, me, [_nick], who, p(eople), log, r(eply), g(reet), bye.
|Help and manuals available at <{_URL_help}>.
_info_location
|[_nick] has location [_location].

View File

@ -404,7 +404,7 @@ _echo_friendship_removed
|rimossa l'amicizia con [_nick_target].
_info_commands
|comandi base: tell, reply, go, me, [_nick], who, p(eople), log.
|comandi: t(ell), talk, go, me, [_nick], who, p(eople), log, r(eply), g(reet), bye.
|manuali ed aiuti al sito <{_URL_help}>.
_info_set

View File

@ -279,6 +279,14 @@ case "/oauth":
T("_HTML_tail", "</td></tr></table></center></body>"));
quit();
return 1;
} else if (abbrev("/.well-known/", item)) {
P0(("ACME domain ownership check %O\n", item))
if (file_size(item) > 0) {
http_ok(prot, "application/x-letsencrypt-acme", 0);
binary_message(read_file(item));
quit();
return 1;
}
}
}

View File

@ -1578,9 +1578,8 @@ cmd(a, args, dest, command) {
Commands: go, me, who, p(eople), bye.\n" MYTEMP,
([ "_nick": MYLOWERNICK, "_command": a,
"_page_help" : t ]) );
else w("_info_commands", "\
Commands: tell, talk, go, me, [_nick], who, p(eople), log, reply, greet, bye.\n"
MYTEMP, ([ "_nick": MYLOWERNICK, "_command": a,
else w("_info_commands", 0,
([ "_nick": MYLOWERNICK, "_command": a,
"_page_help" : t ]) );
break;
# else