zanchey/dispense2.git
6 years agoDone added coke pricechecking master
Andrew Gozzard [Thu, 28 Feb 2013 10:40:23 +0000 (18:40 +0800)]
Done added coke pricechecking

7 years agoswitch from popen2 to subprocess (fix deprecation warnings)
David Adam (zanchey) [Thu, 19 Jan 2012 12:37:51 +0000 (20:37 +0800)]
switch from popen2 to subprocess (fix deprecation warnings)

7 years agoadd .gitignore
David Adam (zanchey) [Thu, 19 Jan 2012 11:25:57 +0000 (19:25 +0800)]
add .gitignore

7 years ago[TPG] Misc changes for new dispense
root [Thu, 15 Sep 2011 09:39:16 +0000 (09:39 +0000)]
[TPG] Misc changes for new dispense

8 years agoUpdated snack config to use `dispense iteminfo` for prices (goodbye config file)
John Hodge [Wed, 4 May 2011 14:35:06 +0000 (14:35 +0000)]
Updated snack config to use `dispense iteminfo` for prices (goodbye config file)

8 years agoUpdated config locations for new machine (and MIFARE serial port)
John Hodge [Wed, 4 May 2011 08:57:12 +0000 (08:57 +0000)]
Updated config locations for new machine (and MIFARE serial port)

8 years agoUpdate for new dispense binary/syntax by [MRD]/[BOB]/[TPG]
David Adam [Sat, 9 Apr 2011 03:31:49 +0000 (03:31 +0000)]
Update for new dispense binary/syntax by [MRD]/[BOB]/[TPG]

8 years agoMIFARE: better logging, thanks to [TRS] I think
David Adam [Sat, 9 Apr 2011 03:29:12 +0000 (03:29 +0000)]
MIFARE: better logging, thanks to [TRS] I think

8 years agoBack out revision 1.3 & update for new password file; credentials are required to...
David Adam [Sat, 9 Apr 2011 03:25:33 +0000 (03:25 +0000)]
Back out revision 1.3 & update for new password file; credentials are required to add new cards in LDAP.

8 years agoUse an anonymous LDAP bind to search for MIFARE cards - server ACLs have been updated...
David Adam [Sun, 30 Jan 2011 06:06:56 +0000 (06:06 +0000)]
Use an anonymous LDAP bind to search for MIFARE cards - server ACLs have been updated to allow searches (but not reads) without credentials on this attribute.

11 years agofix uidNumber for three/four digit uids
David Adam [Fri, 4 Apr 2008 14:36:51 +0000 (14:36 +0000)]
fix uidNumber for three/four digit uids

11 years agoAdd enrolment.
Bernard Blackham [Fri, 29 Feb 2008 14:17:58 +0000 (14:17 +0000)]
Add enrolment.

11 years agoWork from tonight:
Bernard Blackham [Fri, 29 Feb 2008 13:25:50 +0000 (13:25 +0000)]
Work from tonight:
MIFARE integration.
Old DAA patches for balance showing.
Eat easter eggs.

11 years agoUpdate mifare port. Add function to get uid.
Bernard Blackham [Fri, 29 Feb 2008 13:21:21 +0000 (13:21 +0000)]
Update mifare port. Add function to get uid.

11 years agoadd menacing "FEED ME!"
Mark Tearle [Sun, 24 Feb 2008 11:43:02 +0000 (11:43 +0000)]
add menacing "FEED ME!"

11 years agoAdd MIFARE interface support, including LDAP layer.
David Adam [Fri, 22 Feb 2008 15:10:33 +0000 (15:10 +0000)]
Add MIFARE interface support, including LDAP layer.

All enquiries to <zanchey@ucc.gu.uwa.edu.au>.

11 years agonote vis pyserial
root [Sun, 6 Jan 2008 06:11:33 +0000 (06:11 +0000)]
note vis pyserial

change of timeout

11 years agoLAT version changes
root [Sun, 6 Jan 2008 06:08:41 +0000 (06:08 +0000)]
LAT version changes

11 years agoModified to remove direct manimpulation of serial port using termios
root [Sun, 6 Jan 2008 06:07:48 +0000 (06:07 +0000)]
Modified to remove direct manimpulation of serial port using termios
code found randomly on the net by Bernard

Now using
http://pyserial.sourceforge.net/

located in the python-serial package

Has been tested and working for a quarter of an hour at UCC :)

12 years agoPrice check on key 9 when not logged in.
Bernard Blackham [Mon, 5 Mar 2007 07:06:47 +0000 (07:06 +0000)]
Price check on key 9 when not logged in.

12 years agofix bugs and solve world poverty.
Bernard Blackham [Fri, 2 Mar 2007 12:33:13 +0000 (12:33 +0000)]
fix bugs and solve world poverty.

