chiark / gitweb /
disorder
16 years agodisorder setup-guest + docs + tests
Richard Kettlewell [Sat, 22 Dec 2007 11:37:45 +0000 (11:37 +0000)]
disorder setup-guest + docs + tests

adduser/authorize now take an optional rights argument, removing the
race where you wanted a new user not to have some of the default
rights.

The command line client now delays creating a connection until it
needs it, allowing per-command help, syntax checking etc to succeed
even in the absence of a working server (mostly useful during
development).

16 years agoregister/confirm commands, and tests, and docs
Richard Kettlewell [Fri, 21 Dec 2007 20:24:54 +0000 (20:24 +0000)]
register/confirm commands, and tests, and docs

16 years agomissing initialization
Richard Kettlewell [Fri, 21 Dec 2007 17:27:04 +0000 (17:27 +0000)]
missing initialization

16 years agodefault_rights directive
Richard Kettlewell [Fri, 21 Dec 2007 16:23:27 +0000 (16:23 +0000)]
default_rights directive

16 years agomore docs catchup
Richard Kettlewell [Fri, 21 Dec 2007 16:02:41 +0000 (16:02 +0000)]
more docs catchup

16 years agoprotocol gen 2 support for eclient.c
Richard Kettlewell [Fri, 21 Dec 2007 16:02:28 +0000 (16:02 +0000)]
protocol gen 2 support for eclient.c

16 years agodisorder-normalize should wait for sox to finish. I think this is
Richard Kettlewell [Fri, 21 Dec 2007 14:55:59 +0000 (14:55 +0000)]
disorder-normalize should wait for sox to finish.  I think this is
mostly a test-time issue: disorder-speaker doesn't care about program
termination, just whether it gets the audio data.

16 years agoQuote responses. Unfortunately this is a major protocol change. I've
Richard Kettlewell [Fri, 21 Dec 2007 14:46:49 +0000 (14:46 +0000)]
Quote responses.  Unfortunately this is a major protocol change.  I've
added a protocol generation field, to allow future such changes to be
handled more gracefuly, but 2.1 will therefore require all clients to
be upgraded too.

16 years agoremove become from python module
Richard Kettlewell [Fri, 21 Dec 2007 13:56:52 +0000 (13:56 +0000)]
remove become from python module

16 years agoserver always mentions algorithm in client greeting
Richard Kettlewell [Fri, 21 Dec 2007 13:40:22 +0000 (13:40 +0000)]
server always mentions algorithm in client greeting

16 years agoremove become from client; more docs updates
Richard Kettlewell [Fri, 21 Dec 2007 13:15:04 +0000 (13:15 +0000)]
remove become from client; more docs updates

16 years agofill in some more gaps in the user database support
Richard Kettlewell [Fri, 21 Dec 2007 13:05:33 +0000 (13:05 +0000)]
fill in some more gaps in the user database support

16 years agorights now apply to commands; docs catch up a bit
Richard Kettlewell [Fri, 21 Dec 2007 12:06:20 +0000 (12:06 +0000)]
rights now apply to commands; docs catch up a bit

16 years agoadd "users" command
Richard Kettlewell [Thu, 20 Dec 2007 18:45:44 +0000 (18:45 +0000)]
add "users" command

16 years agouserinfo/edituser implementation
Richard Kettlewell [Thu, 20 Dec 2007 18:31:37 +0000 (18:31 +0000)]
userinfo/edituser implementation

16 years agoUse users.db. trackdb* moves to lib/, as it's now used by client.c to
Richard Kettlewell [Thu, 20 Dec 2007 16:02:39 +0000 (16:02 +0000)]
Use users.db.  trackdb* moves to lib/, as it's now used by client.c to
pick out root's password (or others if it could read them, but it
can't).

