Source code for the Codeberg e.V. registration web service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Otto Richter dd8208f5cf
Change gettext strings in template
9 months ago
etc Change gettext strings in template 9 months ago
.gitignore Re-implement i18n based on Accept-Language header with gettext 9 months ago
LICENSE.md initial commit 3 years ago
Makefile use rsync instead of scp to ensure ownership 11 months ago
README.md add Czech translation. Slightly improve readme (local testing) 11 months ago
go.mod Add manual bank transfer option (see #8), calculate contribution for non-yearly payment (see #7) & make all strings translatable 9 months ago
main.go Add manual bank transfer option (see #8), calculate contribution for non-yearly payment (see #7) & make all strings translatable 9 months ago

README.md

Introduction

This is the registration server used for the join.codeberg.org form.

Security

Incoming user data from forms is immediately encrypted using GnuPG Public-Key Encryption. No private key is ever stored on the server.

Encrypted registration records are sent via email to the registration accounts, from where they are fetched and processed off-line.

Files, Overview

README.md                                ## This file
main.go                                  ## Source code of the reg-server 
etc/                                     ## The config file template folder, copied to target host at deployment
etc/systemd/system/reg-server.service    ## Systemd service to launch, monitor and restart the reg-service
etc/reg-server/public-key.asc.gpg        ## The public GnuPG key used for encryption on the server
etc/reg-server/static/                   ## Static webapp content
etc/reg-server/templates/                ## Language-dependent templates. Translations welcome.

Build+test locally

make BUILDDIR=/tmp/build
cd ./etc/reg-server
/tmp/build/gitea/bin/reg-server

Then point your browser at http://localhost:5000/

Build+deploy

You may want to start ssh-agent and do ssh-add before calling make deployment, to avoid typing your ssh passphrase several times. Then do:

make -C HOSTNAME_FQDN=<hostname> deployment

License

This software (excluding bundled fonts) is licensed under GNU AGPL. See the LICENSE file for details.

Logo material is by @mray and licensed under CC-BY. http://creativecommons.org/licenses/by/4.0/

Codeberg and the Codeberg Logo are trademarks of Codeberg e.V.