git-serve: Save last SSH login date and IP address
commitf8916d7e9bda129a57143d769f7eb1f596614c80
authorLukas Fleischer <lfleischer@archlinux.org>
Wed, 25 Jan 2017 07:22:54 +0000 (25 08:22 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Wed, 25 Jan 2017 17:42:34 +0000 (25 18:42 +0100)
tree1eda89a37f44d91397c3ee382ff1fd5bf3b8c2b1
parentb8df10e22732fd678a6d30e2bf4ac5eb14cf898e
git-serve: Save last SSH login date and IP address

In addition to logging the last login date and IP address on the web
interface, store the time stamp and IP address of the last SSH login in
the database.

This simplifies user banning if one of the new SSH interface features,
such as the voting mechanism implemented in 7ee2fdd (git-serve: Add
support for (un-)voting, 2017-01-23), is abused.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
aurweb/git/serve.py
schema/aur-schema.sql
upgrading/4.5.0.txt