13 years agoshift the exit code >>8
root [Tue, 18 Apr 2006 06:52:21 +0000 (06:52 +0000)]
shift the exit code >>8

13 years agouse "give oday $price" so we can prune dispense
Matt Johnston [Tue, 18 Apr 2006 06:44:43 +0000 (06:44 +0000)]
use "give oday $price" so we can prune dispense

13 years agoFix autologout bug
Bernard Blackham [Thu, 8 Sep 2005 11:58:23 +0000 (11:58 +0000)]
Fix autologout bug

13 years agoforgot a space
Matt Johnston [Thu, 18 Aug 2005 12:26:06 +0000 (12:26 +0000)]
forgot a space

13 years agoPut the slot number after the drink name/price
Matt Johnston [Thu, 18 Aug 2005 12:18:20 +0000 (12:18 +0000)]
Put the slot number after the drink name/price

13 years agoitem pricing works now
Matt Johnston [Thu, 11 Aug 2005 10:51:48 +0000 (10:51 +0000)]
item pricing works now

13 years agoExplicit snack support
Matt Johnston [Thu, 11 Aug 2005 10:35:04 +0000 (10:35 +0000)]
Explicit snack support

14 years agoStuff done
Bernard Blackham [Sun, 8 May 2005 06:58:17 +0000 (06:58 +0000)]
Stuff done

14 years agoAnd here's a reworking of the idler logic.
Bernard Blackham [Sat, 7 May 2005 12:01:11 +0000 (12:01 +0000)]
And here's a reworking of the idler logic.

14 years agoA Greeting Idler
Bernard Blackham [Sat, 7 May 2005 12:00:38 +0000 (12:00 +0000)]
A Greeting Idler

14 years agoMake clock blink
Bernard Blackham [Sat, 7 May 2005 10:26:11 +0000 (10:26 +0000)]
Make clock blink

14 years agochmod pin automatically. remove boot up message now it doesnt take so long to boot.
Bernard Blackham [Sat, 7 May 2005 10:18:37 +0000 (10:18 +0000)]
chmod pin automatically. remove boot up message now it doesnt take so long to boot.

14 years agoRemove vending machine bootup time. Generate permutation in a smarter fashion.
Bernard Blackham [Fri, 6 May 2005 11:41:34 +0000 (11:41 +0000)]
Remove vending machine bootup time. Generate permutation in a smarter fashion.

14 years agodocument idlers and slow them down!
Mark Tearle [Fri, 6 May 2005 11:21:55 +0000 (11:21 +0000)]
document idlers and slow them down!
typo fix

14 years agobug fixes
Mark Tearle [Mon, 2 May 2005 10:06:43 +0000 (10:06 +0000)]
bug fixes
abstract out state changing mechanism
text speed into contstant

14 years agograndfather clock
Mark Tearle [Sat, 30 Apr 2005 09:27:51 +0000 (09:27 +0000)]
grandfather clock

14 years agofix deprecation warning
Mark Tearle [Fri, 29 Apr 2005 10:05:05 +0000 (10:05 +0000)]
fix deprecation warning

14 years agoMajor surgery mostly complete
Mark Tearle [Sat, 9 Apr 2005 14:17:30 +0000 (14:17 +0000)]
Major surgery mostly complete

Main loop that was work of the devil replaced with a state table
Code now broken out into smaller chunks ... that should be extensible.

New lights in UCC burn ... UCC hackers not used to bright light!

Still needs a bit more TLC before being put into production.

14 years agomore refactoring
Mark Tearle [Tue, 5 Apr 2005 09:55:01 +0000 (09:55 +0000)]
more refactoring

14 years agostart of refactoring
Mark Tearle [Mon, 4 Apr 2005 10:29:04 +0000 (10:29 +0000)]
start of refactoring

14 years agonotes for later
Mark Tearle [Wed, 2 Mar 2005 13:53:14 +0000 (13:53 +0000)]
notes for later

14 years ago * DoorClient.py; cleaned up and has an alarm timeout in case of
Grahame Bowland [Thu, 23 Dec 2004 16:02:02 +0000 (16:02 +0000)]
 * DoorClient.py; cleaned up and has an alarm timeout in case of
 getting stuck

14 years ago * add door client
Grahame Bowland [Thu, 23 Dec 2004 11:01:21 +0000 (11:01 +0000)]
 * add door client

14 years agoremove passwd idler
Bernard Blackham [Sun, 12 Dec 2004 07:00:56 +0000 (07:00 +0000)]
remove passwd idler

14 years agooops
Bernard Blackham [Sun, 12 Dec 2004 06:56:46 +0000 (06:56 +0000)]
oops

14 years agodot fix
Bernard Blackham [Sun, 12 Dec 2004 06:54:41 +0000 (06:54 +0000)]
dot fix

