chiark / gitweb /
disorder
11 years agoMore tests for mime.c
Richard Kettlewell [Fri, 11 Jan 2008 11:16:54 +0000 (11:16 +0000)]
More tests for mime.c

11 years agoWeb UI nonces are now base64-encoded, and have a shorter key.
Richard Kettlewell [Thu, 10 Jan 2008 21:11:02 +0000 (21:11 +0000)]
Web UI nonces are now base64-encoded, and have a shorter key.

11 years agoMIME parsing test.
Richard Kettlewell [Thu, 10 Jan 2008 20:40:31 +0000 (20:40 +0000)]
MIME parsing test.

11 years agoSplit up increasingly unwieldy lib/test.c into multiple files.
Richard Kettlewell [Thu, 10 Jan 2008 20:14:23 +0000 (20:14 +0000)]
Split up increasingly unwieldy lib/test.c into multiple files.

11 years agotests for regsub()
Richard Kettlewell [Thu, 10 Jan 2008 18:13:10 +0000 (18:13 +0000)]
tests for regsub()

11 years agoextra address and url parser testing
Richard Kettlewell [Thu, 10 Jan 2008 14:53:21 +0000 (14:53 +0000)]
extra address and url parser testing

11 years agoMore careful testing of scratching, and correctly handle the case
Richard Kettlewell [Thu, 10 Jan 2008 14:39:37 +0000 (14:39 +0000)]
More careful testing of scratching, and correctly handle the case
where a track is scratched before the speaker process has got to grips
with it.

11 years agoremove unused ifreq_list()
Richard Kettlewell [Thu, 10 Jan 2008 14:39:06 +0000 (14:39 +0000)]
remove unused ifreq_list()

11 years agoMake tests/play.py more reliable.
Richard Kettlewell [Thu, 10 Jan 2008 13:53:29 +0000 (13:53 +0000)]
Make tests/play.py more reliable.

11 years agoFix rights checking when updating a logged-in user's rights.
Richard Kettlewell [Thu, 10 Jan 2008 13:50:30 +0000 (13:50 +0000)]
Fix rights checking when updating a logged-in user's rights.

11 years agoWe no longer ship detailed changelogs in the source tarball. People
Richard Kettlewell [Thu, 10 Jan 2008 10:49:59 +0000 (10:49 +0000)]
We no longer ship detailed changelogs in the source tarball.  People
who want them are better off looking at bzr, arch or cvs history.

This also removes potential build-time dependencies on bzr.

11 years agoAvoid namespace clash detected by picky compilers
Richard Kettlewell [Wed, 9 Jan 2008 16:17:01 +0000 (16:17 +0000)]
Avoid namespace clash detected by picky compilers

11 years agoremove bzr dependency
Richard Kettlewell [Wed, 9 Jan 2008 15:40:59 +0000 (15:40 +0000)]
remove bzr dependency

11 years agoWhen shutting down, kill -rescan and wait for it to finish. If -rescan outlives
Richard Kettlewell [Sun, 6 Jan 2008 21:27:38 +0000 (21:27 +0000)]
When shutting down, kill -rescan and wait for it to finish.  If -rescan outlives
-deadlock then it can deadlock with a later processes that access the database.

11 years agoNew README.developers and README.freebsd. README.client improved.
rjk@greenend.org.uk [Sun, 6 Jan 2008 18:27:54 +0000 (18:27 +0000)]
New README.developers and README.freebsd.  README.client improved.
Don't put non-Linux READMEs in the Debian package!

11 years agoBring change/update docs up to date a bit
rjk@greenend.org.uk [Sun, 6 Jan 2008 14:09:51 +0000 (14:09 +0000)]
Bring change/update docs up to date a bit

11 years agoFix mime_content_type() to not be so lazy; now it copes with arbitrary
rjk@greenend.org.uk [Sun, 6 Jan 2008 12:39:13 +0000 (12:39 +0000)]
Fix mime_content_type() to not be so lazy; now it copes with arbitrary
parameters rather than just one that has to be the right one.  This
gets the web interface working on Opera (for Mac).