16 years agocreate users.db (but don't do anythin with it). tighter db permissions
Richard Kettlewell [Tue, 18 Dec 2007 17:39:26 +0000 (17:39 +0000)]
create users.db (but don't do anythin with it).  tighter db permissions

16 years agoserver side support for cookies, basic tests
Richard Kettlewell [Tue, 18 Dec 2007 17:04:00 +0000 (17:04 +0000)]
server side support for cookies, basic tests

16 years agodisorder-udplog exits more reliably when parent dies
Richard Kettlewell [Tue, 18 Dec 2007 17:03:24 +0000 (17:03 +0000)]
disorder-udplog exits more reliably when parent dies

16 years agobase64 encoder
Richard Kettlewell [Tue, 18 Dec 2007 11:53:54 +0000 (11:53 +0000)]
base64 encoder

16 years agomerge extra MIME parsing
Richard Kettlewell [Tue, 18 Dec 2007 10:40:52 +0000 (10:40 +0000)]
merge extra MIME parsing

16 years agoupdate version number
Richard Kettlewell [Tue, 18 Dec 2007 10:08:23 +0000 (10:08 +0000)]
update version number

16 years agoDisOrder 2.0 2.0
Richard Kettlewell [Mon, 17 Dec 2007 19:33:21 +0000 (19:33 +0000)]
DisOrder 2.0

16 years agodistribution fixes
Richard Kettlewell [Mon, 17 Dec 2007 19:31:29 +0000 (19:31 +0000)]
distribution fixes

16 years agosimplify RTP transmission
Richard Kettlewell [Mon, 17 Dec 2007 17:18:46 +0000 (17:18 +0000)]
simplify RTP transmission

16 years agodocs update
Richard Kettlewell [Sun, 16 Dec 2007 15:06:28 +0000 (15:06 +0000)]
docs update

16 years agomore tests
Richard Kettlewell [Sun, 16 Dec 2007 14:55:38 +0000 (14:55 +0000)]
more tests

16 years agomore tag normalization work
Richard Kettlewell [Sat, 15 Dec 2007 17:06:06 +0000 (17:06 +0000)]
more tag normalization work

16 years agonormalize tags and exercise this
Richard Kettlewell [Sat, 15 Dec 2007 16:40:19 +0000 (16:40 +0000)]
normalize tags and exercise this

16 years agodisobedience uses proper copyright symbol instead of (c)
Richard Kettlewell [Sat, 15 Dec 2007 15:14:52 +0000 (15:14 +0000)]
disobedience uses proper copyright symbol instead of (c)

16 years agodisobedience uses disorder_short_version_string instead of VERSION
Richard Kettlewell [Sat, 15 Dec 2007 15:00:59 +0000 (15:00 +0000)]
disobedience uses disorder_short_version_string instead of VERSION

16 years agoinclude configure and compiler details in version output
Richard Kettlewell [Sat, 15 Dec 2007 12:03:08 +0000 (12:03 +0000)]
include configure and compiler details in version output

16 years agoa little more testing
Richard Kettlewell [Mon, 10 Dec 2007 20:44:41 +0000 (20:44 +0000)]
a little more testing

16 years agodebian version 1.5.99+dev10 1.5.99+dev10
Richard Kettlewell [Sun, 9 Dec 2007 23:24:43 +0000 (23:24 +0000)]
debian version 1.5.99+dev10

16 years agopop up login box on startup if no password yet
Richard Kettlewell [Sun, 9 Dec 2007 23:00:41 +0000 (23:00 +0000)]
pop up login box on startup if no password yet

16 years agodisable LC_COLLATE for shell globbing
Richard Kettlewell [Sun, 9 Dec 2007 23:00:24 +0000 (23:00 +0000)]
disable LC_COLLATE for shell globbing

16 years agoAbolish some trivial tests and fold them into dbversion.py; the setup
Richard Kettlewell [Sun, 9 Dec 2007 22:18:24 +0000 (22:18 +0000)]
Abolish some trivial tests and fold them into dbversion.py; the setup
and teardown is slow enough that small tests are a bit of a waste of
time.

Break out nasty macro in search_league() into a function and fix
overrun.

16 years agodisorder.py docs improved a little
Richard Kettlewell [Sun, 9 Dec 2007 20:39:02 +0000 (20:39 +0000)]
disorder.py docs improved a little

16 years agoplay now returns the new track's ID, and disorder.play() returns it.
Richard Kettlewell [Sun, 9 Dec 2007 19:56:40 +0000 (19:56 +0000)]
play now returns the new track's ID, and disorder.play() returns it.

queue.py takes advantage of this in some new tests.

16 years agoensure tests avoid user config!
Richard Kettlewell [Sun, 9 Dec 2007 19:17:30 +0000 (19:17 +0000)]
ensure tests avoid user config!

16 years agomore testing
Richard Kettlewell [Sun, 9 Dec 2007 18:55:04 +0000 (18:55 +0000)]
more testing

16 years agotests + doxygen
Richard Kettlewell [Sun, 9 Dec 2007 18:42:54 +0000 (18:42 +0000)]
tests + doxygen

16 years agoplayrtp: --dump support for ALSA and OSS backends
Richard Kettlewell [Sun, 9 Dec 2007 14:32:08 +0000 (14:32 +0000)]
playrtp: --dump support for ALSA and OSS backends

16 years agodump silence too
Richard Kettlewell [Sun, 9 Dec 2007 14:09:32 +0000 (14:09 +0000)]
dump silence too

16 years agodebug dump (mac only) for playrtp
Richard Kettlewell [Sat, 8 Dec 2007 15:55:01 +0000 (15:55 +0000)]
debug dump (mac only) for playrtp

16 years agoempty track buffers aren't unplayable if at eof
Richard Kettlewell [Sat, 8 Dec 2007 12:26:04 +0000 (12:26 +0000)]
empty track buffers aren't unplayable if at eof

16 years agospeaker: log empty buffers
Richard Kettlewell [Sat, 8 Dec 2007 12:18:03 +0000 (12:18 +0000)]
speaker: log empty buffers

16 years agoupdate (c) messages for mark & ross's contributions
Richard Kettlewell [Thu, 6 Dec 2007 19:08:41 +0000 (19:08 +0000)]
update (c) messages for mark & ross's contributions

16 years agodebian: install completions into bash_completion.d as a conffile
Richard Kettlewell [Thu, 6 Dec 2007 19:05:13 +0000 (19:05 +0000)]
debian: install completions into bash_completion.d as a conffile

16 years agofurther docs fettling
Richard Kettlewell [Wed, 5 Dec 2007 23:09:34 +0000 (23:09 +0000)]
further docs fettling

16 years agofurther docs update
Richard Kettlewell [Wed, 5 Dec 2007 20:23:02 +0000 (20:23 +0000)]
further docs update

16 years agodocumentation update
Richard Kettlewell [Wed, 5 Dec 2007 19:15:13 +0000 (19:15 +0000)]
documentation update

16 years agospeaker_play() actually honors playable()
Richard Kettlewell [Wed, 5 Dec 2007 18:34:29 +0000 (18:34 +0000)]
speaker_play() actually honors playable()

16 years agoupdate disorderd.8 to reflect current code
Richard Kettlewell [Wed, 5 Dec 2007 00:13:31 +0000 (00:13 +0000)]
update disorderd.8 to reflect current code

16 years agosuppress initial rescan completely, except for fresh installs
Richard Kettlewell [Tue, 4 Dec 2007 19:03:05 +0000 (19:03 +0000)]
suppress initial rescan completely, except for fresh installs

16 years agomore cautious track playability logic in speaker
Richard Kettlewell [Tue, 4 Dec 2007 18:58:07 +0000 (18:58 +0000)]
more cautious track playability logic in speaker

16 years agorecord whether tracks are connected to speaker in a sane and working way
Richard Kettlewell [Sun, 2 Dec 2007 18:10:08 +0000 (18:10 +0000)]
record whether tracks are connected to speaker in a sane and working way

16 years agotests/udplog: new program to log packets sent by speaker during
Richard Kettlewell [Sun, 2 Dec 2007 17:48:41 +0000 (17:48 +0000)]
tests/udplog: new program to log packets sent by speaker during
testing.  Also means that (on Linux at least) we don't get ECONNREFUSED.

tests/play.py corrected.

16 years agomore forgiving tests/play.py
Richard Kettlewell [Sun, 2 Dec 2007 16:54:21 +0000 (16:54 +0000)]
more forgiving tests/play.py

16 years agodisorder.py:
Richard Kettlewell [Sun, 2 Dec 2007 15:13:33 +0000 (15:13 +0000)]
disorder.py:
 - dictionary keys in disorder.py are always strings (not unicode strings)
 - the config file is optional
New tests/play.py.

16 years agodump.py exercises tags db harder
Richard Kettlewell [Sun, 2 Dec 2007 12:34:13 +0000 (12:34 +0000)]
dump.py exercises tags db harder
dtest.py checks that the speaker socket is going to be ok, formerly tests
would sometimes nang if they involved stopping and restarting the daemon.

16 years agoverify that tag search works across dump
Richard Kettlewell [Sun, 2 Dec 2007 12:07:34 +0000 (12:07 +0000)]
verify that tag search works across dump

16 years agoget and get-global now return 555 for not found. The Python interface
Richard Kettlewell [Sun, 2 Dec 2007 12:04:26 +0000 (12:04 +0000)]
get and get-global now return 555 for not found.  The Python interface
understands this and returns None.

Further tests and fixes for disorder-dump.

16 years agoexit not _exit, for benefit of coverage testing
Richard Kettlewell [Sat, 1 Dec 2007 17:36:27 +0000 (17:36 +0000)]
exit not _exit, for benefit of coverage testing

16 years agofixes and test for disorder-dump
Richard Kettlewell [Sat, 1 Dec 2007 17:31:18 +0000 (17:31 +0000)]
fixes and test for disorder-dump

16 years agohash.c tests
Richard Kettlewell [Sat, 1 Dec 2007 17:05:30 +0000 (17:05 +0000)]
hash.c tests

16 years agomissing list for main coverage report too
Richard Kettlewell [Sat, 1 Dec 2007 16:41:34 +0000 (16:41 +0000)]
missing list for main coverage report too

16 years agosplit.c tests
Richard Kettlewell [Sat, 1 Dec 2007 16:33:00 +0000 (16:33 +0000)]
split.c tests

16 years agobasen.c tests
Richard Kettlewell [Sat, 1 Dec 2007 16:22:06 +0000 (16:22 +0000)]
basen.c tests

16 years agolist uncovered files in lib/
Richard Kettlewell [Sat, 1 Dec 2007 16:15:55 +0000 (16:15 +0000)]
list uncovered files in lib/

16 years agotests and fixes for printf.c
Richard Kettlewell [Sat, 1 Dec 2007 16:09:16 +0000 (16:09 +0000)]
tests and fixes for printf.c

16 years agotests and bug-fixes for mime.c
Richard Kettlewell [Sat, 1 Dec 2007 15:33:54 +0000 (15:33 +0000)]
tests and bug-fixes for mime.c

16 years agosink.c tests + docs
Richard Kettlewell [Sat, 1 Dec 2007 11:04:44 +0000 (11:04 +0000)]
sink.c tests + docs

16 years agomore thorough kvp.c testing
Richard Kettlewell [Fri, 30 Nov 2007 18:58:35 +0000 (18:58 +0000)]
more thorough kvp.c testing

16 years agobuild fixes
Richard Kettlewell [Thu, 29 Nov 2007 19:35:14 +0000 (19:35 +0000)]
build fixes

16 years agotighten up liveness behavior
Richard Kettlewell [Thu, 29 Nov 2007 19:35:07 +0000 (19:35 +0000)]
tighten up liveness behavior

16 years agopartial tests for kvp.c
Richard Kettlewell [Thu, 29 Nov 2007 19:29:50 +0000 (19:29 +0000)]
partial tests for kvp.c

16 years agotest just lib
Richard Kettlewell [Thu, 29 Nov 2007 19:29:36 +0000 (19:29 +0000)]
test just lib

16 years agotest + doxygen for wstat()
Richard Kettlewell [Thu, 29 Nov 2007 19:19:03 +0000 (19:19 +0000)]
test + doxygen for wstat()

16 years agotests and doxygen for selection.c
Richard Kettlewell [Thu, 29 Nov 2007 19:09:50 +0000 (19:09 +0000)]
tests and doxygen for selection.c

16 years agomulticast_loop option
Richard Kettlewell [Wed, 28 Nov 2007 20:41:54 +0000 (20:41 +0000)]
multicast_loop option

16 years agobuild fix for linux
Richard Kettlewell [Tue, 27 Nov 2007 22:52:45 +0000 (22:52 +0000)]
build fix for linux

16 years agosome filepart.c tests
Richard Kettlewell [Tue, 27 Nov 2007 22:43:50 +0000 (22:43 +0000)]
some filepart.c tests

16 years agopinpoint tests for a couple more unicode.c bits
Richard Kettlewell [Tue, 27 Nov 2007 22:36:24 +0000 (22:36 +0000)]
pinpoint tests for a couple more unicode.c bits

16 years agotests for cache.c
Richard Kettlewell [Tue, 27 Nov 2007 22:30:02 +0000 (22:30 +0000)]
tests for cache.c

16 years agoexercise the C client a bit from tests
Richard Kettlewell [Tue, 27 Nov 2007 22:21:50 +0000 (22:21 +0000)]
exercise the C client a bit from tests

16 years agosigname.c test coverage -> 100%
Richard Kettlewell [Tue, 27 Nov 2007 20:49:04 +0000 (20:49 +0000)]
signame.c test coverage -> 100%

16 years agogcov to report test coverage
Richard Kettlewell [Tue, 27 Nov 2007 20:43:03 +0000 (20:43 +0000)]
gcov to report test coverage

16 years agooops
Richard Kettlewell [Sun, 25 Nov 2007 18:23:35 +0000 (18:23 +0000)]
oops

16 years agotests/queue.py: check that the queue is padded to the right length
Richard Kettlewell [Sun, 25 Nov 2007 18:13:28 +0000 (18:13 +0000)]
tests/queue.py: check that the queue is padded to the right length

16 years agocookie header parser
Richard Kettlewell [Sun, 25 Nov 2007 14:55:00 +0000 (14:55 +0000)]
cookie header parser

16 years agomore README fiddling
Richard Kettlewell [Sat, 24 Nov 2007 18:44:32 +0000 (18:44 +0000)]
more README fiddling

16 years agoexpand streaming instructions
Richard Kettlewell [Sat, 24 Nov 2007 15:58:13 +0000 (15:58 +0000)]
expand streaming instructions

16 years agoupgrade instructions
Richard Kettlewell [Fri, 23 Nov 2007 17:49:24 +0000 (17:49 +0000)]
upgrade instructions

16 years agoupdate README* and CHANGES
Richard Kettlewell [Fri, 23 Nov 2007 17:41:24 +0000 (17:41 +0000)]
update README* and CHANGES

16 years agodebian release 1.5.99+dev9 debian-1_5_99dev9
Richard Kettlewell [Fri, 23 Nov 2007 17:35:23 +0000 (17:35 +0000)]
debian release 1.5.99+dev9

16 years agomerge disorder.unicode branch
rjk@greenend.org.uk [Fri, 23 Nov 2007 16:59:24 +0000 (16:59 +0000)]
merge disorder.unicode branch

16 years agoFixes for disorder-dbpugrade:
rjk@greenend.org.uk [Fri, 23 Nov 2007 16:33:50 +0000 (16:33 +0000)]
Fixes for disorder-dbpugrade:
   - increased verbosity
   - bad (non-UTF-8) keys are now logged but ignored by default
   - ...but they can be deleted or abort the upgrade
   - aliases that sort later than the track they alias no longer
     abort the upgrade

16 years agomerge from disorder.dev
rjk@greenend.org.uk [Fri, 23 Nov 2007 14:39:56 +0000 (14:39 +0000)]
merge from disorder.dev

16 years agoinit script always address local instance of daemon
rjk@greenend.org.uk [Fri, 23 Nov 2007 14:32:18 +0000 (14:32 +0000)]
init script always address local instance of daemon