14 years agocreate pipe idler
Bernard Blackham [Sun, 12 Dec 2004 06:51:06 +0000 (06:51 +0000)]
create pipe idler

14 years agoadded pizza
Mark Tearle [Sun, 12 Dec 2004 06:40:52 +0000 (06:40 +0000)]
added pizza

14 years agofixing door logic
Mark Tearle [Sun, 12 Dec 2004 06:35:26 +0000 (06:35 +0000)]
fixing door logic

14 years agoFix the code to connect to the virtual vend thing again
Mark Tearle [Tue, 7 Dec 2004 12:34:25 +0000 (12:34 +0000)]
Fix the code to connect to the virtual vend thing again

14 years agoallow dispensing of actual snacks.
Bernard Blackham [Sun, 31 Oct 2004 09:29:47 +0000 (09:29 +0000)]
allow dispensing of actual snacks.
fix timeout bug.

14 years agofix stupid crypto bug
Bernard Blackham [Sun, 31 Oct 2004 09:29:05 +0000 (09:29 +0000)]
fix stupid crypto bug

14 years agoHack to utilise the serial port. Needs cleaning up.
Bernard Blackham [Mon, 25 Oct 2004 11:21:14 +0000 (11:21 +0000)]
Hack to utilise the serial port. Needs cleaning up.

14 years agoAdded FileIdler
Mark Tearle [Fri, 1 Oct 2004 09:37:10 +0000 (09:37 +0000)]
Added FileIdler

14 years agoAttempt at a fairer idler chooser
Mark Tearle [Thu, 30 Sep 2004 16:04:24 +0000 (16:04 +0000)]
Attempt at a fairer idler chooser

14 years agofortune Idler
Mark Tearle [Thu, 30 Sep 2004 15:17:44 +0000 (15:17 +0000)]
fortune Idler

14 years agoone shot stuff done
Mark Tearle [Wed, 29 Sep 2004 10:24:37 +0000 (10:24 +0000)]
one shot stuff done

14 years agoadd support for one shot Idlers
Mark Tearle [Wed, 29 Sep 2004 10:02:23 +0000 (10:02 +0000)]
add support for one shot Idlers

14 years agoToggle wraparound logic ... I think it was the wrong way around
Mark Tearle [Wed, 29 Sep 2004 09:30:38 +0000 (09:30 +0000)]
Toggle wraparound logic ... I think it was the wrong way around

14 years agoUpdate LAT version.
Bernard Blackham [Sun, 26 Sep 2004 14:20:49 +0000 (14:20 +0000)]
Update LAT version.

14 years agoWorking String Idler
Mark Tearle [Wed, 22 Sep 2004 12:45:51 +0000 (12:45 +0000)]
Working String Idler

14 years agoWorking StringIdler (missing cleansing functions)
Mark Tearle [Wed, 22 Sep 2004 09:24:48 +0000 (09:24 +0000)]
Working StringIdler (missing cleansing functions)

14 years agookay... still bugs with StringIdler
root [Tue, 21 Sep 2004 10:16:07 +0000 (10:16 +0000)]
okay... still bugs with StringIdler

14 years agoAdded StringIdler
Mark Tearle [Tue, 21 Sep 2004 09:57:30 +0000 (09:57 +0000)]
Added StringIdler
Factored out into own file MessageKeeper

14 years agoRandom idler fixes.
Bernard Blackham [Thu, 12 Aug 2004 09:44:57 +0000 (09:44 +0000)]
Random idler fixes.

14 years agoRandomise gray code.
Bernard Blackham [Mon, 2 Aug 2004 10:19:38 +0000 (10:19 +0000)]
Randomise gray code.

14 years agoAdded random idler choice.
Bernard Blackham [Mon, 2 Aug 2004 09:36:27 +0000 (09:36 +0000)]
Added random idler choice.

14 years agoreally fix it
Cameron Patrick [Sun, 1 Aug 2004 08:59:27 +0000 (08:59 +0000)]
really fix it

14 years agofix some logging bugs
Cameron Patrick [Sun, 1 Aug 2004 08:57:17 +0000 (08:57 +0000)]
fix some logging bugs

14 years agomake syslog logging facility an option
Cameron Patrick [Sun, 1 Aug 2004 08:38:47 +0000 (08:38 +0000)]
make syslog logging facility an option

14 years agomore logging, yay
Cameron Patrick [Sun, 1 Aug 2004 08:35:39 +0000 (08:35 +0000)]
more logging, yay

14 years agowhitespace fix
Cameron Patrick [Sun, 1 Aug 2004 08:24:01 +0000 (08:24 +0000)]
whitespace fix