11 years agoThe Login page now includes a form to request a password reminder
rjk@greenend.org.uk [Sun, 6 Jan 2008 12:14:09 +0000 (12:14 +0000)]
The Login page now includes a form to request a password reminder
email.  This implies a new server command 'reminder' to do the
sending, which in turn takes advantage of a new sendmail_subprocess()
to send the mail without wedging the server.

There is also a new configuration command reminder_interval, used to
limit the rate at which reminders can be sent to any one user.

11 years agoExplicitly specify border-collapse for tables where we care about the
Richard Kettlewell [Sat, 5 Jan 2008 19:15:32 +0000 (19:15 +0000)]
Explicitly specify border-collapse for tables where we care about the
cell spacing.  IE7 has different defaults to the UNIX browsers.

11 years agoExplicit color specification for inactive menus. Another IE fix.
Richard Kettlewell [Sat, 5 Jan 2008 19:05:59 +0000 (19:05 +0000)]
Explicit color specification for inactive menus.  Another IE fix.

11 years agoNever use the value attribute of <button> to encode anything we care
Richard Kettlewell [Sat, 5 Jan 2008 18:40:16 +0000 (18:40 +0000)]
Never use the value attribute of <button> to encode anything we care
about, in particular 'action' arguments to the CGI.  This works around
a bug in Internet Explorer.

At the time of writing, the commentary at
http://msdn2.microsoft.com/en-gb/library/ms535211(VS.85).aspx mentions
the problem.  (Alternatively, MSDN Library -> Web Development -> HTML
and CSS -> HTML and DHTML Reference -> Objects -> button.)

11 years agoReject libdb <=4.2
Richard Kettlewell [Sat, 5 Jan 2008 18:39:56 +0000 (18:39 +0000)]
Reject libdb <=4.2

11 years agoCorrect path to CGI in README.
rjk@greenend.org.uk [Sat, 5 Jan 2008 16:50:16 +0000 (16:50 +0000)]
Correct path to CGI in README.

11 years agoFix dlerror() abuse.
rjk@greenend.org.uk [Sat, 5 Jan 2008 15:14:26 +0000 (15:14 +0000)]
Fix dlerror() abuse.

All tests now pass on my FreeBSD 6.2 VM.

11 years agoUse -isystem for extra system includes on FreeBSD.
rjk@greenend.org.uk [Sat, 5 Jan 2008 14:07:40 +0000 (14:07 +0000)]
Use -isystem for extra system includes on FreeBSD.

11 years agoDon't list server stats in about.html; they take a while and don't that much.
rjk@greenend.org.uk [Sat, 5 Jan 2008 12:48:17 +0000 (12:48 +0000)]
Don't list server stats in about.html; they take a while and don't that much.

11 years agoFurther web interface visuals: choose directories now have an icon,
rjk@greenend.org.uk [Sat, 5 Jan 2008 12:46:35 +0000 (12:46 +0000)]
Further web interface visuals: choose directories now have an icon,
giving better balance against the prefs links for the files.

11 years agoMacdink the web interface.
rjk@greenend.org.uk [Sat, 5 Jan 2008 12:30:51 +0000 (12:30 +0000)]
Macdink the web interface.

11 years agoBuild fixes for FreeBSD:
rjk@greenend.org.uk [Fri, 4 Jan 2008 23:14:56 +0000 (23:14 +0000)]
Build fixes for FreeBSD:
  - disorder-playrtp needs an explicit -lpthread.
  - libdb is installed off even the non-default path
  - find GNU sed as the native sed is not adequate
  - adding some missing includes

The result builds but I've not run all the test yet.

11 years agoRecognize FreeBSD and adjust LDFLAGS/CPPFLAGS to cope with
Richard Kettlewell [Fri, 4 Jan 2008 21:35:53 +0000 (21:35 +0000)]
Recognize FreeBSD and adjust LDFLAGS/CPPFLAGS to cope with
compiler/ports mismatch brain damage,

