challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit fdc08c832448c84f1713621494f3ea726e9160f4
parent fd16b09121eada689a3e78639a505d5367e89561
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  6 May 2023 21:28:06 +0200

add MUST templates

Diffstat:
MINSTALL | 6+++---
MMakefile.am | 11++++-------
Mconfigure.ac | 1+
Acontrib/Makefile.am | 22++++++++++++++++++++++
Acontrib/attempts-exhausted.en.must | 2++
Acontrib/attempts-exhausted.must | 9+++++++++
Acontrib/enter-address-form.en.must | 2++
Acontrib/enter-tan-form.en.must | 2++
Acontrib/internal-error.en.must | 2++
Acontrib/internal-error.must | 8++++++++
Acontrib/invalid-pin.en.must | 2++
Acontrib/invalid-pin.must | 8++++++++
Acontrib/invalid-request.en.must | 2++
Acontrib/invalid-request.must | 8++++++++
Acontrib/validation-unknown.en.must | 2++
Acontrib/validation-unknown.must | 8++++++++
16 files changed, 85 insertions(+), 10 deletions(-)

diff --git a/INSTALL b/INSTALL @@ -1,8 +1,8 @@ Installation Instructions ************************* - Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free -Software Foundation, Inc. + Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software +Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -225,7 +225,7 @@ order to use an ANSI C compiler: and if that doesn't work, install pre-built binaries of GCC for HP-UX. - HP-UX 'make' updates targets which have the same timestamps as their + HP-UX 'make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. diff --git a/Makefile.am b/Makefile.am @@ -2,15 +2,15 @@ if DOC_ONLY if ENABLE_DOC - SUBDIRS = . doc + SUBDIRS = . contrib doc else - SUBDIRS = . + SUBDIRS = . contrib endif else if ENABLE_DOC - SUBDIRS = . src doc + SUBDIRS = . src contrib doc else - SUBDIRS = . src doc + SUBDIRS = . src contrib endif endif @@ -20,7 +20,4 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = \ AUTHORS \ COPYING.AGPL \ - contrib/gnunet.tag \ - contrib/uncrustify.cfg \ - contrib/uncrustify_precommit \ Doxyfile diff --git a/configure.ac b/configure.ac @@ -279,6 +279,7 @@ AM_CONDITIONAL([ENABLE_DOC], [true]) AC_CONFIG_FILES([Makefile +contrib/Makefile doc/Makefile src/Makefile src/include/Makefile diff --git a/contrib/Makefile.am b/contrib/Makefile.am @@ -0,0 +1,22 @@ +tmplpkgdatadir = $(prefix)/share/challenger/templates/ + +dist_tmplpkgdata_DATA = \ + attempts-exhausted.en.must \ + attempts-exhausted.must \ + enter-address-form.en.must \ + enter-address-form.must \ + enter-tan-form.en.must \ + enter-tan-form.must \ + internal-error.en.must \ + internal-error.must \ + invalid-pin.en.must \ + invalid-pin.must \ + invalid-request.en.must \ + invalid-request.must \ + validation-unknown.en.must \ + validation-unknown.must + +EXTRA_DIST = \ + gnunet.tag \ + uncrustify.cfg \ + uncrustify_precommit diff --git a/contrib/attempts-exhausted.en.must b/contrib/attempts-exhausted.en.must @@ -0,0 +1 @@ +attempts-exhausted.must +\ No newline at end of file diff --git a/contrib/attempts-exhausted.must b/contrib/attempts-exhausted.must @@ -0,0 +1,9 @@ +<html> +<head> +<title>Attempts exhausted (#{{ec}})</title> +</head> +<body> +You have tried too many times. +More attempts are not allowed. +</body> +</html> diff --git a/contrib/enter-address-form.en.must b/contrib/enter-address-form.en.must @@ -0,0 +1 @@ +enter-address-form.must +\ No newline at end of file diff --git a/contrib/enter-tan-form.en.must b/contrib/enter-tan-form.en.must @@ -0,0 +1 @@ +enter-tan-form.must +\ No newline at end of file diff --git a/contrib/internal-error.en.must b/contrib/internal-error.en.must @@ -0,0 +1 @@ +internal-error.must +\ No newline at end of file diff --git a/contrib/internal-error.must b/contrib/internal-error.must @@ -0,0 +1,8 @@ +<html> +<head> +<title>Internal server error (#{{ec}})</title> +</head> +<body> +{{hint}} ({{detail}}). +</body> +</html> diff --git a/contrib/invalid-pin.en.must b/contrib/invalid-pin.en.must @@ -0,0 +1 @@ +invalid-pin.must +\ No newline at end of file diff --git a/contrib/invalid-pin.must b/contrib/invalid-pin.must @@ -0,0 +1,8 @@ +<html> +<head> +<title>Invalid solution (#{{ec}})</title> +</head> +<body> +{{hint}}. +</body> +</html> diff --git a/contrib/invalid-request.en.must b/contrib/invalid-request.en.must @@ -0,0 +1 @@ +invalid-request.must +\ No newline at end of file diff --git a/contrib/invalid-request.must b/contrib/invalid-request.must @@ -0,0 +1,8 @@ +<html> +<head> +<title>Invalid request (#{{ec}})</title> +</head> +<body> +{{hint}}. +</body> +</html> diff --git a/contrib/validation-unknown.en.must b/contrib/validation-unknown.en.must @@ -0,0 +1 @@ +validation-unknown.must +\ No newline at end of file diff --git a/contrib/validation-unknown.must b/contrib/validation-unknown.must @@ -0,0 +1,8 @@ +<html> +<head> +<title>Validation process unknown (#{{ec}})</title> +</head> +<body> +{{hint}}. +</body> +</html>