chiark / gitweb /
Translate preferences page to the new order.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 18 May 2008 15:18:49 +0000 (16:18 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 18 May 2008 15:18:49 +0000 (16:18 +0100)
commit02eaa49dd0cc62690c72e28f456326a249325f31
tree29fcc635c0a40657915d05423b51b34f5bb6bd95
parentd22b8a59995829bc14b4490b9bddd95346e0585d
Translate preferences page to the new order.

Also, this change fixes much of defect 18 ("cookie expiry causes user
to be silently logged out and not subsequently redirected to login
page").  This is implemented by giving the actions table a list of
rights suitable for the action at hand and redirecting to the login
page on failure.  Even better would be to redirect back to the
problematic page on success.

Unusually for this branch there is a server change here, implementing
the long-standing TODO that the server should remove preferences if
you set them to their default value.  This removes this logic from the
web interface.

It remains the case that the web interface has to work out some of the
defaults.  However, that's left for another day.
lib/trackdb.c
server/actions.c
server/dcgi.c
templates/choose.tmpl
templates/macros.tmpl
templates/new.tmpl
templates/options.labels
templates/prefs.tmpl
templates/recent.tmpl