Move PCRE UTF-8 test after check for pcre.h, to avoid false positives
if pcre.h isn't found.

11 years agoHover text for chooselpha links.
rjk@greenend.org.uk [Fri, 4 Jan 2008 21:35:02 +0000 (21:35 +0000)]
Hover text for chooselpha links.

11 years agocgi css: tighten up spacing in status boxes etc
rjk@greenend.org.uk [Fri, 4 Jan 2008 21:02:21 +0000 (21:02 +0000)]
cgi css: tighten up spacing in status boxes etc

11 years agoDon't use quoted cookies because Safari is buggy. This means changing
rjk@greenend.org.uk [Tue, 1 Jan 2008 20:35:57 +0000 (20:35 +0000)]
Don't use quoted cookies because Safari is buggy.  This means changing
the separator character and base64 encoding map used to be suitable
for appearance in an unquoted HTTP token.

I suppose I should test with MSIE sometime...

11 years agoVarious visual improvements to web interface
rjk@greenend.org.uk [Tue, 1 Jan 2008 18:55:51 +0000 (18:55 +0000)]
Various visual improvements to web interface

11 years agoDisobedience now supports (to some extent) 2.0 servers. Whether this
rjk@greenend.org.uk [Tue, 1 Jan 2008 16:24:16 +0000 (16:24 +0000)]
Disobedience now supports (to some extent) 2.0 servers.  Whether this
is useful is unclear but it turned out to be easy to do.

11 years agodisorder-server.deb requires mktemp in its postinst
Richard Kettlewell [Tue, 1 Jan 2008 15:00:32 +0000 (15:00 +0000)]
disorder-server.deb requires mktemp in its postinst

11 years agoMore detailed errors from mixer-alsa
Richard Kettlewell [Tue, 1 Jan 2008 14:35:25 +0000 (14:35 +0000)]
More detailed errors from mixer-alsa

11 years agotypo
Richard Kettlewell [Tue, 1 Jan 2008 14:30:05 +0000 (14:30 +0000)]
typo

11 years agodisorder authorize now creates ~USER/.disorder/passwd instead of
Richard Kettlewell [Tue, 1 Jan 2008 14:21:10 +0000 (14:21 +0000)]
disorder authorize now creates ~USER/.disorder/passwd instead of
/etc/disorder/config.USER.  This is a bit fiddlier than the old code
but reduces the number of places the user must look for their
password.

Generated passwords are base64 rather than hex, and are slightly
longer (in terms of the underlying bytes).  They aren't human
memorable but in practice they are expected to be kept in
~/.disorder/passwd or a browser's password store.

The configuration parser now always uses pw_home rather than $HOME to
find ~/.disorder.

Mention Ubuntu in README as the debs work there too.

11 years agoUpdate some copyright dates.
Richard Kettlewell [Tue, 1 Jan 2008 13:50:01 +0000 (13:50 +0000)]
Update some copyright dates.

11 years agoNew 'new_max' configuration bounds the number of tracks that 'new'
Richard Kettlewell [Tue, 1 Jan 2008 13:47:50 +0000 (13:47 +0000)]
New 'new_max' configuration bounds the number of tracks that 'new'
will return.  Previously a new installation with many tracks would
attempt to return thousands of tracks, busting event.c's buffer limit.

Made event.c buffer connection abandonment reporting less chatty.

