- Jan 06, 2011
-
-
John Hodge authored
- A little threadbare for now. > Anyone else want to work on the readme?
-
John Hodge authored
- TODO: Implement <min balance> and <max balance> - Updated protocol spec for extended ENUM_USERS - Client Dispense_EnumUsers implemented > Changed padding in Dispense_ShowUser - Fixed client's ReadLine > Was not using the remaining data in the buffer - Created a common "cokebank.h" for server > Moved pseudo-account names into this file - Implemented ENUM_USERS at server side > Copied sendf to the server to improve response times (and memory usage)
-
John Hodge authored
- Changed ENUM_USERS to return a list of USER_INFO responses. - Adding stub support for reading user flags from cokebank (TODO: standardise the flag values) > Also TODO: Common header for the cokebank (shared between it and the server)
-
John Hodge authored
- Removed the last use of 'recv' from the client code. - Added a catch to the cokebank code for the username 'root'
-
John Hodge authored
- Implemented `dispense acct <user>` - Partitally implemented `dispense acct <user> +-<amt> <reason>` > Seems to not like the '>liability' pseudo account (not letting it go negative) - Cleaned up more of the client code, and added debugging to it
-
John Hodge authored
-
- Jan 05, 2011
-
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
Moved all references to Unix UIDs out to bank.c where it can be safely removed if required. - The password code is still in main.c, because that doesn't matter (if LDAP goes down, users will just be unable to use non-trusted machines.
-
root authored
-
root authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
- Added basic logging code (TODO: USe syslog) - Cleaned up client to remove that monolithic main() - Added proper value for the dispense reason passed to CokeBank - Added logging to basic CokeBank
-
- Dec 04, 2010
-
-
John Hodge authored
- TODO: Wait for a prompt correctly (if there is nothing waiting, send newlines until we get the colon prompt)
-
John Hodge authored
to coke read.
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
- Commenting, it is nice :) - Changed the handler interface to return boolean failure - Cleaned up the server responses to correctly correspond with the sped
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
- Nov 30, 2010
-
-
John Hodge authored
> Very sparcely commented atm, and really needs to be sorted out, but it renders.
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
> Changed AUTOAUTH to return 404 on bad user > Started work on a UI design for the `dispense` app
-
- Nov 23, 2010
-
-
John Hodge authored
-
John Hodge authored
- You could dispense now, if the client actually authed
-
- Nov 21, 2010
-
-
John Hodge authored
- Also, fiddle, fiddle, fiddle
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-
John Hodge authored
-