1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

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. |Freundschaft mit [_nick_target] gekündigt.
_info_commands _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. |{_URL_help} bietet Hilfe.
_info_set _info_set

View file

@ -714,6 +714,10 @@ _failure_exceeded_limit_users
_failure_unsupported_execute_person _failure_unsupported_execute_person
|Sorry, [_nick] hasn't defined any commands for you. |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 _info_location
|[_nick] has location [_location]. |[_nick] has location [_location].

View file

@ -404,7 +404,7 @@ _echo_friendship_removed
|rimossa l'amicizia con [_nick_target]. |rimossa l'amicizia con [_nick_target].
_info_commands _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}>. |manuali ed aiuti al sito <{_URL_help}>.
_info_set _info_set

View file

@ -279,6 +279,14 @@ case "/oauth":
T("_HTML_tail", "</td></tr></table></center></body>")); T("_HTML_tail", "</td></tr></table></center></body>"));
quit(); quit();
return 1; 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, Commands: go, me, who, p(eople), bye.\n" MYTEMP,
([ "_nick": MYLOWERNICK, "_command": a, ([ "_nick": MYLOWERNICK, "_command": a,
"_page_help" : t ]) ); "_page_help" : t ]) );
else w("_info_commands", "\ else w("_info_commands", 0,
Commands: tell, talk, go, me, [_nick], who, p(eople), log, reply, greet, bye.\n" ([ "_nick": MYLOWERNICK, "_command": a,
MYTEMP, ([ "_nick": MYLOWERNICK, "_command": a,
"_page_help" : t ]) ); "_page_help" : t ]) );
break; break;
# else # else