14 years agofix up stupid debug message
Cameron Patrick [Sun, 1 Aug 2004 08:23:43 +0000 (08:23 +0000)]
fix up stupid debug message

14 years agodeath to stderr and print statements!
Cameron Patrick [Sun, 1 Aug 2004 08:21:00 +0000 (08:21 +0000)]
death to stderr and print statements!

14 years agotweak log priorities
Cameron Patrick [Sun, 1 Aug 2004 08:15:18 +0000 (08:15 +0000)]
tweak log priorities

14 years agodo even more logging
Cameron Patrick [Sun, 1 Aug 2004 08:14:34 +0000 (08:14 +0000)]
do even more logging

14 years agodo more logging
Cameron Patrick [Sun, 1 Aug 2004 08:09:23 +0000 (08:09 +0000)]
do more logging

14 years agomake syslog logging work
Cameron Patrick [Sun, 1 Aug 2004 08:07:29 +0000 (08:07 +0000)]
make syslog logging work

14 years agomore cleanups, started on nice logging framework
Cameron Patrick [Sun, 1 Aug 2004 07:53:53 +0000 (07:53 +0000)]
more cleanups, started on nice logging framework

14 years agomore restructuring
Cameron Patrick [Sun, 1 Aug 2004 07:31:10 +0000 (07:31 +0000)]
more restructuring

14 years agoadd daemonising code
Cameron Patrick [Sun, 1 Aug 2004 07:20:56 +0000 (07:20 +0000)]
add daemonising code

14 years agomisc cleanups
Cameron Patrick [Sun, 1 Aug 2004 07:08:37 +0000 (07:08 +0000)]
misc cleanups

14 years agoadd new command line options for logging (which don't do anything yet)
Cameron Patrick [Sun, 1 Aug 2004 07:07:24 +0000 (07:07 +0000)]
add new command line options for logging (which don't do anything yet)

14 years agofix bugs in last few commits
Cameron Patrick [Sun, 1 Aug 2004 07:00:15 +0000 (07:00 +0000)]
fix bugs in last few commits

14 years agoahh, decserver doesn't always echo
Cameron Patrick [Sun, 1 Aug 2004 06:41:04 +0000 (06:41 +0000)]
ahh, decserver doesn't always echo

14 years agoadd more debugging to write_expecting_echo
Cameron Patrick [Sun, 1 Aug 2004 06:39:06 +0000 (06:39 +0000)]
add more debugging to write_expecting_echo

14 years agostart by reading
Cameron Patrick [Sun, 1 Aug 2004 06:33:17 +0000 (06:33 +0000)]
start by reading

14 years agomisc foo
Cameron Patrick [Sun, 1 Aug 2004 06:31:43 +0000 (06:31 +0000)]
misc foo

14 years agonew 'improved' (i.e. probably not working) code for rebooting dec server
Cameron Patrick [Sun, 1 Aug 2004 06:30:41 +0000 (06:30 +0000)]
new 'improved' (i.e. probably not working) code for rebooting dec server

14 years agoadd signal handling code, misc cleanups
Cameron Patrick [Sun, 1 Aug 2004 06:20:50 +0000 (06:20 +0000)]
add signal handling code, misc cleanups

14 years agoAnother cleanup
Bernard Blackham [Sun, 1 Aug 2004 06:06:06 +0000 (06:06 +0000)]
Another cleanup

14 years agoOnly su if we're root.
Bernard Blackham [Sun, 1 Aug 2004 06:05:27 +0000 (06:05 +0000)]
Only su if we're root.

14 years agoput in a generic exception handler
Cameron Patrick [Sun, 1 Aug 2004 06:01:45 +0000 (06:01 +0000)]
put in a generic exception handler

14 years agooops
Cameron Patrick [Sun, 1 Aug 2004 05:57:30 +0000 (05:57 +0000)]
oops

14 years agomisc cleanups
Cameron Patrick [Sun, 1 Aug 2004 05:57:07 +0000 (05:57 +0000)]
misc cleanups

14 years agorefactor config file parsing a bit
Cameron Patrick [Sun, 1 Aug 2004 05:52:28 +0000 (05:52 +0000)]
refactor config file parsing a bit

14 years agomove argument parsing out into a separate function
Cameron Patrick [Sun, 1 Aug 2004 05:39:59 +0000 (05:39 +0000)]
move argument parsing out into a separate function

14 years agohandle config parser errors more nicely than just throwing up tracebacks
Cameron Patrick [Sun, 1 Aug 2004 05:37:37 +0000 (05:37 +0000)]
handle config parser errors more nicely than just throwing up tracebacks

14 years agofix Bernard's indentation again
Cameron Patrick [Sun, 1 Aug 2004 05:33:27 +0000 (05:33 +0000)]
fix Bernard's indentation again

UCC git Repository :: git.ucc.asn.au