Add support for Terms of Service documents
commita8ac2004d3f25877d9e7b4fa58f10009c39f8acf
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 27 Apr 2017 07:24:11 +0000 (27 09:24 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 30 Apr 2017 14:47:13 +0000 (30 16:47 +0200)
tree968cb95c2e7617608f15ccece4823ea4006c59cf
parent6892ec7791bf04361ac2973b38d0025b50fa4727
Add support for Terms of Service documents

This allows for adding Terms of Service documents to the database that
registered users need to accept before using the AUR. A revision field
can be used to indicate whether a document was updated. If it is
increased, all users are again asked to accept the new terms.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
schema/aur-schema.sql
upgrading/4.6.0.txt
web/html/tos.php [new file with mode: 0644]
web/lib/acctfuncs.inc.php
web/lib/aur.inc.php
web/lib/routing.inc.php