chiark / gitweb /
First cut at cookie support in the web interface
authorrjk@greenend.org.uk <>
Sat, 22 Dec 2007 19:09:49 +0000 (19:09 +0000)
committerrjk@greenend.org.uk <>
Sat, 22 Dec 2007 19:09:49 +0000 (19:09 +0000)
commitfdf98378d2d8c8550661f657d30ec5186ff642f1
tree42055c69da2bd1b3dddcf5f78018f6f8d500a4d0
parente48c28bb4dcffdd4bf7df5beada0f129d47c4673
First cut at cookie support in the web interface

Things that seem to work:
   * guest access
   * logging in

Things that are broken:
   * guests don't get a sensible error message when they exceed their rights,
     just nothing happens.
   * the redirection from the login page goes to an HTML redirection
     page rather than what you expected
   * if your cookie has expired the results aren't helpful

Things that aren't done yet:
   * the logout button
   * editing user details
   * registration (incomplete)
13 files changed:
doc/disorder_config.5.in
examples/disorder.init.in
lib/client.c
lib/client.h
scripts/inst
server/cgimain.c
server/dcgi.c
server/dcgi.h
templates/Makefile.am
templates/login.html [new file with mode: 0644]
templates/options.labels
templates/sidebar.html
templates/topbar.html