11 years agoSort out static content. There is a new expansion @image:NAME@ which
Richard Kettlewell [Tue, 1 Jan 2008 13:27:10 +0000 (13:27 +0000)]
Sort out static content.  There is a new expansion @image:NAME@ which
produces the URL for the static content called NAME (or NAME.png if
you don't supply an extexnsion).  The labels images.NAME can be used
to indirect role names.

url.static still has its old meaning but does not appear in
options.labels as it has a sensible default.

This is then used throughout to find images and the stylesheet.

The main options file is now the same for Debian and non-Debian.  On
Debian a deafult empty options.user file is installed.

Updated a lot of copyright dates.

11 years agoUpdates to Debian scripts:
Richard Kettlewell [Mon, 31 Dec 2007 18:24:22 +0000 (18:24 +0000)]
Updates to Debian scripts:
  - debconf for smtp_server and mail_sender
  - cgi is now .../cgi-bin/disorder rather than .../cgi-bin/disorder/disorder
  - auto setup guest login if possible
  - auto remove obsolete trust/allow after first server start
    (specifically, they are commented out so the user can put them
    back if things went awry.)

Things are still rather broken but they're getting there...

11 years agoupdate README.upgrades
Richard Kettlewell [Mon, 31 Dec 2007 17:39:24 +0000 (17:39 +0000)]
update README.upgrades

11 years agoplayer/tracklength directives for native formats are now built in
Richard Kettlewell [Mon, 31 Dec 2007 17:25:21 +0000 (17:25 +0000)]
player/tracklength directives for native formats are now built in

11 years agoupdate default config for present environment
Richard Kettlewell [Mon, 31 Dec 2007 17:15:23 +0000 (17:15 +0000)]
update default config for present environment

11 years agodisorder-rescan can now suppress the check phase, which on first
Richard Kettlewell [Mon, 31 Dec 2007 16:13:44 +0000 (16:13 +0000)]
disorder-rescan can now suppress the check phase, which on first
startup with lots of tracks is rather time consuming.

Additionally, it avoids doing most of the work inside a transaction,
by the rather brute expedient of pulling the entire track list into
memory and then iterating over that.

The server takes advantage of this by making the initial blocking
rescan not do the check phase, so it's reasonably quick, and then
issuing a second non-blocking rescan immediately.

It might be better all round to calculate track lengths on demand but
this arrangement should be better than previously.

11 years agoinit script now uses start-stop-daemon if available (i.e. on Debian
Richard Kettlewell [Mon, 31 Dec 2007 16:13:08 +0000 (16:13 +0000)]
init script now uses start-stop-daemon if available (i.e. on Debian
and Ubuntu systems).

11 years agoremove obsolete debian web config stuff
Richard Kettlewell [Mon, 31 Dec 2007 14:54:12 +0000 (14:54 +0000)]
remove obsolete debian web config stuff

11 years agoremove obsolete stuff about authentication
Richard Kettlewell [Mon, 31 Dec 2007 14:53:56 +0000 (14:53 +0000)]
remove obsolete stuff about authentication

11 years agodeluser and edituser now adjust live connections
rjk@greenend.org.uk [Mon, 31 Dec 2007 13:48:53 +0000 (13:48 +0000)]
deluser and edituser now adjust live connections

11 years agocorrect base64 changes
rjk@greenend.org.uk [Mon, 31 Dec 2007 13:46:41 +0000 (13:46 +0000)]
correct base64 changes

11 years agoimprove READMEs a bit
rjk@greenend.org.uk [Mon, 31 Dec 2007 12:28:46 +0000 (12:28 +0000)]
improve READMEs a bit

11 years agotypo
rjk@greenend.org.uk [Mon, 31 Dec 2007 12:14:56 +0000 (12:14 +0000)]
typo

11 years agoConfirmation strings are now invariant under URL-encoding. They are still
rjk@greenend.org.uk [Mon, 31 Dec 2007 11:46:17 +0000 (11:46 +0000)]
Confirmation strings are now invariant under URL-encoding.  They are still
base64-encoded but using a slightly different set of symbols to MIME.

11 years agomake login status messages stand out more
rjk@greenend.org.uk [Mon, 31 Dec 2007 11:45:28 +0000 (11:45 +0000)]
make login status messages stand out more

11 years agofix more broken images
rjk@greenend.org.uk [Mon, 31 Dec 2007 11:08:05 +0000 (11:08 +0000)]
fix more broken images

11 years agoRegistration now insists you type your password twice the same.
rjk@greenend.org.uk [Mon, 31 Dec 2007 11:02:29 +0000 (11:02 +0000)]
Registration now insists you type your password twice the same.

Editing user details (email/password) from the web now works.  Again
you must type your password twice.

Registration and editing forms in login.html now have extra
documentation in a third column, controlled as ever via labels.

New @userinfo@ expansion allows user properties to be queried.

Added some missing error.* labels.

11 years ago'confirm' now logs the user in (and sends back their username so the
rjk@greenend.org.uk [Mon, 31 Dec 2007 10:26:52 +0000 (10:26 +0000)]
'confirm' now logs the user in (and sends back their username so the
CGI knows who it is today).  The CGI then gets a new cookie so that
the user continues being logged in.

This is a bit of a change from the original design but does save the
user a bit of time.

Also improved some of the associated web page text.

11 years agoOnly display register form if it'll work
rjk@greenend.org.uk [Mon, 31 Dec 2007 10:13:26 +0000 (10:13 +0000)]
Only display register form if it'll work

11 years agoStyling for error and login pages.
rjk@greenend.org.uk [Mon, 31 Dec 2007 10:11:02 +0000 (10:11 +0000)]
Styling for error and login pages.

Error messages are now displayed in red.  Success messages are
displayed in green.

The login/register/edit user forms are now boxed.

11 years agocgi: actually use the connection from the new login after logging in!
rjk@greenend.org.uk [Mon, 31 Dec 2007 10:01:47 +0000 (10:01 +0000)]
cgi: actually use the connection from the new login after logging in!

11 years agoTidy up login reporting.
rjk@greenend.org.uk [Mon, 31 Dec 2007 09:54:21 +0000 (09:54 +0000)]
Tidy up login reporting.

The various login-page actions now set the label 'status' to their
result and this is used to pick the right label for the response text.

The interpretation of 'back' is fixed too.

11 years agoInclude a Date: header in mail sent by the CGI. We always use UTC
rjk@greenend.org.uk [Sun, 30 Dec 2007 21:29:08 +0000 (21:29 +0000)]
Include a Date: header in mail sent by the CGI.  We always use UTC
rather than relying on the non-standard %z, though both Linux and OS X
have it.

11 years agoShorter confirmation URLs. 'confirm=' becomes 'c=' and the
rjk@greenend.org.uk [Sun, 30 Dec 2007 21:00:59 +0000 (21:00 +0000)]
Shorter confirmation URLs.  'confirm=' becomes 'c=' and the
confirmation secret is reduced to 80 bits (which amounts to 20
characters under base64).

http:// and /cgi-bin/disorder?c=XXXXXXXXXXXXXXXXXXXX amount to 47
characters, leaving over 30 characters for a hostname and still
fitting into an 80 column display.

11 years agoConfirmation URLs now work and activate new logins. The code is all a
rjk@greenend.org.uk [Sun, 30 Dec 2007 20:56:33 +0000 (20:56 +0000)]
Confirmation URLs now work and activate new logins.  The code is all a
bit ad-hoc and crufty but the basic functionality does work.

11 years agoALSA mixer support.
rjk@greenend.org.uk [Sun, 30 Dec 2007 20:13:20 +0000 (20:13 +0000)]
ALSA mixer support.

Mixer configuration is no longer checked when reading the config file,
as with the current design this would force every DisOrder program to
link against all the sound libraries.

11 years agoUnify sound API configuration.
rjk@greenend.org.uk [Sun, 30 Dec 2007 16:20:37 +0000 (16:20 +0000)]
Unify sound API configuration.

'speaker_backend' is now spelled 'api' (though the old name still
works) and effects the choice of volume setting API as well as the
device used by the speaker process.

For volume setting, only OSS is implemented (still).  The new
structure means that ALSA volume setting no longer works as it will no
longer use the OSS interface instead.  However, this was never
reliable as it depended upon ALSA's OSS emulation being enabled.

11 years agomake sure disorder-normalize gets the right config file
rjk@greenend.org.uk [Sun, 30 Dec 2007 15:59:04 +0000 (15:59 +0000)]
make sure disorder-normalize gets the right config file

11 years agoset default gap to 0
Richard Kettlewell [Sun, 30 Dec 2007 13:53:57 +0000 (13:53 +0000)]
set default gap to 0

11 years agoconfig files note that "trust" can be removed
Richard Kettlewell [Sun, 30 Dec 2007 13:52:30 +0000 (13:52 +0000)]
config files note that "trust" can be removed

11 years agodebian now defaults to UTF-8; using the local encoding would be better still
Richard Kettlewell [Sun, 30 Dec 2007 13:42:54 +0000 (13:42 +0000)]
debian now defaults to UTF-8; using the local encoding would be better still

11 years ago'collection' no longer requires an encoding to be specified (or a module).
Richard Kettlewell [Sun, 30 Dec 2007 13:37:54 +0000 (13:37 +0000)]
'collection' no longer requires an encoding to be specified (or a module).
This isn't quite as useful as it sounds as it depends on the server getting
the right LC_CTYPE, which it might well not do.

11 years agotypo
rjk@greenend.org.uk [Sat, 29 Dec 2007 20:27:08 +0000 (20:27 +0000)]
typo

11 years agoFurther simplify web setup.
rjk@greenend.org.uk [Sat, 29 Dec 2007 20:25:26 +0000 (20:25 +0000)]
Further simplify web setup.
 - The default icons directory now matches the instructions.
 - vhost-specific setup is moved to a README

11 years agostop disorder(1) permuting command line
rjk@greenend.org.uk [Sat, 29 Dec 2007 20:22:37 +0000 (20:22 +0000)]
stop disorder(1) permuting command line

11 years agofix enabled/disabled icons. still a bit crufty but does now work again.
rjk@greenend.org.uk [Sat, 29 Dec 2007 19:59:42 +0000 (19:59 +0000)]
fix enabled/disabled icons.  still a bit crufty but does now work again.

11 years agodisorder setup-guest enforces mail_sender requirement
rjk@greenend.org.uk [Sat, 29 Dec 2007 19:08:01 +0000 (19:08 +0000)]
disorder setup-guest enforces mail_sender requirement

11 years agoupdate docs for mail_sender and smtp_server
rjk@greenend.org.uk [Sat, 29 Dec 2007 19:07:47 +0000 (19:07 +0000)]
update docs for mail_sender and smtp_server

11 years agoOnline registration now sends email. The confirmation URL doesn't
rjk@greenend.org.uk [Sat, 29 Dec 2007 18:54:16 +0000 (18:54 +0000)]
Online registration now sends email.  The confirmation URL doesn't
work yet.  The mail comes from mail_sender which MUST be configured.

sendmail() sends mail via the SMTP server specified in the config
file.  The default is localhost.  inputline() is extended to cope with
CRLF-flavored protocols.

local_hostname() returns the FQDN of the local host (assuming you
didn't screw up your /etc/hosts).

mime_encode_text() and mime_to_qp() prepare text/* messages for
sending in mail.

11 years agobuild default stopword list into server
rjk@greenend.org.uk [Sat, 29 Dec 2007 16:48:25 +0000 (16:48 +0000)]
build default stopword list into server

11 years agodisobedience --help doesn't DISPLAY to be set
rjk@greenend.org.uk [Sat, 29 Dec 2007 16:22:40 +0000 (16:22 +0000)]
disobedience --help doesn't DISPLAY to be set

11 years agomake url.static work as described, and adjust cgi setup details
rjk@greenend.org.uk [Fri, 28 Dec 2007 18:08:34 +0000 (18:08 +0000)]
make url.static work as described, and adjust cgi setup details

11 years agocgi: grey out volume set buttons if unusable
rjk@greenend.org.uk [Fri, 28 Dec 2007 17:32:57 +0000 (17:32 +0000)]
cgi: grey out volume set buttons if unusable

11 years agoavoid prefs links that you cannot use
rjk@greenend.org.uk [Fri, 28 Dec 2007 17:26:44 +0000 (17:26 +0000)]
avoid prefs links that you cannot use

11 years agoavoid choose links that you cannot use
rjk@greenend.org.uk [Fri, 28 Dec 2007 17:20:32 +0000 (17:20 +0000)]
avoid choose links that you cannot use

11 years agocgi: update copyright notice
rjk@greenend.org.uk [Fri, 28 Dec 2007 17:05:02 +0000 (17:05 +0000)]
cgi: update copyright notice

11 years agotypo fix from earlier topbar changes
rjk@greenend.org.uk [Fri, 28 Dec 2007 17:00:45 +0000 (17:00 +0000)]
typo fix from earlier topbar changes

11 years agokeep cookie more private to disorder.cgi
rjk@greenend.org.uk [Fri, 28 Dec 2007 16:58:50 +0000 (16:58 +0000)]
keep cookie more private to disorder.cgi

11 years agocgi: more graceful error handling in absence of server
rjk@greenend.org.uk [Fri, 28 Dec 2007 16:13:46 +0000 (16:13 +0000)]
cgi: more graceful error handling in absence of server

11 years agoextra make clean in tests/
rjk@greenend.org.uk [Sun, 23 Dec 2007 21:07:23 +0000 (21:07 +0000)]
extra make clean in tests/

11 years agoupdate help
rjk@greenend.org.uk [Sun, 23 Dec 2007 19:03:49 +0000 (19:03 +0000)]
update help

11 years agoabolish sidebar.html for man pages too
rjk@greenend.org.uk [Sun, 23 Dec 2007 19:03:42 +0000 (19:03 +0000)]
abolish sidebar.html for man pages too

11 years agoabolish sidebar.html; too much hassle to maintain two
rjk@greenend.org.uk [Sun, 23 Dec 2007 18:51:52 +0000 (18:51 +0000)]
abolish sidebar.html; too much hassle to maintain two

11 years agoMore web support for user rights:
rjk@greenend.org.uk [Sun, 23 Dec 2007 18:44:37 +0000 (18:44 +0000)]
More web support for user rights:
 - choose/search greyed out if don't have RIGHT_PLAY
 - edit link in new/recent omitted if don't have RIGHT_PREFS
 - move buttons in manage greyed out if not movable

11 years agoWeb interface starts to reflect user rights properly:
rjk@greenend.org.uk [Sun, 23 Dec 2007 18:16:43 +0000 (18:16 +0000)]
Web interface starts to reflect user rights properly:

- scratch/move/remove rights check is moved to lib/queue-rights.c
  which is shared with the web interface
- new @rights@ and @movable@ expansions (not used yet)
- @removable@ and @scratchable@ rewritten for the new world

11 years agonever set an expired cookie; on logout, re-login as guest
rjk@greenend.org.uk [Sun, 23 Dec 2007 16:34:13 +0000 (16:34 +0000)]
never set an expired cookie; on logout, re-login as guest

11 years agofix RIGHT_*_ANY tests; log rights failures
rjk@greenend.org.uk [Sun, 23 Dec 2007 16:33:30 +0000 (16:33 +0000)]
fix RIGHT_*_ANY tests; log rights failures

11 years agoThe redirection after login now works properly.
rjk@greenend.org.uk [Sun, 23 Dec 2007 12:49:30 +0000 (12:49 +0000)]
The redirection after login now works properly.

The logout button sort of works; oddly you have to press it twice.

11 years agodoxygen cleanup
rjk@greenend.org.uk [Sun, 23 Dec 2007 12:38:21 +0000 (12:38 +0000)]
doxygen cleanup