Fix error in parsing of event metadata
[?]
Oct 21, 2016, 12:42 AM
GKLIPHR5YOBKEMC4744J3WYYFLPFXMZEOLC6Z26QXAG4IM2HQVEQCDependencies
- [2]
XJ4EYMIHLet curl prompt for http password, rather than bash. - [3]
UILI6PILThe route-based logStart/logStop is nicer. - [4]
HYV3VQADFix a couple of stupid typos. - [5]
BWN72T44Don't accept work timestamp from an external source. - [6]
O722AOKEAdd route to allow crediting of events to users/projects. - [7]
SPJCFHXWUpdate shell scripts to point to https://aftok.com and prompt for input. - [*]
W35DDBFYFactor common JSON conversions up into client lib module. - [*]
2G3GNDDUEvent logging is now functioning in postgres.
Change contents
- replacement in lib/Aftok/Json.hs at line 254
eventMeta' <- x .: "eventMeta"eventMeta' <- x .:? "eventMeta" - replacement in scripts/log_end.sh at line 6
read -p "BTC Address: " BTC_ADDRread -p "User ID: " UID - replacement in scripts/log_end.sh at line 8
curl -v -k -u $USER -X POST -d '' "https://aftok.com/projects/$PROJECT/logEnd/$BTC_ADDR"[4.562]curl -v -k -u $USER -X POST -d "{\"creditTo\": {\"creditToUser\": \"$UID\"}}" "https://aftok.com/projects/$PID/logEnd" - replacement in scripts/log_start.sh at line 5
read -p "Project ID: " PROJECTread -p "BTC Address: " BTC_ADDRread -p "Project ID: " PIDread -p "User ID: " UID - replacement in scripts/log_start.sh at line 8
curl -v -k -u $USER -X POST -d '' "https://aftok.com/projects/$PROJECT/logStart/$BTC_ADDR"[4.803]curl -v -k -u $USER -X POST -d "{\"creditTo\": {\"creditToUser\": \"$UID\"}}" "https://aftok.com/projects/$PID/logStart"